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_version.php3");
|
|
|
15 |
|
|
|
16 |
include_ecrire ("inc_auth.php3");
|
|
|
17 |
include_ecrire ("inc_admin.php3");
|
|
|
18 |
include_ecrire ("inc_presentation.php3");
|
|
|
19 |
|
|
|
20 |
$action = _T('titre_page_delete_all');
|
|
|
21 |
|
|
|
22 |
debut_admin($action);
|
|
|
23 |
|
|
|
24 |
spip_query("DROP TABLE spip_articles");
|
|
|
25 |
spip_query("DROP TABLE spip_auteurs");
|
|
|
26 |
spip_query("DROP TABLE spip_auteurs_articles");
|
|
|
27 |
spip_query("DROP TABLE spip_auteurs_messages");
|
|
|
28 |
spip_query("DROP TABLE spip_auteurs_rubriques");
|
|
|
29 |
spip_query("DROP TABLE spip_breves");
|
|
|
30 |
spip_query("DROP TABLE spip_documents");
|
|
|
31 |
spip_query("DROP TABLE spip_documents_articles");
|
|
|
32 |
spip_query("DROP TABLE spip_documents_breves");
|
|
|
33 |
spip_query("DROP TABLE spip_documents_rubriques");
|
|
|
34 |
spip_query("DROP TABLE spip_forum");
|
|
|
35 |
spip_query("DROP TABLE spip_forum_cache");
|
|
|
36 |
spip_query("DROP TABLE spip_groupes_mots");
|
|
|
37 |
spip_query("DROP TABLE spip_index_articles");
|
|
|
38 |
spip_query("DROP TABLE spip_index_auteurs");
|
|
|
39 |
spip_query("DROP TABLE spip_index_breves");
|
|
|
40 |
spip_query("DROP TABLE spip_index_dico");
|
|
|
41 |
spip_query("DROP TABLE spip_index_mots");
|
|
|
42 |
spip_query("DROP TABLE spip_index_rubriques");
|
|
|
43 |
spip_query("DROP TABLE spip_index_syndic");
|
|
|
44 |
spip_query("DROP TABLE spip_messages");
|
|
|
45 |
spip_query("DROP TABLE spip_meta");
|
|
|
46 |
spip_query("DROP TABLE spip_mots");
|
|
|
47 |
spip_query("DROP TABLE spip_mots_articles");
|
|
|
48 |
spip_query("DROP TABLE spip_mots_breves");
|
|
|
49 |
spip_query("DROP TABLE spip_mots_forum");
|
|
|
50 |
spip_query("DROP TABLE spip_mots_rubriques");
|
|
|
51 |
spip_query("DROP TABLE spip_mots_syndic");
|
|
|
52 |
spip_query("DROP TABLE spip_petitions");
|
|
|
53 |
spip_query("DROP TABLE spip_referers");
|
|
|
54 |
spip_query("DROP TABLE spip_referers_articles");
|
|
|
55 |
spip_query("DROP TABLE spip_referers_temp");
|
|
|
56 |
spip_query("DROP TABLE spip_rubriques");
|
|
|
57 |
spip_query("DROP TABLE spip_signatures");
|
|
|
58 |
spip_query("DROP TABLE spip_syndic");
|
|
|
59 |
spip_query("DROP TABLE spip_syndic_articles");
|
|
|
60 |
spip_query("DROP TABLE spip_types_documents");
|
|
|
61 |
spip_query("DROP TABLE spip_visites");
|
|
|
62 |
spip_query("DROP TABLE spip_visites_articles");
|
|
|
63 |
spip_query("DROP TABLE spip_visites_temp");
|
|
|
64 |
spip_query("DROP TABLE spip_test");
|
|
|
65 |
|
|
|
66 |
@unlink(_ACCESS_FILE_NAME);
|
|
|
67 |
@unlink(_FILE_CONNECT);
|
|
|
68 |
|
|
|
69 |
@header("Location: ./");
|
|
|
70 |
|
|
|
71 |
fin_admin($action);
|
|
|
72 |
|
|
|
73 |
?>
|