1
indream
Where is this options ? class/xoopscomments.php
  • 2004/12/28 15:21

  • indream

  • Not too shy to talk

  • Posts: 170

  • Since: 2004/9/21


i need open this functions in class/xoopscomments.php

if ( $poster ) {
            
$text $this->getVar("comment");
            if ( 
$poster->getVar("attachsig") ) {
                
$text .= "

_________________"$poster->user_sig()."

"
;
            }
            
$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'] = ".XOOPS_UPLOAD_URL."/".$rank['image']."' alt='' />";
            }
            
$avatar_image ".XOOPS_UPLOAD_URL."/".$poster->getVar("user_avatar")."' alt='' />";
            if ( 
$poster->isOnline() ) {
                
$online_image ""._ONLINE.""
;
            } else {
                
$online_image "";
            }
            
$profile_image ".XOOPS_URL."/userinfo.php?uid=".$poster->getVar("uid")."'>.XOOPS_URL."/images/icons/profile.gif' alt='"._PROFILE."' />";
            if ( 
$xoopsUser ) {
                
$pm_image =  "/pmlite.php?send2=1&to_userid=".$poster->getVar("uid")."","pmlite",450,370);'>.XOOPS_URL."/images/icons/pm.gif' alt='".sprintf(_SENDPMTO,$poster->getVar("uname""E"))."' />";
            } else {
                
$pm_image "";
            }
               if ( 
$poster->getVar("user_viewemail") ) {
                
$email_image ".$poster->getVar("email""E")."'>.XOOPS_URL."/images/icons/email.gif' alt='".sprintf(_SENDEMAILTO,$poster->getVar("uname""E"))."' />";
            } else {
                
$email_image "";
            }
            
$posterurl $poster->getVar("url");
               if ( 
$posterurl != "" ) {
                
$www_image "$posterurl' target='_blank'>.XOOPS_URL."/images/icons/www.gif' alt='"._VISITWEBSITE."' />";
            } else {
                
$www_image "";
            }
               if ( 
$poster->getVar("user_icq") != "" ) {
                
$icq_image ".$poster->getVar("user_icq""E")."'>.XOOPS_URL."/images/icons/icq_add.gif' alt='"._ADD."' />";
            } else {
                
$icq_image "";
            }
            if ( 
$poster->getVar("user_aim") != "" ) {
                
$aim_image ".$poster->getVar("user_aim""E")."&message=Hi+".$poster->getVar("user_aim")."+Are+you+there?'>.XOOPS_URL."/images/icons/aim.gif' alt='aim' />";
            } else {
                
$aim_image "";
            }
               if ( 
$poster->getVar("user_yim") != "" ) {
                
$yim_image ".$poster->getVar("user_yim""E")."&.src=pg'>.XOOPS_URL."/images/icons/yim.gif' alt='yim' />";
            } else {
                
$yim_image "";
            }
            if ( 
$poster->getVar("user_msnm") != "" ) {
                
$msnm_image ".XOOPS_URL."/userinfo.php?uid=".$poster->getVar("uid")."'>.XOOPS_URL."/images/icons/msnm.gif' alt='msnm' />";
            } 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']);
        }
    }

Login

Who's Online

372 user(s) are online (323 user(s) are browsing Support Forums)


Members: 0


Guests: 372


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits