<?php
#-----------------------------------------------------#
#          ********* WAP-MOTORS *********             #
#             Made by   :  VANTUZ                     #
#               E-mail  :  visavi.net@mail.ru         #
#                 Site  :  http://pizdec.ru           #
#             WAP-Site  :  http://visavi.net          #
#                  ICQ  :  36-44-66                   #
#  Вы не имеете право вносить изменения в код скрипта #
#-----------------------------------------------------#
header("Content-type:text/html; charset=utf-8");
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>';
echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">';
echo '<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-size: 11; font-family: Courier new; padding: 0px 0px 0px 0px; color: #000000; background-color: #000000 }
a:link,a:active,a:visited {text-decoration: none; color: #660000;}
a:hover {text-decoration: none; color: #666999 }
table {margin: 0px; padding: 0px;  font-size: 11px;}
.b {margin: 3px; padding: 4px; border-top: 1px dashed #660000; border-bottom: 1px dashed #660000; border-left: 3px solid #663300; border-right: 3px solid #663300; font-size: 11px; color: #000000;}
.b:hover {margin: 3px; padding: 4px; background-color: #CCCCCC; border-top: 1px dashed #660000; border-bottom: 1px dashed #660000; border-left: 3px solid #996633; border-right: 3px solid #996633; font-size: 11px; color: #000000;}
.c {margin: 0px; padding: 0px; font-size: 11px; color: #666633;}
.d {background-color: #E3E5E3; border-style: dotted; border-width: 1px; border-color: #B8C1B7; padding: 10px; padding-left: 35px;  background-image: url('.$config_home.'/images/img/code.gif); background-repeat: repeat-y; font-size: 11px}
img {margin: 0px; border: 0px;}
textarea {width: 100%;  background-color: #CCCC99; font-size: 11px; color: #660000;}
input {margin: 2px; padding: 2px; border: 1px solid #666600; background-color: #CCCC99; font-size: 11px; color: #660000;}
input:hover {margin: 2px; padding: 2px; border: 1px solid #666600; background-color: #E5E5E5; font-size: 11px; color: #660000;}
q {font-family: Times, serif;  font-style: italic; color: navy;quotes: "\00AB" "\00BB"}
</style>';
echo '<meta name="keywords" content="'.$config_keywords.'">';
echo '<meta name="description" content="'.$config_description.'">';
echo '</head><body>';
echo '<!--Themes by Vantuz-->';

echo '<table border="0" align="center" cellspacing="0" cellpadding="0">
<tr><td>
<img src="'.$config_home.'/themes/warcraft/left_up0.gif" alt="">
</td>
		
<td width="100%" background="'.$config_home.'/themes/warcraft/up000000.gif"></td>
		
<td><img src="'.$config_home.'/themes/warcraft/right_up.gif" alt="">
</td></tr>
	   
<tr><td background="'.$config_home.'/themes/warcraft/left0000.gif">
</td><td width="100%" bgcolor="#999999">
<p align="right" class="c">
<img src="'.$config_home.'/themes/warcraft/logo0000.gif" alt="">
</p></td>
<td background="'.$config_home.'/themes/warcraft/right000.gif"></td></tr>
	   
<tr><td background="'.$config_home.'/themes/warcraft/left0000.gif"></td>
		
<td width="100%" height="7"  background="'.$config_home.'/themes/warcraft/separate.gif">
</td><td background="'.$config_home.'/themes/warcraft/right000.gif"></td></tr>
		
<tr><td width="7" height="100%"  background="'.$config_home.'/themes/warcraft/left0000.gif">
</td><td width="100%" bgcolor="#999999">';

if($config_rekhead==1){include_once BASEDIR."local/datamain/reklama_head.dat";}

echo '<div id="up">';

function myhtml($myhtml) { //так как смайлы изменили свое местоположение, это временно
$myhtml = str_replace("images/img/act1.gif","themes/warcraft/act.gif",$myhtml);
$myhtml = str_replace("images/img/act2.gif","themes/warcraft/act.gif",$myhtml);
$myhtml = str_replace("images/img/act3.gif","themes/warcraft/act.gif",$myhtml);

return $myhtml; }
ob_start(myhtml);
?>
