View file themes/veplog/index.php

File size: 3.09Kb
<?php

// mod 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.'/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: #000000; background-color: #ffffff; margin: auto; max-width : 600px; padding: 0px; }

a:link { color: #3366cc; }
a:visited { color: #3366cc; }
a:hover { color: #FF1B1B; text-decoration: underline; }

div.tp { padding: 3px; background-color:#ff1b1b; background-image: url('.$config_home.'/themes/veplog/head.png); font-weight: bold; color: #ffffff; font-size: 11px; text-align: center; }

div.ad { padding: 3px; background-color: #F5F2C4; color: #000000; border-bottom: 1px solid #86b3d9; }
div.ad a { color: #225CB3; }
div.ad a:visited { color: #225CB3; }
div.ad a:hover { color: #ff0000; }

div.btm { padding: 3px; background-color: #ccc; border-top: 2px solid #cccccc; }
div.btm a { color: #1D67BB; }
div.btm a:visited { color: #1D67BB; }

div.body { padding: 3px; }
div.tpanel { padding: 2px; background-color: #eeeeee; border-bottom: 1px solid #cccccc; }
div.panel { padding: 3px; background-color: #eaeaea; border-top: 1px solid #999; color: #000; }

div.footer { color: #999999; padding: 3px; background-color: #eaeaea; border-top: 1px solid #fff; }
div.footer a { color: #999999; }
div.footer a:visited { color: #999999; }

div.forum { font-family: arial,sans-serif; color: #000000; margin: 0px; padding: 0px; }
div.forum div.r0 { padding: 3px; background-color: #fff; border-bottom: 1px solid #999; }

div.topic { font-family: arial,sans-serif; color: #000000; margin: 0px; padding: 0px; }
div.topic div.r0 { padding: 3px; background-color: #eaeaea; border-bottom: 1px solid #999; }

div.bhead { font-weight: none; padding: 3px; border-bottom: 2px solid #ccc; }

textarea {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/veplog/act.gif",$skinxhtml);

return $skinxhtml; }
ob_start(htmltoxhtml);
?>