File size: 2.85Kb
<?php
///////////////////////////////////////////////////////////////////////////////////////////
/////
///// Made by : АХХХУЕННЫЙ ЧУВАК VANTUZ
///// E-mail : [email protected]
///// ICQ : 36-44-66
///// Site : http://pizdec.ru
///// Skripts : http://wapstop.ru
/////
//////////////////////////////////////////////////////////////////////////////////////////////
Error_Reporting(E_ALL & ~E_NOTICE);
Error_Reporting (ERROR | WARNING);
function myErrorHandler ($errno, $errstr, $errfile, $errline) {}
set_error_handler("myErrorHandler");
$text = file("db.dat");
$kom = @file("db.dat");
$total = count($kom);
$top = rand (0,count($text)-1);
$out = explode("|",$text[$top]);
header("Content-type:text/html; charset=utf-8");
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"><html><head>";
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
<title>PIZDEC.RU</title>
<style type=\"text/css\">
body { font-weight: normal; font-size: normal; font-family: georgia; color: #FFFF00; background-color: #000033 }
a:link { text-decoration: underline; color : #FF00FF }
a:active { text-decoration: underline; color : #FFFF00 }
a:visited { text-decoration: underline; color : #00FFFF }
a:hover { text-decoration: none; color : #FFFF00 }
div { margin: 1px 0px 1px 0px; padding: 5px 5px 5px 5px; font-weight: bold;}
div.black{ background-color: #33CCFF; padding-top: 3px; padding-bottom: 3px; padding-left: 4px; border: 1px solid; text-align: center;}
div.blue{ background-color: #000066; text-align: left;}
a {font-weight: bold;}</style></head>
<body bgcolor=\"#000033\">";
$rand=rand(0,99);
echo"<div class=\"black\"><font color=\"#FF0000\"><b>Фотка дня</b></font></div><div><br/><br/>";
echo "$out[0]";
echo"<br/><a href=\"index.php?r=$rand\"><font color=\"#FFFF00\">Обновить</font></a><br/>";
echo "<br/><hr/><br/>";
echo"<form method=\"post\" action=\"dob.php\"><br/><font color=\"#00FFFF\">Всего картинок: "; echo $total;
echo"</font><br/><font color=\"#00FF00\">Вы можете включить в прокрутку и свои фотографии и картинки,<br/>Размер не должен превышать 200*200 px, а вес не более 12 kb<br/>Разрешается добавлять картинки с расширением gif, jpg и png.</font><br/><br/>";
echo "<b><font color=\"#FFFF00\">URL Картинки:</font></b><br/>";
echo"<input type=\"text\" name=\"foto\" maxlength=\"100\" value=\"http://\"/><br/><br/>";
echo"<input value=\"Добавить\" name=\"do\" type=\"submit\"/></form></div><div>";
echo"<a href=\"/\"><font color=\"#00FFFF\">В хуй</font></a></div></body></html>";
?>