File size: 5.77Kb
<?
//автор - figura
//сайт - http://f-pt.ru
//иконки главной страници
$img_my_menu = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.png" alt="">';
$img_news = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.png" alt="">';
$img_forum = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.png" alt="">';
$img_chat = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.png" alt="">';
$img_gb = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.png" alt="">';
$img_dounload = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.png" alt="">';
$img_lib = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.png" alt="">';
$img_stats = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.png" alt="">';
$img_act = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.png" alt="">';
$img_inf = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.png" alt="">';
$img_reg = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.png" alt="">';
$img_avt = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.png" alt="">';
//в форуме
$img_forum_razd = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/tem.png" alt="">';
$img_forum_teme = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/for.png" alt="">';
//в загрузцентре
$img_dir_dounload = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/pap.png" alt="">';
$img_file_dounload = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/fle.png" alt="">';
$img_down_dounload = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/dwn.png" alt="">';
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>'.$title.'</title>
<style type="text/css">
body {
color : #454545;
font-size : 12px;
font-family : tahoma;
background-color : #fff;
margin: auto;
max-width: 500px;
}
a:link, a:active, a:visited {
color : #04b2e4;
}
a:hover, a:focus {
color : #db3100;
}
div.link {
margin-top : 1px;
margin-bottom : 1px;
padding : 4px;
}
.razd {
background-color : #ffffff;
}
div.sob {
background-color : #e3feff;
margin-top : 1px;
margin-bottom : 1px;
padding : 4px;
border : 1px solid #e4e4e4;
}
.banner {
margin: 4px;
padding: 4px;
border-right:1px solid #e4e4e4;
border-left:1px solid #e4e4e4;
border-bottom:1px solid #e4e4e4;
}
.cop {
margin-left: 10px;
margin-right: 10px;
margin-bottom: 5px;
}
.content {
background-image : url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/content.gif);
background-repeat : repeat-x;
background-position : 50% top;
border : 1px solid #ececec;
margin-top : 1px;
margin-bottom : 1px;
padding-top : 8px;
}
.content2 {
background-image : url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/content.gif);
background-repeat : repeat-x;
background-position : 50% top;
border : 1px solid #ececec;
margin-top : 1px;
margin-bottom : 1px;
padding-top : 8px;
}
.content3 {
background-image : url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/content.gif);
background-repeat : repeat-x;
background-position : 50% top;
border : 1px solid #ececec;
margin-top : 1px;
margin-bottom : 1px;
padding-top : 8px;
padding-bottom : 4px;
padding-left : 4px;
padding-right : 4px;
}
.count a img {
background-image : none;
opacity : 0.5;
}
.count a:hover img {
background-image : none;
opacity : 0.9;
}
div.ramk {
background-color : #F0FFFF;
margin : 0px;
padding : 2px;
border-top : 1px solid #e4e4e4;
border-bottom : 1px solid #e4e4e4;
}
div.ramk2 {
background-color : #F0FFFF;
margin : 0px;
padding : 2px;
border : 1px solid #e4e4e4;
}
div.link:hover {
background-color : #F0FFFF;
}
.head {
color : #fff;
line-height : 0;
background-color: #454545;
background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/header.png);
background-repeat: no-repeat;
background-position: right 50%;
padding: 0px;
}
.head2 {
color : #E5E5E5;
background-color: #454545;
padding-bottom: 2px;
margin-top: -2px;
padding-left: 10px;
}
.line1 {
color : #E5E5E5;
background-color: #919191;
padding-bottom: 2px;
padding-top: 1px;
}
.line2 {
color : #E5E5E5;
background-color: #454545;
padding-bottom: 2px;
padding-top: 1px;
margin-bottom : 2px;
}
.logo {
background-image : url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/logo.png);
background-repeat : no-repeat;
background-position : left top;
padding-top : 2px;
padding-bottom : 2px;
padding-left : 44px;
}
.foot {
color : #fdfdfd;
font-size : 11px;
background-color : #919191;
padding : 4px;
margin-top : 2px;
}
.foot a {
color : #fdfdfd;
}
</style>
</head>
<body>
<div class="head"><img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/logo.png" alt="logo"/></div>
<div class="head2">
'.$zagolovok.'
</div><div class="line1"> </div>
<div class="ramk2">
';
include("$koren_dir/sistem/data_time.dat");//Включили дату и время
echo'</div><div class="content3">';
include("$koren_dir/reklama.txt");//Включили рекламу.
echo'</div><div class="content">';
include("$koren_dir/sistem/menu.dat");//Включили главное меню
echo'</div><div class="content2">';
?>