Размер файла: 3.09Kb
<?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: 2px groove #FFFFFF;
font-weight: normal;
font-size: 12px;
color: #000000;
font-family: Arial, Helvetica, sans-serif;
background-color: #FFFFFF;
max-width: 150px;
padding: 0px;
table-layout: auto;
margin: auto;
background-image: url("style/default/body.png");
}
a{
text-decoration: none;
color: #996600;
}
a:link {
color: #b4ff00;
}
a:visited{
color: #b4ff00;
text-decoration: none;
}
a:hover{
border: 1px solid #000000;
color: #000000;
text-decoration: none;
}
.foot2 {
background-image: url("style/default/4.png");
}
.menu {
background-image: url("style/default/1.png");
}
.hr {
border-width: 1px;
border-color: #65511D;
border-top-style: dotted;
}
.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;
}
.str {
background-color: #808080;
font-family: Arial, Helvetica, sans-serif;
color: #000000;
border-top-style: solid;
border-bottom-style: solid;
border-top-width: 2px;
border-bottom-width: 2px;
border-top-color: #978c8c;
border-bottom-color: #978c8c;
background-image: url("style/default/str.png");
}
.msg {
font-family: Arial;
border-width: 1px;
border-color: #978c8c;
border-style: solid none solid none;
}
.tab {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
background-color: #808080;
color: #FFFFFF;
border-right-style: hidden;
border-bottom-style: hidden;
border-left-style: hidden;
border-right-width: 3px;
border-bottom-width: 3px;
border-left-width: 3px;
border-right-color: #000000;
border-bottom-color: #000000;
border-left-color: #000000;
}
.main {
background-color:#FFFFFF;
border: 1px solid #996600 ;margin:1px;
background-image: url("style/default/button.png");
}
</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/>";
}
?>