File size: 909B
<html>
<head><title>Kick</title></head>
<body>
<?php
include '../wap/config.php';
if ($id=='') exit;
if (!($conn=pg_connect("host=$dbhost port=$dbport dbname=$dbname user=$dbuser password=$dbpass"))) {
echo ("пЫЙВЛБ РПДЛМАЮЕОЙС Л вд!\n");
exit;
};
pg_query($conn, "SET CLIENT_ENCODING TO 'KOI8';");
$res=pg_query($conn, "select login from users where id=$id;");
pg_close($conn);
if (pg_numrows($res)==1) $login=pg_result($res,0,0);
?>
<form action="user_ban.php" method=get>
рПМШЪПЧБФЕМШ: <?php print $login."<br>\n"; ?>
нЙОХФ: <input type=text name="kick" value="5" size=10><br><br>
<?php print "<input type=\"hidden\" name=\"id\" value=\"".$id."\">\n";
print "<input type=\"hidden\" name=\"l\" value=\"".$l."\">\n";
print "<input type=\"hidden\" name=\"r\" value=\"".$r."\">\n"; ?>
<input type=submit value="Kick">
<input type=reset value="пЮЙУФЙФШ">
</form>
</body>
</html>