File size: 0.98Kb
<?php
global $userid;
echo '<?xml version="1.0" encoding="UTF-8" ?>';
echo '<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
"http://www.wapforum.org/DTD/xhtml-mobile10.dtd">';
echo '<html xmlns="http://www.w3.org/1999/xhtml">';
echo "<head><title>{$set['title']} - {$title}</title>";
echo '<link rel="stylesheet" href="'.$url.'/style.css" type="text/css" media="all,handheld"/> </head>';
echo '<body><div class="head">
<img src="'.$url.'/images/logo.jpg"/></div><div class="content">';
echo '<div class="list">
<a href="'.$url.'" title="home">Home</a> | ';
if($userid) {
echo '<a href="'.$url.'/user">My Account</a>';
if($rights>1) {
echo ' | <a href="'.$url.'/admin">SysPanel</a>';
}
echo ' | <a href="'.$url.'/logout.php">Logout</a>';
} else {
echo '<a href="'.$url.'/login.php">Login</a> | <a href="'.$url.'/registration.php">'.$lang["reg"].'</a>';
}
echo ' | <a href="'.$url.'/about.php">About</a> | <a href="'.$url.'/terms.php">Terms</a>
</div><br/>';
?>