Projekt

Obecné

Profil

4 batix
<?
$pocet=$_SESSION["pocet_users"];


if ($pocet>1) {
echo "<div align=\"center\">";
echo "<form name=\"formSmaz\" action=\"users/uloz.php?id=users&amp;lng=".$_GET['lng']."&amp;ss=".$_GET["ss"]."&amp;".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["prihlas_jmeno".$i]."</option>";

}
echo "</select>";
echo "<input type=\"hidden\" name=\"smazano\" value=\"".$lng_delete."\" />";
echo " <input type=\"button\" value=\"".$lng_delete."\" onclick=\"potvrd('".$lngUsers_userSmazat."');\" />";
echo "</form>";
echo "</div>";
}

?>