Просмотр файла go/go.php

Размер файла: 1.17Kb
<?php
	    /////////// Powered by Giga!!! /////////
	/////////// http://gwap.net.ru /////////
	/////////// [email protected] /////////


		Error_Reporting(E_ALL & ~E_NOTICE);

$namebase = explode('//',$site);
$namebase = $namebase[1];
$countsite = @file_get_contents("site/$namebase.txt");
if (!$countsite);
{
$base=fopen("site/$namebase.txt","w");
fputs($base,"1");
fclose($base);
}
$countsite =$countsite+1;
	$base=fopen("site/$namebase.txt","w");
    fputs($base,"$countsite");
fclose($base);

	
	echo '<?xml version="1.0" encoding="utf-8"?>
	      <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">
	      <head>';
echo "<title>Go $site</title>";
echo '<link rel="stylesheet" href="./style.css" type="text/css" />';
echo  "<meta http-equiv=\"refresh\" content=\"1; url=$site\" />";
    echo '</head>
          <body>';
echo '<div class="c">
Вы переходите на сайт
</div>';
echo "<div><b><big><a href=\"$site\">$site</a></big></b></div>";
echo '<div class="c">
<a href="/">домой</a></div>';

echo '</body></html>';
   ?>