sourceforge/nodemin/trunk/servers/smaz.php @ 746
4 | batix | <?
|
|
/*
|
|||
$adr_lock="lock";
|
|||
$pocet_lockSouboru=0;
|
|||
$slozka = dir($adr_lock);
|
|||
while($soubor=$slozka->read()) {
|
|||
if ($soubor=="." || $soubor=="..") continue;
|
|||
$pocet_lockSouboru++;
|
|||
}
|
|||
$slozka->close();
|
|||
if ($pocet_lockSouboru>1) echo "<div class=\"divError\">V tuto chvili nelze odstranit sertver</div>";
|
|||
else {
|
|||
*/
|
|||
$pocet=$_SESSION["pocet_servers"];
|
|||
if ($pocet>0) {
|
|||
echo "<div align=\"center\">";
|
|||
echo "<form name=\"formSmaz\" action=\"servers/uloz.php?id=servers&lng=".$_GET['lng']."&ss=".$_GET["ss"]."&".SID."\" method=\"post\" enctype=\"multipart/form-data\">";
|
|||
echo "<select name=\"smazat_co\">";
|
|||
for ($i=0;$i<$pocet;$i++) {
|
|||
//if ($_SESSION['online_user']==$_SESSION["prihlas_jmeno".$i]) continue;
|
|||
echo "<option value=\"".$i."\">".$_SESSION["s_ipadresa".$i]." [".$_SESSION["s_poznamka".$i]."]</option>";
|
|||
}
|
|||
echo "</select>";
|
|||
echo "<input type=\"hidden\" name=\"smazano\" value=\"".$lng_delete."\" />";
|
|||
echo " <input type=\"button\" value=\"".$lng_delete."\" onclick=\"potvrd('".$lngServers_serverSmazat."');\" />";
|
|||
echo "</form>";
|
|||
echo "</div>";
|
|||
}
|
|||
//}
|
|||
?>
|