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

Размер файла: 2.97Kb
<?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">
<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("images/img/act.gif","themes/default/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/act1.gif","themes/default/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/act2.gif","themes/default/img/act.gif",$myhtml);
$myhtml = str_replace("images/img/act3.gif","themes/default/img/act.gif",$myhtml);

$myhtml = str_replace("images/img/act_home.gif","themes/default/img/act_home.gif",$myhtml);
$myhtml = str_replace("images/img/back.gif","themes/default/img/back.gif",$myhtml);
$myhtml = str_replace("images/img/chat.gif","themes/default/img/chat.gif",$myhtml);
$myhtml = str_replace("images/img/chel.gif","themes/default/img/chel.gif",$myhtml);
$myhtml = str_replace("images/img/dot.gif","themes/default/img/dot.gif",$myhtml);
$myhtml = str_replace("images/img/error.gif","themes/default/img/error.gif",$myhtml);
$myhtml = str_replace("images/img/forums.gif","themes/default/img/forums.gif",$myhtml);
$myhtml = str_replace("images/img/gbuka.gif","themes/default/img/gbuka.gif",$myhtml);
$myhtml = str_replace("images/img/homepage.gif","themes/default/img/homepage.gif",$myhtml);
$myhtml = str_replace("images/img/mail.gif","themes/default/img/mail.gif",$myhtml);
$myhtml = str_replace("images/img/mail2.gif","themes/default/img/mail2.gif",$myhtml);
$myhtml = str_replace("images/img/man.gif","themes/default/img/man.gif",$myhtml);
$myhtml = str_replace("images/img/minus.gif","themes/default/img/minus.gif",$myhtml);
$myhtml = str_replace("images/img/mp3.gif","themes/default/img/mp3.gif",$myhtml);
$myhtml = str_replace("images/img/photo.gif","themes/default/img/photo.gif",$myhtml);
$myhtml = str_replace("images/img/plus.gif","themes/default/img/plus.gif",$myhtml);
$myhtml = str_replace("images/img/strelka.gif","themes/default/img/str.gif",$myhtml);
$myhtml = str_replace("images/img/warning.gif","themes/default/img/warning.gif",$myhtml);
$myhtml = str_replace("images/img/woman.gif","themes/default/img/woman.gif",$myhtml);
$myhtml = str_replace("images/img/zakr.gif","themes/default/img/zakr.gif",$myhtml);
return $myhtml; }ob_start(myhtml);
?>