Файл: rban/rban/view_obiav.php
Строк: 30
<?php
header('Cache-Control: no-store, no-cache, must-revalidate'); // HTTP/1.1
header ("Content-type:text/vnd.wap.wml; charset=utf-8");
include "config.inc.php";
include "fo.php";
include'ver.php';
mysql_connect($bd_host,$bd_name,$bd_pass) ;
mysql_select_db($bd_bd) ;
$q=@mysql_query("select `content`, `title` from `obiav` where id='$mid' order by id desc;");
$arr=@mysql_fetch_array($q);
$title=$arr['title'];
top($title,$style);
if($w=='wml'){print'<p align="center">';} else {print'<div class="block2" align="center">';}
echo $arr['content'];
echo "<br/><br/>Aдминиcтpaция!";
echo "<br/>---";
if($w=='wml'){print'-----<br/>';} else {print'</div><br/><div class="block">';}
echo "<a href="index.php"><< Глaвнaя</a><br/>";
if($w=='htm'){print'</div><br/>';} else {print'<br/>';}
e();
?>