<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<!-- TinyMCE -->
<script type="text/javascript" src="jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({
// General options
mode : "textareas",
theme : "advanced",
plugins : "autoresize",
// Theme options
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,justifyleft,justifycenter,justifyright,justifyfull,formatselect,fontsizeselect",
theme_advanced_buttons2 : "pastetext,pasteword,search,replace,bullist,numlist,outdent,indent,blockquote,undo,redo,link,unlink",
theme_advanced_buttons3 : "tablecontrols,removeformat,visualaid,sub,sup,charmap,emotions,iespell,media,advhr,print,ltr,rtl,fullscreen",
theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,styleprops,cite,abbr,acronym,del,ins,attribs,visualchars,nonbreaking,template,pagebreak,restoredraft,insertdate,inserttime,preview,forecolor,backcolor,anchor,image,cleanup,code",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
// Example content CSS (should be your site CSS)
content_css : "css/content.css",
// Drop lists for link/image/media/template dialogs
template_external_list_url : "lists/template_list.js",
external_link_list_url : "lists/link_list.js",
external_image_list_url : "lists/image_list.js",
media_external_list_url : "lists/media_list.js",
// Style formats
style_formats : [
{title : 'Bold text', inline : 'b'},
{title : 'Red text', inline : 'span', styles : {color : '#ff0000'}},
{title : 'Red header', block : 'h1', styles : {color : '#ff0000'}},
{title : 'Example 1', inline : 'span', classes : 'example1'},
{title : 'Example 2', inline : 'span', classes : 'example2'},
{title : 'Table styles'},
{title : 'Table row 1', selector : 'tr', classes : 'tablerow1'}
],
// Replace values for the template plugin
template_replace_values : {
username : "Some User",
staffid : "991234"
}
});
</script>
<!-- /TinyMCE -->
<title><?php echo $title; ?></title>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
<link href="<?php echo $layout_name; ?>/basic.css" rel="stylesheet" type="text/css">
<link href="<?php echo $layout_name; ?>/style.css" rel="stylesheet" type="text/css">
</head>
<body id="FrontPage">
<div id="Container">
<div class="Content Clearfix">
<!-- Top Panel -->
<div id="Hud">
<b><span class="Who"><a href="http://www.youforumwebsite.com/">Forum</a></span>
<span class="Who"><a href="?subtopic=team">Team</a></span>
<span class="Who"><a href="?subtopic=buypoints">Donation</a></span>
<span class="Who"><a href="?subtopic=shopsystem">Shop</a></span>
<span class="Who"><a href="?subtopic=wars">Guild Wars</a></span>
<span class="Who"><a href="?subtopic=commands">Player Commands</a></span></b>
</div>
<div id="Logo"></div>
<div id="Navigation">
<div id="LeftContent">
<!-- Server Status -->
<?php
if($config['status']['serverStatus_online'] == 1)
echo '<span class="online"><font color="green"><b>Server is Online</b></font><br></span>
<b><font color="white" size="2"><a href="?subtopic=whoisonline">Players Online: '.$config['status']['serverStatus_players'].'</a><br>
<a href="?subtopic=whoisonline">Uptime: '.$config['status']['serverStatus_uptime'].'</a></b></font>';
else
echo '<span class="online"><font color="red"><b>Server is Offline</b></font><br></span>
<b><font color="white" size="2"><a href="?subtopic=whoisonline">Players Online: '.$config['status']['serverStatus_players'].'</a><br>
<a href="?subtopic=whoisonline">Uptime: OFFLINE</a></b></font';
?>
<!-- MAIN MENU -->
<ul>
<li><a href="?subtopic=whoisonline"></a></li>
<li><a href="?subtopic=latestnews" class="level1 item7 first">Latest News</a></li>
<li><a href="?subtopic=downloads" class="level1 item7 first">Download</a></li>
<?php
if($logged)
{
echo '
<li><a href="?subtopic=accountmanagement" class="level1 item7 first">My Account</a></li>
<li><a href="?subtopic=accountmanagement&action=logout" class="level1 item7 first">Logout</a></li>
';
}
else
{
echo '
<li><a href="?subtopic=accountmanagement" class="level1 item7 first">Login</a></li>
<li><a href="?subtopic=createaccount" class="level1 item7 first">Create Account</a></li>
<li><a href="?subtopic=lostaccount" class="level1 item7 first">Recovery Account</a></li>
';
}
?>
<li><a href="?subtopic=tibiarules" class="level1 item7 first">Rules</a></li>
<li><a href="?subtopic=guilds" class="level1 item7 first">Guilds</a></li>
<li><a href="?subtopic=highscores" class="level1 item7 first">Highscores</a></li>
<li><a href="?subtopic=killstatistics" class="level1 item7 first">Last Deaths</a></li>
<li><a href="?subtopic=houses" class="level1 item7 first">Houses</a></li>
<li><a href="?subtopic=whoisonline" class="level1 item7 first">Who is online?</a></li>
<li><a href="?subtopic=tasks" class="level1 item7 first">Taski</a></li>
</ul>
</div>
<div id="RightContent">
<!-- Main Content -->
<div id="GameInfo">
<b><?php echo $main_content; ?></b>
</div>
<!-- Copyright -->
<div id="Copyright">
<center><font color="white"><b>Copyright © 2012, YouServer.com<br> All Rights Reserved.</b></font></center>
</div>
</div>
</div>
</div>
</div>
</body>
</html>