Exemple #1
0
             $showmail = 1;
         }
     }
     if ($showmail) {
         $user['email'] = "<a href='mailto:" . $userinfo->email("E") . "'>";
         $user['email'] .= "<img src='" . XOOPS_URL . "/images/icons/email.gif' border='0' alt='" . sprintf(_SENDEMAILTO, $userinfo->uname("E")) . "' /></a>";
     } else {
         $user['email'] = "";
     }
     if ($xoopsUser) {
         $user['pm'] = "<a href='javascript:openWithSelfMain(\"" . XOOPS_URL . "/pmlite.php?send2=1&to_userid=" . $userinfo->uid() . "\",\"pmlite\",450,370);'>";
         $user['pm'] .= "<img src='" . XOOPS_URL . "/images/icons/pm.gif' border='0' alt='" . sprintf(_SENDPMTO, $userinfo->uname("E")) . "' /></a>";
     } else {
         $user['pm'] = "";
     }
     if ($userinfo->url("E")) {
         $user['url'] = "<a href='" . $userinfo->url("E") . "' target=new><img src='" . XOOPS_URL . "/images/icons/www.gif' border='0' alt='" . _VISITWEBSITE . "' /></a>";
     } else {
         $user['url'] = "";
     }
     if ($is_admin) {
         $user['functions'] = "[ <a href='" . XOOPS_URL . "/modules/system/admin.php?fct=users&op=reactivate&uid=" . $userinfo->uid() . "&op=modifyUser'>" . _MA_MSHIP_EDIT . "</a> | ";
         $user['functions'] .= "<a href='" . XOOPS_URL . "/modules/system/admin.php?fct=users&op=delUser&uid=" . $userinfo->uid() . "'>" . _MA_MSHIP_DELETE . "</a> ]";
     }
     $xoopsTpl->append('users', $user);
     unset($user);
 }
 //$countstring = ($totalcount != 1 )?_MA_PUB_NSTORIES:_MA_PUB_NSTORY;
 //$xoopsTpl->assign('stories_count', $totalcount.' '.$countstring);
 if ($totalcount > $pagesize) {
     include_once XOOPS_ROOT_PATH . '/class/pagenav.php';