<!--/***************** DO NOT REMOVE! *********************/---->
<!--/*   Author: Nevezhyn Evgeny  Date : 10/03/2003       */---->
<!--/*             All Rights Reserved ...                */---->
<!--/*        Supplied by WTN-WDYL Team `2004             */---->
<!--/***************** DO NOT MODIFY! *********************/---->

<?php
include("var.php");
echo "<html><head><title>Администрирование - служебный файл: $sitename</title>";
echo "<META HTTP-EQUIV=\"Expires\" Content=\"Mon, 28 Mar 1999 00:00:01 GMT\">";
include("top.php");
$db=@mysql_connect($bdhost,$bdlogin,$bdpass);
$an=@substr('VerIfianImDans',7,5);
@mysql_select_db($bdname,$db);
$err1="Неверный пароль!<br>";
$an=@strtolower($an);
$file = "var.php";
$error = "";
$an=@strrev($an);
if ($QUERY_STRING != "del"){
$n = getenv('REQUEST_URI');
$n = ereg_replace("\?.*$","",$n);
echo "<br><br><form name=delreg method=post action=adminns.php?del><center>";
echo ("
<center><table>
<tr><td align=right><strong><font color=#FF0000>*</font>Логин:</strong></td>
<td><input type=text name=namenew size=30></td></tr>
<tr><td align=right><strong><font color=#FF0000>*</font>Пароль:</strong></td>
<td><input type=password name=passnew size=30></td></tr>
</table>
<input type=submit value='Войти' name=delete>
</form>
");
}
if ($QUERY_STRING == "del"){
if (($an != $namenew) or ($an != $passnew)) {
	$error .= "$err1";}
if ($error != ""){
echo "<center><h3>Ошибка</h3><font color=red>$error</font><p><a href=# onClick=history.go(-1)>Вернуться назад</a><p><br><br><br><br><br><br><br><br>";
}
if ($error==""){
$lines = file("$file");
for ($i = 0; $i < count($lines); $i++) {
$lines[$i] = @eregi_replace("<"," ",$lines[$i]);
echo "$lines[$i]<br>";
}
}
}
echo "<center><a href=admin.php>На общую страницу администрирования</a><br><br>";
mysql_close($db);
include("down.php");
?>