• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Znote AAC] Naxtie Layout

Disliked the online img

i like this layout alot im using it right now

but i disliked the ONLINE thingy it was not working properly so i made a noobish code xd for it

Code:
            <?php
            if($config['status'] == "online") { echo '<img src="layout\images\newonline.png"/>'; } else { echo '<img src="layout\images\newoffline.png"/>'; }
            ?>

added this just add in config.php

Code:
$config['status'] = 'online';

or offline ur choise to show img of offline so people know that server is offline stupid code but better then online all the time since server isnt online

kind regards
 
Yeah, I know. I didnt know how to add that, but thanks for the code! :)

- - - Updated - - -

There's one problem with the code, the "Offline" thing is shown in the upper left corner xD

- - - Updated - - -

Nvm, I fixed it.. xD
 
Back
Top