[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 <? 2 if( isset($_POST["systemid"]) ) 3 $_GET["systemid"] = $_POST["systemid"]; 4 5 if( isset($_POST["del"])) { 6 $ok = deleteAll(); 7 if( $ok ) { 8 echo "<script language='javascript'>window.location='index.php?redo=1".$_SESSION["queryString"]."';</script>"; 9 die(); 10 } 11 } 12 13 if( isset($_GET["systemid"])) 14 $nbMach = 1; 15 else 16 $nbMach = getCount($_SESSION["storedRequest"]); 17 18 PrintEnTete( $l->g(122)." <font class='warn'>($nbMach ".$l->g(478).")</font>"); 19 20 echo "<br><center><a href='#' OnClick='window.location=\"index.php?redo=1".$_SESSION["queryString"]."\";'><= ".$l->g(188)."</a></center>"; 21 echo "<br><br><form action='index.php?multi=27' method='post'><center><b>".$l->g(525)."</b></center>"; 22 if( isset($_GET["systemid"]) ) { 23 echo "<input type='hidden' value='".$_GET["systemid"]."' name='systemid'>"; 24 } 25 echo "<br><center><input type='submit' value=\"".$l->g(455)."\" name='del'></form></center>"; 26 27 function deleteAll( ) { 28 29 global $_GET; 30 if( isset($_GET["systemid"])) { 31 echo "del ".$_GET["systemid"]."<br>"; 32 deleteDid( $_GET["systemid"] ); 33 } 34 else { 35 $lareq = getPrelim( $_SESSION["storedRequest"] ); 36 if( ! $res = @mysql_query( $lareq, $_SESSION["readServer"] )) 37 return false; 38 while( $val = @mysql_fetch_array($res)) { 39 echo "del ".$val["h.id"]."<br>"; 40 deleteDid( $val["h.id"] ); 41 } 42 } 43 return true; 44 45 } 46 ?> 47
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Mar 17 22:47:18 2015 | Cross-referenced by PHPXref 0.7.1 |