Skip to content
This repository has been archived by the owner on Oct 28, 2019. It is now read-only.

Commit

Permalink
v1.0版本
Browse files Browse the repository at this point in the history
  • Loading branch information
iRuxu committed Aug 15, 2015
1 parent 77c043a commit d739371
Show file tree
Hide file tree
Showing 13 changed files with 164 additions and 89 deletions.
Binary file added img/bbs/8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/bbs/type.psd
Binary file not shown.
30 changes: 30 additions & 0 deletions template/test/forum/face-list.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<div class="m-face-list">
<ul>
[loop]
<li class="m-face-list-item">
<a class="short" href="{subject_url}" target="_blank">
<span class="img">
<img src="{faceshot_value}" alt="">
<i class="shark"></i>
</span>
<i class="mark">
<em class="digest">{digest}</em>
<em class="downs">{facedown_downloads}</em>
<em class="cmds">{recommends}</em>
</i>
</a>
<span class="info">
<span class="author"><em>作者:</em><a href="{author_url}">{author}</a></span>
<span class="time"><em>发布:</em>{dateline}</span>
<span class="downloads"><em>下载次数:</em><b class="u-face-downloads">{facedown_downloads}</b></span>
<span class="round">
<em>多角度:</em>
<i class="isround"><em class="u-face-round">{face_shot2_value}</em></i>
<a class="down" title="直接下载" href="{facedown_value}"></a>
</span>
<a class="details" href="{subject_url}" target="_blank">查看详情<i>>></i></a>
</span>
</li>
[/loop]
</ul>
</div>
45 changes: 45 additions & 0 deletions template/test/forum/face-view.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<div class="m-face-view">
<div class="m-default">
<div class="m-short">
<span class="img"><img src="{faceshot_value}" alt=""></span>
</div>
<div class="m-info">
<div class="m-details">
<p class="item"><em>脸型作者:</em><span>{faceauthor_value}</span></p>
<p class="item"><em>作者微博:</em>
<em class="u-face-weibo" id="w-weibo">{author_wb_value}</em>
<span class="u-face-weibo-win" id="w-weibo-win"><iframe src="http://widget.weibo.com/relationship/followbutton.php?language=zh_cn&amp;width=136&amp;height=24&amp;uid={author_wb_value}&amp;style=1&amp;btn=red" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="117" height="24"></iframe></span>
</p>
</div>
<div class="m-star"></div>
<div class="m-down">
<a class="u-btn-facedown" href="{facedown_value}">点击下载</a>
<span class="counts"><em>累计下载次数:</em><span>{facedown_downloads}</span></span>
<span class="tips">消耗<b>2</b>米币积分</span>
</div>
<div class="m-share">
<span class="label">分享:</span>
<div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a><a href="#" class="bds_tieba" data-cmd="tieba" title="分享到百度贴吧"></a><a href="#" class="bds_copy" data-cmd="copy" title="分享到复制网址"></a><a href="#" class="bds_print" data-cmd="print" title="分享到打印"></a></div>
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
</div>
</div>
</div>
<div class="m-extend">
<div class="m-til"><h3>多角度</h3></div>
<ul class="minipic">
<li class="img">
<span>正面影像</span>
<img src="{face_shot1_value}">
</li>
<li class="img">
<span>侧面影像</span>
<img src="{face_shot2_value}">
</li>
<li class="img">
<span>俯视影像</span>
<img src="{face_shot3_value}">
</li>
</ul>
</div>
</div>
<div class="m-til"><h3>作者说明</h3></div>
3 changes: 0 additions & 3 deletions template/test/forum/forumdisplay.htm
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@

<div class="pvx-content">

<!-- jx3pve:primary -->
<!--{subtemplate forum/primary}-->

<!-- jx3pve:content -->
<div class="pvx-article " id="ct">

Expand Down
55 changes: 2 additions & 53 deletions template/test/forum/forumdisplay_list.htm
Original file line number Diff line number Diff line change
Expand Up @@ -6,64 +6,13 @@
<!--{subtemplate forum/primary}-->

<!-- jx3pve:index-list -->
<div class="w-index-list" id="w-index-list">
<div id="w-index-list"> <!-- class="w-index-list" -->

<!-- jx3pve:ctbox -->
<div id="threadlist" class="pve-flist c-flist tl bm bmw"{if $_G['uid']} style="position: relative;"{/if}>

<!-- jx3pve:ctbox-header -->
<div class="c-flist-header th">
<table cellspacing="0" cellpadding="0">
<tr>

<th colspan="{if !$_GET['archiveid'] && $_G['forum']['ismoderator']}3{else}2{/if}">
<!--{if CURMODULE != 'guide'}-->
<div class="tf">
<span id="atarget" {if $_G['cookie']['atarget'] > 0}onclick="setatarget(-1)" class="y atarget_1"{else}onclick="setatarget(1)" class="y"{/if} title="{lang new_window_thread}">{lang new_window}</span>
<!--{if $_GET['specialtype'] == 'reward'}-->
<a id="filter_reward" href="javascript:;" class="showmenu xi2{if $_GET['rewardtype']} xw1{/if}" onclick="showMenu(this.id)"><!--{if $_GET['rewardtype'] == ''}-->{lang all_reward}<!--{elseif $_GET['rewardtype'] == '1'}-->{lang rewarding}<!--{elseif $_GET['rewardtype'] == '2'}-->{lang reward_solved}<!--{/if}--></a>&nbsp;
<!--{/if}-->
<a id="filter_special" href="javascript:;" class="showmenu xi2{if $_GET['specialtype']} xw1{/if}" onclick="showMenu(this.id)"><!--{if $_GET['specialtype'] == 'poll'}-->{lang thread_poll}<!--{elseif $_GET['specialtype'] == 'trade'}-->{lang thread_trade}<!--{elseif $_GET['specialtype'] == 'reward'}-->{lang thread_reward}<!--{elseif $_GET['specialtype'] == 'activity'}-->{lang thread_activity}<!--{elseif $_GET['specialtype'] == 'debate'}-->{lang thread_debate}<!--{else}-->{lang threads_all}<!--{/if}--></a>&nbsp;
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=lastpost&orderby=lastpost$forumdisplayadd[lastpost]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" class="xi2{if $_GET['filter'] == 'lastpost'} xw1{/if}">{lang latest}</a>&nbsp;
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=heat&orderby=heats$forumdisplayadd[heat]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" class="xi2{if $_GET['filter'] == 'heat'} xw1{/if}">{lang order_heats}</a>&nbsp;
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=hot" class="xi2{if $_GET['filter'] == 'hot'} xw1{/if}">{lang hot_thread}</a>&nbsp;
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=digest&digest=1$forumdisplayadd[digest]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" class="xi2{if $_GET['filter'] == 'digest'} xw1{/if}">{lang digest_posts}</a>&nbsp;
<a id="filter_dateline" href="javascript:;" class="showmenu xi2{if $_GET['dateline']} xw1{/if}" onclick="showMenu(this.id)">{lang more}</a>&nbsp;
<!--{if empty($_G['forum']['picstyle']) && $_GET['orderby'] == 'lastpost' && (!$_G['setting']['forumseparator'] || !$separatepos) && !$_GET['filter']}-->
<a href="javascript:;" onclick="checkForumnew_btn('{$_G['fid']}')" title="{lang showupgrade}" class="forumrefresh"></a>
<!--{/if}-->
<!--{if $_GET['filter'] == 'hot'}-->
<script type="text/javascript" src="{$_G[setting][jspath]}calendar.js?{VERHASH}"></script>
<span>$ctime</span>
<img src="{IMGDIR}/date_magnify.png" class="cur1" alt="" id="hottime" value="$ctime" fid="$_G[fid]" onclick="showcalendar(event, this, false, false, false, false, function(){viewhot(this);});" align="absmiddle" />
<!--{/if}-->
<span id="clearstickthread">
<span class="pipe">|</span>
<a href="javascript:;" onclick="clearStickThread()" class="xi2" title="{lang showdisplayorder}">{lang showdisplayorder}</a>
</span>
<!--{hook/forumdisplay_filter_extra}-->
</div>
<!--{else}-->
{lang title}
<!--{/if}-->
</th>
<!--{if empty($_G['forum']['picstyle'])}-->

<!--{if CURMODULE == 'guide'}-->
<td class="pos">{lang forum_group}</td>
<!--{/if}-->
<td class="author">{lang author}</td>
<td class="num">{lang replies}</td>
<td class="reply">{lang lastpost}</td>

<!--{else}-->
<td class="by" colspan="3">
<a{if empty($_G['cookie']['forumdefstyle'])} href="forum.php?mod=forumdisplay&fid=$_G[fid]&forumdefstyle=yes" class="chked"{else} href="forum.php?mod=forumdisplay&fid=$_G[fid]&forumdefstyle=no" class="unchk"{/if} title="{lang view_thread_imagemode}{lang view_thread}">{lang view_thread_imagemode}</a>
</td>
<!--{/if}-->
</tr>
</table>
</div>
<!--{subtemplate forum/order}-->

<!-- jx3pve:ctbox-th -->
<div class="c-flist-info">
Expand Down
26 changes: 26 additions & 0 deletions template/test/forum/forumdisplay_sort.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<div id="threadlist" class="bm bmw"{if $_G['uid']} style="position: relative;"{/if}>
<!--{if $quicksearchlist && !$_GET['archiveid']}-->
<!--{subtemplate forum/search_sortoption}-->
<!--{/if}-->
<!--{subtemplate forum/order}-->
$sorttemplate['header']
<form method="post" autocomplete="off" name="moderate" id="moderate" action="forum.php?mod=topicadmin&action=moderate&fid=$_G[fid]&infloat=yes&nopost=yes">
$sorttemplate['body']
<!--{if $_G['forum']['ismoderator'] && $_G['forum_threadcount']}-->
<!--{template forum/topicadmin_modlayer}-->
<!--{/if}-->
</form>
$sorttemplate['footer']
</div>

<div class="w-pages w-pages-bottom bm bw0 pgs cl">
$multipage
<span {if $_G[setting][visitedforums]}id="visitedforumstmp" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id,'pos':'21'})"{/if} class="pgb y"><a href="forum.php">{lang return_index}</a></span>
<!--{if !$_GET['archiveid']}-->
<a class="u-btn-publish" href="javascript:;" id="newspecialtmp" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"{if !$_G['forum']['allowspecialonly'] && empty($_G['forum']['picstyle'])} onclick="showWindow('newthread', 'forum.php?mod=post&action=newthread&fid=$_G[fid]')"{else} onclick="location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]';return false;"{/if} title="{lang send_posts}">
<img src="{IMGDIR}/pn_post.png" alt="{lang send_posts}" />
<span>发布</span>
</a>
<!--{/if}-->
<!--{hook/forumdisplay_postbutton_bottom}-->
</div>
8 changes: 4 additions & 4 deletions template/test/forum/header.htm
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<a href="http://www.jx3pve.com/face" class="pvx-header-logo">捏脸</a>
<div class="m-face-nav pvx-header-nav">
<a href="http://www.jx3pve.com/face" class="logo">捏脸</a>
<div class="none m-face-nav pvx-header-nav">
<ul>
<li><a href="http://www.jx3pve.com/face">捏脸首页<i></i></a></li>
<li><a class="on" href="http://www.jx3pve.com/face">捏脸首页<i></i></a></li>
<li><a href="http://www.jx3pve.com/forum.php?mod=forumdisplay&fid=92&filter=digest&digest=1">主编推荐<i></i></a></li>
<!-- <li><a href="#">作者专辑<i></i></a></li> -->
<li><a href="http://www.jx3pve.com/forum.php?mod=forumdisplay&fid=92&filter=heat&orderby=heats">热门排行<i></i></a></li>
<li><a href="http://www.jx3pve.com/article-894-1.html">数据使用<i></i></a></li>
<li><a href="http://www.jx3pve.com/article-894-1.html" target="_blank">数据使用<i></i></a></li>
<li><a class="pub" href="http://www.jx3pve.com/forum.php?mod=post&action=newthread&fid=92">发布捏脸<i></i></a></li>
</ul>
</div>
53 changes: 53 additions & 0 deletions template/test/forum/order.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!-- jx3pve:ctbox-header -->
<div class="c-flist-header th">
<table cellspacing="0" cellpadding="0">
<tr>

<th colspan="{if !$_GET['archiveid'] && $_G['forum']['ismoderator']}3{else}2{/if}">
<!--{if CURMODULE != 'guide'}-->
<div class="tf">
<span id="atarget" {if $_G['cookie']['atarget'] > 0}onclick="setatarget(-1)" class="y atarget_1"{else}onclick="setatarget(1)" class="y"{/if} title="{lang new_window_thread}">{lang new_window}</span>
<!--{if $_GET['specialtype'] == 'reward'}-->
<a id="filter_reward" href="javascript:;" class="showmenu xi2{if $_GET['rewardtype']} xw1{/if}" onclick="showMenu(this.id)"><!--{if $_GET['rewardtype'] == ''}-->{lang all_reward}<!--{elseif $_GET['rewardtype'] == '1'}-->{lang rewarding}<!--{elseif $_GET['rewardtype'] == '2'}-->{lang reward_solved}<!--{/if}--></a>&nbsp;
<!--{/if}-->
<a id="filter_special" href="javascript:;" class="showmenu xi2{if $_GET['specialtype']} xw1{/if}" onclick="showMenu(this.id)"><!--{if $_GET['specialtype'] == 'poll'}-->{lang thread_poll}<!--{elseif $_GET['specialtype'] == 'trade'}-->{lang thread_trade}<!--{elseif $_GET['specialtype'] == 'reward'}-->{lang thread_reward}<!--{elseif $_GET['specialtype'] == 'activity'}-->{lang thread_activity}<!--{elseif $_GET['specialtype'] == 'debate'}-->{lang thread_debate}<!--{else}-->{lang threads_all}<!--{/if}--></a>&nbsp;
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=lastpost&orderby=lastpost$forumdisplayadd[lastpost]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" class="xi2{if $_GET['filter'] == 'lastpost'} xw1{/if}">{lang latest}</a>&nbsp;
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=heat&orderby=heats$forumdisplayadd[heat]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" class="xi2{if $_GET['filter'] == 'heat'} xw1{/if}">{lang order_heats}</a>&nbsp;
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=hot" class="xi2{if $_GET['filter'] == 'hot'} xw1{/if}">{lang hot_thread}</a>&nbsp;
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=digest&digest=1$forumdisplayadd[digest]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" class="xi2{if $_GET['filter'] == 'digest'} xw1{/if}">{lang digest_posts}</a>&nbsp;
<a id="filter_dateline" href="javascript:;" class="showmenu xi2{if $_GET['dateline']} xw1{/if}" onclick="showMenu(this.id)">{lang more}</a>&nbsp;
<!--{if empty($_G['forum']['picstyle']) && $_GET['orderby'] == 'lastpost' && (!$_G['setting']['forumseparator'] || !$separatepos) && !$_GET['filter']}-->
<a href="javascript:;" onclick="checkForumnew_btn('{$_G['fid']}')" title="{lang showupgrade}" class="forumrefresh"></a>
<!--{/if}-->
<!--{if $_GET['filter'] == 'hot'}-->
<script type="text/javascript" src="{$_G[setting][jspath]}calendar.js?{VERHASH}"></script>
<span>$ctime</span>
<img src="{IMGDIR}/date_magnify.png" class="cur1" alt="" id="hottime" value="$ctime" fid="$_G[fid]" onclick="showcalendar(event, this, false, false, false, false, function(){viewhot(this);});" align="absmiddle" />
<!--{/if}-->
<span id="clearstickthread">
<span class="pipe">|</span>
<a href="javascript:;" onclick="clearStickThread()" class="xi2" title="{lang showdisplayorder}">{lang showdisplayorder}</a>
</span>
<!--{hook/forumdisplay_filter_extra}-->
</div>
<!--{else}-->
{lang title}
<!--{/if}-->
</th>
<!--{if empty($_G['forum']['picstyle'])}-->

<!--{if CURMODULE == 'guide'}-->
<td class="pos">{lang forum_group}</td>
<!--{/if}-->
<td class="author">{lang author}</td>
<td class="num">{lang replies}</td>
<td class="reply">{lang lastpost}</td>

<!--{else}-->
<td class="by" colspan="3">
<a{if empty($_G['cookie']['forumdefstyle'])} href="forum.php?mod=forumdisplay&fid=$_G[fid]&forumdefstyle=yes" class="chked"{else} href="forum.php?mod=forumdisplay&fid=$_G[fid]&forumdefstyle=no" class="unchk"{/if} title="{lang view_thread_imagemode}{lang view_thread}">{lang view_thread_imagemode}</a>
</td>
<!--{/if}-->
</tr>
</table>
</div>
3 changes: 2 additions & 1 deletion template/test/forum/primary.htm
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
<!-- 首页内容 -->
<!-- 首页内容 -->
<div class="m-face-default-tg w-index-tg" id="w-index-tg"><i></i>展开全部原帖</div>
4 changes: 2 additions & 2 deletions template/test/forum/viewthread.htm
Original file line number Diff line number Diff line change
Expand Up @@ -192,14 +192,14 @@ <h3>{lang admin_select}&nbsp;<strong id="mdct" class="xi1"></strong>&nbsp;{lang
<span class="sort"><em>分类:</em>
<!--{if $_G['forum_thread']['typeid'] && $_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}-->
<!--{if !IS_ROBOT && ($_G['forum']['threadtypes']['listable'] || $_G['forum']['status'] == 3)}-->
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=typeid&typeid=$_G[forum_thread][typeid]">{$_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}
<a class="u-type" href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=typeid&typeid=$_G[forum_thread][typeid]">{$_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}
</a>
<!--{else}-->
{$_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}
<!--{/if}-->
<!--{/if}-->
<!--{if $threadsorts && $_G['forum_thread']['sortid']}-->
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=sortid&sortid=$_G[forum_thread][sortid]">{$_G['forum']['threadsorts']['types'][$_G['forum_thread']['sortid']]}
<a class="u-sort" href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=sortid&sortid=$_G[forum_thread][sortid]">{$_G['forum']['threadsorts']['types'][$_G['forum_thread']['sortid']]}
</a>
<!--{/if}-->
</span>
Expand Down
13 changes: 0 additions & 13 deletions template/test/forum/viewthread_node_body.htm
Original file line number Diff line number Diff line change
Expand Up @@ -107,19 +107,6 @@ <h3><strong>
<!--{/if}-->
$_G['forum_posthtml']['footer'][$post[pid]]

<!--{if $post['first'] && ($post[tags] || $relatedkeywords) && $_GET['from'] != 'preview'}-->
<div class="ptg mbm mtn">
<!--{if $post[tags]}-->
<!--{eval $tagi = 0;}-->
<!--{loop $post[tags] $var}-->
<!--{if $tagi}-->, <!--{/if}--><a title="$var[1]" href="misc.php?mod=tag&id=$var[0]" target="_blank">$var[1]</a>
<!--{eval $tagi++;}-->
<!--{/loop}-->
<!--{/if}-->
<!--{if $relatedkeywords}--><span>$relatedkeywords</span><!--{/if}-->
</div>
<!--{/if}-->

<!--{if !IS_ROBOT && $post['first'] && !$_G['forum_thread']['archiveid']}-->
<!--{if !empty($lastmod['modaction'])}--><div class="modact"><a href="forum.php?mod=misc&action=viewthreadmod&tid=$_G[tid]" title="{lang thread_mod}" onclick="showWindow('viewthreadmod', this.href)"><!--{if $lastmod['modactiontype'] == 'REB'}-->{lang thread_mod_recommend_by}<!--{else}-->{lang thread_mod_by}<!--{/if}--></a></div><!--{/if}-->
<!--{hook/viewthread_modaction}-->
Expand Down
13 changes: 0 additions & 13 deletions template/test/forum/viewthread_node_body_first.htm
Original file line number Diff line number Diff line change
Expand Up @@ -110,19 +110,6 @@ <h3><strong>
<!--{/if}-->
$_G['forum_posthtml']['footer'][$post[pid]]

<!--{if $post['first'] && ($post[tags] || $relatedkeywords) && $_GET['from'] != 'preview'}-->
<div class="ptg mbm mtn">
<!--{if $post[tags]}-->
<!--{eval $tagi = 0;}-->
<!--{loop $post[tags] $var}-->
<!--{if $tagi}-->, <!--{/if}--><a title="$var[1]" href="misc.php?mod=tag&id=$var[0]" target="_blank">$var[1]</a>
<!--{eval $tagi++;}-->
<!--{/loop}-->
<!--{/if}-->
<!--{if $relatedkeywords}--><span>$relatedkeywords</span><!--{/if}-->
</div>
<!--{/if}-->

<!--{if !IS_ROBOT && $post['first'] && !$_G['forum_thread']['archiveid']}-->
<!--{if !empty($lastmod['modaction'])}--><div class="modact"><a href="forum.php?mod=misc&action=viewthreadmod&tid=$_G[tid]" title="{lang thread_mod}" onclick="showWindow('viewthreadmod', this.href)"><!--{if $lastmod['modactiontype'] == 'REB'}-->{lang thread_mod_recommend_by}<!--{else}-->{lang thread_mod_by}<!--{/if}--></a></div><!--{/if}-->
<!--{hook/viewthread_modaction}-->
Expand Down

0 comments on commit d739371

Please sign in to comment.