supprimer_catg2.php
Upload User: feiyaoda
Upload Date: 2016-11-21
Package Size: 9556k
Code Size: 1k
Category:

WEB Mail

Development Platform:

PHP

  1. //script supprimer_catg2
  2. <table  width="90%" cellpadding="1" cellspacing="1" >
  3. <tr><td><img src="./images/administration.png"></td></tr>
  4. </table>
  5. <table  width="80%" cellpadding="1" cellspacing="1" >
  6. <tr><td><img src="./images/suppression.png"></td></tr>
  7. <tr><td>&nbsp;</td></tr>
  8. <tr><td>&nbsp;</td></tr>
  9. </table>
  10. <?
  11. include "page_haut.inc";
  12. require ("xml_domit_parser.php");
  13. require ("xml_domit_utilities.php");
  14. require ("xml_domit_nodemaps.php");
  15.    $catg=& new DOMIT_Document();
  16.               $success=$catg->loadXML("./modules/administration/categories.xml");
  17.               
  18.              $nomcatg = count($catg->documentElement->childNodes);
  19. for ($i = 0; $i < $nomcatg; $i++) {
  20. $currentcatg =& $catg->documentElement->childNodes[$i];
  21.         $catgid=$currentcatg->childNodes[0]->firstChild->nodeValue;
  22. if($catgid==$id){
  23.                  $catgnom=$currentcatg->childNodes[1]->firstChild->nodeValue; 
  24. }
  25. }
  26. ?>
  27. <center>
  28. <br><br>
  29. <font color=red>Suppression de la cat間orie <b><? echo "$catgnom"; ?></b>. 蕋es-vous s鹯?<br><br>
  30. <a href="?m=administration&a=supprimer_catg3&id=<? echo "$id"; ?>" target='_self'><b>Oui</b></a> &nbsp;&nbsp;&nbsp;
  31. <a href="" target='_top'><b>Non</b></a>