i need open this functions in class/xoopscomments.php
if ( $poster ) {
$text = $this->getVar("comment");
if ( $poster->getVar("attachsig") ) {
$text .= "<p><br />_________________<br />". $poster->user_sig()."</p>";
}
$reg_date = _CM_JOINED;
$reg_date .= formatTimestamp($poster->getVar("user_regdate"),"s");
$posts = _CM_POSTS;
$posts .= $poster->getVar("posts");
$user_from = _CM_FROM;
$user_from .= $poster->getVar("user_from");
$rank = $poster->rank();
if ( $rank['image'] != "" ) {
$rank['image'] = "<img src='".XOOPS_UPLOAD_URL."/".$rank['image']."' alt='' />";
}
$avatar_image = "<img src='".XOOPS_UPLOAD_URL."/".$poster->getVar("user_avatar")."' alt='' />";
if ( $poster->isOnline() ) {
$online_image = "<span style='color:#ee0000;font-weight:bold;'>"._ONLINE."</span>";
} else {
$online_image = "";
}
$profile_image = "<a href='".XOOPS_URL."/userinfo.php?uid=".$poster->getVar("uid")."'><img src='".XOOPS_URL."/images/icons/profile.gif' alt='"._PROFILE."' /></a>";
if ( $xoopsUser ) {
$pm_image = "<a href='javascript:openWithSelfMain("".XOOPS_URL."/pmlite.php?send2=1&to_userid=".$poster->getVar("uid")."","pmlite",450,370);'><img src='".XOOPS_URL."/images/icons/pm.gif' alt='".sprintf(_SENDPMTO,$poster->getVar("uname", "E"))."' /></a>";
} else {
$pm_image = "";
}
if ( $poster->getVar("user_viewemail") ) {
$email_image = "<a href='mailto:".$poster->getVar("email", "E")."'><img src='".XOOPS_URL."/images/icons/email.gif' alt='".sprintf(_SENDEMAILTO,$poster->getVar("uname", "E"))."' /></a>";
} else {
$email_image = "";
}
$posterurl = $poster->getVar("url");
if ( $posterurl != "" ) {
$www_image = "<a href='$posterurl' target='_blank'><img src='".XOOPS_URL."/images/icons/www.gif' alt='"._VISITWEBSITE."' /></a>";
} else {
$www_image = "";
}
if ( $poster->getVar("user_icq") != "" ) {
$icq_image = "<a href='http://wwp.icq.com/scripts/search.dll?to=".$poster->getVar("user_icq", "E")."'><img src='".XOOPS_URL."/images/icons/icq_add.gif' alt='"._ADD."' /></a>";
} else {
$icq_image = "";
}
if ( $poster->getVar("user_aim") != "" ) {
$aim_image = "<a href='aim:goim?screenname=".$poster->getVar("user_aim", "E")."&message=Hi+".$poster->getVar("user_aim")."+Are+you+there?'><img src='".XOOPS_URL."/images/icons/aim.gif' alt='aim' /></a>";
} else {
$aim_image = "";
}
if ( $poster->getVar("user_yim") != "" ) {
$yim_image = "<a href='http://edit.yahoo.com/config/send_webmesg?.target=".$poster->getVar("user_yim", "E")."&.src=pg'><img src='".XOOPS_URL."/images/icons/yim.gif' alt='yim' /></a>";
} else {
$yim_image = "";
}
if ( $poster->getVar("user_msnm") != "" ) {
$msnm_image = "<a href='".XOOPS_URL."/userinfo.php?uid=".$poster->getVar("uid")."'><img src='".XOOPS_URL."/images/icons/msnm.gif' alt='msnm' /></a>";
} else {
$msnm_image = "";
}
showThread($color_num, $subject_image, $this->getVar("subject"), $text, $post_date, $ip_image, $reply_image, $edit_image, $delete_image, $poster->getVar("uname"), $rank['title'], $rank['image'], $avatar_image, $reg_date, $posts, $user_from, $online_image, $profile_image, $pm_image, $email_image, $www_image, $icq_image, $aim_image, $yim_image, $msnm_image);
} else {
showThread($color_num, $subject_image, $this->getVar("subject"), $this->getVar("comment"), $post_date, $ip_image, $reply_image, $edit_image, $delete_image, $xoopsConfig['anonymous']);
}
}