mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-30 03:09:22 +02:00
Update characterprofile.php
This commit is contained in:
parent
daf378342c
commit
910d7460fa
@ -48,13 +48,14 @@ if (isset($_GET['name']) === true && empty($_GET['name']) === false) {
|
||||
}
|
||||
|
||||
?></font></li>
|
||||
<?php if ($config['Ach'] == true) { ?>
|
||||
<li>Achievement Points: <?php
|
||||
$achievementPoints = mysql_select_single("SELECT SUM(`value`) AS `sum` FROM `player_storage` WHERE `key` LIKE '30___' AND `player_id`='$user_id'");
|
||||
foreach ($achievementPoints as $achievement)
|
||||
{
|
||||
echo $achievement;
|
||||
echo $achievement. '</li>';
|
||||
}
|
||||
?></li>
|
||||
}?>
|
||||
<?php $houses = array();
|
||||
$houses = mysql_select_multi("SELECT `id`, `owner`, `name`, `town_id` FROM `houses` WHERE `owner` = $user_id ;");
|
||||
if ($houses !== false) {
|
||||
@ -87,7 +88,8 @@ if (isset($_GET['name']) === true && empty($_GET['name']) === false) {
|
||||
?></li>
|
||||
<li><font class="profile_font" name="profile_font_created">Created: <?php echo getClock($profile_znote_data['created'], true); ?></font></li>
|
||||
<li><font class="profile_font" name="profile_font_comment">Comment:</font> <br><textarea name="profile_comment_textarea" cols="70" rows="10" readonly="readonly" class="span12"><?php echo $profile_znote_data['comment']; ?></textarea></li>
|
||||
|
||||
|
||||
<?php if ($config['Ach'] == true) { ?>
|
||||
<h3 class="header-ok">Achievements</h3>
|
||||
<div id="accordion">
|
||||
<h3>Show/hide player achievements</h3>
|
||||
@ -122,6 +124,7 @@ margin-left:0px;
|
||||
</table>
|
||||
</div></div>
|
||||
<br>
|
||||
<?php } ?>
|
||||
|
||||
<!-- DEATH LIST -->
|
||||
<li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user