File size: 1.67Kb
<?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/cstrike/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="RotorCMS '.$config['rotorversion'].'" />';
include_javascript();
echo '<title>%TITLE%</title>';
echo '<link rel="stylesheet" href="'.$config['home'].'/themes/cstrike/cstrike.css" type="text/css">
</head><body>';
echo '<div class="a" id="up">';
echo'<a href="'.$config['home'].'"><img src="'.$config['home'].'/themes/cstrike/header.jpg" alt=""></a><br> '.$config['logos'].' ';
echo' </div>';
echo '<div>';
function myhtml($myhtml) { //так как смайлы изменили свое местоположение, это временно
$myhtml = str_replace("images/img/act.png","themes/cstrike/act.gif",$myhtml);
$myhtml = str_replace("images/img/act1.gif","themes/cstrike/act.gif",$myhtml);
$myhtml = str_replace("images/img/act2.gif","themes/cstrike/act.gif",$myhtml);
$myhtml = str_replace("images/img/act3.gif","themes/cstrike/act.gif",$myhtml);
$myhtml = str_replace("images/img/forums.gif","themes/cstrike/act.gif",$myhtml);
$myhtml = str_replace("images/img/zakr.gif","themes/cstrike/act1.gif",$myhtml);
return $myhtml; }
echo '<div>';
ob_start('myhtml');
?>
<?php render('includes/menu'); ?>