mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-13 17:24:54 +02:00
* update to 0.4.0
* fixed some bugs in bugtracker * updated database to version 9
This commit is contained in:
@@ -3,12 +3,12 @@ defined('MYAAC') or die('Direct access not allowed!');
|
||||
?>
|
||||
<!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">
|
||||
<head>
|
||||
<?php echo template_place_holder('head_start'); ?>
|
||||
<link rel="stylesheet" href="<?php echo $template_path; ?>/style.css" type="text/css" />
|
||||
<script src="<?php echo $template_path; ?>/menu.js" type="text/javascript"></script>
|
||||
<head>
|
||||
<?php echo template_place_holder('head_start'); ?>
|
||||
<link rel="stylesheet" href="<?php echo $template_path; ?>/style.css" type="text/css" />
|
||||
<script src="<?php echo $template_path; ?>/menu.js" type="text/javascript"></script>
|
||||
<script type="text/javascript" src="tools/basic.js"></script>
|
||||
<script type="text/javascript">
|
||||
<script type="text/javascript">
|
||||
var category = '<?php
|
||||
if(in_array(PAGE, array('news', 'newsarchive')))
|
||||
echo 'news';
|
||||
@@ -24,41 +24,41 @@ defined('MYAAC') or die('Direct access not allowed!');
|
||||
echo 'shops';
|
||||
?>';
|
||||
</script>
|
||||
<?php echo template_place_holder('head_end'); ?>
|
||||
</head>
|
||||
<?php echo template_place_holder('head_end'); ?>
|
||||
</head>
|
||||
|
||||
<body onload="initMenu();">
|
||||
<body onload="initMenu();">
|
||||
<?php echo template_place_holder('body_start'); ?>
|
||||
<div id="top"></div>
|
||||
<div id="page">
|
||||
<!-- Keep all on center of browser -->
|
||||
<div id="page">
|
||||
<!-- Keep all on center of browser -->
|
||||
|
||||
<!-- Header Section -->
|
||||
<div id="header"></div>
|
||||
<!-- End -->
|
||||
<!-- Header Section -->
|
||||
<div id="header"></div>
|
||||
<!-- End -->
|
||||
|
||||
<!-- Menu Section -->
|
||||
<div id="tabs">
|
||||
<span id="news" onclick="menuSwitch('news');" class="tab-active">Latest News</span>
|
||||
<span id="account" onclick="menuSwitch('account');" class="tab">Account</span>
|
||||
<span id="community" onclick="menuSwitch('community');" class="tab">Community</span>
|
||||
<span id="library" onclick="menuSwitch('library');" class="tab">Library</span>
|
||||
<?php
|
||||
if($config['gifts_system'])
|
||||
<!-- Menu Section -->
|
||||
<div id="tabs">
|
||||
<span id="news" onclick="menuSwitch('news');" class="tab-active">Latest News</span>
|
||||
<span id="account" onclick="menuSwitch('account');" class="tab">Account</span>
|
||||
<span id="community" onclick="menuSwitch('community');" class="tab">Community</span>
|
||||
<span id="library" onclick="menuSwitch('library');" class="tab">Library</span>
|
||||
<?php
|
||||
if($config['gifts_system'])
|
||||
{
|
||||
echo '<span id="shops" onclick="menuSwitch(\'shops\');" class="tab">Shop</span>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
echo '<span id="shops" onclick="menuSwitch(\'shops\');" class="tab">Shop</span>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
<div id="mainsubmenu">
|
||||
<div id="news-submenu">
|
||||
<a href="<?php echo $template['link_news']; ?>">Latest News</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_news_archive']; ?>">News Archives</a>
|
||||
</div>
|
||||
<div id="mainsubmenu">
|
||||
<div id="news-submenu">
|
||||
<a href="<?php echo $template['link_news']; ?>">Latest News</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_news_archive']; ?>">News Archives</a>
|
||||
</div>
|
||||
|
||||
<div id="account-submenu">
|
||||
<div id="account-submenu">
|
||||
<?php
|
||||
if($logged)
|
||||
{
|
||||
@@ -75,66 +75,70 @@ defined('MYAAC') or die('Direct access not allowed!');
|
||||
<a href="<?php echo $template['link_account_manage']; ?>">Login</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_account_create']; ?>">Create Account</a>
|
||||
<span class="separator"></span>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_account_lost']; ?>">Lost Account</a>
|
||||
<span class="separator"></span>
|
||||
<span class="separator"></span>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<a href="<?php echo $template['link_rules']; ?>">Server Rules</a>
|
||||
</div>
|
||||
<?php if($config['bug_report']): ?>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_bugtracker']; ?>">Report Bug</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<div id="community-submenu">
|
||||
<a href="<?php echo $template['link_online']; ?>">Who is Online?</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_characters']; ?>">Characters</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_guilds']; ?>">Guilds</a>
|
||||
<?php
|
||||
if(isset($config['wars'])): ?>
|
||||
<div id="community-submenu">
|
||||
<a href="<?php echo $template['link_online']; ?>">Who is Online?</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_characters']; ?>">Characters</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_guilds']; ?>">Guilds</a>
|
||||
<?php
|
||||
if(isset($config['wars'])): ?>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_wars']; ?>">Wars</a>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_highscores']; ?>">Highscores</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_lastkills']; ?>">Last Deaths</a>
|
||||
<a href="<?php echo $template['link_highscores']; ?>">Highscores</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_lastkills']; ?>">Last Deaths</a>
|
||||
<?php if(fieldExist('name', 'houses')): ?>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_houses']; ?>">Houses</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_houses']; ?>">Houses</a>
|
||||
<?php endif;
|
||||
if($config['otserv_version'] == TFS_03): ?>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_bans']; ?>">Bans</a>
|
||||
<a href="<?php echo $template['link_bans']; ?>">Bans</a>
|
||||
<?php endif;
|
||||
if($config['forum'] != ''): ?>
|
||||
if($config['forum'] != ''): ?>
|
||||
<span class="separator"></span>
|
||||
<?php echo $template['link_forum']; ?>Forum</a>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_team']; ?>">Team</a>
|
||||
</div>
|
||||
<a href="<?php echo $template['link_team']; ?>">Team</a>
|
||||
</div>
|
||||
|
||||
<div id="library-submenu">
|
||||
<a href="<?php echo $template['link_creatures']; ?>">Monsters</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_spells']; ?>">Spells</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_serverInfo']; ?>">Server Info</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_downloads']; ?>">Downloads</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_commands']; ?>">Commands</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_movies']; ?>">Movies</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_screenshots']; ?>">Screenshots</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_experienceTable']; ?>">Experience Table</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_faq']; ?>">FAQ</a>
|
||||
</div>
|
||||
<?php
|
||||
<div id="library-submenu">
|
||||
<a href="<?php echo $template['link_creatures']; ?>">Monsters</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_spells']; ?>">Spells</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_serverInfo']; ?>">Server Info</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_downloads']; ?>">Downloads</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_commands']; ?>">Commands</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_movies']; ?>">Movies</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_screenshots']; ?>">Screenshots</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_experienceTable']; ?>">Experience Table</a>
|
||||
<span class="separator"></span>
|
||||
<a href="<?php echo $template['link_faq']; ?>">FAQ</a>
|
||||
</div>
|
||||
<?php
|
||||
if($config['gifts_system'])
|
||||
{
|
||||
echo '
|
||||
@@ -147,17 +151,17 @@ defined('MYAAC') or die('Direct access not allowed!');
|
||||
echo '</div>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<!-- End -->
|
||||
</div>
|
||||
<!-- End -->
|
||||
|
||||
<!-- Content Section -->
|
||||
<div id="content">
|
||||
<div id="margins">
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="100%">
|
||||
<tr>
|
||||
<td><a href="<?php echo $template['link_news']; ?>"><?php echo $config['lua']['serverName']; ?></a> » <?php echo $title; ?></td>
|
||||
<td>
|
||||
<?php
|
||||
<!-- Content Section -->
|
||||
<div id="content">
|
||||
<div id="margins">
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="100%">
|
||||
<tr>
|
||||
<td><a href="<?php echo $template['link_news']; ?>"><?php echo $config['lua']['serverName']; ?></a> » <?php echo $title; ?></td>
|
||||
<td>
|
||||
<?php
|
||||
if($status['online'])
|
||||
echo '
|
||||
<font color="green"><b>Server Online</b></font> »
|
||||
@@ -166,28 +170,28 @@ defined('MYAAC') or die('Direct access not allowed!');
|
||||
else
|
||||
echo '<font color="red"><b>Server Offline</b></font>';
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr noshade="noshade" size="1" />
|
||||
<div class="Content"><div id="ContentHelper">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr noshade="noshade" size="1" />
|
||||
<div class="Content"><div id="ContentHelper">
|
||||
<?php echo template_place_holder('center_top'); ?>
|
||||
<?php echo $content; ?>
|
||||
</div></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="content-bot"></div>
|
||||
<div id="copyrights">
|
||||
<p><?php echo template_footer(); ?></p>
|
||||
<?php echo $content; ?>
|
||||
</div></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="content-bot"></div>
|
||||
<div id="copyrights">
|
||||
<p><?php echo template_footer(); ?></p>
|
||||
<?php
|
||||
if($config['template_allow_change'])
|
||||
echo '<font color="white">Template:</font><br/>' . template_form();
|
||||
?>
|
||||
</div>
|
||||
<!-- End -->
|
||||
</div>
|
||||
<!-- End -->
|
||||
|
||||
<!-- End -->
|
||||
</div>
|
||||
<?php echo template_place_holder('body_end'); ?>
|
||||
</body>
|
||||
<!-- End -->
|
||||
</div>
|
||||
<?php echo template_place_holder('body_end'); ?>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user