<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<!-- Powered by UNNAMED Acc. Maker ©2009 - 2010 by Gesior. -->
<!-- Rewrote and rebuild for Altara.pl purposes (c)2009 - 2010. -->
<!-- Designed by DeGhost -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
<head>
<meta name="description" content=Tibia is a free massive multiplayer online role playing game (MMORPG)." />
<meta name="author" content="DeGhost,Loleslav" />
<meta http-equiv="content-language" content="pl" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="free online game, free multiplayer game, ots, open tibia server" />
<link rel="shortcut icon" href="<?PHP echo $layout_name; ?>/images/others/favicon.ico" type="image/x-icon">
<link rel="icon" href="<?PHP echo $layout_name; ?>/images/others/favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="<?PHP echo $layout_name; ?>/default.css" media="screen"/>
<link rel="stylesheet" type="text/css" href="<?PHP echo $layout_name; ?>/basic.css" media="screen"/>
<title><?PHP echo $title; ?></title>
<?PHP echo $layout_header; ?>
<style type="text/css">
@import "layout.css";
</style>
</head>
<body class="home">
<div id="bg1">
<div id="bg2">
<div id="header" class="container">
<div id="logo">
</div>
<div id="topmenu">
<ul>
</ul>
</div>
</div>
</div>
<div id="menu">
<ul class="container">
<li class="first"><a href="?subtopic=latestnews">News</a></li>
<li><a href="index.php?subtopic=createaccount">Create account</a></li>
<li><a href="index.php?subtopic=downloads">Downloads</a></li>
<li><a href="forum">Forum</a></li>
</ul>
</div>
<div id="bar">
<div class="container">
<div id="login">
<?php
if ($logged) {
echo'<form method="post" action="?subtopic=accountmanagement&action=logout">
<fieldset><p>Hello. <a href="?subtopic=accountmanagement">Account Management</a> </p>
<input value="Logout" class="input-submit" type="submit" />
</fieldset>
</form>';
}else{
echo'<form method="post" action="?subtopic=accountmanagement">
<fieldset> <span class="input-text"> <input name="account_login" value="" type="text" /> </span><span class="input-text"> <input name="password_login" value="" type="password" /> </span> <input value="Login" class="input-submit" type="submit" />
<p><a href="?subtopic=lostaccount">Lost Account?</a> </p>
</fieldset>
</form>';
}
?>
</div>
<div id="search">
<form method="post" action="index.php?subtopic=characters">
<fieldset> <span class="input-text"> <input name="name" value="Player name" type="text" /> </span><input value="Search" class="input-submit" type="submit" /></fieldset>
</form>
</div>
</div>
</div>
<div id="bg3">
<div id="bg4">
<div id="page" class="container">
<div id="content">
<div id="sidebar2">
<?php
if ($subtopic == "latestnews"){
echo '<div id="box2" class="box-style3">
<h2 class="title">Hi</h2>
<div class="entry">
<div style="text-align: center; font-weight: bold;">What
offers this OTS:<br>
<br>
- Free PACC ( must not send any sms)<br>
- Stable dedicated server<br>
- Frequent update<br>
- Great map<br>
<br>
... and many, many more. Join us today</div>
<center>Welcome! - <a
href="index.php?subtopic=createaccount">»
Create Account
«</a></b></font></center>
</small></small></h3>
<div style="clear: both;"><!-- # --> </div>
</div>
</div>';
}
?>
<center> </center>
<div id="box3" class="box-style3">
<h2 class="title"><?PHP echo $topic; ?></h2>
<div class="main_content">
<?PHP echo $main_content; ?>
</div>
</div>
</div>
<div id="sidebar3">
<div id="box4" class="box-style4">
<h2 class="title"><center>Status</center></h2>
<div class="entry">
<ul class="list1">
</ul>
<center>
<?php
if($config['status']['serverStatus_online'] == 1){
echo 'Players On-Line:<br>
<a href="index.php?subtopic=whoisonline&world=0" title="Players ON-line"><b>'.$config['status']['serverStatus_players'].'/'.$config['status']['serverStatus_playersMax'].'</b></a>
<br>UpTime:<br>
<b>'.$config['status']['serverStatus_uptime'].'</b><br>';
}else{
echo '<font color="red">Server is OFFline</font>';
}
?>
</center>
</div>
</div>
<div id="box5" class="box-style4">
<div class="entry"> <ul class="list1">
</ul>
<h2 class="title"><center>Best players</center></h2>
<center> <?php
$limitt = 5;
$skills = $SQL->query('SELECT name,level,experience FROM players WHERE group_id < '.$config['site']['players_group_id_block'].' AND name != "Account Manager" ORDER BY level DESC, experience DESC LIMIT '.$limitt)->fetchAll();
$number_of_rows = 0;
foreach($skills as $skillss)
{
$number_of_rows++;
echo '<li class="bg6"><a href="index.php?subtopic=characters&name='.urlencode($skillss['name']).'" class="link2">'.$skillss['name'].'</a><br>';
echo '<em class="style2">Level: <b>'.urlencode($skillss['level']).'</b></em></li>';
}
?></center>
</div>
<ul class="list1">
</ul>
<h2 class="title"><center>Today TOP EXP</center></h2>
<center>
</center>
</div>
</div>
</div>
<div id="sidebar">
<div id="box6" class="box-style2">
<h2 class="title">Information</h2>
<div class="entry">
<ul class="list1">
<li><a href="index.php?subtopic=characters">Search Character</a></li>
<li><a href="index.php?subtopic=serverinfo">Server Info</a></li>
<li><a href="index.php?subtopic=team">Team</a></li>
<li><a href="index.php?subtopic=tibiarules">Rules</a></li>
<?php
if($group_id_of_acc_logged >= $config['site']['access_admin_panel'])
echo '<li><a href="?subtopic=adminpanel"><b><font color="red">Admin Panel</font></b></a></li>';
if($group_id_of_acc_logged > 0)
echo '<li><a href="?subtopic=namelock"><b><font color="red">Namelocks</font></b></a></li>';
if($group_id_of_acc_logged > 0)
echo '<li><a href="?subtopic=changelog"><b><font color="red">Changelog</font></b></a></li>';
?>
</ul>
</div>
</div>
<div id="box7" class="box-style2">
<h2 class="title">Directories and lists</h2>
<ul class="list1">
<li><a href="index.php?subtopic=guilds">Guilds</a></li>
<li><a href="index.php?subtopic=bounty-hunters">Hunts</a></li>
<li><a href="index.php?subtopic=houses">Houses</a></li>
<li><a href="index.php?subtopic=killstatistics">Last kills</a></li>
<li><a href="index.php?subtopic=spells">Spells</a></li>
<li><a href="index.php?subtopic=creatures">Creatures</a></li>
<li><a href="index.php?subtopic=bans">Ban list</a></li>
<li><a href="index.php?subtopic=changelog">Changelog</a></li>
<li><a href="index.php?subtopic=signatures">Signatures</a></li>
</ul>
<div id="box8" class="box-style2">
<h2 class="title">Top skills</h2>
<div class="entry">
<ul class="list1">
</ul>
<div class="entry">
<ul class="list1">
<li><a href="index.php?subtopic=highscores&list=experience&world=0">Level</a></li>
<li><a href="index.php?subtopic=highscores&list=magic&world=0">Magic</a></li>
<li><a href="index.php?subtopic=highscores&list=fist&world=0">Fist </a></li>
<li><a href="index.php?subtopic=highscores&list=clubt&world=0">Club</a></li>
<li><a href="index.php?subtopic=highscores&list=fist&world=0">Sword</a></li>
<li><a href="index.php?subtopic=highscores&list=axe&world=0">Axe</a></li>
<li><a href="index.php?subtopic=highscores&list=distance&world=0">Distance</a></li>
<li><a href="index.php?subtopic=highscores&list=shieldning&world=0">Shielding</a></li>
<li><a href="index.php?subtopic=highscores&list=fisting&world=0">Fishing</a></li>
</ul>
</div>
<ul class="list1">
</ul>
</div>
</div>
</div>
<div id="box8" class="box-style2">
</div>
</div>
<div style="clear: both;"> </div>
</div>
</div>
</div>
<div id="footer">
<p class="container">Copyright (c) 2009 Loleslav. All rights reserved.<br>Powered by UNNAMED Acc. Maker ©2009 - 2010 by Gesior.<br>Designed by <a href="http://cerberia.com">DeGhost</a> and <a href="http://blog.loleslav.pl/">Loleslav</a>.</p>
</div>
</div>
</div>
</body>
</html>