/upload/template/bbs/cate_run.htm
HTML | 160 lines | 131 code | 0 blank | 29 comment | 0 complexity | 3b3c41ccdc6b381a24f064bc73148f36 MD5 | raw file
- <!doctype html>
- <html>
- <head>
- <template source='TPL:common.head' load='true' />
- <link href="{@theme:css}/forum.css?v={@NEXT_RELEASE}" rel="stylesheet" />
- </head>
- <body>
- <pw-start/>
- <div class="wrap">
- <template source='TPL:common.header' load='true' />
- <div class="main_wrap">
- <pw-tpl id="main_segment"/>
- <div class="bread_crumb">
- {@$headguide|html}<!--# if ($tab == 'digest') { #--><em>></em><a href="{@url:bbs/cate/run?fid=$fid&tab=digest}">精华</a><!--#}#-->
- </div>
- <pw-tpl id="cateTop_segment"/>
- <div class="main cc">
- <div class="main_body">
- <div class="main_content">
- <pw-tpl id="first_segment"/>
- <template source='widget_forum' load='true' />
- <pw-tpl id="cate_middle"/>
- <div class="box_wrap thread_page J_check_wrap">
- <nav>
- <div class="content_nav" id="hashpos_ttype">
- <!--# $_urladd_ = $tab ? '&tab=' . $tab : ''; #-->
- <div class="content_filter"><a href="{@url:bbs/cate/run?fid=$fid}{$_urladd_}{@$defaultOrderby == 'lastpost' ? '&orderby=postdate' : ''}" class="{@Pw::isCurrent($orderby == 'postdate')}">最新发帖</a><span>|</span><a href="{@url:bbs/cate/run?fid=$fid}{$_urladd_}{@$defaultOrderby == 'lastpost' ? '' : '&orderby=lastpost'}" class="{@Pw::isCurrent($orderby != 'postdate')}">最后回复</a></div>
- <ul class="cc">
- <li class="{@Pw::isCurrent(!$tab)}"><a href="{@url:bbs/cate/run?fid=$fid}">全部</a></li>
- <li class="{@Pw::isCurrent('digest' == $tab)}"><a href="{@url:bbs/cate/run?fid=$fid&tab=digest}">精华</a></li>
- </ul>
- </div>
- </nav>
- <!--# if ($threaddb) { #-->
- <div class="thread_posts_list">
- <table width="100%" id="J_posts_list" summary="帖子列表">
- <!--# $tpc_topped = 0; #-->
- <!--# foreach ($threaddb as $key => $value) { #-->
- <!--# if ($tpc_topped && !isset($value['issort'])) { #-->
- <tr>
- <td colspan="3" class="tac ordinary">普通主题</td>
- </tr>
- <!--# } #-->
- <tr>
- <td class="author"><a class="J_user_card_show" data-uid="{$value['created_userid']}" href="{@url:space/index/run?uid=$value['created_userid']}"><img class="J_avatar" src="{@Pw::getAvatar($value['created_userid'], 'small')}" data-type="small" width="45" height="45" alt="{$value['created_username']}的头像" /></a></td>
- <td class="subject">
- <p class="title">
- <!--# if ($operateThread) { #-->
- <input class="J_check" name="" type="checkbox" value="{$value['tid']}" />
- <!--# } #-->
- <a href="{@url:bbs/read/run?tid=$value['tid']&fid=$value['fid']}" target="_blank"><span class="posts_icon"><i class="icon_{$value['icon']}" title="{$icon[$value['icon']]} 新窗口打开"></i></span></a>
- <a href="{@url:bbs/read/run?tid=$value['tid']&fid=$value['fid']}" class="st" style="{$value['highlight_style']}">{@Pw::substrs($value['subject'],$numofthreadtitle)}</a>
- <hook class='$threadList' name='createHtmlAfterSubject' args="array($value)" /><!--# if ($value['ifupload']) { #--><span class="posts_icon"><i class="icon_{$uploadIcon[$value['ifupload']]}" title="{$icon[$uploadIcon[$value['ifupload']]]}"></i></span><!--# } #-->
- </p>
- <p class="info">
- 楼主:<a class="J_user_card_show" data-uid="{$value['created_userid']}" href="{@url:space/index/run?uid=$value['created_userid']}">{$value['created_username']}</a><span><!--# echo Pw::time2str($value['created_time'], 'Y-m-d');#--></span>
- 最后回复:<a href="{@url:space/index/run?uid=$value['lastpost_userid']}">{$value['lastpost_username']}</a><span><a href="{@url:bbs/read/run?tid=$value['tid']&fid=$value['fid']&page=e}#a" rel="nofollow"><!--# echo Pw::time2str($value['lastpost_time'], 'm-d H:i');#--></a></span>
- </p>
- </td>
- <td class="num">
- <span><em>{$value['replies']}</em>回复</span>
- <span><em>{$value['hits']}</em>浏览</span>
- </td>
- </tr>
- <!--# $tpc_topped = isset($value['issort']); #-->
- <!--# } #-->
- </table>
- </div>
- <!--# if ($operateThread) { #-->
- <div class="management mb10 J_post_manage_col" data-role="list">
- <label class="mr10"><input class="J_check_all" type="checkbox">全选</label>
- <!--# if ($operateThread['topped']) { #--><a href="{@url:bbs/manage/topped}">置顶</a><!--# } #-->
- <!--# if ($operateThread['digest']) { #--><a href="{@url:bbs/manage/digest}">精华</a><!--# } #-->
- <!--# if ($operateThread['highlight']) { #--><a href="{@url:bbs/manage/highlight}">加亮</a><!--# } #-->
- <!--# if ($operateThread['up']) { #--><a href="{@url:bbs/manage/up}">提前</a><!--# } #-->
- <!--# if ($operateThread['type']) { #--><a href="{@url:bbs/manage/type}">分类</a><!--# } #-->
- <!--# if ($operateThread['move']) { #--><a href="{@url:bbs/manage/move}">移动</a><!--# } #-->
- <!--# if ($operateThread['copy']) { #--><a href="{@url:bbs/manage/copy}">复制</a><!--# } #-->
- <!--# if ($operateThread['unite']) { #--><a href="{@url:bbs/manage/unite}">合并</a><!--# } #-->
- <!--# if ($operateThread['lock']) { #--><a href="{@url:bbs/manage/lock}">锁定</a><!--# } #-->
- <!--# if ($operateThread['down']) { #--><a href="{@url:bbs/manage/down}">压帖</a><!--# } #-->
- <!--# if ($operateThread['delete']) { #--><a href="{@url:bbs/manage/delete}">删除</a><!--# } #-->
- </div>
- <!--# } #-->
- <div class="pages_wrap cc">
- <page tpl="TPL:common.page" page="$page" per="$perpage" count="$count" total="$totalpage" url="bbs/cate/run?fid=$fid" args="$urlargs"/>
- </div>
- <!--# } else { #-->
- <div class="not_content">
- <!--# if ($tab == 'digest') { #-->
- 啊哦,该分类暂没有精华帖!
- <!--# } elseif ($type) { #-->
- 啊哦,该分类暂没有任何内容!
- <!--# } else { #-->
- 啊哦,该分类暂没有任何内容!
- <!--# } #-->
- </div>
- <!--# } #-->
- </div>
- <pw-tpl id="cate_bottom"/>
- <section class="face_list" style="display:none;">
- <h2 class="hd"><a href="#" class="fr fn">查看更多>></a>当前在线</h2>
- <article class="ct">
- <ul class="cc">
- <!--#$online = Wekit::load('SRV:online.srv.PwOnlineCountService');#-->
- <!--#$list = $online->getLastVisitor($pwforum->fid);#-->
- <!--#foreach ($list as $value){ #-->
- <li><a href="#"><img src="{@G:url.images}/face/face_small.jpg" width="48" height="48" alt="{$value['username']}"><br />{$value['username']}</a></li>
- <!--# } #-->
- </ul>
- </article>
- </section>
- </div>
- </div>
- <div class="main_sidebar">
- <template source='TPL:common.sidebar_2' load='true' />
- </div>
- </div>
- <!--# if ($operateThread) { #-->
- <div id="J_post_manage_main" class="core_pop_wrap J_post_manage_pop" style="display:none;position:fixed;_position:absolute;">
- <div class="core_pop">
- <div style="width:415px;">
- <div class="pop_top"><a href="#" id="J_post_manage_close" class="pop_close">关闭</a><strong class="mr5">帖子操作</strong>(已选中 <span class="red" id="J_post_checked_count">1</span> 篇 <a href="" class="s4" id="J_post_manage_checkall" data-type="check">全选</a>)</div>
- <div class="pop_cont">
- <div class="pop_operat_list">
- <ul class="cc J_post_manage_col" data-role="list">
- <!--# if ($operateThread['topped']) { #--><li><a href="{@url:bbs/manage/topped}">置顶</a></li><!--# } #-->
- <!--# if ($operateThread['digest']) { #--><li><a href="{@url:bbs/manage/digest}">精华</a></li><!--# } #-->
- <!--# if ($operateThread['highlight']) { #--><li><a href="{@url:bbs/manage/highlight}">加亮</a></li><!--# } #-->
- <!--# if ($operateThread['up']) { #--><li><a href="{@url:bbs/manage/up}">提前</a></li><!--# } #-->
- <!--# if ($operateThread['type']) { #--><li><a href="{@url:bbs/manage/type}">分类</a></li><!--# } #-->
- <!-- <li><a href="{@url:bbs/manage/topped}">印戳</a></li> -->
- <!--# if ($operateThread['move']) { #--><li><a href="{@url:bbs/manage/move}">移动</a></li><!--# } #-->
- <!--# if ($operateThread['copy']) { #--><li><a href="{@url:bbs/manage/copy}">复制</a></li><!--# } #-->
- <!--# if ($operateThread['unite']) { #--><li><a href="{@url:bbs/manage/unite}">合并</a></li><!--# } #-->
- <!--# if ($operateThread['lock']) { #--><li><a href="{@url:bbs/manage/lock}">锁定</a></li><!--# } #-->
- <!--# if ($operateThread['down']) { #--><li><a href="{@url:bbs/manage/down}">压帖</a></li><!--# } #-->
- <!--# if ($operateThread['delete']) { #--><li><a href="{@url:bbs/manage/delete}">删除</a></li><!--# } #-->
- </ul>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!--# } #-->
- </div>
- <template source='TPL:common.footer' load='true' />
- </div>
- <script>
- Wind.use('jquery', 'global', function(){
- <!--# if(!$is_design) { #-->
- <!--# if ($operateThread) { #-->
- Wind.js(GV.JS_ROOT +'pages/bbs/threadManage.js?v=' + GV.JS_VERSION);
- <!--# } #-->
- <!--# } #-->
- });
- </script>
- <pw-end/>
- </body>
- </html>