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

Размер файла: 5.77Kb
<?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">';

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/new_motor/motor.css" type="text/css">';
echo '<meta name="keywords" content="'.$config_keywords.'">';
echo '<meta name="description" content="'.$config_description.'">';

echo '</head><body><center>';
echo '<!--Themes by IRUS-->';

echo'<table cellpadding="0" cellspacing="0"><tr><td>';
echo '<div class="a" id="up"><br><img src="'.$config_home.'/themes/new_motor/site/logo.png" alt=""><br><br>'.$config_logos.'<br><br></div>';

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

echo'</td></tr><tr><td class="main">';
echo '<div>';
function myhtml($myhtml) {
$myhtml = str_replace("images/img/act1.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/act2.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/act3.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/act.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/homepage.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/act_home.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/back.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/reload.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/exit.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/chel.gif","themes/new_motor/img/chel.png",$myhtml);
$myhtml = str_replace("images/img/rss.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/panel.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/mail.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/mail2.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/error.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/zip.gif","themes/new_motor/img/file.png",$myhtml);
$myhtml = str_replace("images/img/download.gif","themes/new_motor/img/downl.png",$myhtml);
$myhtml = str_replace("images/img/stat.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/many.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/person.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/partners.gif","themes/new_motor/img/partn.png",$myhtml);
$myhtml = str_replace("images/img/profiles.gif","themes/new_motor/img/partn.png",$myhtml);
$myhtml = str_replace("images/img/down.gif","themes/new_motor/img/partn.png",$myhtml);
$myhtml = str_replace("images/img/menu.gif","themes/new_motor/img/partn.png",$myhtml);
$myhtml = str_replace("images/img/mails.gif","themes/new_motor/img/partn.png",$myhtml);
$myhtml = str_replace("images/img/search.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/motors.gif","themes/new_motor/img/partn.png",$myhtml);
$myhtml = str_replace("images/img/online.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/faq.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/forums.gif","themes/new_motor/img/file.png",$myhtml);
$myhtml = str_replace("images/img/files.gif","themes/new_motor/img/files.png",$myhtml);
$myhtml = str_replace("images/img/dir.gif","themes/new_motor/img/dir.png",$myhtml);
$myhtml = str_replace("images/img/opendir.gif","themes/new_motor/img/dir.png",$myhtml);
$myhtml = str_replace("images/img/top20_dir.gif","themes/new_motor/img/dir.png",$myhtml);
$myhtml = str_replace("images/img/new_dir.gif","themes/new_motor/img/dir.png",$myhtml);
$myhtml = str_replace("images/img/new.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/new1.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/new2.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/new3.gif","themes/new_motor/img/act.png",$myhtml);
$myhtml = str_replace("images/img/rating0.gif","themes/new_motor/img/rating0.png",$myhtml);
$myhtml = str_replace("images/img/rating1.gif","themes/new_motor/img/rating1.png",$myhtml);
$myhtml = str_replace("images/img/rating2.gif","themes/new_motor/img/rating2.png",$myhtml);
$myhtml = str_replace("images/img/rating3.gif","themes/new_motor/img/rating3.png",$myhtml);
$myhtml = str_replace("images/img/rating4.gif","themes/new_motorimg/rating4.png",$myhtml);
$myhtml = str_replace("images/img/rating5.gif","themes/new_motor/img/rating5.png",$myhtml);
$myhtml = str_replace("images/img/rating6.gif","themes/new_motor/img/rating6.png",$myhtml);
$myhtml = str_replace("images/img/rating7.gif","themes/new_motor/img/rating7.png",$myhtml);
$myhtml = str_replace("images/img/rating8.gif","themes/new_motor/img/rating8.png",$myhtml);
$myhtml = str_replace("images/img/rating9.gif","themes/new_motor/img/rating9.png",$myhtml);
$myhtml = str_replace("images/img/rating10.gif","themes/new_motor/img/rating10.png",$myhtml);
$myhtml = str_replace("images/img/anonim.gif","themes/new_motor/img/anonim.png",$myhtml);
$myhtml = str_replace("images/img/security.gif","themes/new_motor/img/security.png",$myhtml);
$myhtml = str_replace("images/img/women.gif","themes/new_motor/img/women.png",$myhtml);
return $myhtml; }
ob_start(myhtml);


?>