View file themes/default/index.php

File size: 2.29Kb
<?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">
<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>';
echo '<link rel="stylesheet" href="'.$config_home.'/themes/default/style.css" type="text/css">
<meta name="keywords" content="'.$config_keywords.'">
<meta name="description" content="'.$config_description.'">
</head><body><!--Themes by wap.imgstudio.ru-->';
echo '<div class="cs" id="up" align="center"><img src="'.$config_logotip.'" alt=""><br>'.$config_logos.' </div>';

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

echo '<div>';

function myhtml($myhtml) {
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/act.gif" alt="">','<img src="'.BASEDIR.'themes/default/b.png" alt="">',$myhtml); 
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/act1.gif" alt="">','<img src="'.BASEDIR.'themes/default/b.png" alt="">',$myhtml);
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/act2.gif" alt="">','<img src="'.BASEDIR.'themes/default/b.png" alt="">',$myhtml);
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/act3.gif" alt="">','<img src="'.BASEDIR.'themes/default/b.png" alt="">',$myhtml);
$myhtml = str_replace('<img src="'.BASEDIR.'images/img/act_home.gif" alt="">','<img src="'.BASEDIR.'themes/default/b.png" alt="">',$myhtml); 
return $myhtml; }
ob_start('myhtml');
?>