Пропустить заставку
$Blok=BlokMainLink();
echo $Blok[1];
echo $Blok[2];
function BlokMainLink()
{$klb=array(10, 10);
Error_Reporting(E_ALL & ~E_NOTICE);
if (isset($_SERVER["REQUEST_URI"])) $sti=$_SERVER["REQUEST_URI"];
else if (isset($_SERVER["SCRIPT_NAME"]))
$sti=$_SERVER["SCRIPT_NAME"];
if ($sti == "/" or substr($sti, 0, 7)== "/index.")
{ $NBlok=count($klb); $raz=array(1=>"
", 2=>"|", 3=>" / "); $tr=2;
$zapros="GET /getcode/?id=19627&type=".$tr." HTTP/1.0\r\nhost: script5.mainlink.ru\r\n\r\n";
$so=@fsockopen("script5.mainlink.ru", 80, $errno, $errstr, 2);
if ($so) { fputs($so, $zapros); while(fgets($so,2048)!="\r\n" && !feof($so));
while (!feof($so)) {$li.=@fgets($so);}} $ml=explode($raz[$tr], $li); $n=1; $t=0;
for ($i=0; $i=$klb[$n-1]) {$t=0; $n++;} else { if ($i
echo $sape->return_links(); ?>