From 418b57bbed27a65226c396ef55be124f53923a3f Mon Sep 17 00:00:00 2001 From: Tandloze Date: Fri, 14 Aug 2015 21:17:07 +0200 Subject: [PATCH] Cleanup character profile for a better view of the code. --- characterprofile.php | 631 +++++++++++++++++++++++++++---------------- 1 file changed, 394 insertions(+), 237 deletions(-) diff --git a/characterprofile.php b/characterprofile.php index 86f68a3..2076ded 100644 --- a/characterprofile.php +++ b/characterprofile.php @@ -1,25 +1,40 @@ - 0) { + + if (get_character_guild_rank($user_id) > 0) + { $guild_exist = true; $guild = get_player_guild_data($user_id); $guild_name = get_guild_name($guild['guild_id']); @@ -28,66 +43,117 @@ if (isset($_GET['name']) === true && empty($_GET['name']) === false) { ?> -

Profile:

+ + +

Profile: