File size: 1Kb
<? //by rine(Andrey Arapov) & BEPDuKT(Aleksey Ivanov) site: dizkod.ru
$id=Base::filter($_GET[ids]);
$r=mysql_query("SELECT * FROM `user` WHERE `id`='$id'");
$users=mysql_fetch_array($r);
Base::head();
echo "<form action='?x=edits&id=".$users[id]."' method='post'>Логин:<br /><input name='login' type='text' value='".$users['login']."'><br />";
echo 'Статус:<br /><select size="1" name="status">';
$q=mysql_query("SELECT * FROM `status`");
while($option=mysql_fetch_array($q))
{
echo '<option value="'.$option['status'].'">'.$option['status'].'</option>';
}
echo '</select><br />';
echo "Адреc эл.почты:<br /><input name='mail' type='text' value='".$users[mail]."'/><br />Деньги:<br /><input name='money' type='text' value='".$users[money]."'/><br />Уровень доступа:<br /><input name='level' type='text' value='".$users[level]."'/><br /><input type='submit' value='Изменить'/></form>";
Base::foot();
?>