Размер файла: 2.04Kb
<?php
echo '<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">
<head>
<meta http-equiv="Content-Type" content="application/vnd.wap.xhtml+xml; charset=UTF-8" />
<meta name="description" content="'.$meta_descr.'" />
<meta name="keywords" content="'.$meta_key.'" />
<link rel="stylesheet" href="'.$home.'/themes/2011/style.css" type="text/css" />';
echo'<title>'.$title_page.' | '.$title.'</title>
</head><body>';
function myhtml($myhtml) {
$myhtml = str_replace('<br>','<br />',$myhtml);
$myhtml = str_replace('<hr>','<hr />',$myhtml);
$myhtml = str_replace('alt="">','alt="" />',$myhtml);
$myhtml = str_replace('<p class="modul_name">','<p class="modul_name"align="center">',$myhtml);
return $myhtml;
}
ob_start('myhtml');
echo '<div class="head"><p align="center">';
# <img src="/images/st/ngi.gif" alt="o" align="left" />
if(!empty($logo))
{
echo '<img src="/logo.gif" alt="Лого" title="Лого" />';
# <img src="/images/st/snezh.gif" alt="*" align="right" />
}
echo '</p></div>';
echo '<div class="auth">';
$color_new_ls = 'blue';
include ($dob_url.'/templates/themes_panel.php');
echo '</div>';
function re_icon($re_icon)
{
if(!strstr($_SERVER['SCRIPT_NAME'], 'modules/forum') && !strstr($_SERVER['SCRIPT_NAME'], 'modules/zagruz') && !strstr($_SERVER['SCRIPT_NAME'], 'modules/book') && !strstr($_SERVER['SCRIPT_NAME'], 'modules/admin') && !strstr($_SERVER['SCRIPT_NAME'], 'modules/kabinet/notepad'))
{
$re_icon = str_replace ('»','<img src="/themes/2011/ico.png" alt="»" />',$re_icon);
$re_icon = str_replace ('»','<img src="/themes/2011/ico.png" alt="»" />',$re_icon);
}
return $re_icon;
}
ob_start(re_icon);
####################
$file_all_top = file_get_contents($dob_url.'/data/reklama_all_top.txt');
if(!empty($file_all_top))
{
echo'<div class="adv">'.$file_all_top.'</div>';
}
####################
list($msec,$sec)=explode(chr(32),microtime());
$headtime=$sec+$msec;
?>