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

Размер файла: 4.02Kb
<?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'].'/themes/lime/site/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 '<link rel="stylesheet" href="'.$config_home.'/themes/lime/lime.css" type="text/css">';

echo '</head><body><center>';

echo'<table><tr><td>';
echo '<div class="a" id="up"><img src="'.$config['logotip'].'" alt="image" /><br />'.$config['logos'].' </div>';if ($config['rekhead']==1){include_once DATADIR."datamain/reklama_head.dat";}include_once (BASEDIR."includes/isset.php");


echo '<div>';
function myhtml($myhtml) {
$myhtml = str_replace("images/img/act1.gif","themes/lime/img/act.png",$myhtml);
$myhtml = str_replace("images/img/act2.gif","themes/lime/img/act.png",$myhtml);
$myhtml = str_replace("images/img/act3.gif","themes/lime/img/act.png",$myhtml);
$myhtml = str_replace("images/img/act.gif","themes/lime/img/act.png",$myhtml);
$myhtml = str_replace("images/img/homepage.gif","themes/lime/img/act.png",$myhtml);
$myhtml = str_replace("images/img/act_home.gif","themes/lime/img/act.png",$myhtml);
$myhtml = str_replace("images/img/back.gif","themes/lime/img/act.png",$myhtml);
$myhtml = str_replace("images/img/reload.gif","themes/lime/img/act.png",$myhtml);
$myhtml = str_replace("images/img/exit.gif","themes/lime/img/act.png",$myhtml);
$myhtml = str_replace("images/img/chel.gif","themes/lime/img/chel.png",$myhtml);
$myhtml = str_replace("images/img/rss.gif","themes/lime/img/act.png",$myhtml);
$myhtml = str_replace("images/img/panel.gif","themes/lime/img/act.png",$myhtml);
$myhtml = str_replace("images/img/mail.gif","themes/lime/img/act.png",$myhtml);
$myhtml = str_replace("images/img/mail2.gif","themes/lime/img/act.png",$myhtml);
$myhtml = str_replace("images/img/error.gif","themes/lime/img/act.png",$myhtml);
$myhtml = str_replace("images/img/stat.gif","themes/lime/img/act.png",$myhtml);
$myhtml = str_replace("images/img/many.gif","themes/lime/img/act.png",$myhtml);
$myhtml = str_replace("images/img/person.gif","themes/lime/img/act.png",$myhtml);
$myhtml = str_replace("images/img/partners.gif","themes/lime/img/partn.png",$myhtml);
$myhtml = str_replace("images/img/profiles.gif","themes/lime/img/partn.png",$myhtml);
$myhtml = str_replace("images/img/menu.gif","themes/lime/img/partn.png",$myhtml);
$myhtml = str_replace("images/img/mails.gif","themes/lime/img/partn.png",$myhtml);
$myhtml = str_replace("images/img/search.gif","themes/lime/img/act.png",$myhtml);
$myhtml = str_replace("images/img/motors.gif","themes/lime/img/partn.png",$myhtml);
$myhtml = str_replace("images/img/online.gif","themes/lime/img/act.png",$myhtml);
$myhtml = str_replace("images/img/faq.gif","themes/lime/img/act.png",$myhtml);
$myhtml = str_replace("images/img/forums.gif","themes/lime/img/file.png",$myhtml);
$myhtml = str_replace("images/img/files.gif","themes/lime/img/file.png",$myhtml);
$myhtml = str_replace("images/img/dir.gif","themes/lime/img/dir.png",$myhtml);
$myhtml = str_replace("images/img/opendir.gif","themes/lime/img/dir.png",$myhtml);
$myhtml = str_replace("images/img/top20_dir.gif","themes/lime/img/dir.png",$myhtml);
$myhtml = str_replace("images/img/new_dir.gif","themes/lime/img/dir.png",$myhtml);
$myhtml = str_replace("images/img/new.gif","themes/lime/img/act.png",$myhtml);
$myhtml = str_replace("images/img/new1.gif","themes/lime/img/act.png",$myhtml);
$myhtml = str_replace("images/img/new2.gif","themes/lime/img/act.png",$myhtml);
$myhtml = str_replace("images/img/new3.gif","themes/lime/img/act.png",$myhtml);


return $myhtml; }
ob_start('myhtml');


?>