Просмотр файла themes/cstrike/index.php

Размер файла: 2.07Kb
<?php
#-----------------------------------------------------#
#          ********* WAP-MOTORS *********             #
#             Made by   :  VANTUZ                     #
#               E-mail  :  [email protected]             #
#                 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.'/themes/cstrike/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>'.$config_title.$my_title.'</title>';
echo '<link rel="stylesheet" href="'.$config_home.'/themes/cstrike/cstrike.css" type="text/css">
<meta name="keywords" content="'.$config_keywords.'">
<meta name="description" content="'.$config_description.'">
</head><body>';
echo '<!--Themes Counter-Strike by Vantuz-->';
echo '<div class="a" id="up"><img src="'.$config_home.'/themes/cstrike/header.jpg" alt=""></div>';

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

echo '<div>';

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