Размер файла: 3.46Kb
<?php
$_SESSION['pid']=intval($pid);
$q = mysql_query("select * from `config`;");
$row=mysql_fetch_array($q);
$title = base64_decode($row['title']);
header("Content-type: application/xhtml+xml; charset=utf-8");
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><title>'.$title.'</title>
<link rel="shortcut icon" href="/favicon.ico" />
<style type="text/css">
body
{
border: 1px groove #000000;
font-weight: normal;
font-size: 11px;
font-color: #000000;
font-family: Arial, Helvetica, sans-serif;
background-color: #FFFFFF;
max-width: 500px;
padding: 0px;
table-layout: auto;
margin: auto;
}
a{
text-decoration: none;
color: #000000;
}
a:link {
color: #663300;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
}
a:visited{
color: #663300;
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
}
a:hover{
border: 1px solid #000000;
color: #000000;
text-decoration: none;
}
.foot2 {
border: 1px solid #000000;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
background-color: #FFFFFF;
}
.menu {
border: 2px hidden #333333;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
background-color: #FFFFFF;
}
.hr {
border-width: 1px;
border-color: #000000;
border-top-style: groove;
}
.news {
background-color: #FFFFFF;
border-color: #FFCCFF;
border-width: 1px 1px 1px 1px;
border-style: solid solid solid solid;
font-family: Arial, Helvetica, sans-serif;
color: #000000;
font-size: 11px;
}
.str {
background-color: #FFFFCC;
font-family: Arial, Helvetica, sans-serif;
color: #000000;
border-top-style: solid;
border-bottom-style: solid;
border-top-width: 1px;
border-bottom-width: 1px;
border-top-color: #000000;
border-bottom-color: #000000;
font-size: 12px;
}
.msg {
font-family: Arial, Helvetica, sans-serif;
border-width: 1px;
border-color: #808080;
border-style: solid none solid none;
font-size: 12px;
}
.tab {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
background-color: #F9FFFC;
color: #000000;
border-right-style: hidden;
border-bottom-style: hidden;
border-left-style: hidden;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-right-color: #C0C0C0;
border-bottom-color: #C0C0C0;
border-left-color: #C0C0C0;
}
.main {
background-color: #CCCCCC;
border: 1px solid #000000 ;
margin: 1px;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
color: #000000;
}
</style>
</head>
<body>';
list($msec,$sec)=explode(chr(32),microtime());
$headtime=$sec+$msec;
echo "<center>";
$q=mysql_query("select* from `rekl` where `mesto`='0' order by `id`;");
while ($row=mysql_fetch_array($q))
{
print "<a href='".$row['link']."'>".base64_decode($row['linkname'])."</a><div class='hr'></div>";
}
if ($autorize)
{
print "<img src=\"style/".$autorize['skin']."/logo.png\" alt =\"logo\"/><br/>";
}
else
{
print "<img src=\"style/".$wap_skin."/logo.png\" alt =\"logo\"/><br/>";
}
?>