mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-30 11:19: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>
|
?></font></li>
|
||||||
|
<?php if ($config['Ach'] == true) { ?>
|
||||||
<li>Achievement Points: <?php
|
<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'");
|
$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)
|
foreach ($achievementPoints as $achievement)
|
||||||
{
|
{
|
||||||
echo $achievement;
|
echo $achievement. '</li>';
|
||||||
}
|
}
|
||||||
?></li>
|
}?>
|
||||||
<?php $houses = array();
|
<?php $houses = array();
|
||||||
$houses = mysql_select_multi("SELECT `id`, `owner`, `name`, `town_id` FROM `houses` WHERE `owner` = $user_id ;");
|
$houses = mysql_select_multi("SELECT `id`, `owner`, `name`, `town_id` FROM `houses` WHERE `owner` = $user_id ;");
|
||||||
if ($houses !== false) {
|
if ($houses !== false) {
|
||||||
@ -88,6 +89,7 @@ if (isset($_GET['name']) === true && empty($_GET['name']) === false) {
|
|||||||
<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_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>
|
<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>
|
<h3 class="header-ok">Achievements</h3>
|
||||||
<div id="accordion">
|
<div id="accordion">
|
||||||
<h3>Show/hide player achievements</h3>
|
<h3>Show/hide player achievements</h3>
|
||||||
@ -122,6 +124,7 @@ margin-left:0px;
|
|||||||
</table>
|
</table>
|
||||||
</div></div>
|
</div></div>
|
||||||
<br>
|
<br>
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
<!-- DEATH LIST -->
|
<!-- DEATH LIST -->
|
||||||
<li>
|
<li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user