把以下代码加到内容页模板里即可

<?php  $userr=sys_ShowMemberInfo(0,'');  ?>
<span class="udate">注册时间:
<?=$userr[registertime]==null?"":date('m-d',$userr[registertime])?></span>  
<span class="udate">会员积分:<?=$userr[userfen]?>分</span>  
<span class="udate">上传小说:<?=$empire->gettotal("select count(*) as total from phome_ecms_download where userid='$navinfor[userid]' and ismember=1")?>本</span>  
<span class="ptmem"><?=$userr[groupname]?></span>

调用当前会员投稿的文章(5条):

<?php  $sql=$empire->query("select * from  phome_ecms_download where userid='$navinfor[userid]' and ismember=1 order by newstime asc limit 5");  
while($r=$empire->fetch($sql))  
{                  $titleurl=sys_ReturnBqTitleLink($r);//链接  ?>                                  
<li><a href="<?=$titleurl?>" target="_blank" title="<?=$r[title]?>" ><?=esub($r[title],40)?></a></li>                                  
<?php  }  ?>

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。