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

Размер файла: 2.12Kb
<?php
#-----------------------------------------------------#
#                   by   LAS                          #
#                ICQ: 67-14-67                        #
#-----------------------------------------------------#
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>
<style type="text/css">
body  { font-family: Arial; font-size: 12px; text-align: left; background: #F3F3F3;}
a  { color: #014315; font-size: 13px; font-family: arial; text-decoration: none }
a:hover { font-size: 14px; border-right: 1px solid #014315; border-bottom: 1px solid #014315 }
div { margin: 1px; padding: 2px;  border-bottom: 1px dotted #014315}
.a {  text-align: left; COLOR: #FFF; background-color: #84C225; padding: 5px; font-size: 12px; }
.b {  text-align: left; COLOR: #FFF; background-color: #84C225; padding: 5px; font-size: 12px; }
.c {  text-align: left; COLOR: #FFF; background-color: #84C225; padding: 5px; font-size: 12px; }
.d {  text-align: left; COLOR: #FFF; background-color: #84C225; padding: 5px; font-size: 12px; }
</style>
<meta name="keywords" content="'.$config_keywords.'">
<meta name="description" content="'.$config_description.'">
</head>';
echo '<tr>';
echo '<div class="a" id="up"><img src="'.$config_home.'/themes/nsite/logo.png"><br></div>';
echo '</td></tr><tr><td>';
if($config_rekhead==1){include_once BASEDIR."local/datamain/reklama_head.dat";}
function myhtml($myhtml) { //     ,  
$myhtml = str_replace("images/img/act1.gif","themes/nsite/act.gif",$myhtml);
$myhtml = str_replace("images/img/act2.gif","themes/nsite/act.gif",$myhtml);
$myhtml = str_replace("images/img/act3.gif","themes/nsite/act.gif",$myhtml);
$myhtml = str_replace("images/img/act.gif","themes/nsite/act.gif",$myhtml);
return $myhtml; }
echo '<div>';
ob_start(myhtml);
?>