File size: 2.05Kb
<?php
//настройки
//сайт
$site='wapex.org';
//цвет заднего фона
$bgcolor='#CCCCFF';
//цвет переднего фона
$fontcolor='#FFFF00';
header("Content-type:text/html; charset=utf-8");
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">
<html>
<head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
"; print '<title>ваши фотки</title><style type="text/css">
body { font-weight: normal; font-size: normal; font-family: Courier new; color: #666699; background-color: #CCCCFF }
a:link,a:active,a:visited { text-decoration: underline; color : #0066FF }
a:hover { text-decoration: none; color : #FF0000 }
div { margin: 1px 0px 1px 0px; padding: 5px 5px 5px 5px; font-size: 11px;}
table { margin: 1px 0px 1px 0px; padding: 1px 1px 1px 1px; font-size: 13px;}
.a {margin: 0px; border-top: 7px solid #6666FF; border-left: 7px solid #3333FF; border-right: 7px solid #3333CC; border-bottom: 7px solid #0000CC; padding: 5px; vertical-align: middle; background-color: #3333FF; font-size: 11px; color: #FFFF00;}
.b {margin: 0px; border-top: 5px solid #DCDCFB; border-left: 5px solid #DCDCFB; border-right: 5px solid #ACACFA; border-bottom: 5px solid #ACACFA; padding: 5px; vertical-align: middle; background-color: #BFBFFC; font-size: 11px; color: #FFFF00;}
.c {margin: 0px; border-top: 7px solid #6666FF; border-left: 7px solid #3333FF; border-right: 7px solid #3333CC; border-bottom: 7px solid #0000CC; padding: 5px; vertical-align: middle; background-color: #3333FF; font-size: 11px; color: #FFFF00;}
.d {background-color: #0000FF; text-align: center; font-size: 11px; color: #FFFF00; }</style></head>'; print "
<body bgcolor=\"$bgcolor\"><div class=a><br>Фото наших друзей: </div><div><b><font color=\"$fontcolor\">"; $date=date("F j"); $time=date("G:i:s"); $brz = strtok($_SERVER['HTTP_USER_AGENT'],'/'); $zzz = "</font></div><div class=a><br/>Дата: $date<br/>Время: $time<br/>Браузер: $brz </div></body></html>"; ?>