View file themes/warcraft/index.php

File size: 3.66Kb
<?php
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" />';echo '<link rel="alternate" type="application/rss+xml" title="RSS News" href="'.$config['home'].'/news/rss.php" />';echo '<meta name="keywords" content="%KEYWORDS%" />';echo '<meta name="description" content="%DESCRIPTION%" />';echo '<meta name="generator" content="Wap-Motor '.MOTOR_VERSION.'" />';echo '<title>'.site_title($php_self).'</title>';
	
echo'<style type="text/css">
body {font-size: 11; font-family: Times; 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;}
.form {color: #663; padding : 3px; background-color: #000; border: 1px dotted #630;}
.login {color: #663; padding : 10px; margin : 10px 0 10px 0; background-color: #000; border: 1px dotted #630;}
q {font-family: Times, serif;  font-style: italic; color: navy;quotes: "\00AB" "\00BB"}
</style>';
echo '</head><body>';

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="center" class="c">
<img src="'.$config['logotip'].'" alt="image" /><br />'.$config['logos'].'
</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 DATADIR."datamain/reklama_head.dat";}include_once (BASEDIR."includes/isset.php");

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);
?>