예제 #1
0
echo "</div>";
echo "</div>";
echo "<div class='cofiProfileLocationRow'>";
echo "<div class='cofiProfileLocationLabel'>";
echo JText::_('COFI_ZIPCODE') . ": ";
echo "</div>";
echo "<div class='cofiProfileLocationValue'>";
echo "<input type='text' name='zipcode' id='zipcode' size='5' maxlength='10' value='" . $CofiUser->getZipcode() . "'>";
echo "</div>";
echo "</div>";
echo "<div class='cofiProfileLocationRow'>";
echo "<div class='cofiProfileLocationLabel'>";
echo JText::_('COFI_CITY') . ": ";
echo "</div>";
echo "<div class='cofiProfileLocationValue'>";
echo "<input type='text' name='city' id='city' size='30' maxlength='100' value='" . $CofiUser->getCity() . "'>";
echo "</div>";
echo "</div>";
echo "<div class='cofiProfileLocationRow'>";
echo "<div class='cofiProfileLocationLabel'>";
echo JText::_('COFI_COUNTRY') . ": ";
echo "</div>";
echo "<div class='cofiProfileLocationValue'>";
include 'components/com_discussions/includes/countryselect.php';
echo "</div>";
echo "</div>";
echo "</div>";
echo "<div class='cofiProfileStatusBox'>";
echo "<div class='cofiProfileStatusHeader'>";
echo "<div class='cofiProfileHeader'>";
echo JText::_('COFI_FORUM_STATUS');
예제 #2
0
     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();
 $country = $CofiUser->getCountry();
 if ($city != "" || $country != "") {
     if ($city != "") {
         echo $city;
         if ($country != "") {
             echo "<br />";
         }
     }
     if ($country != "") {
         echo $country;
     }
 } else {
     // nothing set
     echo JText::_('COFI_NO_LOCATION');
 }