Размер файла: 1.49Kb
<?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/matrix/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/matrix/matrix.css" type="text/css">
</head><body>';
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/matrix/act.gif",$myhtml);
$myhtml = str_replace("images/img/act2.gif","themes/matrix/act.gif",$myhtml);
$myhtml = str_replace("images/img/act3.gif","themes/matrix/act.gif",$myhtml);
$myhtml = str_replace("images/img/forums.gif","themes/matrix/act.gif",$myhtml);
return $myhtml; }
ob_start(myhtml);
?>