Просмотр файла style/seric_style/head.php

Размер файла: 3.11Kb
<?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{
				font-weight: normal;
				font-size: 15px;
				color: #000000;
				font-family: Arial, Helvetica, sans-serif;
				background-color: #FFFFFF;
				max-width: 450px;
				padding: 0px;
				table-layout: auto;
				margin: auto;
				background-image: url("style/seric_style/body.png");
				background-color: #FFAFF6;

}
a{
				text-decoration: none;
				color: #996600;
}
a:link {
				color: #754770;
}
a:visited{
				color: #754770;
				text-decoration: none;
}
a:hover{
				border: 1px solid #000000;
				color: #000000;
				text-decoration: none;
}


.foot2 {
background-image: url("style/seric_style/4.png");
}

.menu {
background-image: url("style/seric_style/1.png");
}

.hr {
	border-width: 1px;
	border-color: #ffffff;
	border-top-style: solid;
}
.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/seric_style/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: #f5e4f3;
				color: #754770;
				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:#f5e4f3;
	border: 1px solid #000000 ;margin:1px;
	background-image: url("style/seric_style/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`='1' 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/>";
}
?>