diff --git a/customindex/views/default/customindex/content.php b/customindex/views/default/customindex/content.php index 4a41c3626fc9192d480bcf211120e8257d005f87..873947899b55acbd7892b876aca6647de60ea577 100644 --- a/customindex/views/default/customindex/content.php +++ b/customindex/views/default/customindex/content.php @@ -155,7 +155,7 @@ ?> <div class="member_icon"> - <img src="<?php echo $_SESSION['user']->getIcon('tiny'); ?>" alt="Your Profile Icon" class="tooltip" title="You" id="YourselfOnTheMap" onclick="window.openLocation(<?php echo "'" . $user->longitude . "','" . $user->latitude . "','" . $user->username . "',"; + <img src="<?php echo $_SESSION['user']->getIcon('tiny'); ?>" alt="Your Profile Icon" class="tooltip" title="You" id="YourselfOnTheMap" onclick="window.openLocation(<?php echo "'" . $me->longitude . "','" . $me->latitude . "','" . $me->username . "',"; if($me->profile_country) echo "'" . $me->profile_country . " - " . str_replace("'","\'",htmlentities($me->profile_city)) . ", " . $me->profile_state . "',"; else @@ -176,8 +176,8 @@ </p> <!-- lat, lng, username, location, displayname, title, comment(text area) --> <?php - $users = get_entities_from_metadata('icontime', '', 'user', '', 0, 8); - //$users = get_entities('user', '', 0, '', 8, 0, false, 0, null); + //$users = get_entities_from_metadata('icontime', '', 'user', '', 0, 8); + $users = get_entities('user', '', 0, '', 8, 0, false, 0, null); if($users){ foreach($users as $user){