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

WEB Mail

Development Platform:

PHP

  1. //script supprimer_scatg3
  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. $scatg=& new DOMIT_Document();
  16.               $success1=$scatg->loadXML("./modules/administration/souscategories.xml");
  17.               $nomscatg = count($scatg->documentElement->childNodes);
  18.                 for ($j = 0; $j < $nomscatg; $j++) {
  19.      $currentscatg =& $scatg->documentElement->childNodes[$j];
  20.                      $cx=$currentscatg->childNodes[0]->firstChild->nodeValue ;
  21. if($cx==$id){
  22. $nom=$currentscatg->childNodes[1]->firstChild->nodeValue ;
  23. }
  24. }
  25. ?>
  26. <center>
  27. <br><br>
  28. <font color=red>Suppression de la sous cat間orie <b><? echo "$nom"; ?></b>. 蕋es-vous sur?<br><br>
  29. <a href="?m=administration&a=supprimer_scatg2&id=<? echo "$id"; ?>" target='_self'><b>Oui</b></a> &nbsp;&nbsp;&nbsp;
  30. <a href="" target='_self'><b>Non</b></a>