Skip to content
Snippets Groups Projects
Commit 7f828e61 authored by Matthew Juhl's avatar Matthew Juhl
Browse files

No commit message

No commit message
parent 42099f84
No related branches found
No related tags found
No related merge requests found
......@@ -149,6 +149,28 @@
<img onclick="displayTrischaZornHudson();return false;" src="mod/customindex/witw_icons/Trischa_Zorn-Hudson_tiny.jpg" alt="Profile Icon" />
</div>
-->
<?php
if (isloggedin()) {
$me = get_user($_SESSION['user']->guid);
?>
<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 . "',";
if($me->profile_country)
echo "'" . $me->profile_country . " - " . str_replace("'","\'",htmlentities($me->profile_city)) . ", " . $me->profile_state . "',";
else
echo "'',";
echo "'" . str_replace("'","\'",htmlentities($me->name)) . "',";
if($me->profile_attended_from != "Did Not Attend UNL" && $me->profile_attended_from != "" && $me->profile_attended_from != NULL)
echo "'Attended UNL: " . $me->profile_attended_from . "-" . $me->profile_attended_to . "'";
else
echo "''";
echo ",'". str_replace("'","\'",htmlentities($me->map_explanation))."'"?>)" />
</div>
<?php
}
?>
<p class="clear" style="padding-bottom:5px;">
Most recent members to add their profile photo and location:
</p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment