[ Index ]
 

Code source de SPIP Agora 1.4

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/Agora1-4/ecrire/ -> admin_effacer.php (source)

   1  <?php
   2  /*****************************************************
   3  * This file is part of Agora, web based content management system.
   4  *
   5  * Agora is free software; you can redistribute it and/or modify
   6  * it under the terms of the GNU General Public License as published by
   7  * the Free Software Foundation; version 2 of the License.
   8  *
   9  * Agora is distributed in the hope that it will be useful,
  10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12  * GNU General Public License for more details (file "COPYING").
  13  *
  14  * Copyright © Arnaud Martin, Antoine Pitrou et Philippe Rivière.
  15  * List of authors detailed in "copyright_fr.html" file.
  16  * E-mail : agora@sig.premier-ministre.gouv.fr
  17  * Web site : http://www.agora.gouv.fr
  18  *****************************************************/
  19  include  ("inc.php");
  20  
  21  debut_page(_T('titre_page_admin_effacer'), "administration", "base");
  22  
  23  echo "<br><br><br>";
  24  gros_titre (_T('titre_admin_effacer'));
  25  barre_onglets("administration", "effacer");
  26  
  27  debut_gauche();
  28  
  29  debut_boite_info();
  30  
  31  echo _T('info_gauche_admin_effacer');
  32  
  33  fin_boite_info();
  34  
  35  debut_droite();
  36  
  37  //------------AJOUT elebescond@clever-age.com-------------------------------
  38  $authorization = &recuperer_instance_authorization('effacerBase', $GLOBALS['connect_id_auteur']);
  39  
  40  if (!$authorization->isAuthorizedAction()) {
  41      //if ($connect_statut != 'minirezo' OR !$connect_toutes_rubriques) {
  42      //------------FIN AJOUT elebescond@clever-age.com-------------------------------    
  43      echo _T('avis_non_acces_page');
  44      fin_page();
  45      exit;
  46  }
  47  
  48  //
  49  // Effacement total
  50  //
  51  
  52  debut_cadre_relief();
  53  
  54  echo "<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=8 WIDTH=\"100%\">";
  55  echo "<TR><TD BGCOLOR='$couleur_foncee' BACKGROUND=''><B>";
  56  echo "<FONT FACE='Verdana,Arial,Sans,sans-serif' SIZE=3 COLOR='#FFFFFF'>";
  57  echo _T('texte_effacer_base'). "</FONT></B></TD></TR>";
  58  
  59  echo "<tr><td class='serif'>";
  60  
  61  echo "\n<p align='justify'>";
  62  echo '<img src="img_pack/warning.gif" alt="' . _T('info_avertissement'). '" width="48" height="48" align="right">';
  63  echo _T('texte_admin_effacer_01');
  64  
  65  echo "<CENTER>";
  66  
  67  debut_boite_alerte();
  68  
  69  echo "\n<div class='serif'>";
  70  echo "\n<p align='justify'><b>" . _T('avis_suppression_base'). "&nbsp;!</b>";
  71  
  72  echo "\n<FORM ACTION='delete_all.php' METHOD='get'>";
  73  echo "\n<p><DIV align='right'><INPUT CLASS='fondo' TYPE='submit' NAME='valider' VALUE='" . _T('bouton_effacer_tout'). "'></div></FORM>";
  74  
  75  echo "\n</div>";
  76  
  77  fin_boite_alerte();
  78  
  79  echo "</CENTER>";
  80  
  81  echo "</td></tr>";
  82  echo "</TABLE>";
  83  
  84  fin_cadre_relief();
  85  
  86  echo "<BR>";
  87  
  88  fin_page();
  89  ?>


Généré le : Sat Feb 24 14:40:03 2007 par Balluche grâce à PHPXref 0.7