File size: 971B
<?php
error_reporting(E_ALL^E_NOTICE);
$Main = "localhost/waper"; //основной страничный адрес без http://
$Admin = "12345"; // пароль администрации
$time1 = date("G:i:s",time()); // время
$IP = $_SERVER['REMOTE_ADDR']; // IP адрес
if(file_exists("address/$IP.class"))
{
echo "IP: $IP baned!";
exit;
}
echo '<title>Welcome!</title>';
echo "<link rel=\"stylesheet\" href=\"include/style.css\" type=\"text/css\" />";
echo '<table width="100%" cellpadding="4" cellspacing="0" border="0" class="forumline">
<tr>
<td class="catSides" align="left">
<span class="cattitle">';
$user = explode("/", $_SERVER['HTTP_USER_AGENT']);
$br = $user[0];
echo 'Your IP: '.$IP.'</span>
</td>
</tr></table>';
echo "<p>Time-$time1 / <a href=\"login.php\">Exit</a></p>";
echo '<table width="100%" cellpadding="4" cellspacing="0" border="0" class="forumline">
<tr>
<td class="row1"><span class="genmed">';
?>