<?
/*/ Translated and modified by Deff www.airgears.kilu.de /*/

//header("Content-type: application/vnd.wap.xhtml+xml");

//header("Content-type: application/xhtml+xml; charset=utf-8");

header("Content-type: text/html");

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" xml:lang="ru">

<head>

<title><?echo $set['title'];?></title>

<link rel="shortcut icon" href="/style/themes/<?echo $set['set_them'];?>/gear.gif" />

<link rel="stylesheet" href="/style/themes/<?echo $set['set_them'];?>/style.css" type="text/css" />

</head>

<body>

<?
if (isset($user)){
if ($_SERVER['PHP_SELF']=='/index.php')
{
echo "<div class='logo'>";
echo '<div class="a" id="up"><table width="100%"><tr><td><font size="10"><img src="/style/themes/black_dcms/logo.png" alt="Indwap" /></font></td><td align="right" valign="middle" style="width:50%;"><span style="color:white"><a href="/index.php?#down">pencarian</a></span></td></tr></table><a class="menuhead" href="/">Beranda</a> <a class="menuheadno" href="/info.php">Profil</a> <a class="menuheadno" href="/frend.php">Teman</a> <a class="menuheadno" href="/mail.php">Kotak Masuk</a> </div>';
echo "</div>";
}
if ($_SERVER['PHP_SELF']!='/index.php')
{
echo "<div class='logo'>";
echo '<div class="a" id="up"><table width="100%"><tr><td><font size="10"><img src="/style/themes/black_dcms/logo.png" alt="Indwap" /></font></td><td align="right" valign="middle" style="width:50%;"><span style="color:white"><a href="/index.php?#down">pencarian</a></span></td></tr></table><a class="menuhead" href="/">Beranda</a> <a class="menuheadno" href="/info.php">Profil</a> <a class="menuheadno" href="/frend.php">Teman</a> <a class="menuheadno" href="/mail.php">Kotak Masuk</a> </div>';
echo "</div>";
}
}
else{
echo "<div class='logo'>";
echo '<div class="a" id="up"><table width="100%"><tr><td><font size="10"><img src="/style/themes/black_dcms/logo.png" alt="Indwap" /></font></td><td align="right" valign="middle" style="width:50%;"><span style="color:white"></span></td></tr></table>';
echo "</div></div>";
}
?>
