Your IP : 216.73.217.87
| Current Path : /hdd/hdd11/www/sick/ |
|
|
| Current File : /hdd/hdd11/www/sick/index.php |
<?php
$lnk=$_SERVER["SERVER_NAME"];
$lnke=explode(".",$lnk);
$cnt=count($lnke);
$cnt--;
$v2=$lnke[$cnt];
$cnt--;
$v1=$lnke[$cnt];
$chk_ip1=str_replace("46.35.191.151", "", $lnk);
$chk_ip2=str_replace("192.168.10.222", "", $lnk);
$chk_ip3=str_replace("192.168.1.10", "", $lnk);
?><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>
<?php
if (($chk_ip1==$lnk) && ($chk_ip2==$lnk) && ($chk_ip3==$lnk))
{
?>
Няма такава страница
<?php
}
else
{
?>
Забранен достъп през IP
<?php
}
?>
</title>
<style>
body, div
{
font-family: Verdana, Arial, sans serif;
font-size: 15px;
color: #000000;
background: #FFFFFF;
text-decoration: none;
}
a:link, a:vlink, a:alink
{
font-family: Verdana, Arial, sans serif;
font-size: 15px;
color: #000000;
background: #FFFFFF;
text-decoration: underline;
}
a:hover
{
text-decoration: none;
}
</style>
</head>
<body>
<div align="center">
<img src="./sick.jpg" width="235" height="282" border="0" />
<br />
<?php
if (($chk_ip1==$lnk) && ($chk_ip2==$lnk) && ($chk_ip3==$lnk))
{
?>
<br /><b>Няма такава страница!</b>
<br />
<br /><i>Проверете дали не сте изписали адресът на тази страница грешно.</i>
<br />
<br />Опитайте само името: <a href="http://www.<?php print("".$v1.".".$v2."/"); ?>"><?php print("www.".$v1.".".$v2.""); ?></a>
<?php
}
else
{
?>
<br />Нямате достъп през IP-то на сървъра!
<?php
}
?>
</div>
</body>
</html>