Размер файла: 1.11Kb
<html>
<head><title>Ignore list</title></head>
<body>
<center><h1>лФП Х ЛПЗП Ч ЙЗОПТЕ</h1>
<table>
<tr align="center" bgcolor="e0e0e0"><td><b>лФП</b></td><td><b>х ЛПЗП</b>
<?php
include '../wap/config.php';
if (!($conn=pg_connect("host=$dbhost port=$dbport dbname=$dbname user=$dbuser password=$dbpass"))) {
echo ("пЫЙВЛБ РПДЛМАЮЕОЙС Л вд!\n");
};
pg_query($conn, "SET CLIENT_ENCODING TO 'KOI8';");
$res=pg_query($conn,"select users.login,users_ignore.who,users_ignore.uid from users,users_ignore where users.id=users_ignore.who order by users_ignore.who;");
$rows=pg_numrows($res);
$who=0;
for ($i=0; $i<$rows; $i++) {
if (pg_result($res,$i,1)!=$who) {
print "</td></tr><tr align=\"center\" bgcolor=\"f0f0f0\"><td>\n";
$who=pg_result($res,$i,1);
print "<a href=\"user_edit.php?id=".pg_result($res,$i,1)."&l=3\">".pg_result($res,$i,0)."</a></td><td>";
}
$id=pg_result($res,$i,2);
$res_u=pg_query($conn,"select login from users where id='$id';");
print "<a href=\"user_edit.php?id=".$id."&l=3\">".pg_result($res_u,0,0)."</a> \n";
}
pg_close($conn);
?>
</table>
</center>
</body>
</html>