View file top/enter.php

File size: 648B
<?php
header("Content-type: text/html; charset=UTF-8");
?>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html" charset="utf-8"/>
<meta http-equiv="Cache-Control" content="max-age=60" forua="true"/>
  <title>Вход</title>
<?php
if (empty($_GET['uid']) or empty($_GET['p'])){
        echo '<meta http-equiv="refresh" content="0;url=admin.php"/>';
        echo "</head>";
        echo "<body>";
        echo "</body></html>";
        exit;
}
$id=$_GET['uid'];
$pass=$_GET['p'];
$pass=md5($pass);
echo "<meta http-equiv='refresh' content='0;url=admin.php?uid=$id&p=$pass'/>";
?>
</head>
<body>
</body>
</html>