4 |
david |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/***************************************************************************\
|
|
|
4 |
* SPIP, Systeme de publication pour l'internet *
|
|
|
5 |
* *
|
|
|
6 |
* Copyright (c) 2001-2005 *
|
|
|
7 |
* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
|
|
|
8 |
* *
|
|
|
9 |
* Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
|
|
|
10 |
* Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. *
|
|
|
11 |
\***************************************************************************/
|
|
|
12 |
|
|
|
13 |
|
|
|
14 |
include ("inc.php3");
|
|
|
15 |
|
|
|
16 |
|
|
|
17 |
debut_page(_T('titre_page_admin_effacer'), "administration", "base");
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
echo "<br><br><br>";
|
|
|
21 |
gros_titre(_T('titre_admin_effacer'));
|
|
|
22 |
barre_onglets("administration", "effacer");
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
debut_gauche();
|
|
|
26 |
|
|
|
27 |
debut_boite_info();
|
|
|
28 |
|
|
|
29 |
echo _T('info_gauche_admin_effacer');
|
|
|
30 |
|
|
|
31 |
fin_boite_info();
|
|
|
32 |
|
|
|
33 |
debut_droite();
|
|
|
34 |
|
|
|
35 |
if ($connect_statut != '0minirezo' OR !$connect_toutes_rubriques) {
|
|
|
36 |
echo _T('avis_non_acces_page');
|
|
|
37 |
fin_page();
|
|
|
38 |
exit;
|
|
|
39 |
}
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
//
|
|
|
44 |
// Effacement total
|
|
|
45 |
//
|
|
|
46 |
|
|
|
47 |
debut_cadre_relief();
|
|
|
48 |
|
|
|
49 |
echo "<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=8 WIDTH=\"100%\">";
|
|
|
50 |
echo "<TR><TD BGCOLOR='$couleur_foncee' BACKGROUND=''><B>";
|
|
|
51 |
echo "<FONT FACE='Verdana,Arial,Sans,sans-serif' SIZE=3 COLOR='#FFFFFF'>";
|
|
|
52 |
echo _T('texte_effacer_base')."</FONT></B></TD></TR>";
|
|
|
53 |
|
|
|
54 |
echo "<tr><td class='serif'>";
|
|
|
55 |
|
|
|
56 |
echo "\n<p align='justify'>";
|
|
|
57 |
echo '<img src="' . _DIR_IMG_PACK . 'warning.gif" alt="'._T('info_avertissement').'" width="48" height="48" align="right">';
|
|
|
58 |
echo _T('texte_admin_effacer_01');
|
|
|
59 |
|
|
|
60 |
echo "<CENTER>";
|
|
|
61 |
|
|
|
62 |
debut_boite_alerte();
|
|
|
63 |
|
|
|
64 |
echo "\n<div class='serif'>";
|
|
|
65 |
echo "\n<p align='justify'><b>"._T('avis_suppression_base')." !</b>";
|
|
|
66 |
|
|
|
67 |
echo "\n<FORM ACTION='delete_all.php3' METHOD='get'>";
|
|
|
68 |
echo "\n<p><DIV align='right'><INPUT CLASS='fondo' TYPE='submit' NAME='valider' VALUE='"._T('bouton_effacer_tout')."'></div></FORM>";
|
|
|
69 |
|
|
|
70 |
echo "\n</div>";
|
|
|
71 |
|
|
|
72 |
fin_boite_alerte();
|
|
|
73 |
|
|
|
74 |
echo "</CENTER>";
|
|
|
75 |
|
|
|
76 |
echo "</td></tr>";
|
|
|
77 |
echo "</TABLE>";
|
|
|
78 |
|
|
|
79 |
fin_cadre_relief();
|
|
|
80 |
|
|
|
81 |
echo "<BR>";
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
fin_page();
|
|
|
87 |
|
|
|
88 |
|
|
|
89 |
?>
|
|
|
90 |
|