diff --git a/characterprofile.php b/characterprofile.php index 7ad5676..b57cdab 100644 --- a/characterprofile.php +++ b/characterprofile.php @@ -1,22 +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']); @@ -25,348 +43,511 @@ if (isset($_GET['name']) === true && empty($_GET['name']) === false) { ?> -

Profile:

+ + +

Profile:

Points"; ?> - + '; ?> ". $scores[$type][$i]['experience'] .""; ?> diff --git a/register.php b/register.php index 0a9a12d..f7aca66 100644 --- a/register.php +++ b/register.php @@ -1,7 +1,7 @@ $_POST['username'], + 'name' => $_POST['username'], 'password' => $_POST['password'], 'email' => $_POST['email'], - 'ip' => ip2long(getIP()), - 'created' => time() + 'created' => time(), + 'ip' => ip2long(getIP()), + 'flag' => $_POST['flag'] ); user_create_account($register_data, $config['mailserver']); @@ -146,6 +148,22 @@ if (isset($_GET['success']) && empty($_GET['success'])) { Email:
+
  • + Country:
    + +