mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-02 18:44:21 +00:00
75 lines
3.4 KiB
Smarty
75 lines
3.4 KiB
Smarty
<?php
|
|
#################################################################################
|
|
## ##
|
|
## -= YOU MUST NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
|
## ##
|
|
## --------------------------------------------------------------------------- ##
|
|
## ##
|
|
## Project: ZravianX ##
|
|
## Version: 2011.12.03 ##
|
|
## Filename: Templates/admin_menu.tpl ##
|
|
## Developed by: ZZJHONS ##
|
|
## License: Creative Commons BY-NC-SA 3.0 ##
|
|
## Copyright: ZravianX (c) 2011 - All rights reserved ##
|
|
## URLs: http://www.xtravian.com & http://zravianx.zzjhons.com ##
|
|
## Source code: http://www.github.com/ZZJHONS/ZravianX ##
|
|
## ##
|
|
#################################################################################
|
|
|
|
include_once ("GameEngine/Database/db_MYSQL.php");
|
|
include_once ("GameEngine/Ranking.php");
|
|
?>
|
|
<div id="side_navi">
|
|
<a id="logo" href="<?php echo HOMEPAGE; ?>" name="logo"><img src="img/x.gif" class="logo" alt="Travian"></a>
|
|
<?php
|
|
if($funct->CheckLogin()){ ?>
|
|
<?php if($_SESSION['access'] == ADMIN){ ?>
|
|
<p>
|
|
<a href="admin.php"><b>ACP Home</b></a>
|
|
<a href="<?php echo HOMEPAGE; ?>">Homepage</a>
|
|
<a href="login.php">Server</a>
|
|
</p>
|
|
<p>
|
|
<a href="?p=server_info">Statistics</a>
|
|
<a href="?p=online">Online users</a>
|
|
<a href="?p=news">Game News</a>
|
|
<a href="?p=homenews">Home News</a>
|
|
<a href="?p=search">Search</a>
|
|
<a href="?p=message">Msg/Rep</a>
|
|
<a href="?p=ban">Ban</a>
|
|
<a href="?p=gold">Give gold</a>
|
|
<a href="?p=config">Server config</a>
|
|
<a href="massmessage.php">Mass message</a>
|
|
<a href="sysmsg.php">System message</a>
|
|
<a href="medal.php">Update top 10</a>
|
|
<a href="?p=natarend">Add World Wonder Villages</a>
|
|
</p>
|
|
<p>
|
|
<a href="?p=admin_log"><font color="Red"><b>Admin Log</b></font></a>
|
|
</p>
|
|
<p>
|
|
<a href="?action=logout">Logout</a>
|
|
</p>
|
|
<?php } else if($_SESSION['access'] == MULTIHUNTER){ ?>
|
|
<p>
|
|
<a href="admin.php">MCP Home</a>
|
|
<a href="<?php echo HOMEPAGE; ?>">Homepage</a>
|
|
<a href="dorf1.php">Server</a>
|
|
</p>
|
|
<p>
|
|
<a href="?p=server_info">Server Info</a>
|
|
<a href="?p=online">Online users</a>
|
|
<a href="?p=search">Search</a>
|
|
<a href="?p=message">Msg/Rep</a>
|
|
<a href="?p=ban">Ban</a>
|
|
</p>
|
|
<p>
|
|
<a href="?action=logout">Logout</a>
|
|
</p>
|
|
<?php } } if(!$funct->CheckLogin()){ ?>
|
|
<p>
|
|
<a href="<?php echo HOMEPAGE; ?>">Homepage</a>
|
|
<a href="login.php">Server</a>
|
|
</p>
|
|
<?php }?>
|
|
</div> |