File size: 2.17Kb
<?php
/////////////////////////////////////////////////////////////////////////////////////////////////////
///// banner ver (1.2) /////
///// Made by ELENA (1.0) http://elena.xost.ru /////
///// Made by VANTUZ wap 1.1 http://wap.pizdec.ru /////
///// Email [email protected] /////
/////////////////////////////////////////////////////////////////////////////////////////////////////
Error_Reporting(E_ALL & ~E_NOTICE);
header("Content-type:text/vnd.wap.wml");
header("Cache-control: no-store,no-cache,must-revalidate");
print'<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml><card id="index" title="WAP.PIZDEC.RU">
<p align="left">';
$nazad = "<a href=\"reg.php\">Назад</a><br/>";
$dom = "<a href=\"http://wap.pizdec.ru\">На главную</a>";
if ($url == "http://") {echo "Ошибка.Введите URL сайта<br/>$nazad$dom"; exit;}
if ($urlbanner == "http://") {echo "Ошибка.Введите URL вашего баннера<br/>$nazad$dom"; exit;}
$text = "$url";
$text2 = "$urlbanner";
$text3 = "$alt";
$open=fopen("baza.data","a+");
fwrite($open,"|$text\r\n");
fclose($open);
$open=fopen("baza2.data","a+");
fwrite($open,"|$text2\r\n");
fclose($open);
$open=fopen("baza3.data","a+");
fwrite($open,"|$text3\r\n");
fclose($open);
echo "<b>Спасибо.Ваша ссылка уже показывается.</b><br/><br/>";
echo " $dom
</p></card></wml>";
?>