File size: 4.78Kb
<?
//автор - figura
//сайт - http://for.h2m.ru
//иконки главной страници
$img_my_menu = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/star.gif" alt=""> ';
$img_news = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/star.gif" alt=""> ';
$img_forum = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/star.gif" alt=""> ';
$img_chat = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/star.gif" alt=""> ';
$img_gb = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/star.gif" alt=""> ';
$img_dounload = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/star.gif" alt=""> ';
$img_lib = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/star.gif" alt=""> ';
$img_stats = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/star.gif" alt=""> ';
$img_act = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/star.gif" alt=""> ';
$img_inf = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/star.gif" alt=""> ';
$img_reg = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/star.gif" alt=""> ';
$img_avt = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/star.gif" alt=""> ';
//в форуме
$img_forum_razd = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/star.gif" alt=""> ';
$img_forum_teme = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/star.gif" alt=""> ';
$img_forum_post = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/star.gif" alt=""> ';
//в гостевой
$img_gb_post = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/star.gif" alt=""> ';
//в чате
$img_chat_post = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/star.gif" alt=""> ';
//в загрузцентре
$img_dir_dounload = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/dir.png" alt=""> ';
$img_file_dounload = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/file.png" alt=""> ';
$img_down_dounload = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/down.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 : #5c5c5c;
font-size : 11px;
font-family : arial;
margin : 0;
max-width: 420px;
margin-top : 5px;
margin-left: auto;
margin-right: auto;
margin-bottom: auto;
}
a:link, a:active, a:visited {
color : #777c8d;
text-decoration : none;
}
a:hover, a:focus {
color : #d11a56;
}
div.verh {
background-color : #f9f7fb;
margin-top : 1px;
margin-bottom : 1px;
padding : 2px;
border-top : 1px solid #ebe8f0;
border-bottom : 1px solid #ebe8f0;
}
div.razd {
color : #fcfdff;
background-color : #b5b8c4;
background-image : url("http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/inload/images/title.gif");
background-repeat : repeat-x;
background-position : 50% top;
margin-top : 1px;
margin-bottom : 1px;
padding : 3px;
}
div.ramk {
border-style: solid;
border-width: 1px;
border-color: #888;
background-color: #fff;
text-align: left;
margin-left: 1px;
margin-right: 1px;
margin-top: 1px;
margin-bottom: 1px;
padding: 3px;
}
div.link {
background-color : #f9f7fb;
margin-top : 1px;
margin-bottom : 1px;
padding : 2px;
border-top : 1px solid #ebe8f0;
border-bottom : 1px solid #ebe8f0;
}
.link:hover {
background-color : #e8e2ee;
}
div.sob {
background-color : #f9f7fb;
margin-top : 1px;
margin-bottom : 1px;
padding : 2px;
border-top : 1px solid #ebe8f0;
border-bottom : 1px solid #ebe8f0;
}
div.niz {
background-image : url("http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/inload/images/ref.gif");
text-align : center;
padding : 2px;
background-repeat: repeat-x;
}
input{
background-color: #f9f7fb;
text-align: left;
}
textarea{
background-color: #f9f7fb;
text-align: left;
}
</style>
</head>
<body>
<div class="verh"><B>'.$zagolovok.'</B></div>';
include("$koren_dir/sistem/data_time.dat");//Включили дату и время
include("$koren_dir/reklama.txt");//Включили рекламу
include("$koren_dir/sistem/menu.dat");//Включили главное меню
?>