30 include_once
$GLOBALS[
'xoops']->path(
'class/module.textsanitizer.php');
31 include_once
$GLOBALS[
'xoops']->path(
'modules/system/constants.php');
48 include
$GLOBALS[
'xoops']->path(
'header.php');
55 $xoopsTpl->assign(
'user_candelete',
true);
58 $xoopsTpl->assign(
'user_candelete',
false);
69 include
$GLOBALS[
'xoops']->path(
'header.php');
80 include
$GLOBALS[
'xoops']->path(
'header.php');
94 if (
$thisUser->getVar(
'user_avatar') &&
"blank.gif" !=
$thisUser->getVar(
'user_avatar')) {
101 if (
$thisUser->getVar(
'url',
'E') ==
'') {
102 $xoopsTpl->assign(
'user_websiteurl',
'');
104 $xoopsTpl->assign(
'user_websiteurl',
'<a href="' .
$thisUser->getVar(
'url',
'E') .
'" rel="external">' .
$thisUser->getVar(
'url') .
'</a>');
140 if (
$thisUser->getVar(
'user_viewemail') == 1) {
148 $xoopsTpl->assign(
'user_email',
' ');
153 $xoopsTpl->assign(
'user_pmlink',
"<a href=\"javascript:openWithSelfMain('" . XOOPS_URL .
"/pmlite.php?send2=1&to_userid=" .
$thisUser->getVar(
'uid') .
"', 'pmlite', 450, 380);\"><img src=\"" . XOOPS_URL .
"/images/icons/pm.gif\" alt=\"" . sprintf(
_SENDPMTO,
$thisUser->getVar(
'uname')) .
"\" /></a>");
158 if (isset($userrank[
'image']) && $userrank[
'image']) {
161 $xoopsTpl->assign(
'user_ranktitle', $userrank[
'title']);
163 if (! empty(
$date)) {
174 $count = count($results);
175 if (is_array($results) && $count > 0) {
176 for(
$i = 0;
$i < $count;
$i++) {
177 if (isset($results[
$i][
'image']) && $results[$i][
'image'] !=
'') {
178 $results[
$i][
'image'] =
'modules/' .
$module->getVar(
'dirname') .
'/' . $results[
$i][
'image'];
180 $results[
$i][
'image'] =
'images/icons/posticon2.gif';
183 if (! preg_match(
"/^http[s]*:\/\//i", $results[$i][
'link'])) {
184 $results[
$i][
'link'] =
"modules/" .
$module->getVar(
'dirname') .
"/" . $results[
$i][
'link'];
187 $results[
$i][
'title'] =
$myts->htmlspecialchars($results[$i][
'title']);
191 $showall_link =
'<a href="search.php?action=showallbyuser&mid=' . $mid .
'&uid=' .
$thisUser->getVar(
'uid') .
'">' .
_US_SHOWALL .
'</a>';
196 'name' =>
$module->getVar(
'name') ,
197 'results' => $results ,
198 'showall_link' => $showall_link));
203 include
$GLOBALS[
'xoops']->path(
'footer.php');