Файл: DarkAge/profil.php
Строк: 22
<?
include_once("files/zag.php");
if (md5($pas)==$password && $log==$login && $log!=="" && md5($pas)!=="") {
if (isset($save))
{ echo'Профиль сохранен.<br/>'; }
if (isset($erpassword))
{ echo'Недопустимые символы в пароле!<br/>'; }
if (isset($email))
{ echo'Неверный формат e-mail!<br/>'; }
$text = file("data/reg/$log.dat");
$ta = explode(":||:",$text[0]);
print"<b>Профиль</b><br/><br/>";
$rand=rand(100,100000);
echo"Ваш e-mail:<br/>";
$email=htmlspecialchars(stripslashes(addslashes($ta[18])));
echo "<input name="email$rand" value="$email"/><br/>";
echo"Ваш пароль:<br/>";
echo "<input name="password$rand" value="$pas"/><br/>";
echo "<anchor title="go">Изменить<go href="saveprofil.php?log=$log&pas=$pas" method="post">";
echo "<postfield name="email" value="$(email$rand)"/>";
echo "<postfield name="topas" value="$(password$rand)"/>";
echo "</go></anchor><br/><br/>";
}else{echo"Пароль или логин неверен!";}
include_once"files/down.php";
?>