ZnoteAAC/layout/aside.php
Rodrigo Paixão 2817010781 Compatibility with OTHire (#330)
* 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
2018-12-03 07:58:29 +01:00

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>