File size: 3.4Kb
<?php
// diz by Golem http://veplog.ru
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.'/themes/carbon/favicon.ico" />';
if($config_rssicon==1){echo '<link rel="alternate" type="application/rss+xml" title="RSS" href="'.$config_home.'/news/rss_news.php" />';}
echo '<!--Diz by Golem-->';
echo '<title>'.site_title($php_self).'</title>
<style type="text/css">
body { font-family: arial,helvetica; font-size: 10px; color: #C8C8C8; background-color: #1E1E1E; margin: auto; max-width : 600px; padding: 0px; }
a:link { color: #DC8232; text-decoration: none;}
a:visited { color: #DC8232; text-decoration: none;}
a:hover { color: #646464; text-decoration: none; background-image: url('.$config_home.'/themes/black/head.png); padding: 1px; position: relative; top: 1px;}
div.tp { padding: 3px; background-color:#1E1E1E; background-image: url('.$config_home.'/themes/black/head.png); font-weight: bold; color: #C8C8C8; font-size: 11px; text-align: center; }
div.ad { padding: 3px; background-color: #323232; color: #fff; border-bottom: 1px solid #503C28; }
div.ad a { color: #DC8232; }
div.ad a:visited { color: #DC8232; }
div.ad a:hover { color: #646464; text-decoration: none; background-image: url('.$config_home.'/themes/black/head.png); padding: 1px; position: relative; top: 1px;}
div.btm { padding: 3px; background-color: #484848; border-top: 2px solid #6E6E6E; }
div.btm a { color: #3C82DC; }
div.btm a:visited { color: #3C82DC; }
div.body { padding: 3px; }
div.tpanel { padding: 2px; background-color: #281E0A; border-bottom: 1px solid #503C28; }
div.panel { padding: 3px; background-color: #353535; border-top: 1px solid #464646; color: #C8C8C8; }
div.footer { color: #999999; background-color: #3C3C3C; border-top: 1px solid #646464; }
div.footer a { color: #999999; }
div.footer a:visited { color: #999999; }
div.forum { font-family: arial,sans-serif; color: #C8C8C8; margin: 0px; padding: 0px; }
div.forum div.r0 { padding: 3px; background-color: #0F0F0F; border-bottom: 1px solid #1E1E1E; }
div.topic { font-family: arial,sans-serif; color: #C8C8C8; margin: 0px; padding: 0px; }
div.topic div.r0 { padding: 3px; background-color: #323232; border-bottom: 1px solid #999; }
div.bhead { font-weight: none; padding: 3px; border-bottom: 2px solid #646464; }
textarea {background-color: #C8C8C8; width : 100%; font-size : 9pt; padding : 5px;}
.gr {color: #999999;}
a.gr:link {color: #999999;}
a.gr:visited {color: #999999;}
a.green:link {color: #00aa00;}
a.green:visited {color: #00aa00;}
</style>
<meta name="keywords" content="'.$config_keywords.'">
<meta name="description" content="'.$config_description.'">
</head><body bgcolor="white" text="gray">';
echo '<div>';
function htmltoxhtml($skinxhtml) {
$skinxhtml = str_replace("images/img/act.gif","themes/black/act.gif",$skinxhtml);
return $skinxhtml; }
ob_start(htmltoxhtml);
?>