today I got a message that link is dead.
Apparently I deleted this because I didnt use XOOPS for a long time.
I will try to repair link, and post a message on forum.
Edit: link works
Cheers
KubaZ
$rand = isset($HTTP_GET_VARS['rand']) ? intval($HTTP_GET_VARS['rand']) : 1;
if ( (isset($HTTP_GET_VARS['orderby'])) && ($rand == 0)) {
$orderby = convertorderbyin($HTTP_GET_VARS['orderby']);
} else {
$orderby = "rand()";
}
$page_nav .= "$cid&min=$prev&orderby=$orderby&show=$show&rand=$rand'>« ";
<a href="viewcat.php?cid=<{$category_id}>&orderby=titleA&rand=0">
<a href="viewcat.php?cid=<{$category_id}>"><img src="images/(some image, maybe question mark, which describes random sorting)" border="0" align="middle" alt="" />
if ($thisUser->getVar('user_viewemail') == 1) {
$xoopsTpl->assign('user_email', $thisUser->getVar('email', 'E'));
} else {
if (is_object($xoopsUser)) {
// All admins will be allowed to see emails, even those that are not allowed to edit users (I think it's ok like this)
if ($xoopsUserIsAdmin || ($xoopsUser->getVar("uid") == $thisUser->getVar("uid"))) {
$xoopsTpl->assign('user_email', $thisUser->getVar('email', 'E'));
} else {
$xoopsTpl->assign('user_email', ' ');
}
}
}
if ($thisUser->getVar('user_viewemail') == 1) {
$protectedEmail = '.XOOPS_URL.'/emailprotection.php?uid='.$thisUser->getVar("uid").'">';
$xoopsTpl->assign('user_email', $protectedEmail);
} else {
if (is_object($xoopsUser)) {
// All admins will be allowed to see emails, even those that are not allowed to edit users (I think it's ok like this)
if ($xoopsUser->isAdmin() || ($xoopsUser->getVar("uid") == $thisUser->getVar("uid"))) {
$protectedEmail = '.XOOPS_URL.'/emailprotection.php?uid='.$thisUser->getVar("uid").'">';
$xoopsTpl->assign('user_email', $protectedEmail);
} else {
$xoopsTpl->assign('user_email', ' ');
}
}
}
<tr valign="top">
<td class="head"><{$lang_icq}>td>
<td class="odd"><{$user_icq}>td>
tr>
<tr valign="top">
<td class="head"><{$lang_icq}>td>
<td class="odd">
<img src="http://www.gadu-gadu.pl/users/status.asp?id=<{$user_icq}>&styl=1">
<a href="gg:"><{$user_icq}>a>td>
tr>
$member_handler =& xoops_gethandler('member');
$criteria = new CriteriaCompo();
$criteria->add(new Criteria('uname',$komputer, '='));
$total = $member_handler->getUserCount($criteria);
$foundusers =& $member_handler->getUsers($criteria, true);