Beispiel #1
0
 if ($_posts == 1) {
     echo $_posts . " " . JText::_('COFI_POST');
 } else {
     echo $_posts . " " . JText::_('COFI_POSTSCOUNTER');
 }
 echo "</div>";
 // online status
 echo "<div class='cofiAvatarColumnOnlineStatus'>";
 if ($user->guest) {
     // user is not logged in
     echo "<div class='cofiAvatarColumnOnlineStatusOffline'>";
     echo JText::_('COFI_OFFLINE_GUEST');
     echo "</div>";
 } else {
     // user is logged in
     if ($CofiUser->getShowOnlineStatus() && $CofiHelper->isUserOnlineById($posting->user_id)) {
         echo "<div class='cofiAvatarColumnOnlineStatusOnline'>";
         echo JText::_('COFI_ONLINE');
         echo "</div>";
     } else {
         echo "<div class='cofiAvatarColumnOnlineStatusOffline'>";
         echo JText::_('COFI_OFFLINE');
         echo "</div>";
     }
 }
 echo "</div>";
 // location
 echo "<div class='cofiAvatarColumnLocation'>";
 echo JText::_('COFI_LOCATION') . ":";
 echo "<br />";
 $city = $CofiUser->getCity();