table, td tr tag is a problem with code posting.
But I think profilebox doesn't have I problem.
Thanks..
Just test:
| Code: |
// Dont allow direct linking
defined('_VALID_MOS') or die('Direct Access to this location is not allowed.');
//first we gather some information about this person
$database->setQuery("SELECT * FROM #__fb_users as su"
. "\nLEFT JOIN #__users as u on u.id=su.userid WHERE su.userid=$my->id"«»);
$userDetails = $database->loadObjectList();
$user = $userDetails[0];
$prefview = $user->view;
$username = $user->name;
$moderator = $user->moderator;
$fbavatar = $user->avatar;
|
| Code: |
,
| |
id, $user_fields) || $my->usertype == 'Administrator' || $my->usertype == 'Super Administrator') {
$is_editor = true;
}
else {
$is_editor = false;
}
if ($is_editor) {
$annlink = 'index.php?option=com_fireboard&func=announcement&do=show'.FB_FB_ITEMID_SUFFIX;
?>
|