File size: 1.29Kb
<?php
//***********************************************//
// HwapCms - бесплатная wap CMS //
// Автор: wap_masterok //
// Официальный сайт //
// http://wap-help.ru //
// //
//***********************************************//
$keyworl = mysql_query("SELECT keyworld FROM meta");
$keyworld = mysql_result($keyworl,0);
$descriptio = mysql_query("SELECT description FROM meta");
$description = mysql_result($descriptio,0);
header('Cache-control: no-cache');
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">
<head>
<link rel="shortcut icon" href="favicon.ico"/>
<meta name="description" content="'.$description.'" />
<meta name="keywords" content="'.$keyworld.'" /> ';
echo '<meta name="Generator" content="HwapCMS, http://wap-help.ru" />'; // Убирать запрещено!
if($theme){
echo'<link rel="stylesheet" href="/style/theme/'.$theme.'/style.css" type="text/css"/>';
}else{
echo' <link rel="stylesheet" href="/style/theme/default/style.css" type="text/css"/>';
}
echo'<title>'.$title.'</title>
</head>
<body>';
$t = microtime(1);
?>