mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-30 11:19:22 +02:00

* Preparing compatibility to OTHire * Still working on compatibility to OTHire * More compatibility * More compatibility Not tested yet * Some fixes - Fixed Account Creation. - Fixed a problem that you can't load the website, that include that you can now recover your account number. * More fixes - Fixed character creation. - Fixed login problem. - Fixed displaying account number in My Account. - Fixed displaying if you have premium days or not in My Account. * More fixes - Handle Kills/Deaths as TFS_03 * More fixes - Fixed showing outfits in character profile - Fixed displaying player houses in character profile - Fixed displaying guilds * Update init.php
18 lines
697 B
PHP
18 lines
697 B
PHP
<div id="sidebar_container">
|
|
<?php
|
|
if (user_logged_in() === true) {
|
|
include 'layout/widgets/loggedin.php';
|
|
} else {
|
|
include 'layout/widgets/login.php';
|
|
}
|
|
if (user_logged_in() && is_admin($user_data)) include 'layout/widgets/Wadmin.php';
|
|
if (user_logged_in()) include 'layout/widgets/vote.php';
|
|
include 'layout/widgets/charactersearch.php';
|
|
include 'layout/widgets/topplayers.php';
|
|
include 'layout/widgets/highscore.php';
|
|
include 'layout/widgets/serverinfo.php';
|
|
if ($config['ServerEngine'] !== 'TFS_02') include 'layout/widgets/houses.php';
|
|
// Remove // to enable twitter, edit twitter stuff in /widgets/twitter.php
|
|
//include 'layout/widgets/twitter.php';
|
|
?>
|
|
</div>
|