function profile_node_numbercard($post, $s, $e) { foreach($post['numbercard'] as $numbercardkey => $numbercard) $return .= ($numbercardkey == 2 ? '<td>' : '<th>').'<p><a href="'.$numbercard[link].'" class="xi2">'.dnumber($numbercard[value]).'</a></p>'.$numbercard[lang].($numbercardkey == 2 ? '</td>' : '</th>'); ?><?php $return = <<<EOF {$s}<div class="tns xg2"><table cellspacing="0" cellpadding="0">{$return}</table></div>{$e} EOF; ?><?php return $return; }
<h2><a href="forum.php?mod=collection">淘专辑推荐</a></h2> </div> <div id="category_-2" class="bm_c" style="<?php echo $collapse['category_-2']; ?>"> <table cellspacing="0" cellpadding="0" class="fl_tb"> <tr><?php $ctorderid = 0;?><?php if(is_array($collectiondata['data'])) foreach($collectiondata['data'] as $key => $colletion) { if($ctorderid && ($ctorderid % $forumcolumns == 0)) { ?> </tr> <?php if($ctorderid < $forumscount) { ?> <tr class="fl_row"> <?php } } ?> <td class="fl_g"<?php if($forumcolwidth) { ?> width="<?php echo $forumcolwidth;?>"<?php } ?>> <div class="fl_icn_g"> <a href="forum.php?mod=collection&action=view&ctid=<?php echo $colletion['ctid'];?>" target="_blank"><img src="<?php echo IMGDIR;?>/forum.gif" alt="<?php echo $colletion['name'];?>" /></a> </div> <dl> <dt><a href="forum.php?mod=collection&action=view&ctid=<?php echo $colletion['ctid'];?>"><?php echo $colletion['name'];?></a></dt> <dd><em>主题: <?php echo dnumber($colletion['threadnum']); ?></em>, <em>评论: <?php echo dnumber($colletion['commentnum']); ?></em></dd> <dd> <?php if($colletion['lastpost']) { if($forumcolumns < 3) { ?> <a href="forum.php?mod=redirect&tid=<?php echo $colletion['lastpost'];?>&goto=lastpost#lastpost" class="xi2"><?php echo cutstr($colletion['lastsubject'], 30); ?></a> <cite><?php echo dgmdate($colletion[lastposttime]);?> <?php if($colletion['lastposter']) { ?><?php echo $colletion['lastposter'];?><?php } else { ?><?php echo $_G['setting']['anonymoustext'];?><?php } ?></cite> <?php } else { ?> <a href="forum.php?mod=redirect&tid=<?php echo $colletion['lastpost'];?>&goto=lastpost#lastpost">最后发表: <?php echo dgmdate($colletion[lastposttime]);?></a> <?php } } else { ?> 从未 <?php } ?> </dd> <?php if(!empty($_G['setting']['pluginhooks']['index_datacollection_extra'][$colletion[ctid]])) echo $_G['setting']['pluginhooks']['index_datacollection_extra'][$colletion[ctid]];?> </dl> </td><?php $ctorderid++;?><?php } if(($columnspad = $ctorderid % $forumcolumns) > 0) { echo str_repeat('<td class="fl_g"'.($forumcolwidth ? " width=\"$forumcolwidth\"" : '').'></td>', $forumcolumns - $columnspad);; } ?> </tr> </table>
?> <?php if (!empty($_G['setting']['pluginhooks']['index_forum_extra'][$forum[fid]])) { echo $_G['setting']['pluginhooks']['index_forum_extra'][$forum[fid]]; } ?> </td> <td class="fl_i"> <?php if (empty($forum['redirect'])) { ?> <span class="xi2"><?php echo dnumber($forum['threads']); ?> </span><span class="xg1"> / <?php echo dnumber($forum['posts']); ?> </span><?php } ?> </td> <td class="fl_by"> <div> <?php if ($forum['permission'] == 1) { ?> 私密版块 <?php } else { ?> <?php
</td> <?php } else { ?> <td class="fl_icn" <?php if(!empty($sub['extra']['iconwidth']) && !empty($sub['icon'])) { ?> style="width: <?php echo $sub['extra']['iconwidth'];?>px;"<?php } ?>> <?php if($sub['icon']) { ?> <?php echo $sub['icon'];?> <?php } else { ?> <a href="<?php echo $forumurl;?>"<?php if($sub['redirect']) { ?> target="_blank"<?php } ?>><img src="<?php echo IMGDIR;?>/forum<?php if($sub['folder']) { ?>_new<?php } ?>.gif" alt="<?php echo $sub['name'];?>" /></a> <?php } ?> </td> <td> <h2><a href="<?php echo $forumurl;?>" <?php if(!empty($sub['redirect'])) { ?>target="_blank"<?php } ?> style="<?php if(!empty($sub['extra']['namecolor'])) { ?>color: <?php echo $sub['extra']['namecolor'];?>;<?php } ?>"><?php echo $sub['name'];?></a><?php if($sub['todayposts'] && !$sub['redirect']) { ?><em class="xw0 xi1" title="今日"> (<?php echo $sub['todayposts'];?>)</em><?php } ?></h2> <?php if($sub['description']) { ?><p class="xg2"><?php echo $sub['description'];?></p><?php } if($sub['subforums']) { ?><p>子版块: <?php echo $sub['subforums'];?></p><?php } if($sub['moderators']) { ?><p>版主: <?php echo $sub['moderators'];?></p><?php } ?> <?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_subforum_extra'][$sub[fid]])) echo $_G['setting']['pluginhooks']['forumdisplay_subforum_extra'][$sub[fid]];?> </td> <td class="fl_i"> <?php if(empty($sub['redirect'])) { ?><span class="xg1">主题:<i><?php echo dnumber($sub['threads']); ?></i></span><span class="xg1"> / 帖数:<i><?php echo dnumber($sub['posts']); ?></i></span><?php } ?> </td> <td class="fl_by"> <div> <?php if($sub['permission'] == 1) { ?> 私密版块 <?php } else { if($sub['redirect']) { ?> <a href="<?php echo $forumurl;?>" class="xi2">链接到外部地址</a> <?php } elseif(is_array($sub['lastpost'])) { ?> <a href="forum.php?mod=redirect&tid=<?php echo $sub['lastpost']['tid'];?>&goto=lastpost#lastpost" class="xi2"><?php echo cutstr($sub['lastpost']['subject'], 30); ?></a> <cite><?php echo $sub['lastpost']['dateline'];?> <?php if($sub['lastpost']['author']) { ?><?php echo $sub['lastpost']['author'];?><?php } else { ?><?php echo $_G['setting']['anonymoustext'];?><?php } ?></cite> <?php } else { ?> 从未 <?php } } ?> </div> </td> </tr>
</td> <?php } else { ?> <td class="fl_icn" <?php if(!empty($sub['extra']['iconwidth']) && !empty($sub['icon'])) { ?> style="width: <?php echo $sub['extra']['iconwidth'];?>px;"<?php } ?>> <?php if($sub['icon']) { ?> <?php echo $sub['icon'];?> <?php } else { ?> <a href="<?php echo $forumurl;?>"<?php if($sub['redirect']) { ?> target="_blank"<?php } ?>><img src="<?php echo IMGDIR;?>/forum<?php if($sub['folder']) { ?>_new<?php } ?>.gif" alt="<?php echo $sub['name'];?>" /></a> <?php } ?> </td> <td> <h2><a href="<?php echo $forumurl;?>" <?php if(!empty($sub['redirect'])) { ?>target="_blank"<?php } ?> style="<?php if(!empty($sub['extra']['namecolor'])) { ?>color: <?php echo $sub['extra']['namecolor'];?>;<?php } ?>"><?php echo $sub['name'];?></a><?php if($sub['todayposts'] && !$sub['redirect']) { ?><em class="xw0 xi1" title="今日"> (<?php echo $sub['todayposts'];?>)</em><?php } ?></h2> <?php if($sub['description']) { ?><p class="xg2"><?php echo $sub['description'];?></p><?php } if($sub['subforums']) { ?><p>子版块: <?php echo $sub['subforums'];?></p><?php } if($sub['moderators']) { ?><p>版主: <?php echo $sub['moderators'];?></p><?php } ?> <?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_subforum_extra'][$sub[fid]])) echo $_G['setting']['pluginhooks']['forumdisplay_subforum_extra'][$sub[fid]];?> </td> <td class="fl_i"> <?php if(empty($sub['redirect'])) { ?><span class="xi2"><?php echo dnumber($sub['threads']); ?></span><span class="xg1"> / <?php echo dnumber($sub['posts']); ?></span><?php } ?> </td> <td class="fl_by"> <div> <?php if($sub['permission'] == 1) { ?> 私密版块 <?php } else { if($sub['redirect']) { ?> <a href="<?php echo $forumurl;?>" class="xi2">链接到外部地址</a> <?php } elseif(is_array($sub['lastpost'])) { ?> <a href="forum.php?mod=redirect&tid=<?php echo $sub['lastpost']['tid'];?>&goto=lastpost#lastpost" class="xi2"><?php echo cutstr($sub['lastpost']['subject'], 30); ?></a> <cite><?php echo $sub['lastpost']['dateline'];?> <?php if($sub['lastpost']['author']) { ?><?php echo $sub['lastpost']['author'];?><?php } else { ?><?php echo $_G['setting']['anonymoustext'];?><?php } ?></cite> <?php } else { ?> 从未 <?php } } ?> </div> </td> </tr>
</ul> <?php } } ?> </div> <div class="i y"> <div> <strong><a href="home.php?mod=space&uid=<?php echo $post['authorid'];?>" target="_blank" class="xi2"<?php if($post['groupcolor']) { ?> style="color: <?php echo $post['groupcolor'];?>"<?php } ?>><?php echo $post['author'];?></a></strong> <?php if($_G['setting']['vtonlinestatus'] && $post['authorid']) { if(($_G['setting']['vtonlinestatus'] == 2 && $_G['forum_onlineauthors'][$post['authorid']]) || ($_G['setting']['vtonlinestatus'] == 1 && (TIMESTAMP - $post['lastactivity'] <= 10800) && !$post['authorinvisible'])) { ?> <em>当前在线</em> <?php } else { ?> <em>当前离线</em> <?php } } ?> </div> <?php if(!empty($_G['setting']['pluginhooks']['viewthread_sidetop'][$postcount])) echo $_G['setting']['pluginhooks']['viewthread_sidetop'][$postcount];?> <?php if(!($_G['setting']['threadguestlite'] && !$_G['uid'])) { ?> <p><em><a href="home.php?mod=spacecp&ac=usergroup&gid=<?php echo $post['groupid'];?>" target="_blank"><?php echo $post['authortitle'];?></a></em></p> <?php if($post['customstatus']) { ?><p class="xg1"><?php echo $post['customstatus'];?></p><?php } if(is_array($post['numbercard'])) foreach($post['numbercard'] as $numbercardkey => $numbercard) { ?><p><span><?php echo $numbercard['lang'];?></span><a href="<?php echo $numbercard['link'];?>" class="xi2"><?php echo dnumber($numbercard['value']); ?></a></p> <?php } ?> <p><span><?php echo viewthread_baseinfo($post, array('extcredits8',1)); ?></span><?php echo viewthread_baseinfo($post, array('extcredits8',0)); ?></p> <?php } ?> <?php if(!empty($_G['setting']['pluginhooks']['viewthread_sidebottom'][$postcount])) echo $_G['setting']['pluginhooks']['viewthread_sidebottom'][$postcount];?> <div class="imicn"> <?php if($post['qq'] && !$post['privacy']['profile']['qq']) { ?><a href="http://wpa.qq.com/msgrd?V=3&Uin=<?php echo $post['qq'];?>&Site=<?php echo $_G['setting']['bbname'];?>&Menu=yes&from=discuz" target="_blank" title="QQ"><img src="<?php echo IMGDIR;?>/qq.gif" alt="QQ" /></a><?php } if($post['icq'] && !$post['privacy']['profile']['icq']) { ?><a href="http://wwp.icq.com/scripts/search.dll?to=<?php echo $post['icq'];?>" target="_blank" title="ICQ"><img src="<?php echo IMGDIR;?>/icq.gif" alt="ICQ" /></a><?php } if($post['yahoo'] && !$post['privacy']['profile']['yahoo']) { ?><a href="http://edit.yahoo.com/config/send_webmesg?.target=<?php echo $post['yahoo'];?>&.src=pg" target="_blank" title="Yahoo"><img src="<?php echo IMGDIR;?>/yahoo.gif" alt="Yahoo!" /></a><?php } if($post['taobao'] && !$post['privacy']['profile']['taobao']) { ?><a href="javascript:;" onclick="window.open('http://amos.im.alisoft.com/msg.aw?v=2&uid='+encodeURIComponent('<?php echo $post['taobaoas'];?>')+'&site=cntaobao&s=2&charset=utf-8')" title="阿里旺旺"><img src="<?php echo IMGDIR;?>/taobao.gif" alt="阿里旺旺" /></a><?php } if($post['site'] && !$post['privacy']['profile']['site']) { ?><a href="<?php echo $post['site'];?>" target="_blank" title="查看个人网站"><img src="<?php echo IMGDIR;?>/forumlink.gif" alt="查看个人网站" /></a><?php } ?> <a href="home.php?mod=space&uid=<?php echo $post['authorid'];?>&do=profile" target="_blank" title="查看详细资料"><img src="<?php echo IMGDIR;?>/userinfo.gif" alt="查看详细资料" /></a> <?php if(!empty($_G['setting']['pluginhooks']['viewthread_imicons'][$postcount])) echo $_G['setting']['pluginhooks']['viewthread_imicons'][$postcount];?> <?php if($_G['setting']['magicstatus']) { if(!empty($_G['setting']['magics']['showip'])) { ?> <a href="home.php?mod=magic&mid=showip&idtype=user&id=<?php echo rawurlencode($post['author']); ?>" id="a_showip_li_<?php echo $post['pid'];?>" class="xi2" onclick="showWindow(this.id, this.href)"><img src="<?php echo STATICURL;?>/image/magic/showip.small.gif" alt="" /> <?php echo $_G['setting']['magics']['showip'];?></a> <?php } if(!empty($_G['setting']['magics']['checkonline']) && $post['authorid'] != $_G['uid']) { ?> <a href="home.php?mod=magic&mid=checkonline&idtype=user&id=<?php echo rawurlencode($post['author']); ?>" id="a_repent_<?php echo $post['pid'];?>" class="xi2" onclick="showWindow(this.id, this.href)"><img src="<?php echo STATICURL;?>/image/magic/checkonline.small.gif" alt="" /> <?php echo $_G['setting']['magics']['checkonline'];?></a> <?php } ?> <?php if(!empty($_G['setting']['pluginhooks']['viewthread_magic_user'][$postcount])) echo $_G['setting']['pluginhooks']['viewthread_magic_user'][$postcount];?> <?php } ?>
?> " /></a> </div> <dl> <dt><a href="forum.php?mod=collection&action=view&ctid=<?php echo $colletion['ctid']; ?> "><?php echo $colletion['name']; ?> </a></dt> <dd><em>主题: <?php echo dnumber($colletion['threadnum']); ?> </em>, <em>评论: <?php echo dnumber($colletion['commentnum']); ?> </em></dd> <dd> <?php if ($colletion['lastpost']) { if ($forumcolumns < 3) { ?> <a href="forum.php?mod=redirect&tid=<?php echo $colletion['lastpost']; ?> &goto=lastpost#lastpost" class="xi2"><?php echo cutstr($colletion['lastsubject'], 30); ?> </a> <cite><?php echo dgmdate($colletion[lastposttime]);
<p><a href="home.php?mod=space&uid=<?php echo $post['authorid']; ?> &do=friend&view=me" class="xi2"><?php echo dnumber($post['friends']); ?> </a></p>好友 <?php } ?> </th> <td><p><a href="home.php?mod=space&uid=<?php echo $post['authorid']; ?> &do=profile" class="xi2"><?php echo dnumber($post['credits']); ?> </a></p>积分</td> </table> </div> <?php if (!empty($_G['setting']['pluginhooks']['viewthread_avatar'][$postcount])) { echo $_G['setting']['pluginhooks']['viewthread_avatar'][$postcount]; } if ($post['groupicon']) { ?> <p><a href="home.php?mod=spacecp&ac=usergroup&gid=<?php echo $post['groupid']; ?> " target="_blank"><?php echo $post['groupicon'];