mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00

* moved site_closed to database, now you can close your site through admin panel * added option to admin panel: clear cache * added experiencetable_rows configurable * optimized OTS_Account->getGroupId(), now its using like 20 queries less * optimized OTS_Player->load($id) function, should perform faster loading * fixed highscores displaying of group outfits
53 lines
1.4 KiB
PHP
53 lines
1.4 KiB
PHP
<?php
|
|
/**
|
|
* Experience table
|
|
*
|
|
* @package MyAAC
|
|
* @author Gesior <jerzyskalski@wp.pl>
|
|
* @author Slawkens <slawkens@gmail.com>
|
|
* @copyright 2017 MyAAC
|
|
* @version 0.1.5
|
|
* @link http://my-aac.org
|
|
*/
|
|
defined('MYAAC') or die('Direct access not allowed!');
|
|
$title = 'Experience Table';
|
|
?>
|
|
|
|
This is a list of the experience points that are required to advance to the various levels.
|
|
Remember you can also check the respective skill bar in your skill window of the client to check your progress towards the next level.<br/><br/>
|
|
|
|
<table bgcolor="<?php echo $config['darkborder']; ?>" border="0" cellpadding="4" cellspacing="1" width="100%">
|
|
<tr bgcolor="<?php echo $config['vdarkborder']; ?>">
|
|
<td class="white" colspan="5"><b>Experience Table</b></td>
|
|
</tr>
|
|
<tr>
|
|
<?php
|
|
$columns = $config['experiencetable_columns'];
|
|
for($i = 0; $i < $columns; $i++)
|
|
{
|
|
?>
|
|
<td>
|
|
<table border="0" cellpadding="2" cellspacing="1" width="100%">
|
|
<tr bgcolor="<?php echo $config['lightborder']; ?>">
|
|
<td><b>Level</b></td>
|
|
<td><b>Experience</b></td>
|
|
</tr>
|
|
<?php
|
|
for($level = $i * $config['experiencetable_rows'] + 1; $level < $i * $config['experiencetable_rows'] + ($config['experiencetable_rows'] + 1); $level++)
|
|
{
|
|
?>
|
|
<tr bgcolor="<?php echo $config['lightborder']; ?>">
|
|
<td><?php echo $level; ?></td>
|
|
<td><?php echo OTS_Toolbox::experienceForLevel($level); ?></td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
?>
|
|
</table>
|
|
</td>
|
|
<?php
|
|
}
|
|
?>
|
|
</tr>
|
|
</table>
|