File size: 2.74Kb
<?php
if (strtok($_SERVER['HTTP_USER_AGENT'],'/')!="Mozilla") {
header("Content-type:application/vnd.wap.xhtml+xml; charset=utf-8");
}else{
header("Content-type:text/html; charset=utf-8");}
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>
<meta http-equiv="Content-Type" content="application/vnd.wap.xhtml+xml; charset=UTF-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link rel="shortcut icon" href="'.$config_home.'/favicon.ico" />';
if($config_rssicon==1){echo '<link rel="alternate" type="application/rss+xml" title="RSS" href="'.$config_home.'/news/rss_news.php" />';}
echo '<title>'.site_title($php_self).'</title>
<style type="text/css">
body { font-family: Calibri; font-size: 13px; margin: 2px; color: deeppink;
background-image: url('.$config_home.'/themes/PinkRed/a.jpg); background-repeat: repeat-y; font-size: 11px; }
a:link, a:visited { text-decoration: underline; color : #cf0000; }
a:hover { text-decoration: none; color: red; position: relative; top: 1px; left: 1px; }
.a {padding: 0px; text-align: center; border: 2px dotted pink;
background-image: url('.$config_home.'/themes/PinkRed/c.jpg); background-repeat: repeat-x; font-size: 11px;
color: orangered;}
.b { margin: 2px 0px; border: 2px solid red; font-weight: bold; padding: 2px;
background-image: url('.$config_home.'/themes/PinkRed/c.jpg); background-repeat: repeat-x; font-size: 11px; text-align: left; color: darkred; }
.c { padding: 0px; text-align: center; border: 1px dotted red; border-collapse:collapse;
background-image: url('.$config_home.'/themes/PinkRed/c.jpg); background-repeat: repeat-x; font-size: 11px; color: #d50000;}
.c a:link { text-decoration: none; color : deeppink; }
.d {background-color: pink; border-style: dotted; border-width: 1px; border-color: orangered; padding: 10px; padding-left: 35px; background-image: url('.$config_home.'/images/img/code.gif); background-repeat: repeat-y; font-size: 11px}
input,select,textarea{ border: 2px dotted #cf0000; background-image: url('.$config_home.'/themes/PinkRed/b.jpg); background-repeat: repeat-x; font-size: 11px; color: red;}
q {font-family: Times, serif; font-style: italic; color: gold;quotes: "\00AB" "\00BB"}
</style>';
echo '<meta name="keywords" content="'.$config_keywords.'" />';
echo '<meta name="description" content="'.$config_description.'" />';
echo '</head><body bgcolor="white" text="gray">';
echo '<div class="a" id="up" align="center"><img src="'.$config_logotip.'" alt=""><br>'.$config_logos.' </div>';
if($config_rekhead==1){include_once BASEDIR."local/datamain/reklama_head.dat";}
echo '<div>';
?>