同步宝塔上的源码

This commit is contained in:
2025-06-27 21:04:18 +08:00
parent ebc39cd5dd
commit 16de87a864
4689 changed files with 59043 additions and 822 deletions

View File

@@ -0,0 +1,97 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!--{if $order && $codes}-->
<div class="header cl">
<div class="mz"><a href="javascript:history.back();"><i class="dm-c-left"></i></a></div>
<h2>{lang invitecode_succeed_title}</h2>
<div class="my"><a href="<!--{if $_G['setting']['mobile']['mobilehotthread']}--><!--{if !empty($_G['setting']['grid']['showgrid'])}-->forum.php<!--{else}-->forum.php?mod=guide&view=newthread<!--{/if}--><!--{else}-->forum.php?forumlist=1<!--{/if}-->"><i class="dm-house"></i></a></div>
</div>
<form name="confirmform" method="get" autocomplete="off" action="member.php">
<input type="hidden" name="mod" value="{$_G[setting][regname]}" />
<input type="hidden" name="invitecode" value="{$codes[0]}" />
<div class="post_box">
<ul>
<li class="mtext">
<textarea class="pt" readonly>{$codetext}</textarea>
</li>
<li class="text-muted">{lang invitecode_email}</li>
</ul>
</div>
<div class="post_btn">
<button class="pn btn_pn mgrey">
{lang reg_continue}
</button>
</div>
</form>
<!--{else}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<span>{lang invitecode_buycode}</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<form id="confirmform" name="confirmform" method="post" autocomplete="off" action="misc.php?mod=buyinvitecode">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="buysubmit" value="true" />
<input type="hidden" name="handlekey" value="buyinvite" />
<style type="text/css">
.byg_post_box{ padding: .1rem; background: #fff;}
.byg_post_box li{ line-height: .25rem; padding: .05rem 0;}
.byg_post_box li .px{ width: 3.35rem; padding: .05rem .08rem; line-height: .2rem; font-size: .15rem; border: 1px solid #eee;}
.byg_post_box li p{ margin: 0.05rem 0.08rem 0; color: #ff9800; font-size: .13rem; line-height: .2rem;}
.byg_post_btn{ padding: .1rem;}
.byg_post_btn .btn_pn{ width: 100%; height: 0.4rem; line-height: .4rem; font-size: .16rem; font-weight: 400;}
</style>
<div class="byg_post_box">
<ul>
<!--{if $_G['setting']['inviteconfig']['invitecodeprompt']}-->
<li>
{$_G['setting'][inviteconfig][invitecodeprompt]}
</li>
<!--{/if}-->
<li>
<input type="number" value="" tabindex="1" class="px" autocomplete="off" id="amount" name="amount" placeholder="{lang buy_nums}">
</li>
<li>
<input type="email" value="" tabindex="1" class="px" autocomplete="off" name="email" placeholder="{lang active_email}">
<p>{lang active_email_comment}</p>
<p>{lang invitecode_expiration}&nbsp;&nbsp;{$maxinviteday}</p>
</li>
</ul>
</div>
<div class="byg_post_btn">
<button id="buysubmit_btn" class="pn btn_pn mgrey">
{lang need_money} <strong id="desamount" class="xi1">0.00</strong> {lang money_unit}
</button>
</div>
</form>
<script type="text/javascript">
(function() {
$('#amount').on('input',function() {
var amount = $('#amount').val().replace(/^0/, '');
amount = parseInt(amount);
$('#desamount').html(!isNaN(amount) ? amount * $_G['setting']['inviteconfig']['invitecodeprice'] : 0);
});
})();
</script>
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,144 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<span>{lang faq}</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<div class="byg_faq_nav">
<style type="text/css">
.byg_faq_nav{ width: 100%; height: .32rem; line-height: .2rem; margin-bottom: .1rem; padding: .06rem 0; background: #fff; border-bottom: 1px solid #eee; overflow-y: hidden; overflow-x: auto; white-space: nowrap;}
.byg_faq_nav a{ width: auto; height: .2rem; margin: 0 .11rem 0 .01rem; padding: .06rem .1rem; display: inline-block; font-size: .16rem; position: relative; vertical-align: middle;}
.byg_faq_nav a:last-child{ margin-right: 0;}
.byg_faq_nav .a{ color: {$_G['style']['zhuti']};}
.byg_faq_nav .a:after{ content: "."; position: absolute; top: .26rem; left: 50%; display: block; width: .16rem; height: .04rem; margin-left: -.08rem; line-height: 999em; background: {$_G['style']['zhuti']}; color: #fff; border-radius: .02rem;}
.byg_faq_search{ margin: .1rem 0; padding: .1rem; background: #fff;}
.byg_faq_search .px{ margin: 0; padding: 0; width: 2.95rem; height: .3rem; line-height: .3rem; text-indent: .05rem; border: .01rem solid #ddd; font-size: .15rem; border-radius: .02rem;}
.byg_faq_search .pn{ width: .5rem; line-height: .32rem; height: .32rem;}
.byg_faq_list{ background: #fff;}
.byg_faq_list_h1{ padding: .1rem; font-size: .17rem; font-weight: 700;}
.byg_faq_list_li{ padding: .1rem; border-top: 1px solid #eee;}
.byg_faq_list_li_t .z{ width: 3.2rem; line-height: .24rem; font-size: .16rem;}
.byg_faq_list_li_sub .byg_faq_list_li_t .z{ padding-left: .2rem; width: 3rem; font-size: .15rem;}
.byg_faq_list_li_t .y{ width: .1rem; height: .1rem; margin: .04rem; padding: .03rem; background: #f1f1f1; border-radius: 50%; transition: transform 0.2s; -webkit-transition: transform 0.2s; -o-transition: transform 0.2s; -moz-transition: transform 0.2s;}
.byg_faq_list_li_t .y.on{ -webkit-transform: rotateZ(90deg); -moz-transform: rotateZ(90deg); -o-transform: rotateZ(90deg); -ms-transform: rotateZ(90deg); transform: rotateZ(90deg);}
.byg_faq_list_li_b{ position: relative; overflow: hidden; margin: .08rem 0 .04rem; padding: .08rem .1rem; border: 1px dashed #eee; background: #ffe; border-radius: .02rem;}
.byg_faq_list_li_b a{ color: #06c;}
</style>
<div class="swiper-wrapper">
<a href="misc.php?mod=faq" class="{if empty($_GET['action'])}a{/if}">{lang all}</a>
<!--{loop $faqparent $fpid $parent}-->
<a href="misc.php?mod=faq&action=faq&id=$fpid" class="{if $_GET[id] == $fpid}a{/if}">$parent[title]</a>
<!--{/loop}-->
</div>
</div>
<link rel="stylesheet" href="{$_G['style']['styleimgdir']}/swiper.min.css" type="text/css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<script type="text/javascript">
jQuery(".byg_faq_nav a").addClass("swiper-slide");
var tab_initial = jQuery(".byg_faq_nav .a").length > 0 ? jQuery(".byg_faq_nav .a").index() : 0;
var byg_faq_nav = new Swiper('.byg_faq_nav', {
initialSlide : tab_initial,
slidesPerView : 'auto',
freeMode : true,
});
</script>
<div class="byg_faq_search cl">
<form method="post" autocomplete="off" action="misc.php?mod=faq&action=search" class="cl">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="searchtype" value="all" />
<input type="text" name="keyword" value="$keyword" class="px z" />
<button type="submit" name="searchsubmit" class="pn y" value="yes"><em>{lang search}</em></button>
</form>
</div>
<div class="byg_faq_list cl">
<!--{if empty($_GET[action])}-->
<h1 class="byg_faq_list_h1">{lang all}{lang faq}</h1>
<ul class="cl">
<!--{loop $faqparent $fpid $parent}-->
<li class="byg_faq_list_li">
<div class="byg_faq_list_li_t cl">
<h2 class="z"><a href="misc.php?mod=faq&action=faq&id=$fpid">$parent[title]</a></h2>
<img src="{$_G['style']['styleimgdir']}/jinru.png" alt="开关" class="y" />
</div>
</li>
<!--{loop $faqsub[$parent[id]] $sub}-->
<li class="byg_faq_list_li byg_faq_list_li_sub">
<div class="byg_faq_list_li_t cl">
<h3 class="z"><a href="misc.php?mod=faq&action=faq&id=$sub[fpid]&messageid=$sub[id]">$sub[title]</a></h3>
<img src="{$_G['style']['styleimgdir']}/jinru.png" alt="开关" class="y" />
</div>
</li>
<!--{/loop}-->
<!--{/loop}-->
</ul>
<!--{elseif $_GET[action] == 'faq'}-->
<h1 class="byg_faq_list_h1">$ctitle</h1>
<ul class="cl">
<!--{loop $faqlist $faq}-->
<li class="byg_faq_list_li">
<div id="announce{$faq[id]}" class="byg_faq_list_li_t cl">
<h3 class="z">{$faq[title]}</h3>
<img src="{$_G['style']['styleimgdir']}/jinru.png" alt="开关" id="announce{$faq[id]}_i" class="y{if $_GET[messageid] == $faq[id]} on{/if}" />
</div>
<div id="announce{$faq[id]}_c" class="byg_faq_list_li_b cl" {if $_GET[messageid] != $faq[id]}style="display: none"{/if}>
{$faq[message]}
</div>
</li>
<!--{/loop}-->
</ul>
<!--{elseif $_GET[action] == 'search'}-->
<h1 class="byg_faq_list_h1">{lang keyword_faq}</h1>
<ul class="cl">
<!--{if $faqlist}-->
<!--{loop $faqlist $faq}-->
<li class="byg_faq_list_li">
<div id="announce{$faq[id]}" class="byg_faq_list_li_t cl">
<h3 class="z">{$faq[title]}</h3>
<img src="{$_G['style']['styleimgdir']}/jinru.png" alt="开关" id="announce{$faq[id]}_i" class="y on" />
</div>
<div id="announce{$faq[id]}_c" class="byg_faq_list_li_b cl">
{$faq[message]}
</div>
</li>
<!--{/loop}-->
<!--{else}-->
<li class="byg_faq_list_li">{lang faq_search_nomatch}</li>
<!--{/if}-->
</ul>
<!--{/if}-->
<script type="text/javascript">
jQuery('.byg_faq_list_li_t').on('click', function() {
var an = jQuery(this);
var an_i = jQuery('#' + an.attr('id') + '_i');
var an_c = jQuery('#' + an.attr('id') + '_c');
if(an_c.css('display') == 'none') {
an_c.css('display', 'block');
an_i.addClass('on');
} else {
an_c.css('display', 'none');
an_i.removeClass('on');
}
});
</script>
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,554 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{hook/global_footer_mobile}-->
<!--{eval $useragent = strtolower($_SERVER['HTTP_USER_AGENT']);$clienturl = ''}-->
<!--{if strpos($useragent, 'iphone') !== false || strpos($useragent, 'ios') !== false}-->
<!--{eval $clienturl = $_G['cache']['mobileoem_data']['iframeUrl'] ? $_G['cache']['mobileoem_data']['iframeUrl'].'&platform=ios' : 'https://www.discuz.vip/mobile.php?platform=ios';}-->
<!--{elseif strpos($useragent, 'android') !== false}-->
<!--{eval $clienturl = $_G['cache']['mobileoem_data']['iframeUrl'] ? $_G['cache']['mobileoem_data']['iframeUrl'].'&platform=android' : 'https://www.discuz.vip/mobile.php?platform=android';}-->
<!--{elseif strpos($useragent, 'windows phone') !== false}-->
<!--{eval $clienturl = $_G['cache']['mobileoem_data']['iframeUrl'] ? $_G['cache']['mobileoem_data']['iframeUrl'].'&platform=windowsphone' : 'https://www.discuz.vip/mobile.php?platform=windowsphone';}-->
<!--{/if}-->
<div id="mask" style="display:none;"></div>
<!--{if $_G['style']['wei_daohang'] == "on"}-->
<!--{if !$nofooter}-->
<!--{if !(CURSCRIPT == 'plugin' && isset($_G['setting']['mobile']['forum']))}-->
<div class="footer">
<div>
<!--{if !$_G[uid] && !$_G['connectguest']}-->
<a href="forum.php">{lang mobilehome}</a> | <a href="member.php?mod=logging&action=login" title="{lang login}">{lang login}</a> | <a href="<!--{if $_G['setting']['regstatus']}-->member.php?mod={$_G[setting][regname]}<!--{else}-->javascript:;" style="color:#D7D7D7;<!--{/if}-->" title="{$_G['setting']['reglinkname']}">{lang register}</a>
<!--{else}-->
<a href="home.php?mod=space&uid={$_G[uid]}&do=profile&mycenter=1">{$_G['member']['username']}</a> , <a href="member.php?mod=logging&action=logout&formhash={FORMHASH}" title="{lang logout}" class="dialog">{lang logout}</a>
<!--{/if}-->
</div>
<div>
<!--{if !(isset($_G['setting']['mobile']['forum']))}-->
<a href="{$_G['setting']['mobile']['simpletypeurl'][0]}">{lang no_simplemobiletype}</a> |
<!--{/if}-->
<a href="javascript:;" style="color:#D7D7D7;">{lang mobile2version}</a> |
<a href="{$_G['setting']['mobile']['nomobileurl']}">{lang nomobiletype}</a>
</div>
</div>
<!--{/if}-->
<!--{/if}-->
<!--{/if}-->
<!--{if CURSCRIPT != 'plugin'}-->
<!--{eval $stats_code = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版统计代码','summary');}-->
<!--{if $stats_code}-->
{$stats_code}
<!--{/if}-->
<!--{if (CURSCRIPT == 'forum' && (CURMODULE == 'viewthread' || CURMODULE == 'post')) || (CURSCRIPT == 'portal' && CURMODULE == 'view')}-->
<div class="post_footer"></div>
<!--{else}-->
<!--【尾部导航栏开始】-->
<div class="footer_xin">
<ul class="footer_nav" id="footer_nav">
<!--{eval}-->
$footer_nav1 = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版尾部导航1','param');
$footer_nav2 = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版尾部导航2','param');
$footer_nav3 = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版尾部导航3','param');
$footer_nav4 = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版尾部导航4','param');
$footer_nav5 = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版尾部导航5','param');
<!--{/eval}-->
<li>
<!--{if $footer_nav1}-->
<!--{if $footer_nav1['url'] == 'portal.php?mod=index'}-->
<a href="{$footer_nav1['url']}" title="$_G[setting][bbname]" class="<!--{if CURSCRIPT == 'portal' && CURMODULE == 'index'}-->footer_on<!--{/if}-->" target="{$footer_nav1['atarget']}">
<!--{else}-->
<a href="{$footer_nav1['url']}" target="{$footer_nav1['atarget']}">
<!--{/if}-->
<img src="{$footer_nav1['pic']}" alt="{$footer_nav1['text']}"/><span>{$footer_nav1['text']}</span></a>
<!--{else}-->
<a href="portal.php?mod=index" title="$_G[setting][bbname]" class="<!--{if CURSCRIPT == 'portal' && CURMODULE == 'index'}-->footer_on<!--{/if}-->">
<!--{if CURSCRIPT == 'portal' && CURMODULE == 'index'}-->
<i class="iconfont icon-zhuye-on"></i>
<!--{else}-->
<i class="iconfont icon-zhuye-off"></i>
<!--{/if}-->
<span>首页</span>
</a>
<!--{/if}-->
</li>
<li>
<!--{if $footer_nav2}-->
<!--{if $footer_nav2['url'] == 'forum.php?forumlist=1'}-->
<a href="{$footer_nav2['url']}" title="$_G[setting][bbname]-论坛" class="<!--{if CURSCRIPT == 'forum' && CURMODULE == 'index'}-->footer_on<!--{/if}-->" target="{$footer_nav2['atarget']}">
<!--{else}-->
<a href="{$footer_nav2['url']}" target="{$footer_nav2['atarget']}">
<!--{/if}-->
<img src="{$footer_nav2['pic']}" alt="{$footer_nav2['text']}"/><span>{$footer_nav2['text']}</span></a>
<!--{else}-->
<a href="forum.php?forumlist=1" title="$_G[setting][bbname]-论坛" class="<!--{if CURSCRIPT == 'forum' && CURMODULE == 'index'}-->footer_on<!--{/if}-->">
<!--{if CURSCRIPT == 'forum' && CURMODULE == 'index'}-->
<i class="iconfont icon-luntan-on"></i>
<!--{else}-->
<i class="iconfont icon-luntan-off"></i>
<!--{/if}-->
<span>论坛</span>
</a>
<!--{/if}-->
</li>
<li>
<div class="footer_fatie">
<!--{if $footer_nav3}-->
<!--{if $footer_nav3['url'] == 'forum.php?mod=misc&action=nav'}-->
<a href="{$footer_nav3['url']}" title="发表新帖" class="<!--{if (CURSCRIPT == 'forum' && CURMODULE == 'misc' && $_GET['action'] == 'nav') || (CURSCRIPT == 'forum' && CURMODULE == 'post')}-->footer_on<!--{/if}-->" target="{$footer_nav3['atarget']}">
<!--{else}-->
<a href="{$footer_nav3['url']}" target="{$footer_nav3['atarget']}">
<!--{/if}-->
<img src="{$footer_nav3['pic']}" alt="{$footer_nav3['text']}"/><span>{$footer_nav3['text']}</span></a>
<!--{else}-->
<!--{if CURSCRIPT == 'forum' && CURMODULE == 'forumdisplay'}-->
<a href="forum.php?mod=post&action=newthread&fid=$_G[fid]" title="{lang send_threads}" onclick="return landingPrompt(1);" class="<!--{if (CURSCRIPT == 'forum' && CURMODULE == 'misc' && $_GET['action'] == 'nav') || (CURSCRIPT == 'forum' && CURMODULE == 'post')}-->footer_on<!--{/if}-->">
<!--{else}-->
<a href="forum.php?mod=misc&action=nav" title="发表新帖" class="<!--{if (CURSCRIPT == 'forum' && CURMODULE == 'misc' && $_GET['action'] == 'nav') || (CURSCRIPT == 'forum' && CURMODULE == 'post')}-->footer_on<!--{/if}-->">
<!--{/if}-->
<!--{if (CURSCRIPT == 'forum' && CURMODULE == 'misc' && $_GET['action'] == 'nav') || (CURSCRIPT == 'forum' && CURMODULE == 'post')}-->
<i class="iconfont icon-fatie-on"></i>
<!--{else}-->
<i class="iconfont icon-fatie-off"></i>
<!--{/if}-->
<span>发帖</span>
</a>
<!--{/if}-->
</div>
</li>
<li>
<!--{if $footer_nav4}-->
<!--{if $footer_nav4['url'] == 'search.php?mod=forum'}-->
<a href="{$footer_nav4['url']}" title="站内搜索" class="<!--{if CURSCRIPT == 'search'}-->footer_on<!--{/if}-->" target="{$footer_nav4['atarget']}">
<!--{else}-->
<a href="{$footer_nav4['url']}" target="{$footer_nav4['atarget']}">
<!--{/if}-->
<img src="{$footer_nav4['pic']}" alt="{$footer_nav4['text']}"/><span>{$footer_nav4['text']}</span></a>
<!--{else}-->
<a href="search.php?mod=forum" title="站内搜索" class="<!--{if CURSCRIPT == 'search'}-->footer_on<!--{/if}-->">
<!--{if CURSCRIPT == 'search'}-->
<i class="iconfont icon-sousuo-on"></i>
<!--{else}-->
<i class="iconfont icon-sousuo-off"></i>
<!--{/if}-->
<span>搜索</span>
</a>
<!--{/if}-->
</li>
<li>
<!--{if $footer_nav5}-->
<!--{if $footer_nav5['url'] == 'home.php?mod=space&do=profile&mycenter=1'}-->
<a href="{$footer_nav5['url']}" title="个人中心" onclick="return landingPrompt();" class="<!--{if CURSCRIPT == 'home'}-->footer_on<!--{/if}-->" target="{$footer_nav5['atarget']}">
<!--{else}-->
<a href="{$footer_nav5['url']}" target="{$footer_nav5['atarget']}">
<!--{/if}-->
<img src="{$footer_nav5['pic']}" alt="{$footer_nav5['text']}"/><span>{$footer_nav5['text']}</span></a>
<!--{else}-->
<a href="home.php?mod=space&do=profile&mycenter=1" title="个人中心" onclick="return landingPrompt();" class="<!--{if CURSCRIPT == 'home'}-->footer_on<!--{/if}-->">
<!--{if CURSCRIPT == 'home'}-->
<i class="iconfont icon-wode-on"></i>
<!--{else}-->
<i class="iconfont icon-wode-off"></i>
<!--{/if}-->
<span>我的</span>
</a>
<!--{/if}-->
</li>
</ul>
</div>
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/footer.js"></script>
<!--【尾部导航栏结束】-->
<!--{/if}-->
<!--【悬浮按钮开始】-->
<div class="byg_scrolltop">
<!--{if CURSCRIPT == 'forum' && CURMODULE == 'forumdisplay'}-->
<a href="javascript:;" class="scrolltop_order"><img src="{$_G['style']['styleimgdir']}/bai_paixu.png" alt="排序"/><span>排序</span></a>
<!--{/if}-->
<!--{if CURSCRIPT == 'forum' && CURMODULE == 'guide'}-->
<a href="javascript:;" class="scrolltop_guide"><img src="{$_G['style']['styleimgdir']}/bai_paixu.png" alt="排序"/><span>排序</span></a>
<!--{/if}-->
<a href="javascript:;" class="scrolltop_side"><i class="iconfont icon-daohang"></i><span>导航</span></a>
<a href="javascript:;" onclick="topFunction();" class="scrolltop_top"><i class="iconfont icon-top"></i><span>顶部</span></a>
</div>
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/scrolltop.js"></script>
<!--【悬浮按钮结束】-->
<!--{if CURSCRIPT == 'forum' && CURMODULE == 'forumdisplay'}-->
<div class="scrolltop_order_pop">
<div class="scrolltop_order_tit">列表排序</div>
<div class="scrolltop_order_c">
<ul>
<li class="cl">
<span>类型:</span>
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if !$_GET['filter']}class="on"{/if}>全部主题</a>
<!--{if $showpoll}--><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=poll$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['specialtype'] == 'poll'}class="on"{/if}>投票</a><!--{/if}-->
<!--{if $showtrade}--><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=trade$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['specialtype'] == 'trade'}class="on"{/if}>商品</a><!--{/if}-->
<!--{if $showreward}--><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['specialtype'] == 'reward'}class="on"{/if}>悬赏</a><!--{/if}-->
<!--{if $showactivity}--><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=activity$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['specialtype'] == 'activity'}class="on"{/if}>活动</a><!--{/if}-->
<!--{if $showdebate}--><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=debate$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['specialtype'] == 'debate'}class="on"{/if}>辩论</a><!--{/if}-->
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=hot" {if $_GET['filter'] == 'hot'}class="on"{/if}>热帖</a>
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=digest&digest=1$forumdisplayadd[digest]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['filter'] == 'digest'}class="on"{/if}>精华</a>
</li>
<!--{if $_GET['specialtype'] == 'reward'}-->
<li class="cl">
<span>悬赏:</span>
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['rewardtype'] == ''}class="on"{/if}>全部悬赏</a>
<!--{if $showpoll}--><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}&rewardtype=1" {if $_GET['rewardtype'] == '1'}class="on"{/if}>进行中</a><!--{/if}-->
<!--{if $showtrade}--><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}&rewardtype=2" {if $_GET['rewardtype'] == '2'}class="on"{/if}>已解决</a><!--{/if}-->
</li>
<!--{/if}-->
<li class="cl">
<span>排序:</span>
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=lastpost&orderby=lastpost$forumdisplayadd[lastpost]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['orderby'] == 'lastpost'}class="on"{/if}>最新回复</a>
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=author&orderby=dateline$forumdisplayadd[author]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['orderby'] == 'dateline'}class="on"{/if}>发帖时间</a>
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=reply&orderby=replies$forumdisplayadd[reply]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['orderby'] == 'replies'}class="on"{/if}>回复数</a>
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=reply&orderby=views$forumdisplayadd[view]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['orderby'] == 'views'}class="on"{/if}>查看数</a>
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=heat&orderby=heats$forumdisplayadd[heat]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['orderby'] == 'heats'}class="on"{/if}>热门度</a>
</li>
<li class="cl">
<span>时间:</span>
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if !$_GET['dateline']}class="on"{/if}>全部时间</a>
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline&dateline=86400$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['dateline'] == '86400'}class="on"{/if}>一天</a>
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline&dateline=172800$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['dateline'] == '172800'}class="on"{/if}>两天</a>
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline&dateline=604800$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['dateline'] == '604800'}class="on"{/if}>一周</a>
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline&dateline=2592000$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['dateline'] == '2592000'}class="on"{/if}>一个月</a>
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_GET['orderby']}&filter=dateline&dateline=7948800$forumdisplayadd[dateline]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}" {if $_GET['dateline'] == '7948800'}class="on"{/if}>三个月</a>
</li>
</ul>
</div>
</div>
<div class="scrolltop_order_cover"></div>
<script type="text/javascript">
jQuery(".scrolltop_order,.scrolltop_order_cover").click(function(){jQuery(".scrolltop_order_pop,.scrolltop_order_cover").slideToggle(0);});
</script>
<!--{/if}-->
<!--{if CURSCRIPT == 'forum' && CURMODULE == 'guide'}-->
<div class="scrolltop_guide_pop">
<div class="scrolltop_order_tit">列表排序</div>
<div class="scrolltop_order_c">
<ul>
<li class="cl">
<a href="forum.php?mod=guide" {if !$_GET['view']}class="on"{/if}>默认</a>
<a href="forum.php?mod=guide&view=newthread" {if $_GET['view'] == 'newthread'}class="on"{/if}>最新发表</a>
<a href="forum.php?mod=guide&view=sofa" {if $_GET['view'] == 'sofa'}class="on"{/if}>抢沙发</a>
<a href="forum.php?mod=guide&view=new" {if $_GET['view'] == 'new'}class="on"{/if}>最新回复</a>
<a href="forum.php?mod=guide&view=hot" {if $_GET['view'] == 'hot'}class="on"{/if}>最新热门</a>
<a href="forum.php?mod=guide&view=digest" {if $_GET['view'] == 'digest'}class="on"{/if}>最新精华</a>
<a href="forum.php?mod=guide&view=my" onclick="return landingPrompt();" {if $_GET['view'] == 'my'}class="on"{/if}>我的帖子</a>
</li>
</ul>
</div>
</div>
<div class="scrolltop_guide_cover"></div>
<script type="text/javascript">
jQuery(".scrolltop_guide,.scrolltop_guide_cover").click(function(){jQuery(".scrolltop_guide_pop,.scrolltop_guide_cover").slideToggle(0);});
</script>
<!--{/if}-->
<!--【侧边导航栏开始】-->
<div class="byg_sidenav">
<div class="sidenav-brand">
<!--{if $_G[uid]}-->
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" class="sidenav_t cl">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/><span>{$_G['username']}</span>
</a>
<div class="sidenav_c cl">
<a href="member.php?mod=logging&action=logout&formhash={FORMHASH}"><i class="iconfont icon-tuichu"></i>退出登录</a>
<!--{else}-->
<a href="member.php?mod=logging&action=login" onclick="return landingPrompt();" class="sidenav_t cl">
<img src="{$_G['style']['styleimgdir']}/middle.gif" alt="头像"/><span>游客</span>
</a>
<div class="sidenav_c cl">
<a href="member.php?mod=logging&action=login"><i class="iconfont icon-denglu"></i>登录</a>
<a href="member.php?mod={$_G[setting][regname]}"><i class="iconfont icon-zhuce"></i>注册</a>
<!--{/if}-->
<a href="javascript:;" onclick="bygjsw_switch_dark();" id="bygjsw_dark_btn"><!--{if $bygjsw_dark_on == 1}--><img src="{$_G[style][styleimgdir]}/bai_bright.png" alt="亮色"/>亮色<!--{else}--><img src="{$_G[style][styleimgdir]}/bai_dark.png" alt="暗色"/>暗色<!--{/if}--></a>
</div>
<script type="text/javascript">
function bygjsw_switch_dark(){
if(typeof bygjsw_dark_on == 'undefined') {
alert('此页面不支持暗色模式');
} else if(bygjsw_dark_on == 1) {
bygjsw_dark_on = 0;
document.cookie = "bygjsw_dark_cook=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/";
document.getElementById("bygjsw_dark_css").href = "";
document.getElementById("bygjsw_dark_btn").innerHTML = '<img src="{$_G[style][styleimgdir]}/bai_dark.png" alt="暗色"/>暗色';
} else {
bygjsw_dark_on = 1;
document.cookie = "bygjsw_dark_cook=1; expires=" + new Date(new Date().getTime() + 720 * 3600000).toUTCString() + "; path=/";
document.getElementById("bygjsw_dark_css").href = "{$_G['style']['styleimgdir']}/dark.css?{VERHASH}";
document.getElementById("bygjsw_dark_btn").innerHTML = '<img src="{$_G[style][styleimgdir]}/bai_bright.png" alt="亮色"/>亮色';
}
}
</script>
<div class="byg_bl_lang">
<div class="byg_bl_lang1"></div>
<div class="byg_bl_lang2"></div>
</div>
</div>
<ul class="sidenav-menu">
<!--{if CURSCRIPT == 'forum' && CURMODULE == 'viewthread'}-->
<li>
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]&<!--{eval echo rawurldecode($_GET['extra']);}-->"><i class="iconfont icon-fanhui2"></i>版块列表</a>
</li>
<!--{/if}-->
<!--{eval}-->
$side_nav1 = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版侧边导航1','param');
$side_nav2 = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版侧边导航2','param');
$side_nav3 = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版侧边导航3','param');
$side_nav4 = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版侧边导航4','param');
$side_nav5 = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版侧边导航5','param');
$side_nav6 = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版侧边导航6','param');
$side_nav7 = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版侧边导航7','param');
$side_nav8 = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版侧边导航8','param');
<!--{/eval}-->
<!--{if $side_nav1}-->
<!--{if $side_nav1['text']}-->
<li><a href="{$side_nav1['url']}" target="{$side_nav1['atarget']}"><img src="{$side_nav1['pic']}" alt="{$side_nav1['text']}"/>{$side_nav1['text']}</a></li>
<!--{/if}-->
<!--{else}-->
<li><a href="portal.php?mod=index"><i class="iconfont icon-zhuye-off"></i>网站首页</a></li>
<!--{/if}-->
<!--{if $side_nav2}-->
<!--{if $side_nav2['text']}-->
<li><a href="{$side_nav2['url']}" target="{$side_nav2['atarget']}"><img src="{$side_nav2['pic']}" alt="{$side_nav2['text']}"/>{$side_nav2['text']}</a></li>
<!--{/if}-->
<!--{else}-->
<li><a href="forum.php?forumlist=1"><i class="iconfont icon-luntan-off"></i>论坛版块</a></li>
<!--{/if}-->
<!--{if $side_nav3}-->
<!--{if $side_nav3['text']}-->
<li><a href="{$side_nav3['url']}" target="{$side_nav3['atarget']}"><img src="{$side_nav3['pic']}" alt="{$side_nav3['text']}"/>{$side_nav3['text']}</a></li>
<!--{/if}-->
<!--{else}-->
<li><a href="search.php?mod=forum"><i class="iconfont icon-sousuo"></i>站内搜索</a></li>
<!--{/if}-->
<!--{if $side_nav4}-->
<!--{if $side_nav4['text']}-->
<li><a href="{$side_nav4['url']}" target="{$side_nav4['atarget']}"><img src="{$side_nav4['pic']}" alt="{$side_nav4['text']}"/>{$side_nav4['text']}</a></li>
<!--{/if}-->
<!--{else}-->
<li><a href="home.php?mod=space&uid={$_G[uid]}&do=profile&mycenter=1" onclick="return landingPrompt();"><i class="iconfont icon-wode"></i>个人中心</a></li>
<!--{/if}-->
<!--{if $side_nav5}-->
<!--{if $side_nav5['text']}-->
<li><a href="{$side_nav5['url']}" target="{$side_nav5['atarget']}"><img src="{$side_nav5['pic']}" alt="{$side_nav5['text']}"/>{$side_nav5['text']}</a></li>
<!--{/if}-->
<!--{else}-->
<li><a href="home.php?mod=space&do=pm" onclick="return landingPrompt();" style="position:relative;"><i class="iconfont icon-xiaoxi"></i><!--{if $_G[member][newpm]}--><img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/><!--{/if}-->我的消息</a></li>
<!--{/if}-->
<!--{if $side_nav6}-->
<!--{if $side_nav6['text']}-->
<li><a href="{$side_nav6['url']}" target="{$side_nav6['atarget']}"><img src="{$side_nav6['pic']}" alt="{$side_nav6['text']}"/>{$side_nav6['text']}</a></li>
<!--{/if}-->
<!--{else}-->
<li><a href="{if !$_G['member']['newprompt_num']['post'] && $_G['member']['newprompt_num']['friend']}home.php?mod=space&do=notice&view=interactive&type=friend{else}home.php?mod=space&do=notice&view=mypost&type=post{/if}" onclick="return landingPrompt();" style="position:relative;"><i class="iconfont icon-tixing"></i><!--{if $post_notice_new}--><img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/><!--{/if}-->我的提醒</a></li>
<!--{/if}-->
<!--{if $side_nav7}-->
<!--{if $side_nav7['text']}-->
<li><a href="{$side_nav7['url']}" target="{$side_nav7['atarget']}"><img src="{$side_nav7['pic']}" alt="{$side_nav7['text']}"/>{$side_nav7['text']}</a></li>
<!--{/if}-->
<!--{else}-->
<li><a href="forum.php?mod=misc&action=nav"><i class="iconfont icon-fatie"></i>发表新帖</a></li>
<!--{/if}-->
<!--{if $side_nav8}-->
<!--{if $side_nav8['text']}-->
<li><a href="{$side_nav8['url']}" target="{$side_nav8['atarget']}"><img src="{$side_nav8['pic']}" alt="{$side_nav8['text']}"/>{$side_nav8['text']}</a></li>
<!--{/if}-->
<!--{else}-->
<li><a href="<!--{if CURSCRIPT == 'portal' && CURMODULE == 'index'}-->forum.php?mobile=no<!--{else}-->{$_G['setting']['mobile']['nomobileurl']}<!--{/if}-->"><i class="iconfont icon-diannao"></i>看电脑版</a></li>
<!--{/if}-->
</ul>
</div>
<div class="sidenav_overlay"></div>
<script type="text/javascript">
jQuery(".shouye,.scrolltop_side,.post_sidenav").click(function(){jQuery(".byg_sidenav,.sidenav_overlay").addClass("show");});
jQuery(".shouye,.scrolltop_side,.post_sidenav").click(function(){jQuery("html").addClass("cover_overflow");});
jQuery(".sidenav_overlay").click(function(){jQuery(".byg_sidenav,.sidenav_overlay").removeClass("show");});
jQuery(".sidenav_overlay").click(function(){jQuery("html").removeClass("cover_overflow");});
</script>
<!--【侧边导航栏结束】-->
<div class="cover_top" style="z-index:98;"></div>
<div class="landingPrompt">
<p>您还未登录,立即登录?</p>
<div>
<a href="member.php?mod=logging&action=login" class="landing_on">确定</a>
<a href="javascript:;" class="landing_off">取消</a>
</div>
</div>
<script type="text/javascript">
function landingPrompt(data) {
if(data == 1 && <!--{if $_G['group']['allowpost']}-->true<!--{else}-->false<!--{/if}-->) {
return true;
} else if(data == 2 && <!--{if $allowpostreply}-->true<!--{else}-->false<!--{/if}-->) {
return true;
} else {
if($_G[uid]) {
return true;
} else {
jQuery(".cover_top").slideToggle(0);
jQuery(".landingPrompt").slideToggle(500);
return false;
}
}
}
jQuery(".cover_top,.landing_off").click(function(){jQuery(".cover_top,.landingPrompt").slideToggle(0);});
</script>
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/header.js"></script>
<!--{if CURSCRIPT == 'portal' && CURMODULE == 'index'}-->
<link rel="stylesheet" type="text/css" href="{$_G['style']['styleimgdir']}/swiper.min.css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/lanjiazai.js"></script>
<script type="text/javascript">
jQuery(".lanjiazai").lazyload({
effect:"fadeIn",
threshold: 1100
});
</script>
<!--{if $slide}-->
<script type="text/javascript">
var sj_slide = new Swiper('.sj_slide_bd', {
loop : true,
speed: 500,
autoplay: {
<!--{if count($slide) < 2}-->
delay: 3600000,
<!--{else}-->
delay: 4000,
<!--{/if}-->
disableOnInteraction: false,
},
pagination: {
el: '.sj_slide_hd',
clickable :true,
},
lazy: {
loadPrevNext: true,
},
});
</script>
<!--{/if}-->
<!--{if $b7}-->
<script type="text/javascript">
var sj_headline = new Swiper('.sj_headline', {
direction : 'vertical',
slidesPerView : 2,
loop: true,
autoplay: true,
speed: 500,
});
</script>
<!--{/if}-->
<script src="{$_G['style']['styleimgdir']}/slide.js" type="text/javascript"></script>
<!--{if $b2_bid || $b3_bid || $b4_bid}-->
<script type="text/javascript">
TouchSlide({
slideCell:"#tabBox1",
titCell:".tabBox_hd ul li",
mainCell:".tabBox_bd",
effect:"leftLoop",
delayTime:500
});
</script>
<!--{/if}-->
<!--{if $b6}-->
<script type="text/javascript">
TouchSlide({
slideCell:"#portal_activity",
mainCell:".ac_bd ul",
titCell:".ac_hd ul",
effect:"leftLoop",
autoPage:true,
autoPlay:true,
<!--{if count($b6) < 2}-->
interTime: 3600000,
<!--{else}-->
interTime:5000,
<!--{/if}-->
delayTime:500
});
</script>
<!--{/if}-->
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/byg_into.js"></script>
<!--{if $block_update_bid}-->
<script type="text/javascript">
window.onload = function(){
setTimeout(function(){
jQuery.ajax({
url: 'portal.php?mod=index&bid=' + $block_update_bid + '&byg=1&mobile=2',
type: 'GET',
dataType: 'html',
success: function(s){}
});
}, 1000);
}
</script>
<!--{/if}-->
<!--{/if}-->
<!--{if CURSCRIPT == 'forum' && CURMODULE == 'index'}-->
<!--{if $forum_gg1 || $forum_gg2 || $forum_gg3}-->
<!--{eval}-->
$forum_gg_num = 0;
if($forum_gg1){ $forum_gg_num++;}
if($forum_gg2){ $forum_gg_num++;}
if($forum_gg3){ $forum_gg_num++;}
<!--{/eval}-->
<link rel="stylesheet" type="text/css" href="{$_G['style']['styleimgdir']}/swiper.min.css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<script type="text/javascript">
var forum_gg_sl_bd = new Swiper('.forum_gg_sl_bd', {
loop : true,
speed: 800,
autoplay: {
<!--{if $forum_gg_num < 2}-->
delay: 3600000,
<!--{else}-->
delay: 3000,
<!--{/if}-->
disableOnInteraction: false,
},
});
</script>
<!--{/if}-->
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/byg_into.js"></script>
<!--{/if}-->
<!--{if CURSCRIPT == 'forum' && CURMODULE == 'viewthread'}-->
<script type="text/javascript">
if(jQuery(".postalbum_h_back").length > 0) {
jQuery(".postalbum_h_back").attr("href", "javascript:;").attr("onclick", "history.back()");
}
</script>
<!--{/if}-->
<!--{if !$_G['setting']['bbclosed'] && !$_G['member']['freeze'] && !$_G['member']['groupexpiry']}-->
<!--{if $_G[uid] && !isset($_G['cookie']['checkpm'])}-->
<script type="text/javascript" src="home.php?mod=spacecp&ac=pm&op=checknewpm&rand=$_G[timestamp]"></script>
<!--{/if}-->
<!--{/if}-->
<!--{/if}-->
</body>
</html>
<!--{eval updatesession();}-->
<!--{if defined('IN_MOBILE')}-->
<!--{eval include_once(DISCUZ_ROOT.'./template/bygsjw_sj/touch/php/footer_url.php');}-->
<!--{eval output();}-->
<!--{else}-->
<!--{eval output_preview();}-->
<!--{/if}-->

View File

@@ -0,0 +1,54 @@
<?php echo 'Discuz';exit;?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Cache-control" content="{if $_G['setting']['mobile'][mobilecachetime] > 0}{$_G['setting']['mobile'][mobilecachetime]}{else}no-cache{/if}" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<meta name="format-detection" content="telephone=no" />
<title><!--{if !empty($navtitle)}-->$navtitle - <!--{/if}--><!--{if empty($nobbname)}--> $_G['setting']['bbname']<!--{/if}--> {lang waptitle}</title>
<meta name="keywords" content="{if !empty($metakeywords)}{echo dhtmlspecialchars($metakeywords)}{/if}" />
<meta name="description" content="{if !empty($metadescription)}{echo dhtmlspecialchars($metadescription)} {/if},$_G['setting']['bbname']" />
<base href="{$_G['siteurl']}" />
<!--{if CURSCRIPT == 'plugin'}-->
<link rel="stylesheet" href="{STATICURL}image/mobile/style.css?{VERHASH}" type="text/css" media="all">
<!--{if isset($_G['setting']['mobile']['forum'])}-->
<link rel="stylesheet" href="{STATICURL}image/mobile/font/dzmicon.css?{VERHASH}" type="text/css" media="all">
<!--{/if}-->
<!--{else}-->
<script src="{$_G['style']['styleimgdir']}/flexible.js?{VERHASH}"></script>
<style>body{ --dz-BG-body:#eee; --dz-BG-color: $_G['style']['zhuti']; --dz-BG-0:#ffffff; --dz-BG-1:#333; --dz-BG-2:#FF5656; --dz-BG-3:#FF9900; --dz-BG-4:#B3CC0D; --dz-BG-5:#f3f3f3; --dz-FC-color: $_G['style']['zhuti']; --dz-FC-fff:#fff; --dz-FC-333:#333; --dz-FC-666:#666; --dz-FC-777:#777; --dz-FC-888:#888; --dz-FC-999:#999; --dz-FC-aaa:#aaa; --dz-FC-bbb:#bbb; --dz-FC-ccc:#ccc; --dz-FC-ddd:#ddd; --dz-BOR-ed:#ededed; --dz-WEIBG-color: $_G['style']['wei'];}</style>
<link rel="stylesheet" href="{$_G['style']['styleimgdir']}/default.css?{VERHASH}" type="text/css" media="all">
<link rel="stylesheet" href="{$_G['style']['styleimgdir']}/style.css?{VERHASH}" type="text/css" media="all">
<link rel="stylesheet" href="{$_G['style']['styleimgdir']}/common.css?{VERHASH}" type="text/css" media="all">
<link rel="stylesheet" href="{$_G['style']['styleimgdir']}/iconfont/iconfont.css?{VERHASH}" type="text/css" media="all">
<link rel="stylesheet" href="{$_G['style']['styleimgdir']}/font/dzmicon.css?{VERHASH}" type="text/css" media="all">
<!--{if isset($_COOKIE["bygjsw_dark_cook"])}-->
<!--{eval $bygjsw_dark_on = 1;}-->
<link rel="stylesheet" href="{$_G['style']['styleimgdir']}/dark.css?{VERHASH}" type="text/css" media="all" id="bygjsw_dark_css">
<script type="text/javascript">var bygjsw_dark_on = 1;</script>
<!--{else}-->
<!--{eval $bygjsw_dark_on = 0;}-->
<link rel="stylesheet" href="" type="text/css" media="all" id="bygjsw_dark_css">
<script type="text/javascript">var bygjsw_dark_on = 0;</script>
<!--{/if}-->
<!--{/if}-->
<script type="text/javascript">var STYLEID = '{STYLEID}', STATICURL = '{STATICURL}', IMGDIR = '{IMGDIR}', VERHASH = '{VERHASH}', charset = '{CHARSET}', discuz_uid = '$_G[uid]', cookiepre = '{$_G[config][cookie][cookiepre]}', cookiedomain = '{$_G[config][cookie][cookiedomain]}', cookiepath = '{$_G[config][cookie][cookiepath]}', showusercard = '{$_G[setting][showusercard]}', attackevasive = '{$_G[config][security][attackevasive]}', disallowfloat = '{$_G[setting][disallowfloat]}', creditnotice = '<!--{if $_G['setting']['creditnotice']}-->$_G['setting']['creditnames']<!--{/if}-->', defaultstyle = '$_G[style][defaultextstyle]', REPORTURL = '$_G[currenturl_encode]', SITEURL = '$_G[siteurl]', JSPATH = '$_G[setting][jspath]';</script>
<script src="{$_G['style']['styleimgdir']}/jquery.min.js?{VERHASH}"></script>
<script src="{$_G['style']['styleimgdir']}/common.js?{VERHASH}" charset="{CHARSET}"></script>
<!--{if CURSCRIPT == 'portal' && CURMODULE == 'index'}-->
<!--{eval}-->
if(isset($_COOKIE["bygsjw"])){
$byg_index_bg = true;
setcookie("bygsjw", 1, time()+3600);
}else{
$byg_index_bg = false;
setcookie("bygsjw", 1, time()+3600);
}
<!--{/eval}-->
<!--{/if}-->
</head>
<body class="bg_xin byg_{CURSCRIPT}_{CURMODULE}">
<!--{eval require_once(DISCUZ_ROOT.'./template/bygsjw_sj/touch/php/header.php');}-->

View File

@@ -0,0 +1,79 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<link rel="stylesheet" type="text/css" href="{$_G['style']['styleimgdir']}/swiper.min.css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<!--【顶部文字导航】-->
<!--{eval require_once(DISCUZ_ROOT.'./template/bygsjw_sj/touch/php/header_nav.php');}-->
<!--{if $font_nav1 || $font_nav2 || $font_nav3 || $font_nav4 || $font_nav5 || $font_nav6 || $font_nav7 || $font_nav8 || $font_nav9 || $font_nav10 || $font_nav11 || $font_nav12}-->
<style>
{if (CURSCRIPT == 'portal' || CURSCRIPT == 'forum') && CURMODULE == 'index'}
.bg_xin .portal_font_nav a{ color: #fff;}
.bg_xin .portal_font_nav .on:after{ background: #fff;}
.bg_xin .portal_font_nav{ padding-top: .08rem; margin-top: -.02rem; line-height: .14rem; background: $_G['style']['zhuti']; border-color: $_G['style']['zhuti'];}
{/if}
.bg_xin .header_xin{ padding-bottom: .91rem;}
.bg_xin #byg_header{ height: .91rem;}
.bg_xin .header_nav_forumdisplay.header_xin{ padding-bottom: .86rem;}
.bg_xin .header_nav_forumdisplay #byg_header{ height: .86rem;}
</style>
<div class="portal_font_nav cl">
<div class="swiper-wrapper">
<!--{if $font_nav1}-->
<a href="{$font_nav1['url']}" target="{$font_nav1['atarget']}" class="swiper-slide">{$font_nav1['text']}</a>
<!--{/if}-->
<!--{if $font_nav2}-->
<a href="{$font_nav2['url']}" target="{$font_nav2['atarget']}" class="swiper-slide">{$font_nav2['text']}</a>
<!--{/if}-->
<!--{if $font_nav3}-->
<a href="{$font_nav3['url']}" target="{$font_nav3['atarget']}" class="swiper-slide">{$font_nav3['text']}</a>
<!--{/if}-->
<!--{if $font_nav4}-->
<a href="{$font_nav4['url']}" target="{$font_nav4['atarget']}" class="swiper-slide">{$font_nav4['text']}</a>
<!--{/if}-->
<!--{if $font_nav5}-->
<a href="{$font_nav5['url']}" target="{$font_nav5['atarget']}" class="swiper-slide">{$font_nav5['text']}</a>
<!--{/if}-->
<!--{if $font_nav6}-->
<a href="{$font_nav6['url']}" target="{$font_nav6['atarget']}" class="swiper-slide">{$font_nav6['text']}</a>
<!--{/if}-->
<!--{if $font_nav7}-->
<a href="{$font_nav7['url']}" target="{$font_nav7['atarget']}" class="swiper-slide">{$font_nav7['text']}</a>
<!--{/if}-->
<!--{if $font_nav8}-->
<a href="{$font_nav8['url']}" target="{$font_nav8['atarget']}" class="swiper-slide">{$font_nav8['text']}</a>
<!--{/if}-->
<!--{if $font_nav9}-->
<a href="{$font_nav9['url']}" target="{$font_nav9['atarget']}" class="swiper-slide">{$font_nav9['text']}</a>
<!--{/if}-->
<!--{if $font_nav10}-->
<a href="{$font_nav10['url']}" target="{$font_nav10['atarget']}" class="swiper-slide">{$font_nav10['text']}</a>
<!--{/if}-->
<!--{if $font_nav11}-->
<a href="{$font_nav11['url']}" target="{$font_nav11['atarget']}" class="swiper-slide">{$font_nav11['text']}</a>
<!--{/if}-->
<!--{if $font_nav12}-->
<a href="{$font_nav12['url']}" target="{$font_nav12['atarget']}" class="swiper-slide">{$font_nav12['text']}</a>
<!--{/if}-->
</div>
</div>
<script type="text/javascript">
var font_nav_url = jQuery(".portal_font_nav .swiper-slide");
for(var n=0;n<font_nav_url.length;n++){
if(window.location.href.replace("{$_G[siteurl]}","").replace("&mobile=2","") == font_nav_url.eq(n).attr('href').replace("{$_G[siteurl]}","").replace("&mobile=2","")) {
font_nav_url.eq(n).addClass("on");
break;
}
}
if(jQuery(".portal_font_nav .on").length > 0) {
var font_nav_initial = jQuery(".portal_font_nav .on").offset().left + jQuery(".portal_font_nav .on").width() + 10 >= jQuery(window).width() ? jQuery(".portal_font_nav .on").index() : 0;
}else{
var font_nav_initial = 0;
}
var portal_font_nav = new Swiper('.portal_font_nav', {
initialSlide : font_nav_initial,
freeMode: true,
slidesPerView: 'auto',
});
</script>
<!--{/if}-->

View File

@@ -0,0 +1,105 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{if $param['login']}-->
<!--{if $_G['inajax']}-->
<!--{eval dheader('Location:member.php?mod=logging&action=login&inajax=1&infloat=1');exit;}-->
<!--{else}-->
<!--{eval dheader('Location:member.php?mod=logging&action=login');exit;}-->
<!--{/if}-->
<!--{/if}-->
<!--{template common/header}-->
<!--{if $_G['inajax']}-->
<div class="tip">
<dt id="messagetext">
<p style="padding: .05rem 0;">$show_message</p>
<!--{if $_G['forcemobilemessage']}-->
<p >
<a href="{$_G['setting']['mobile']['pageurl']}" class="mtn">继续访问</a><br />
<a href="javascript:history.back();">返回上一页</a>
</p>
<!--{/if}-->
<!--{if $url_forward && !$_GET['loc']}-->
<!--<p><a class="grey" href="$url_forward">点击此链接进行跳转</a></p>-->
<script type="text/javascript">
setTimeout(function() {
window.location.href = '$url_forward';
}, '3000');
</script>
<!--{elseif $allowreturn}-->
<p><input type="button" class="button" onclick="popup.close();" value="{lang close}"></p>
<!--{/if}-->
</dt>
</div>
<!--{else}-->
<!-- header start -->
<!--{if CURSCRIPT != 'plugin'}-->
<header class="header_xin">
<div id="byg_header">
<div class="hdc_xin">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="./" title="首页">返回首页</a>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
<!--{template common/header_nav}-->
</div>
</header>
<!--{else}-->
<!--{if isset($_G['setting']['mobile']['forum'])}-->
<div class="header cl">
<div class="mz"><a href="javascript:history.back();"><i class="dm-c-left"></i></a></div>
<h2>{lang mobtishi}</h2>
<div class="my"><a href="<!--{if $_G['setting']['mobile']['mobilehotthread']}--><!--{if !empty($_G['setting']['grid']['showgrid'])}-->forum.php<!--{else}-->forum.php?mod=guide&view=newthread<!--{/if}--><!--{else}-->forum.php?forumlist=1<!--{/if}-->"><i class="dm-house"></i></a></div>
</div>
<!--{else}-->
<header class="header">
<div class="hdc cl">
<!--{if $_G['setting']['domain']['app']['mobile']}-->
{eval $nav = 'http://'.$_G['setting']['domain']['app']['mobile'];}
<!--{else}-->
{eval $nav = "forum.php";}
<!--{/if}-->
<h2><a title="$_G[setting][bbname]" href="$nav"><img src="{STATICURL}image/mobile/images/logo.png" alt="logo"/></a></h2>
<ul class="user_fun">
<li><a href="search.php?mod=forum" class="icon_search">{lang search}</a></li>
<li><a href="forum.php?forumlist=1" class="icon_threadlist">{lang forum_list}</a></li>
<li id="usermsg"><a href="<!--{if $_G[uid]}-->home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1<!--{else}-->member.php?mod=logging&action=login<!--{/if}-->" class="icon_userinfo">{lang user_info}</a><!--{if $_G[member][newpm]}--><span class="icon_msg"></span><!--{/if}--></li>
<!--{if $_G['setting']['mobile']['mobilehotthread']}-->
<li><a href="forum.php?mod=guide&view=hot" class="icon_hotthread">{lang hot_thread}</a></li>
<!--{/if}-->
</ul>
</div>
</header>
<!--{/if}-->
<!--{/if}-->
<!--{hook/global_header_mobile}-->
<!-- header end -->
<!-- main jump start -->
<div class="jump_c">
<p>$show_message</p>
<!--{if $_G['forcemobilemessage']}-->
<p>
<a href="{$_G['setting']['mobile']['pageurl']}" class="mtn">继续访问</a><br />
<a href="javascript:history.back();">返回上一页</a>
</p>
<!--{/if}-->
<!--{if $url_forward}-->
<p><a class="grey" href="$url_forward">点击此链接进行跳转</a></p>
<!--{elseif $allowreturn}-->
<p><a class="grey" href="javascript:;" onclick="window.location.href = document.referrer;">{lang message_go_back}</a></p>
<!--{/if}-->
</div>
<!-- main jump end -->
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,68 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div id="byg_header">
<div class="hdc_xin">
<h2 class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<span>公告</span>
</h2>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<style type="text/css">
.an_all_li{ padding: .1rem; margin: .1rem 0; background: #fff;}
.an_all_li_t{ width: 3.62rem;}
.an_all_li_t .z{ width: 3.37rem; line-height: .24rem; font-size: .16rem;}
.an_all_li_t .y{ width: .1rem; height: .1rem; margin: .04rem; padding: .03rem; background: #f1f1f1; border-radius: 50%; transition: transform 0.2s; -webkit-transition: transform 0.2s; -o-transition: transform 0.2s; -moz-transition: transform 0.2s;}
.an_all_li_t .y.on{ -webkit-transform: rotateZ(90deg); -moz-transform: rotateZ(90deg); -o-transform: rotateZ(90deg); -ms-transform: rotateZ(90deg); transform: rotateZ(90deg);}
.an_all_li_c{ color: #999; font-size: .14rem; margin-top: .04rem;}
.an_all_li_b{ margin: .08rem 0 .04rem; padding: .08rem .1rem; border: 1px dashed #eee; background: #ffe; border-radius: .02rem;}
.an_all_li_b a{ color: #06c;}
</style>
<ul class="an_all_ul">
<!--{loop $announcelist $ann}-->
<li class="an_all_li">
<div id="announce{$ann[id]}" class="an_all_li_t cl">
<h3 class="z">{$ann[subject]}</h3>
<img src="{$_G['style']['styleimgdir']}/jinru.png" alt="开关" id="announce{$ann[id]}_i" class="y{if $_GET[id] == $ann[id]} on{/if}" />
</div>
<div class="an_all_li_c cl">
<span class="z">{lang author}: <a href="home.php?mod=space&username=$ann[authorenc]&do=profile">{$ann[author]}</a></span>
<span class="y">{$ann[starttime]}</span>
</div>
<div id="announce{$ann[id]}_c" class="an_all_li_b cl" {if $_GET[id] != $ann[id]}style="display: none"{/if}>
{$ann[message]}
</div>
</li>
<!--{/loop}-->
</ul>
<script type="text/javascript">
jQuery('.an_all_li_t').on('click', function() {
var an = jQuery(this);
var an_i = jQuery('#' + an.attr('id') + '_i');
var an_c = jQuery('#' + an.attr('id') + '_c');
if(an_c.css('display') == 'none') {
an_c.css('display', 'block');
an_i.addClass('on');
} else {
an_c.css('display', 'none');
an_i.removeClass('on');
}
});
</script>
<!--{template common/footer}-->

View File

@@ -0,0 +1,85 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<!--头部固定栏-->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<span>购买详情</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<form id="attachpayform" method="post" autocomplete="off" action="forum.php?mod=misc&action=attachpay&tid={$_G[tid]}{if !empty($_GET['infloat'])}&paysubmit=yes&infloat=yes" onsubmit="ajaxpost('attachpayform', 'return_$_GET['handlekey']', 'return_$_GET['handlekey']', 'onerror');return false;{/if}">
<div class="f_c">
<h3 class="flb">
<em id="return_$_GET['handlekey']">{lang pay_attachment}</em>
<span>
<!--{if !empty($_GET['infloat'])}--><a href="javascript:;" class="flbc" onclick="hideWindow('$_GET['handlekey']')" title="{lang close}">{lang close}</a><!--{/if}-->
</span>
</h3>
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="referer" value="{echo dreferer()}" />
<input type="hidden" name="aid" value="$aid" />
<!--{if !empty($_GET['infloat'])}--><input type="hidden" name="handlekey" value="$_GET['handlekey']" /><!--{/if}-->
<div class="byg_c">
<table class="list" cellspacing="0" cellpadding="0">
<tr>
<td>{lang author}&nbsp;</td>
<td><a href="home.php?mod=space&uid=$attach[uid]">$attach[author]</a></td>
</tr>
<tr>
<td>{lang attachment}&nbsp;</td>
<td><div style="overflow:hidden">$attach[filename] <!--{if $attach['description']}-->($attach[description])<!--{/if}--></div></td>
</tr>
<tr>
<td>{lang price}({$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]})&nbsp;</td>
<td>$attach[price] {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}</td>
</tr>
<!--{if $status != 1}-->
<tr>
<td>{lang pay_author_income}({$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]})&nbsp;</td>
<td>$attach[netprice] {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}</td>
</tr>
<tr>
<td>{lang pay_balance}({$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]})&nbsp;</td>
<td>$balance {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}</td>
</tr>
<!--{/if}-->
<!--{if $status == 1}-->
<tr>
<td>&nbsp;</td>
<td>{lang status_insufficient}<a href="home.php?mod=spacecp&ac=credit&op=base" style="color:#06c;"> (点击查看我的积分)</a></td>
</tr>
<!--{elseif $status == 2}-->
<tr>
<td>&nbsp;</td>
<td>{lang status_download}, <a href="forum.php?mod=attachment&aid=$aidencode" target="_blank">{lang download}</a></td>
</tr>
<!--{/if}-->
</table>
</div>
<div class="byg_o pns">
<!--{if $status != 1}-->
<label><input name="buyall" type="checkbox" class="pc" value="yes" />{lang buy_all_attch}</label>
<button class="pn pnc" type="submit" name="paysubmit" value="true"><span><!--{if $status == 0}-->{lang pay_attachment}<!--{else}-->{lang free_buy}<!--{/if}--></span></button>
<!--{/if}-->
<button class="pn pnc" type="button" onclick="history.back()"><span>{lang close}</span></button>
</div>
</div>
</form>
<!--{template common/footer}-->

View File

@@ -0,0 +1,399 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{if ($_G['setting']['mobile']['mobilehotthread'] || $_G['setting']['mobile']['portal']['catnav']) && $_GET['forumlist'] != 1}-->
<!--{if !$_GET['gid']}-->
<!--{eval dheader('Location:portal.php?mod=index&mobile=2');exit;}-->
<!--{/if}-->
<!--{/if}-->
<!--{template common/header}-->
<!--{eval require_once(DISCUZ_ROOT.'./template/bygsjw_sj/touch/php/forum_discuz.php');}-->
<script type="text/javascript">
function getvisitclienthref() {
var visitclienthref = '';
if(ios) {
visitclienthref = 'https://itunes.apple.com/cn/app/zhang-shang-lun-tan/id489399408?mt=8';
} else if(andriod) {
visitclienthref = 'https://www.discuz.vip/mobile.php?platform=android';
}
return visitclienthref;
}
</script>
<!--{if $_GET['visitclient']}-->
<header class="header">
<div class="nav"> <span>{lang warmtip}</span> </div>
</header>
<div class="cl">
<div class="clew_con">
<h2 class="tit">{lang zsltmobileclient}</h2>
<p>{lang visitbbsanytime}
<input class="redirect button" id="visitclientid" type="button" value="{lang clicktodownload}" href="" />
</p>
<h2 class="tit">{lang iphoneandriodmobile}</h2>
<p>{lang visitwapmobile}
<input class="redirect button" type="button" value="{lang clicktovisitwapmobile}" href="$_GET[visitclient]" />
</p>
</div>
</div>
<script type="text/javascript">
var visitclienthref = getvisitclienthref();
if(visitclienthref) {
jQuery('#visitclientid').attr('href', visitclienthref);
} else {
window.location.href = '$_GET[visitclient]';
}
</script>
<!--{else}-->
<!--{if $showvisitclient}-->
<div class="visitclienttip vm" style="display:block;"> <a href="javascript:;" id="visitclientid" class="btn_download">{lang downloadnow}</a>
<p> {lang downloadzslttoshareview} </p>
</div>
<script type="text/javascript">
var visitclienthref = getvisitclienthref();
if(visitclienthref) {
jQuery('#visitclientid').attr('href', visitclienthref);
jQuery('.visitclienttip').css('display', 'block');
}
</script>
<!--{/if}-->
<!-- header start -->
<header class="header_xin">
<link rel="stylesheet" href="{$_G['style']['styleimgdir']}/kapian.css" type="text/css">
<style type="text/css">
.hdc_xin .header_search_y{ float: right; width: .26rem; height: .26rem; line-height: 999em; margin-right: .03rem; overflow: hidden; background: #fff url({$_G['style']['styleimgdir']}/sousuo_hui.png) no-repeat center center; background-size: .16rem .16rem; border-radius: .12rem;}
.linear_bg{ padding-top: .02rem; margin-top: -.02rem; background: linear-gradient(to top,#f1f1f1 30%,$_G['style']['zhuti'] 100%);}
<!--{if $_G['style']['gonggao'] == 'on'}-->
<!--{if $announcements}-->
body div.byg_tongji{ margin: 1px .08rem .08rem; border-radius: 0 0 .1rem .1rem;}
<!--{/if}-->
<!--{/if}-->
<!--{if $_G['style']['tongji'] == "on"}-->
body div.byg_an{ margin: .08rem .08rem 1px; border-radius: .1rem .1rem 0 0;}
<!--{/if}-->
</style>
<div id="byg_header">
<div class="hdc_xin">
<div class="header_z cl header_index_y">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像" class="header_index_avatar"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
</div>
<h1 style="text-align: left;">
<a href="./" title="$_G[setting][bbname]">
<!--{if $bygsjw_logo}-->
<img src="{$bygsjw_logo['pic']}" alt="LOGO"/>
<!--{else}-->
<img src="{$_G['style']['boardimg']}" alt="LOGO"/>
<!--{/if}-->
</a>
</h1>
<form method="post" autocomplete="off" action="search.php?mod=forum&mobile=2" id="searchform" class="header_search">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input value="$keyword" autocomplete="off" name="srchtxt" placeholder="请输入搜索内容" id="scform_srchtxt" class="header_search_z" />
<input type="hidden" name="searchsubmit" value="yes" />
<input type="submit" value="{lang search}" id="scform_submit" class="header_search_y" />
</form>
</div>
<!--{template common/header_nav}-->
</div>
</header>
<div class="header_nav_cover"></div>
<script type="text/javascript">
jQuery(".header_search_z").click(function(){jQuery(".bg_xin").addClass("header_search_big");});
jQuery(".header_nav_cover").click(function(){jQuery(".bg_xin").removeClass("header_search_big");});
</script>
<!-- header end -->
<!--{if $forum_gg1 || $forum_gg2 || $forum_gg3}-->
<!--【论坛首页广告幻灯片】-->
<div class="linear_bg">
<div data-byginto class="forum_gg">
<div class="forum_gg_sl_bd">
<ul class="swiper-wrapper">
<!--{if $forum_gg1}-->
<li class="swiper-slide">{$forum_gg1}</li>
<!--{/if}-->
<!--{if $forum_gg2}-->
<li class="swiper-slide">{$forum_gg2}</li>
<!--{/if}-->
<!--{if $forum_gg3}-->
<li class="swiper-slide">{$forum_gg3}</li>
<!--{/if}-->
</ul>
</div>
</div>
</div>
<!--{/if}-->
<!--{hook/global_header_mobile}-->
<!--{hook/index_top}-->
<!--{hook/index_top_mobile}-->
<!--{if $_G['setting']['mobile']['forum']['index'] == 3}-->
<!--【X3.5论坛首页四格】-->
<link rel="stylesheet" type="text/css" href="{$_G['style']['styleimgdir']}/swiper.min.css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<!--{if !empty($_G['setting']['grid']['showgrid']) && !$_G['setting']['grid']['gridtype']}-->
<div class="dz-swiper_box dz-swiper">
<ul class="swiper-wrapper">
<!--{loop $grids['slide'] $stid $svalue}-->
<li class="swiper-slide"><a href="{$svalue['url']}"><img src="$svalue['image']" width="100%" class="vm"><span>$svalue['subject']</span></a></li>
<!--{/loop}-->
</ul>
<div class="swiper-forum"></div>
</div>
<script>
var swiper = new Swiper('.dz-swiper', {
loop : true,
speed: 800,
autoplay: {
delay: 3000,
disableOnInteraction: false,
},
pagination: {
el: '.swiper-forum',
type: 'fraction',
},
});
</script>
<!--{/if}-->
<!--{eval loadcache(array('forums'));$i=0;}-->
<!--{if !empty($_G['cache']['heats']['message'])}-->
<div class="hotbox cl">
<h2><span>{lang mobredian}</span>{lang mobtuijian}</h2>
<div class="hotbox-toutiao cl">
<ul>
<!--{loop $_G['cache']['heats']['message'] $data}-->
<li><a href="forum.php?mod=viewthread&tid=$data['tid']"><span>$data['subject']</span>$data['message']</a></li>
<!--{/loop}-->
</ul>
</div>
<div class="listbox hotbox-list cl">
<ul>
<!--{loop $_G['cache']['heats']['subject'] $data}-->
<li><a href="forum.php?mod=viewthread&tid=$data['tid']"><span class="mbk">$_G['cache']['forums'][$data['fid']]['name']</span><span class="mx">|</span>$data['subject']</a></li>
<!--{/loop}-->
</ul>
</div>
</div>
<!--{/if}-->
<!--{hook/index_catlist_top}-->
<!--{if !empty($_G['setting']['grid']['showgrid'])}-->
<div class="discuz_4grid_box">
<div class="tabs flex-box cl">
<a href="javascript:;" class="flex mon">{lang collection_lastthread}</a>
<a href="javascript:;" class="flex">{lang show_newthreads}</a>
<a href="javascript:;" class="flex">{$_G['setting']['navs'][2]['navname']}{lang hot_thread}</a>
<a href="javascript:;" class="flex">{lang post_digest_thread}</a>
<!--{if $_G['setting']['mobile']['forum']['index'] == 2}--><a href="forum.php?forumlist=1" class="flex redirect">{lang forum_list}</a><!--{/if}-->
</div>
<div id="tabs-box" class="swiper-container listbox cl">
<div class="swiper-wrapper">
<div class="swiper-slide">
<ul>
<!--{loop $grids['newthread'] $thread}-->
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
<!--{eval $thread['tid']=$thread['closed'];}-->
<!--{/if}-->
<li><a href="forum.php?mod=viewthread&tid=$thread['tid']"{if $thread['highlight']} $thread['highlight']{/if} title="$thread['oldsubject']"><span class="mybk">$thread['dateline']</span><span class="mico"></span>{$thread['oldsubject']}</a></li>
<!--{/loop}-->
</ul>
</div>
<div class="swiper-slide">
<ul>
<!--{loop $grids['newreply'] $thread}-->
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
<!--{eval $thread['tid']=$thread['closed'];}-->
<!--{/if}-->
<li><a href="forum.php?mod=viewthread&tid=$thread['tid']"{if $thread['highlight']} $thread['highlight']{/if} title="$thread['oldsubject']"><span class="mybk">$thread['replies'] {lang reply}</span><span class="mico"></span>{$thread['oldsubject']}</a></li>
<!--{/loop}-->
</ul>
</div>
<div class="swiper-slide">
<ul>
<!--{loop $grids['hot'] $thread}-->
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
<!--{eval $thread['tid']=$thread['closed'];}-->
<!--{/if}-->
<!--{eval $i++;}-->
<li><a href="forum.php?mod=viewthread&tid=$thread['tid']"{if $thread['highlight']} $thread['highlight']{/if} title="$thread['oldsubject']"><span class="mybk">$thread['views'] {lang mobrenqi}</span><span class="mnum">$i</span>{$thread['oldsubject']}</a></li>
<!--{/loop}-->
</ul>
</div>
<div class="swiper-slide">
<ul>
<!--{loop $grids['digest'] $thread}-->
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
<!--{eval $thread['tid']=$thread['closed'];}-->
<!--{/if}-->
<li><a href="forum.php?mod=viewthread&tid=$thread['tid']"{if $thread['highlight']} $thread['highlight']{/if} title="$thread['oldsubject']"><span class="mybk">$thread['author']</span><span class="mico"></span>{$thread['oldsubject']}</a></li>
<!--{/loop}-->
</ul>
</div>
</div>
</div>
<script type="text/javascript">
window.onload = function() {
var tabsSwiper = new Swiper('#tabs-box', {
speed: 500,
on: {
slideChangeTransitionStart: function() {
$(".tabs .mon").removeClass('mon');
$(".tabs a").eq(this.activeIndex).addClass('mon');
}
}
})
$(".tabs a").on('click', function(e) {
e.preventDefault()
$(".tabs .mon").removeClass('mon')
$(this).addClass('mon')
tabsSwiper.slideTo($(this).index())
})
}
</script>
</div>
<!--{/if}-->
<!--{/if}-->
<!--{if $_G['style']['gonggao'] == 'on'}-->
<!--{if $announcements}-->
<!--【论坛公告】-->
<div data-byginto class="byg_an">
<img src="{$_G['style']['styleimgdir']}/an.gif" alt="{lang announcement}" class="byg_an_i"/>
<div class="byg_an_ul_box">
<ul class="swiper-wrapper">$announcements</ul>
</div>
<link rel="stylesheet" type="text/css" href="{$_G['style']['styleimgdir']}/swiper.min.css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<script type="text/javascript">
var an_slide = new Swiper('.byg_an_ul_box', {
slideClass : 'byg_an_ul_box li',
direction: 'vertical',
loop : true,
speed: 500,
autoplay: {
delay: 3000,
disableOnInteraction: false,
},
});
</script>
</div>
<!--{/if}-->
<!--{/if}-->
<!--{if $_G['style']['tongji'] == "on"}-->
<!--【论坛统计】-->
<div data-byginto class="byg_tongji">
<ul class="cl">
<li>
<div>
<img src="{$_G['style']['styleimgdir']}/today.png" alt="{lang index_today}"/>
<span>
<p>{lang index_today}</p>
<p>{$todayposts}</p>
</span>
</div>
</li>
<li>
<div>
<img src="{$_G['style']['styleimgdir']}/posts.png" alt="{lang index_posts}"/>
<span>
<p>{lang index_posts}</p>
<p>{$posts}</p>
</span>
</div>
</li>
<li style="border:0;">
<div>
<img src="{$_G['style']['styleimgdir']}/members.png" alt="{lang index_members}"/>
<span>
<p>{lang index_members}</p>
<p>{$_G['cache']['userstats']['totalmembers']}</p>
</span>
</div>
</li>
</ul>
</div>
<!--{/if}-->
<!-- main forumlist start -->
<div class="wp wm_xin" id="wp">
<!--{loop $catlist $key $cat}-->
<div data-byginto class="bm bmw fl">
<div href="#sub_forum_$cat[fid]" class="subforumshow bm_xin cl">
<img src="{$_G['style']['styleimgdir']}/<!--{if !$_G[setting][mobile][mobileforumview]}-->kai<!--{else}-->guan<!--{/if}-->.png" alt="开关"/>
<h2><a href="javascript:;">$cat[name]</a></h2>
</div>
<div id="sub_forum_$cat[fid]" class="sub_forum {if $_G['style']['luntan_bankuai'] == 1}byg_forum1{elseif $_G['style']['luntan_bankuai'] == 2}byg_forum2{elseif $_G['style']['luntan_bankuai'] == 3}byg_forum3{elseif $_G['style']['luntan_bankuai'] == 4}byg_forum4{else}{if $cat['forumcolumns'] > 3}byg_forum4{elseif $cat['forumcolumns'] == 3}byg_forum3{elseif $cat['forumcolumns'] == 2}byg_forum2{else}byg_forum1{/if}{/if}">
<ul class="cl">
<!--{loop $cat[forums] $forumid}-->
<!--{eval $forum=$forumlist[$forumid];}-->
<li class="cl">
<!--{if $forum[icon]}-->
<div class="forum_img cl">
$forum[icon]
</div>
<!--{else}-->
<a href="forum.php?mod=forumdisplay&fid={$forum['fid']}" class="forum_img cl">
<img src="{$_G['style']['styleimgdir']}/forum.png" alt="$forum[name]"/>
</a>
<!--{/if}-->
<a href="forum.php?mod=forumdisplay&fid={$forum['fid']}" class="forum_name cl"{if $cat['forumcolumns'] < 2 && $forum['description']} style="padding: 0; height: .4rem;"{/if}>
<div class="forum_names over_one">{$forum[name]}<!--{if $forum[todayposts] && !$forum['redirect']}--><em>($forum[todayposts])</em><!--{/if}--></div>
<!--{if $cat['forumcolumns'] < 2 && $forum['description']}-->
<div class="forum_names over_one" style="font-size: .12rem; color: #999;">$forum['description']</div>
<!--{/if}-->
<div class="y">
<span class="forum_threads over_one">
<img src="{$_G['style']['styleimgdir']}/forum_threads.png" alt="主题数"/><!--{echo dnumber($forum[threads])}-->
</span>
<span class="forum_posts over_one">
<img src="{$_G['style']['styleimgdir']}/forum_posts.png" alt="帖子数"/><!--{echo dnumber($forum[posts])}-->
</span>
</div>
</a>
</li>
<!--{/loop}-->
</ul>
</div>
</div>
<!--{/loop}-->
</div>
<!-- main forumlist end -->
<script type="text/javascript">
(function() {
<!--{if !$_G[setting][mobile][mobileforumview]}-->
jQuery('.sub_forum').css('display', 'block');
<!--{else}-->
jQuery('.sub_forum').css('display', 'none');
<!--{/if}-->
jQuery('.subforumshow').on('click', function() {
var obj = jQuery(this);
var subobj = jQuery(obj.attr('href'));
if(subobj.css('display') == 'none') {
subobj.css('display', 'block');
obj.find('img').attr('src', '{$_G['style']['styleimgdir']}/kai.png');
} else {
subobj.css('display', 'none');
obj.find('img').attr('src', '{$_G['style']['styleimgdir']}/guan.png');
}
});
})();
</script>
<!--{hook/index_middle_mobile}-->
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,154 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
{eval
function tpl_hide_credits_hidden($creditsrequire) {
global $_G;
}
<!--{block return}--><div class="locked"><!--{if $_G[uid]}-->{$_G[username]}<!--{else}-->{lang guest}<!--{/if}-->{lang post_hide_credits_hidden}</div><!--{/block}-->
<!--{eval return $return;}-->
{eval
}
function tpl_hide_credits($creditsrequire, $message) {
}
<!--{block return}--><div class="locked">{lang post_hide_credits}</div>
$message<br /><br />
<!--{/block}-->
<!--{eval return $return;}-->
{eval
}
function tpl_codedisp($code) {
}
<!--{block return}--><div class="blockcode"><div><ol><li>$code</ol></div></div><!--{/block}-->
<!--{eval return $return;}-->
{eval
}
function tpl_quote() {
}
<!--{block return}--><div class="grey quote"><blockquote>{lang e_quote}: \\1</blockquote></div><!--{/block}-->
<!--{eval return $return;}-->
{eval
}
function tpl_free() {
}
<!--{block return}--><div class="grey quote"><blockquote>\\1</blockquote></div><!--{/block}-->
<!--{eval return $return;}-->
{eval
}
function tpl_hide_reply() {
global $_G;
}
<!--{block return}--><div class="showhide"><h4>{lang post_hide}</h4>\\1</div>
<!--{/block}-->
<!--{eval return $return;}-->
{eval
}
function tpl_hide_reply_hidden() {
global $_G;
}
<!--{block return}--><div class="locked"><!--{if $_G[uid]}-->{$_G[username]}<!--{else}-->{lang guest}<!--{/if}-->{lang post_hide_reply_hidden}</div><!--{/block}-->
<!--{eval return $return;}-->
{eval
}
function attachlist($attach) {
global $_G;
$attach['refcheck'] = (!$attach['remote'] && $_G['setting']['attachrefcheck']) || ($attach['remote'] && ($_G['setting']['ftp']['hideurl'] || ($attach['isimage'] && $_G['setting']['attachimgpost'] && strtolower(substr($_G['setting']['ftp']['attachurl'], 0, 3)) == 'ftp')));
$aidencode = packaids($attach);
$is_archive = $_G['forum_thread']['is_archived'] ? "&fid=".$_G['fid']."&archiveid=".$_G[forum_thread][archiveid] : '';
}
<!--{block return}-->
<div class="box box_ex2 attach byg_attach">
<dd>
<p class="attnm">
<!--{if $_G['setting']['mobile']['mobilesimpletype'] == 0}-->
$attach[attachicon]
<!--{/if}-->
<!--{if !$attach['price'] || $attach['payed']}-->
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode" id="aid$attach[aid]" class="byg_attach_name">$attach[filename]</a>
<!--{else}-->
<a href="forum.php?mod=misc&action=attachpay&aid=$attach[aid]&tid=$attach[tid]" class="byg_attach_name">$attach[filename]</a>
<!--{/if}-->
<span class="xg1 vm">($attach[attachsize])</span>
</p>
<!--{if $attach['description']}--><p class="xg2">{$attach[description]}</p><!--{/if}-->
<p class="xg1">( <!--{if $attach['readperm']}-->{lang readperm}: $attach[readperm], <!--{/if}-->$attach[dateline]{lang upload}, {lang downloads}: $attach[downloads]<!--{if $attach['price']}-->, {lang price}: $attach[price] {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]}<!--{/if}--><!--{if !$attach['attachimg'] && $_G['getattachcredits']}-->, {lang attachcredits}: $_G[getattachcredits]<!--{/if}--> )</p>
</dd>
</div>
<!--{/block}-->
<!--{eval return $return;}-->
{eval
}
function imagelist($attach) {
global $_G, $post;
$fix = count($post['imagelist']) == 1 ? 600 : 600;
$fixtype = count($post['imagelist']) == 1 ? 'fixnone' : 'fixwr';
$attach['refcheck'] = (!$attach['remote'] && $_G['setting']['attachrefcheck']) || ($attach['remote'] && ($_G['setting']['ftp']['hideurl'] || ($attach['isimage'] && $_G['setting']['attachimgpost'] && strtolower(substr($_G['setting']['ftp']['attachurl'], 0, 3)) == 'ftp')));
$mobilethumburl = $attach['attachimg'] && $_G['setting']['showimages'] && (!$attach['price'] || $attach['payed']) && ($_G['group']['allowgetimage'] || $_G['uid'] == $attach['uid']) ? $attach['url'].$attach['attachment'] : '' ;
$aidencode = packaids($attach);
$is_archive = $_G['forum_thread']['is_archived'] ? "&fid=".$_G['fid']."&archiveid=".$_G[forum_thread][archiveid] : '';
$guestviewthumb = !empty($_G['setting']['guestviewthumb']['flag']) && !$_G['uid'];
$mobileguestviewthumburl = $guestviewthumb ? ($attach['attachimg'] && $_G['setting']['showimages'] && (((!$attach['price'] || $attach['payed']) && ($_G['group']['allowgetimage'] || $_G['uid'] == $attach['uid'])) || ($guestviewthumb)) ? getforumimg($attach['aid'], 0, $_G['setting']['guestviewthumb']['width'], $_G['setting']['guestviewthumb']['height'], 1) : '') : '';
}
<!--{block return}-->
<!--{if $attach['attachimg'] && $_G['setting']['showimages'] && ($_G['group']['allowgetimage'] || $_G['uid'] == $attach['uid']) && (!$attach['price'] || $attach['payed'])}-->
<!--{if !$attach['price'] || $attach['payed']}-->
<!--{if $_G['setting']['mobile']['mobilesimpletype'] == 0}-->
<li {if $guestviewthumb}style="float:none;margin:10px 0;text-align:center;"{/if}>
<a {if $guestviewthumb}href="javascript:;" onclick="return landingPrompt();"{else}href="forum.php?mod=viewthread&tid=$attach['tid']&aid=$attach['aid']&from=album&page=$_G['page']"{/if} class="orange"><img id="aimg_$attach['aid']" src="{if $guestviewthumb}$mobileguestviewthumburl{elseif $attach['refcheck']}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes&nothumb=yes{else}{$attach['url']}{$attach['attachment']}{/if}" alt="$attach['imgalt']" title="$attach['imgalt']" {if $guestviewthumb}style="width:{$_G['setting']['guestviewthumb']['width']}px;"{/if} /></a>
<!--{if $guestviewthumb}-->
<a href="member.php?mod=logging&action=login" onclick="return landingPrompt();" style="display:block;font-size:.12rem;color:#06c;">{lang guestviewthumb}</a>
<!--{/if}-->
</li>
<!--{/if}-->
<!--{/if}-->
<!--{/if}-->
<!--{/block}-->
<!--{eval return $return;}-->
{eval
}
function attachinpost($attach) {
global $_G;
$attach['refcheck'] = (!$attach['remote'] && $_G['setting']['attachrefcheck']) || ($attach['remote'] && ($_G['setting']['ftp']['hideurl'] || ($attach['isimage'] && $_G['setting']['attachimgpost'] && strtolower(substr($_G['setting']['ftp']['attachurl'], 0, 3)) == 'ftp')));
$mobilethumburl = $attach['attachimg'] && $_G['setting']['showimages'] && (!$attach['price'] || $attach['payed']) && ($_G['group']['allowgetimage'] || $_G['uid'] == $attach['uid']) ? $attach['url'].$attach['attachment'] : '' ;
$aidencode = packaids($attach);
$is_archive = $_G['forum_thread']['is_archived'] ? '&fid='.$_G['fid'].'&archiveid='.$_G['forum_thread']['archiveid'] : '';
$guestviewthumb = !empty($_G['setting']['guestviewthumb']['flag']) && !$_G['uid'];
$mobileguestviewthumburl = $guestviewthumb ? ($attach['attachimg'] && $_G['setting']['showimages'] && (((!$attach['price'] || $attach['payed']) && ($_G['group']['allowgetimage'] || $_G['uid'] == $attach['uid'])) || ($guestviewthumb)) ? getforumimg($attach['aid'], 0, $_G['setting']['guestviewthumb']['width'], $_G['setting']['guestviewthumb']['height'], 1) : '') : '';
}
<!--{block return}-->
<!--{if $attach['attachimg'] && $_G['setting']['showimages'] && (!$attach['price'] || $attach['payed']) && ($_G['group']['allowgetimage'] || $_G['uid'] == $attach['uid'])}-->
<!--{if $_G['setting']['mobile']['mobilesimpletype'] == 0}-->
<a {if $guestviewthumb}href="javascript:;" onclick="return landingPrompt();" style="display:block;text-align:center;"{else}href="forum.php?mod=viewthread&tid=$attach['tid']&aid=$attach['aid']&from=album&page=$_G['page']"{/if} class="orange"><img id="aimg_$attach['aid']" src="{if $guestviewthumb}$mobileguestviewthumburl{elseif $attach['refcheck']}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes&nothumb=yes{else}{$attach['url']}{$attach['attachment']}{/if}" alt="$attach['imgalt']" title="$attach['imgalt']" {if $guestviewthumb}style="width:{$_G['setting']['guestviewthumb']['width']}px;"{/if} /></a>
<!--{if $guestviewthumb}-->
<a href="member.php?mod=logging&action=login" onclick="return landingPrompt();" style="display:block;font-size:.12rem;text-align:center;color:#06c;">{lang guestviewthumb}</a>
<!--{/if}-->
<!--{/if}-->
<!--{else}-->
<div id="attach_$attach[aid]" class="box attach byg_attach">
<!--{if $_G['setting']['mobile']['mobilesimpletype'] == 0}-->
$attach[attachicon]
<!--{/if}-->
<!--{if !$attach['price'] || $attach['payed']}-->
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode" class="byg_attach_name">$attach[filename]</a>
<!--{else}-->
<a href="forum.php?mod=misc&action=attachpay&aid=$attach[aid]&tid=$attach[tid]" class="byg_attach_name">$attach[filename]</a>
<!--{/if}-->
<em class="xg1 vm">($attach[attachsize])</em>
<!--{if $attach['description']}--><p class="xg2">{$attach[description]}</p><!--{/if}-->
<p class="xg1">( <!--{if $attach['readperm']}-->{lang readperm}: $attach[readperm], <!--{/if}-->$attach[dateline]{lang upload}, {lang downloads}: $attach[downloads]<!--{if $attach['price']}-->, {lang price}: $attach[price] {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]}<!--{/if}--><!--{if !$attach['attachimg'] && $_G['getattachcredits']}-->, {lang attachcredits}: $_G[getattachcredits]<!--{/if}--> )</p>
</div>
<!--{/if}-->
<!--{/block}-->
<!--{eval return $return;}-->
<!--{eval
}
}-->

View File

@@ -0,0 +1,343 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!--{eval require_once(DISCUZ_ROOT.'./template/bygsjw_sj/touch/php/forum_forumdisplay.php');}-->
<!-- header start -->
<header class="header_xin header_nav_forumdisplay">
<div id="byg_header">
<div class="hdc_xin">
<h2 class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<i class="header_z_nav"><div class="swiper-wrapper">$navigation</div></i>
<style type="text/css">
.header_z .header_z_nav{ width: 2.87rem;}
.header_z_nav a, .header_z_nav em, .header_z_nav span{ width: auto;}
</style>
<link rel="stylesheet" href="{$_G['style']['styleimgdir']}/swiper.min.css" type="text/css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<script type="text/javascript">
jQuery(".header_z_nav a, .header_z_nav em, .header_z_nav span").addClass("swiper-slide");
var header_z_nav = new Swiper('.header_z_nav', {
slidesPerView : 'auto',
freeMode : true,
});
</script>
</h2>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
<!--{template common/header_nav}-->
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<!--【版块信息栏-开始】-->
<div class="forumdisplay_top_bg">
<div class="forumdisplay_top sidenav-brand cl">
<div class="cl">
<div class="forumdisplay_top_z z">
<!--{if $_G['forum'][icon]}-->
<img src="<!--{if preg_match("/^http(s)?:\\/\\/.+/",$_G['forum'][icon])}-->{$_G['forum'][icon]}<!--{else}-->{$_G['setting']['attachurl']}common/{$_G['forum'][icon]}<!--{/if}-->" alt="{$_G['forum'][name]}" class="z"/>
<!--{else}-->
<img src="{$_G['style']['styleimgdir']}/forum.png" alt="{$_G['forum'][name]}" class="z"/>
<!--{/if}-->
<div class="y">
<p style="margin-top: .14rem;">{$_G['forum'][name]}</p>
</div>
</div>
<div class="forumdisplay_top_y y cl">
<a href="home.php?mod=spacecp&ac=favorite&type=forum&id=$_G[fid]&handlekey=favoriteforum&formhash={FORMHASH}" onclick="favorite_forum_ajax(this.id);return false;" id="favorite_forum_{$_G[fid]}"><img src="{$_G['style']['styleimgdir']}/bai_shoucang.png" alt="收藏"/>收藏</a>
<a href="forum.php?mod=post&action=newthread&fid=$_G[fid]" title="{lang send_threads}" onclick="return landingPrompt(1);"><img src="{$_G['style']['styleimgdir']}/bai_fatie.png" alt="{lang send_threads}"/>{lang send_threads}</a>
</div>
<script type="text/javascript">
function favorite_forum_ajax(obj) {
var forum_id = '#' + obj;
if($_G[uid]){
jQuery.ajax({
url: jQuery(forum_id).attr('href') + '&inajax=1',
type: 'POST',
dataType: 'xml',
success: function(s){
popup.open(s.lastChild.firstChild.nodeValue);
evalscript(s.lastChild.firstChild.nodeValue);
},
error: function(){
window.location.href = jQuery(forum_id).attr('href');
popup.close();
},
});
}else{
landingPrompt();
}
}
</script>
</div>
<ul class="forumdisplay_tongji cl">
<li class="z"><p>{lang index_today}</p><span>{$_G[forum][todayposts]}</span></li>
<li class="z"><p>{lang index_threads}</p><span>{$_G[forum][threads]}</span></li>
<li class="z"><p>{lang rank}</p><span>{$_G[forum][rank]}</span></li>
<li class="y"><p>收藏</p><span>{$_G[forum][favtimes]}</span></li>
</ul>
<!--{if $moderatedby}-->
<div class="forumdisplay_admin">{lang forum_modedby}<span><!--{echo str_replace("mod=space","mod=space&do=profile",$moderatedby);}--></span></div>
<!--{/if}-->
<!--{if $_G['page'] == 1 && $_G['forum']['rules']}-->
<div class="forumdisplay_rules">$_G['forum'][rules]</div>
<!--{/if}-->
<!--{hook/forumdisplay_nav_mobile}-->
<div class="byg_bl_lang">
<div class="byg_bl_lang1"></div>
<div class="byg_bl_lang2"></div>
</div>
</div>
</div>
<!--【版块信息栏-结束】-->
<!--{if $subexists && $_G['page'] == 1}-->
<div class="sub_forum {if $_G['style']['luntan_bankuai'] == 1}byg_forum1{elseif $_G['style']['luntan_bankuai'] == 2}byg_forum2{elseif $_G['style']['luntan_bankuai'] == 3}byg_forum3{elseif $_G['style']['luntan_bankuai'] == 4}byg_forum4{else}{if $_G[forum][forumcolumns] > 3}byg_forum4{elseif $_G[forum][forumcolumns] == 3}byg_forum3{elseif $_G[forum][forumcolumns] == 2}byg_forum2{else}byg_forum1{/if}{/if}">
<ul class="cl">
<!--{loop $sublist $sub}-->
<li class="cl">
<!--{if $sub[icon]}-->
<div class="forum_img cl">
$sub[icon]
</div>
<!--{else}-->
<a href="forum.php?mod=forumdisplay&fid={$sub['fid']}" class="forum_img cl">
<img src="{$_G['style']['styleimgdir']}/forum.png" alt="$sub[name]" />
</a>
<!--{/if}-->
<a href="forum.php?mod=forumdisplay&fid={$sub['fid']}" class="forum_name cl">
<div class="forum_names over_one">{$sub[name]}</div>
<div class="y">
<span class="forum_threads over_one">
<img src="{$_G['style']['styleimgdir']}/forum_threads.png" alt="主题数"/>{$sub[threads]}
</span>
<span class="forum_posts over_one">
<img src="{$_G['style']['styleimgdir']}/forum_posts.png" alt="帖子数"/>{$sub[posts]}
</span>
</div>
</a>
</li>
<!--{/loop}-->
</ul>
</div>
<!--{/if}-->
<!--{if ($_G['forum']['threadtypes'] && $_G['forum']['threadtypes']['listable']) || (isset($_G['forum']['threadsorts']['types']) && is_array($_G['forum']['threadsorts']['types']) && count($_G['forum']['threadsorts']['types']) > 0)}-->
<div style="position: relative;">
<div class="byg_thread_types">
<ul id="thread_types" class="swiper-wrapper">
<li id="ttp_all" class="swiper-slide{if !$_GET['typeid'] && !$_GET['sortid']} a{/if}"><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_G['forum']['threadsorts']['defaultshow']}&filter=sortall&sortall=1{/if}{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang forum_viewall}</a></li>
<!--{if $_G['forum']['threadtypes']}-->
<!--{loop $_G['forum']['threadtypes']['types'] $id $name}-->
<!--{if $_GET['typeid'] == $id}-->
<li class="swiper-slide a"><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_GET['sortid']}&filter=sortid&sortid=$_GET['sortid']{/if}{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}"><!--{if $_G[forum][threadtypes][icons][$id] && $_G['forum']['threadtypes']['prefix'] == 2}--><img src="$_G[forum][threadtypes][icons][$id]" alt="{$name}" /> <!--{/if}-->{$name}<!--{if $showthreadclasscount[typeid][$id]}--><span class="num">({$showthreadclasscount[typeid][$id]})</span><!--{/if}--></a></li>
<!--{else}-->
<li class="swiper-slide"><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=typeid&typeid=$id$forumdisplayadd[typeid]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}"><!--{if $_G[forum][threadtypes][icons][$id] && $_G['forum']['threadtypes']['prefix'] == 2}--><img src="$_G[forum][threadtypes][icons][$id]" alt="{$name}" /> <!--{/if}-->{$name}<!--{if $showthreadclasscount[typeid][$id]}--><span class="num">({$showthreadclasscount[typeid][$id]})</span><!--{/if}--></a></li>
<!--{/if}-->
<!--{/loop}-->
<!--{/if}-->
<!--{if $_G['forum']['threadsorts']}-->
<!--{if $_G['forum']['threadtypes']}-->
<li class="swiper-slide"><span class="pipe">|</span></li>
<!--{/if}-->
<!--{loop $_G['forum']['threadsorts']['types'] $id $name}-->
<!--{if $_GET['sortid'] == $id}-->
<li class="swiper-slide a"><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_GET['typeid']}&filter=typeid&typeid=$_GET['typeid']{/if}{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">$name<!--{if $showthreadclasscount[sortid][$id]}--><span class="num">({$showthreadclasscount[sortid][$id]})</span><!--{/if}--></a></li>
<!--{else}-->
<li class="swiper-slide"><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=sortid&sortid=$id$forumdisplayadd[sortid]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">$name<!--{if $showthreadclasscount[sortid][$id]}--><span class="num">({$showthreadclasscount[sortid][$id]})</span><!--{/if}--></a></li>
<!--{/if}-->
<!--{/loop}-->
<!--{/if}-->
</ul>
</div>
<!--{if $quicksearchlist && !$_GET['archiveid']}-->
<!--{subtemplate forum/search_sortoption}-->
<!--{/if}-->
<link rel="stylesheet" type="text/css" href="{$_G['style']['styleimgdir']}/swiper.min.css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<script type="text/javascript">
if(jQuery(".byg_thread_types .a").length > 0) {
var tab_initial = jQuery(".byg_thread_types .a").offset().left + jQuery(".byg_thread_types .a").width() + 20 >= jQuery(window).width() ? jQuery(".byg_thread_types .a").index() : 0;
}else{
var tab_initial = 0;
}
var byg_thread_types = new Swiper('.byg_thread_types', {
initialSlide : tab_initial,
slidesPerView : 'auto',
freeMode : true,
});
</script>
</div>
<!--{/if}-->
<!--{hook/forumdisplay_top_mobile}-->
<!--{hook/forumdisplay_middle}-->
<!-- main threadlist start -->
<!--{if $forum_list_gg}-->
<div class="byg_gg">{$forum_list_gg}</div>
<!--{/if}-->
<!--{if !$subforumonly}-->
<div class="threadlist byg_threadlist">
<!--{if empty($_G['forum']['sortmode']) || $_G['style']['luntan_fenlei'] != "on"}-->
<!--{if $_G['style']['gonggao'] == 'on'}-->
<!--{if $forum_an}-->
<div class="byg_an">
<img src="{$_G['style']['styleimgdir']}/an.gif" alt="{lang announcement}" class="byg_an_i byg_an_i1"/>
<!--{loop $forum_an $f_a}-->
<!--{if $f_a[type] == 0}-->
<span class="an_li"><a href="forum.php?mod=announcement&id={$f_a[id]}" class="an_li_m">{$f_a[subject]}</a></span>
<!--{else}-->
<span class="an_li"><a href="{$f_a[message]}">{$f_a[subject]}</a></span>
<!--{/if}-->
<!--{/loop}-->
</div>
<!--{/if}-->
<!--{/if}-->
<ul class="byg_threadlist_ul">
<!--{if $_G['forum_threadcount']}-->
<!--{subtemplate forum/forumdisplay_list}-->
<!--{else}-->
<!--{if empty($_G['forum']['picstyle']) || $_G['cookie']['forumdefstyle']}-->
<li style="padding:.1rem;color:#888;text-align:center;">{lang forum_nothreads}</li>
<!--{else}-->
<style type="text/css">
ul.byg_threadlist_ul{ margin: 0; height: auto !important;}
ul.byg_threadlist_ul li{ top: 0 !important; left: 0 !important; width: 3.55rem !important;}
</style>
<li style="padding:.1rem;color:#888;text-align:center;">{lang forum_nothreads}</li>
<!--{/if}-->
<!--{/if}-->
</ul>
<!--{if empty($_G['forum']['picstyle']) || $_G['cookie']['forumdefstyle']}-->
<!--{if $_G['style']['liebiaotu'] == "on"}-->
<style type="text/css">
.list_img1_box .list_top{ float: left; width: 2.32rem; height: .44rem; margin-bottom: .06rem; padding-right: 0; overflow: hidden;}
.list_img1_box .list_img1{ float: right; width: 1.15rem; padding: .1rem .1rem .1rem 0;}
.list_img1_box .list_img1 a{ width: 100%; height: .76rem; padding: 0; border-radius: .04rem; overflow: hidden; display: block; background-position: center center; background-repeat: no-repeat; background-size: cover; -webkit-background-size: cover;}
.list_img1_box .list_bottom{ float: left; width: 2.28rem; margin-right: 0;}
</style>
<!--{/if}-->
<!--{else}-->
<!--{if $_G['forum_threadcount']}-->
<style type="text/css">
.byg_threadlist .byg_an{ border-bottom: 1px solid #f1f1f1;}
.byg_threadlist_ul{ display: none !important;}
.byg_threadlist_picstyle{ position: relative; padding: .12rem .125rem 0; width: 3.5rem; background: #fff;}
.byg_threadlist .byg_threadlist_ul0{ width: 1.69rem;}
.byg_threadlist .byg_threadlist_pic_li{ position: relative; width: 1.69rem; overflow: hidden; margin: 0 0 .12rem; padding: 0; box-shadow: 0 0 0 1px #f1f1f1; border-radius: .08rem;}
.byg_threadlist .byg_threadlist_pic{ background: #fafafa;}
.byg_threadlist .byg_pic_img a{ padding: 0;}
.byg_threadlist .byg_pic_img img{ vertical-align: middle; width: 100%; border-radius: .08rem .08rem 0 0;}
.byg_threadlist .byg_pic_tit a{ display: block; padding: .06rem .08rem; font-size: .152rem; line-height: .2rem;}
.byg_threadlist .byg_pic_auth{ padding: .04rem .07rem .07rem; line-height: .2rem; font-size: .12rem; color: #999;}
.byg_threadlist .byg_pic_auth .z{ padding: 0; line-height: .2rem; font-size: .12rem; color: #888;}
.byg_threadlist .byg_pic_auth .z img{ width: .2rem; height: .2rem; border-radius: 50%; margin-right: .03rem; vertical-align: top;}
.byg_threadlist .byg_pic_auth .y img{ width: .16rem; height: .16rem; margin: .02rem; vertical-align: top;}
</style>
<div class="byg_threadlist_picstyle cl">
<ul class="byg_threadlist_ul0 byg_threadlist_ul1 z"></ul>
<ul class="byg_threadlist_ul0 byg_threadlist_ul2 y"></ul>
</div>
<!--{eval $byg_picstyle = 1;}-->
<script type="text/javascript">
var byg_show_state = true;
function list_show() {
if (byg_show_state == true) {
byg_show_state = false;
var lis = jQuery(".byg_threadlist_ul .byg_threadlist_pic_li");
jQuery(".byg_threadlist_ul").html("");
for(let n=0;n<lis.length;n++){
setTimeout(function(){
if (jQuery(".byg_threadlist_ul1").height() <= jQuery(".byg_threadlist_ul2").height()) {
lis.eq(n).appendTo(".byg_threadlist_ul1");
} else {
lis.eq(n).appendTo(".byg_threadlist_ul2");
}
if (n + 1 == lis.length){
byg_show_state = true;
}
}, n * 200);
}
}
}
list_show();
</script>
<!--{/if}-->
<!--{/if}-->
<!--{else}-->
<div class="byg_sorttemplate_box">
<div class="byg_sorttemplate cl">
{$sorttemplate['body']}
</div>
</div>
<!--{/if}-->
<!--{if $_G['forum_threadcount']}-->
<div style="{if $_G['style']['fanye'] != 'on'}display: none;{/if}">$multipage</div>
<!--{if $_G['style']['fanye'] != 'on'}-->
<div class="load_more_button">
<a href="javascript:;"><img src="{$_G['style']['styleimgdir']}/loading.gif" alt="等待"/>数据加载中,请稍后...</a>
</div>
<script type="text/javascript">
var ajax_state = true;
var ajax_page = <!--{if $_GET[page]}-->$_GET[page]<!--{else}-->1<!--{/if}--> + 1;
var all_page = jQuery('div.pg label span').text().replace(/[^\d]/g, '') || 0;
var ajax_url = 'forum.php?mod=forumdisplay&fid=' + '$_GET[fid]'<!--{if $_GET[filter]}--> + '&filter=' + '$_GET[filter]'<!--{/if}--><!--{if $_GET[digest]}--> + '&digest=' + '$_GET[digest]'<!--{/if}--><!--{if $_GET[sortid]}--> + '&sortid=' + '$_GET[sortid]'<!--{/if}--><!--{if $_GET[typeid]}--> + '&typeid=' + '$_GET[typeid]'<!--{/if}--><!--{if $_GET[orderby]}--> + '&orderby=' + '$_GET[orderby]'<!--{/if}--><!--{if $_GET[specialtype]}--> + '&specialtype=' + '$_GET[specialtype]'<!--{/if}--><!--{if $_GET[dateline]}--> + '&dateline=' + '$_GET[dateline]'<!--{/if}--><!--{if $_GET[sortall]}--> + '&sortall=' + '$_GET[sortall]'<!--{/if}-->;
function list_ajax() {
<!--{if isset($byg_picstyle)}-->
var list_hidden = jQuery(".byg_threadlist_ul .byg_threadlist_pic_li");
if (list_hidden.length > 0) {
list_show();
} else <!--{/if}-->if (ajax_state == true) {
if (all_page >= 2 && all_page >= ajax_page) {
ajax_state = false;
jQuery(".load_more_button").html('<a href="javascript:;"><img src="{$_G['style']['styleimgdir']}/loading.gif" alt="等待"/>数据加载中,请稍后...</a>');
jQuery.ajax({
url: ajax_url + '&page=' + ajax_page + '&mobile=2',
type: 'GET',
dataType: 'html',
success: function(result) {
<!--{if empty($_G['forum']['sortmode']) || $_G['style']['luntan_fenlei'] != "on"}-->
jQuery(".byg_threadlist_ul").append(jQuery(result).find(".byg_threadlist_ul").html());
<!--{else}-->
jQuery(".byg_sorttemplate").append(jQuery(result).find(".byg_sorttemplate").html());
<!--{/if}-->
ajax_page++;
ajax_state = true;
}
});
} else {
jQuery(".load_more_button").html('<a href="javascript:;">已经到底了</a>');
ajax_state = false;
}
}
}
if (jQuery(document).height() <= jQuery(window).height()) {
list_ajax();
}
jQuery(window).scroll(function() {
if (jQuery(document).height() <= jQuery(window).height() + jQuery(window).scrollTop() + 1000) {
list_ajax();
}
});
</script>
<!--{/if}-->
<!--{/if}-->
</div>
<!--{/if}-->
<!-- main threadlist end -->
<!--{hook/forumdisplay_bottom_mobile}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,172 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{if $_G['forum_threadpay']}-->
<style>
.viewthread_pay_fixed{ width: 100%; height: .5rem; background: #fff; border-top: 1px solid #ddd; position: fixed; left: 0; bottom: 0; z-index: 95;}
.viewthread_pay_fixed a{ float: left; width: 25%; line-height: .5rem; text-align: center; font-size: .16rem; color: #999;}
.viewthread_pay_fixed a img{ width: .22rem; height: .22rem; margin: .14rem .01rem; vertical-align: top;}
.viewthread_pay_fixed .post_edit{ box-shadow: 1px 0 0 #ddd;}
.viewthread_pay_fixed .pay_thread{ float: right; width: 49.5%; background: $_G['style']['zhuti']; color: #fff; font-weight: 700;}
.viewthread_pay_fixed .pay_thread span{ display: inline-block; margin-left: .02rem; font-weight: 400; font-size: .13rem;}
.locked{ text-align: center; font-weight: 700;}
.locked .byg_viewpay{ display: none;}
.locked .right{ display: block; font-size: .14rem; color: #999;}
</style>
<div class="viewthread_pay_fixed">
<a {if $fastpost}href="javascript:;"{else}href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&reppost=$_G[forum_firstpid]&page=$page" onclick="return landingPrompt(2);"{/if} title="{lang reply}" class="post_edit">
<img src="{$_G['style']['styleimgdir']}/forum_posts.png" alt="回复"/>回复
</a>
<a href="home.php?mod=spacecp&ac=favorite&type=thread&id=$_G[tid]" title="{lang favorite}" onclick="favorite_thread_ajax(this.id);return false;" class="pay_favorite" id="favorite_thread_{$_G[tid]}">
<img src="{$_G['style']['styleimgdir']}/hui_shoucang.png" alt="收藏"/>收藏
</a>
<a href="javascript:;" onclick="return landingPrompt();" class="pay_thread">购买主题<span>({$_G[forum_thread][price]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]})</span></a>
</div>
<script type="text/javascript">
jQuery(".pay_thread").attr("href", jQuery(".locked .byg_viewpay").attr("href"));
</script>
<!--{else}-->
<div class="post_fixed cl">
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心" onclick="return landingPrompt();" class="post_avatar"><!--{avatar($_G['uid'],'middle')}--></a>
<a {if $fastpost}href="javascript:;"{else}href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&reppost=$_G[forum_firstpid]&page=$page" onclick="return landingPrompt(2);"{/if} title="{lang reply}" class="post_edit">{lang send_reply_fast_tip}</a>
<a href="javascript:;" class="post_fast_reply"><img src="{$_G['style']['styleimgdir']}/hui_huifu.png" alt="回复"/><!--{if $_G['forum_thread']['allreplies']}--><span><!--{echo cutstr($_G['forum_thread']['allreplies'],3,'')}--></span><!--{/if}--></a>
<a href="home.php?mod=spacecp&ac=favorite&type=thread&id=$_G[tid]" title="{lang favorite}" onclick="favorite_thread_ajax(this.id);return false;" class="post_favorite" id="favorite_thread_{$_G[tid]}"><img src="{$_G['style']['styleimgdir']}/hui_shoucang.png" alt="收藏"/><!--{if $_G['forum_thread']['favtimes']}--><span><!--{echo cutstr($_G['forum_thread']['favtimes'],3,'')}--></span><!--{/if}--></a>
<a href="javascript:history.back();" title="返回上一页" class="post_return"><img src="{$_G['style']['styleimgdir']}/hui_fanhui.png" alt="返回"/></a>
</div>
<script type="text/javascript">
jQuery(".post_fast_reply").click(function(){jQuery("html, body").animate({scrollTop: jQuery(".postlist_title").offset().top}, 500);});
</script>
<!--{/if}-->
<div id="post_new"></div>
<div class="cover_div"></div>
<div class="plc plc_xin cl">
<form method="post" autocomplete="off" id="fastpostform" action="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&extra=$_GET[extra]&replysubmit=yes&mobile=2">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<div class="pi">
<ul class="fastpost">
<!--{if $_G[forum_thread][special] == 5 && empty($firststand)}-->
<li style="margin-bottom:.1rem;">
<select id="stand" name="stand" >
<option value="">{lang debate_viewpoint}</option>
<option value="0">{lang debate_neutral}</option>
<option value="1">{lang debate_square}</option>
<option value="2">{lang debate_opponent}</option>
</select>
</li>
<!--{/if}-->
<li style="position:relative;">
<textarea name="message" rows="5" placeholder="&nbsp;{lang send_reply_fast_tip}" class="pt" id="fastpostmessage"></textarea>
<a href="javascript:;" class="reply_y reply_y_t">取消</a>
<a href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&reppost=$_G[forum_firstpid]&page=$page" onclick="return landingPrompt(2);" class="reply_y reply_y_c">高级</a>
<input type="button" value="{lang reply}" class="reply_y reply_y_b" name="replysubmit" id="fastpostsubmit">
</li>
<li id="fastpostsubmitline">
<!--{if $secqaacheck || $seccodecheck}--><!--{subtemplate common/seccheck}--><!--{/if}-->
<!--{hook/viewthread_fastpost_button_mobile}-->
</li>
</ul>
</div>
</form>
</div>
<script type="text/javascript">
jQuery(".post_edit").click(function(){jQuery(".plc_xin").slideToggle(0);});
jQuery(".post_edit").click(function(){jQuery(".cover_div").slideToggle(0);});
jQuery(".cover_div").click(function(){jQuery(".plc_xin").slideToggle(0);});
jQuery(".cover_div").click(function(){jQuery(".cover_div").slideToggle(0);});
jQuery(".reply_y_t").click(function(){jQuery(".plc_xin").slideToggle(0);});
jQuery(".reply_y_t").click(function(){jQuery(".cover_div").slideToggle(0);});
(function() {
var form = jQuery('#fastpostform');
<!--{if !$allowpostreply}-->
jQuery('#fastpostmessage').on('focus', function() {
<!--{if !$_G[uid]}-->
jQuery(".cover_top").slideToggle(0);
jQuery(".landingPrompt").slideToggle(500);
<!--{else}-->
popup.open('{lang nopostreply}', 'alert');
<!--{/if}-->
this.blur();
});
<!--{else}-->
jQuery('#fastpostmessage').on('focus', function() {
var obj = jQuery(this);
if(obj.attr('') == '') {
obj.attr('value', '');
obj.removeClass('');
obj.attr('', '');
jQuery('#fastpostsubmitline').css('', '');
}
})
.on('blur', function() {
var obj = jQuery(this);
if(obj.attr('value') == '') {
obj.addClass('');
obj.attr('value', '');
obj.attr('color', '');
}
});
<!--{/if}-->
jQuery('#fastpostsubmit').on('click', function() {
var msgobj = jQuery('#fastpostmessage');
if(msgobj.val() == '') {
msgobj.attr('value', '');
}
jQuery.ajax({
type:'POST',
url:form.attr('action') + '&handlekey=fastpost&loc=1&inajax=1',
data:form.serialize(),
dataType:'xml'
})
.success(function(s) {
evalscript(s.lastChild.firstChild.nodeValue);
})
.error(function() {
window.location.href = obj.attr('href');
popup.close();
});
return false;
});
jQuery('#replyid').on('click', function() {
jQuery(document).scrollTop(jQuery(document).height());
jQuery('#fastpostmessage')[0].focus();
});
})();
function succeedhandle_fastpost(locationhref, message, param) {
var pid = param['pid'];
var tid = param['tid'];
if(pid) {
jQuery.ajax({
type:'POST',
url:'forum.php?mod=viewthread&tid=' + tid + '&viewpid=' + pid + '&mobile=2',
dataType:'xml'
})
.success(function(s) {
jQuery('#post_new').append(s.lastChild.firstChild.nodeValue);
})
.error(function() {
window.location.href = 'forum.php?mod=viewthread&tid=' + tid;
popup.close();
});
jQuery(".plc_xin").slideToggle(0);
jQuery(".cover_div").slideToggle(0);
jQuery(".no_reply").hide();
} else {
if(!message) {
message = '{lang postreplyneedmod}';
}
popup.open(message, 'alert');
}
jQuery('#fastpostmessage').attr('value', '');
if(param['sechash']) {
jQuery('.seccodeimg').click();
}
}
function errorhandle_fastpost(message, param) {
popup.open(message, 'alert');
}
</script>

View File

@@ -0,0 +1,233 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{if empty($_G['forum']['picstyle']) || $_G['cookie']['forumdefstyle']}-->
<!--{eval require_once(DISCUZ_ROOT.'./template/bygsjw_sj/touch/php/function_bygsjw.php');}-->
<!--{eval $bankuai_y2 = explode(" ", $_G['style']['bankuai_y2']);}-->
<!--{loop $_G['forum_threadlist'] $key $thread}-->
<!--{if !($_G['setting']['mobile']['mobiledisplayorder3'] || $_G['setting']['mobile']['forum']['displayorder3']) && $thread['displayorder'] > 0}-->
{eval continue;}
<!--{/if}-->
<!--{if $thread['displayorder'] > 0 && !$displayorder_thread}-->
{eval $displayorder_thread = 1;}
<!--{/if}-->
<!--{if $thread['moved']}-->
<!--{eval $thread[tid]=$thread[closed];}-->
<!--{/if}-->
<!--{eval}-->
if ($_G['style']['bankuai_y2'] == "on" || in_array($_G['fid'], $bankuai_y2)) {
if (in_array($thread['displayorder'], array(1, 2, 3, 4))) {
$img_number = 0;
} elseif ($_G['style']['liebiaotu'] == "on") {
$list_img1 = byg_threadlist_img($thread['tid'], $thread['authorid'], 9);
$img_number = count($list_img1);
} else {
$img_number = 0;
}
} else {
if ($_G['style']['liebiaotu'] == "on") {
$list_img1 = byg_threadlist_img($thread['tid'], $thread['authorid'], 3);
$img_number = count($list_img1);
} else {
$img_number = 0;
}
}
<!--{/eval}-->
<!--{if $_G['style']['bankuai_y2'] == "on" || in_array($_G['fid'], $bankuai_y2)}-->
<li class="bk_y2_li cl{if in_array($thread['displayorder'], array(1, 2, 3, 4))} list_displayorder{else} no_displayorder{/if}">
<!--{hook/forumdisplay_thread_mobile $key}-->
<div class="bk_y2_t cl">
<!--{if $thread['authorid'] && $thread['author']}-->
<a href="home.php?mod=space&uid=$thread['authorid']&do=profile" class="z"><img src="{avatar($thread['authorid'], 'middle', true)}" class="bk_y2_avatar z"/></a>
<div class="y">
<p class="bk_y2_author"><a href="home.php?mod=space&uid=$thread['authorid']&do=profile">{$thread['author']}</a></p>
<p class="bk_y2_date">{$thread['dateline']}</p>
</div>
<!--{else}-->
<a href="javascript:;" class="z"><img src="{$_G['style']['styleimgdir']}/middle.gif" alt="{$_G['setting']['anonymoustext']}" class="bk_y2_avatar z"/></a>
<div class="y">
<p class="bk_y2_author"><a href="javascript:;">{$_G['setting']['anonymoustext']}</a></p>
<p class="bk_y2_date">{$thread[dateline]}</p>
</div>
<!--{/if}-->
<!--{if $thread[typename]}-->
<a href="forum.php?mod=forumdisplay&fid=$thread['fid']&filter=typeid&typeid=$thread['typeid']" class="bk_y2_from">#{$thread[typename]}</a>
<!--{/if}-->
</div>
<div class="bk_y2_c cl">
<h3 class="bk_y2_title">
<a href="forum.php?mod=viewthread&tid=$thread['tid']&extra=$extra" $thread['highlight']>
<!--{if in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
<img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="$_G[setting][threadsticky][3-$thread[displayorder]]" style="margin-top:.01rem;" />
<!--{/if}-->
{$thread['subject']}
<!--{if $thread['price'] > 0}-->
<!--{if $thread['special'] == '3'}-->
<span class="list_typename">{lang thread_reward}{$thread[price]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][title]}</span>
<!--{else}-->
<span class="list_typename">{lang price}{$thread[price]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][title]}</span>
<!--{/if}-->
<!--{elseif $thread['special'] == '3' && $thread['price'] < 0}-->
<span class="list_typename">{lang reward_solved}</span>
<!--{/if}-->
<!--{if $thread[digest]}-->
<img src="{IMGDIR}/digest_$thread[digest].gif" alt="精华" style="height:.16rem;margin-top:.04rem;" />
<!--{/if}-->
<!--{if $_G['style']['liebiaotu'] != "on"}-->
<!--{if $thread['attachment'] == 2 && $_G['setting']['mobile']['mobilesimpletype'] == 0}-->
<img src="{STATICURL}image/filetype/image_s.gif" alt="图片" />
<!--{/if}-->
<!--{/if}-->
<!--{if $thread[folder] == 'lock'}-->
<img src="{IMGDIR}/folder_lock.gif" alt="锁定" />
<!--{elseif $thread['special'] == 1}-->
<img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" />
<!--{elseif $thread['special'] == 2}-->
<img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" />
<!--{elseif $thread['special'] == 3}-->
<img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" />
<!--{elseif $thread['special'] == 4}-->
<img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" />
<!--{elseif $thread['special'] == 5}-->
<img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" />
<!--{else}-->
<!--{/if}-->
</a>
</h3>
<!--{if $img_number == 1}-->
<!--{loop $list_img1 $list_img1_1}-->
<div class="bk_y2_img1 cl">
<a href="forum.php?mod=viewthread&tid=$thread['tid']&extra=$extra" class="z"><img src="{if $list_img1_1[remote] == 0}{eval echo(getforumimg($list_img1_1['aid'],0,400,0))}{else}{$_G['setting']['ftp']['attachurl']}forum/{$list_img1_1[attachment]}{/if}" alt="{$thread['subject']}"/></a>
</div>
<!--{/loop}-->
<!--{elseif $img_number > 1}-->
<div class="bk_y2_img3 cl">
<!--{loop $list_img1 $list_img1_1}-->
<div class="z">
<a href="forum.php?mod=viewthread&tid=$thread['tid']&extra=$extra" class="img_center" style="background-image:url({if $list_img1_1[remote] == 0}{eval echo(getforumimg($list_img1_1['aid'],0,200,200))}{else}{$_G['setting']['ftp']['attachurl']}forum/{$list_img1_1[attachment]}{/if});"></a>
</div>
<!--{/loop}-->
</div>
<!--{/if}-->
</div>
<!--{hook/forumdisplay_thread_content_mobile $key}-->
<div class="bk_y2_b">
<a href="forum.php?mod=viewthread&tid=$thread['tid']&extra=$extra" class="cl">
<span class="z"><img src="{$_G['style']['styleimgdir']}/chakan.png" alt="查看"/><!--{if $thread['isgroup'] != 1}-->{$thread[views]}<!--{else}-->{$groupnames[$thread[tid]][views]}<!--{/if}--></span>
<span class="z"><img src="{$_G['style']['styleimgdir']}/forum_posts.png" alt="回复"/>{$thread[allreplies]}</span>
<span class="y"><img src="{$_G['style']['styleimgdir']}/zan.png" alt="点赞"/>{$thread[recommends]}</span>
</a>
</div>
<!--{hook/forumdisplay_thread_foot_mobile $key}-->
</li>
<!--{else}-->
<li class="cl{if $img_number == 1 || $img_number == 2} list_img1_box{/if}">
<!--{hook/forumdisplay_thread_mobile $key}-->
<div class="list_top cl">
<a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" $thread[highlight] class="over_two">
<!--{if $thread[folder] == 'lock'}-->
<img src="{IMGDIR}/folder_lock.gif" alt="锁定" />
<!--{elseif $thread['special'] == 1}-->
<img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" />
<!--{elseif $thread['special'] == 2}-->
<img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" />
<!--{elseif $thread['special'] == 3}-->
<img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" />
<!--{elseif $thread['special'] == 4}-->
<img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" />
<!--{elseif $thread['special'] == 5}-->
<img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" />
<!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
<img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="$_G[setting][threadsticky][3-$thread[displayorder]]" />
<!--{else}-->
<img src="{IMGDIR}/folder_$thread[folder].gif" alt="普通" />
<!--{/if}-->
<!--{if $thread['price'] > 0}-->
<!--{if $thread['special'] == '3'}-->
<span class="list_typename">{lang thread_reward}{$thread[price]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][title]}</span>
<!--{else}-->
<span class="list_typename">{lang price}{$thread[price]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][title]}</span>
<!--{/if}-->
<!--{elseif $thread['special'] == '3' && $thread['price'] < 0}-->
<span class="list_typename">{lang reward_solved}</span>
<!--{/if}-->
<!--{if $thread[typename]}--><span class="list_typename">{$thread[typename]}</span><!--{/if}-->
{$thread[subject]}</a>
</div>
<!--{if $img_number == 1 || $img_number == 2}-->
<!--{eval $list_img1 = array_slice($list_img1,0,1);}-->
<!--{loop $list_img1 $list_img1_1}-->
<div class="list_img1 cl">
<a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" style="background-image:url({if $list_img1_1[remote] == 0}{eval echo(getforumimg($list_img1_1['aid'],0,230,150))}{else}{$_G['setting']['ftp']['attachurl']}forum/{$list_img1_1[attachment]}{/if});"></a>
</div>
<!--{/loop}-->
<!--{elseif $img_number > 2}-->
<ul class="list_img3 cl">
<!--{loop $list_img1 $list_img1_1}-->
<li>
<a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" style="background-image:url({if $list_img1_1[remote] == 0}{eval echo(getforumimg($list_img1_1['aid'],0,230,150))}{else}{$_G['setting']['ftp']['attachurl']}forum/{$list_img1_1[attachment]}{/if});"></a>
</li>
<!--{/loop}-->
</ul>
<!--{/if}-->
<div class="list_bottom cl">
<!--{if $thread[digest]}-->
<em class="z jinghua_icon"><img src="{IMGDIR}/digest_$thread[digest].gif" alt="精华"/></em>
<!--{elseif $_G['style']['liebiaotu'] != "on"}-->
<!--{if $thread['attachment'] == 2 && $_G['setting']['mobile']['mobilesimpletype'] == 0}-->
<em class="z jinghua_icon"><img src="{STATICURL}image/filetype/image_s.gif" alt="图片" style="height: .16rem; margin: .03rem .02rem 0 0;"/></em>
<!--{/if}-->
<!--{/if}-->
<!--{if $thread['authorid'] && $thread['author']}-->
<a href="home.php?mod=space&uid=$thread[authorid]&do=profile" class="z">{$thread[author]}</a>
<!--{else}-->
<a href="javascript:;" class="z">{$_G[setting][anonymoustext]}</a>
<!--{/if}-->
<em class="z">&nbsp;&nbsp;&nbsp;{$thread[dateline]}&nbsp;&nbsp;</em>
<span class="y">
<img src="{$_G['style']['styleimgdir']}/forum_posts.png" alt="回复数"/>{$thread[allreplies]}
</span>
<span class="y">
<img src="{$_G['style']['styleimgdir']}/chakan.png" alt="查看数"/><!--{if $thread['isgroup'] != 1}-->{$thread[views]}<!--{else}-->{$groupnames[$thread[tid]][views]}<!--{/if}-->&nbsp;&nbsp;
</span>
</div>
<!--{hook/forumdisplay_thread_content_mobile $key}-->
<!--{hook/forumdisplay_thread_foot_mobile $key}-->
</li>
<!--{/if}-->
<!--{/loop}-->
<!--{else}-->
<!--{loop $_G['forum_threadlist'] $key $thread}-->
<!--{if $_G['hiddenexists'] && $thread['hidden']}-->
<!--{eval continue;}-->
<!--{/if}-->
<!--{if !$thread['forumstick'] && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
<!--{if $thread['related_group'] == 0 && $thread['closed'] > 1}-->
<!--{eval $thread[tid]=$thread[closed];}-->
<!--{/if}-->
<!--{/if}-->
<li class="byg_threadlist_pic_li">
<div class="byg_threadlist_pic">
<div class="byg_pic_img">
<a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_GET['archiveid']}archiveid={$_GET['archiveid']}&{/if}extra=$extra" title="$thread[subject]">
<!--{if $thread['cover']}-->
<img src="$thread[coverpath]" alt="$thread[subject]" />
<!--{else}-->
<img src="{$_G['style']['styleimgdir']}/nophoto.gif" alt="$thread[subject]" />
<!--{/if}-->
</a>
</div>
<h3 class="byg_pic_tit">
<a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_GET['archiveid']}archiveid={$_GET['archiveid']}&{/if}extra=$extra"$thread[highlight] title="$thread[subject]">$thread[subject]</a>
</h3>
<div class="byg_pic_auth cl">
<!--{if $thread['authorid'] && $thread['author']}-->
<a href="home.php?mod=space&uid=$thread[authorid]&do=profile" class="z"><img src="<!--{avatar($thread['authorid'], 'middle', true)}-->" alt="{$thread[author]}"/>{$thread[author]}</a>
<!--{else}-->
<a href="javascript:;" class="z"><img src="{$_G['style']['styleimgdir']}/middle.gif" alt="{$_G[setting][anonymoustext]}"/>{$_G[setting][anonymoustext]}</a>
<!--{/if}-->
<span class="y"><img src="{$_G['style']['styleimgdir']}/chakan.png" alt="查看"/><!--{if $thread['isgroup'] != 1}-->{$thread[views]}<!--{else}-->{$groupnames[$thread[tid]][views]}<!--{/if}--></span>
</div>
</div>
</li>
<!--{/loop}-->
<!--{/if}-->

View File

@@ -0,0 +1,38 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div id="byg_header">
<div class="hdc_xin">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<i>$navigation</i>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
<!--{template common/header_nav}-->
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<div class="fdy_passwd_box">
<h3>{lang forum_password_require}</h3>
<div class="fdy_passwd_form">
<form method="post" autocomplete="off" action="forum.php?mod=forumdisplay&fid=$_G[fid]&action=pwverify">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="password" name="pw" class="px vm" size="25" />
<button class="vm" type="submit" name="loginsubmit" value="true">{lang submit}</button>
</form>
</div>
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,37 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div id="byg_header">
<div class="hdc_xin">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<i>$navigation</i>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
<!--{template common/header_nav}-->
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<div class="fdy_pay_box">
<h3>{lang youneedpay} $paycredits {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]]['unit']}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]]['title']} {lang onlyintoforum}</h3>
<div class="fdy_pay_form">
<form method="post" autocomplete="off" action="forum.php?mod=forumdisplay&fid=$_G[fid]&action=paysubmit">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<button class="vm" type="submit" name="loginsubmit" value="true">{lang confirmyourpay}</button>
<button class="vm" type="button" onclick="history.back()" style="margin-left: .1rem;">{lang cancel}</button>
</form>
</div>
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,100 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div id="byg_header">
<div class="hdc_xin">
<h2 class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<span>导读</span>
</h2>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
<!--{template common/header_nav}-->
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<!--{eval $forum_guide_gg = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版论坛导读页广告','summary');}-->
<!--{if $forum_guide_gg}-->
<div class="byg_gg">{$forum_guide_gg}</div>
<!--{/if}-->
<!-- main threadlist start -->
<div class="threadlist">
<!--{if $_G['style']['liebiaotu'] == "on"}-->
<style>
.list_img1_box .list_top{ float: left; width: 2.32rem; height: .44rem; margin-bottom: .06rem; padding-right: 0; overflow: hidden;}
.list_img1_box .list_img1{ float: right; width: 1.15rem; padding: .1rem .1rem .1rem 0;}
.list_img1_box .list_img1 a{ width: 100%; height: .76rem; padding: 0; border-radius: .04rem; overflow: hidden; display: block; background-position: center center; background-repeat: no-repeat; background-size: cover; -webkit-background-size: cover;}
.list_img1_box .list_bottom{ float: left; width: 2.28rem; margin-right: 0;}
</style>
<!--{/if}-->
<!--{loop $data $key $list}-->
<ul class="hotlist">
<!--{if $list['threadcount']}-->
<!--{subtemplate forum/guide_list_row}-->
<!--{else}-->
<li style="padding:.1rem;color:#888;text-align:center;">{lang guide_nothreads}</li>
<!--{/if}-->
</ul>
<!--{if $list['threadcount']}-->
<div style="{if $_G['style']['fanye'] != 'on'}display: none;{/if}">$multipage</div>
<!--{if $_G['style']['fanye'] != 'on'}-->
<div class="load_more_button">
<a href="javascript:;"><img src="{$_G['style']['styleimgdir']}/loading.gif" alt="等待"/>数据加载中,请稍后...</a>
</div>
<script type="text/javascript">
var ajax_state = true;
var ajax_page = <!--{if $_GET[page]}-->$_GET[page]<!--{else}-->1<!--{/if}--> + 1;
var all_page = jQuery('div.pg label span').text().replace(/[^\d]/g, '') || 0;
var ajax_url = 'forum.php?mod=guide&view=' + '$_GET[view]';
function list_ajax() {
if(ajax_state == true) {
if(all_page >= 2 && all_page >= ajax_page) {
ajax_state = false;
jQuery(".load_more_button").html('<a href="javascript:;"><img src="{$_G['style']['styleimgdir']}/loading.gif" alt="等待"/>数据加载中,请稍后...</a>');
jQuery.ajax({
url: ajax_url + '&page=' + ajax_page + '&mobile=2',
type: 'GET',
dataType: 'html',
success: function(result) {
jQuery(".hotlist").append(jQuery(result).find(".hotlist").html());
ajax_page++;
ajax_state = true;
}
});
} else {
jQuery(".load_more_button").html('<a href="javascript:;">已经到底了</a>');
ajax_state = false;
}
}
}
if(jQuery(document).height() <= jQuery(window).height()) {
list_ajax();
}
jQuery(window).scroll(function() {
if(jQuery(document).height() <= jQuery(window).height() + jQuery(window).scrollTop() + 1000) {
list_ajax();
}
});
</script>
<!--{/if}-->
<!--{/if}-->
<!--{/loop}-->
</div>
<!-- main threadlist end -->
<!--{template common/footer}-->

View File

@@ -0,0 +1,73 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{eval require_once(DISCUZ_ROOT.'./template/bygsjw_sj/touch/php/function_bygsjw.php');}-->
<!--{loop $list['threadlist'] $key $thread}-->
<!--{eval}-->
if ($_G['style']['liebiaotu'] == "on") {
$list_img1 = byg_threadlist_img($thread['tid'], $thread['authorid'], 3);
$img_number = count($list_img1);
}
<!--{/eval}-->
<li class="cl hotlist_ajax {if $img_number == 1 || $img_number == 2}list_img1_box{/if}">
<div class="list_top cl">
<a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" $thread[highlight] class="over_two">
<!--{if $thread[folder] == 'lock'}-->
<img src="{IMGDIR}/folder_lock.gif" alt="锁定" />
<!--{elseif $thread['special'] == 1}-->
<img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" />
<!--{elseif $thread['special'] == 2}-->
<img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" />
<!--{elseif $thread['special'] == 3}-->
<img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" />
<!--{elseif $thread['special'] == 4}-->
<img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" />
<!--{elseif $thread['special'] == 5}-->
<img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" />
<!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
<img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="$_G[setting][threadsticky][3-$thread[displayorder]]" />
<!--{else}-->
<img src="{IMGDIR}/folder_$thread[folder].gif" alt="普通" />
<!--{/if}-->
<!--{if $thread['price'] > 0}-->
<!--{if $thread['special'] == '3'}-->
<span class="list_typename">{lang thread_reward}{$thread[price]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][title]}</span>
<!--{else}-->
<span class="list_typename">{lang price}{$thread[price]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][title]}</span>
<!--{/if}-->
<!--{elseif $thread['special'] == '3' && $thread['price'] < 0}-->
<span class="list_typename">{lang reward_solved}</span>
<!--{/if}-->
{$thread[subject]}</a>
</div>
<!--{if $img_number == 1 || $img_number == 2}-->
<!--{eval $list_img1 = array_slice($list_img1,0,1);}-->
<!--{loop $list_img1 $list_img1_1}-->
<div class="list_img1 cl">
<a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" style="background-image:url({if $list_img1_1[remote] == 0}{eval echo(getforumimg($list_img1_1['aid'],0,230,150))}{else}{$_G['setting']['ftp']['attachurl']}forum/{$list_img1_1[attachment]}{/if});"></a>
</div>
<!--{/loop}-->
<!--{elseif $img_number > 2}-->
<ul class="list_img3 cl">
<!--{loop $list_img1 $list_img1_1}-->
<li>
<a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" style="background-image:url({if $list_img1_1[remote] == 0}{eval echo(getforumimg($list_img1_1['aid'],0,230,150))}{else}{$_G['setting']['ftp']['attachurl']}forum/{$list_img1_1[attachment]}{/if});"></a>
</li>
<!--{/loop}-->
</ul>
<!--{/if}-->
<div class="list_bottom cl">
<!--{if $thread['authorid'] && $thread['author']}-->
<a href="home.php?mod=space&uid=$thread[authorid]&do=profile" class="z">{$thread[author]}</a>
<!--{else}-->
<a href="javascript:;" class="z">{$_G[setting][anonymoustext]}</a>
<!--{/if}-->
<em class="z">&nbsp;&nbsp;&nbsp;&nbsp;{$thread[dateline]}&nbsp;&nbsp;</em>
<span class="y">
<img src="{$_G['style']['styleimgdir']}/forum_posts.png" alt="回复数"/>{$thread[replies]}
</span>
<span class="y">
<img src="{$_G['style']['styleimgdir']}/chakan.png" alt="查看数"/>{$thread[views]}&nbsp;&nbsp;
</span>
</div>
</li>
<!--{/loop}-->

View File

@@ -0,0 +1,64 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<span>购买详情</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<form id="payform" method="post" autocomplete="off" action="forum.php?mod=misc&action=pay&paysubmit=yes&infloat=yes{if !empty($_GET['from'])}&from=$_GET['from']{/if}"{if !empty($_GET['infloat'])} onsubmit="ajaxpost('payform', 'return_$_GET['handlekey']', 'return_$_GET['handlekey']', 'onerror');return false;"{/if}>
<div class="f_c">
<h3 class="flb">
<em id="return_$_GET['handlekey']">{lang pay}</em>
<span>
<!--{if !empty($_GET['infloat'])}--><a href="javascript:;" class="flbc" onclick="hideWindow('$_GET['handlekey']')" title="{lang close}">{lang close}</a><!--{/if}-->
</span>
</h3>
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="referer" value="{echo dreferer()}" />
<input type="hidden" name="tid" value="$_G[tid]" />
<!--{if !empty($_GET['infloat'])}--><input type="hidden" name="handlekey" value="$_GET['handlekey']" /><!--{/if}-->
<div class="byg_c">
<table class="list" cellspacing="0" cellpadding="0">
<tr>
<th>{lang author}</th>
<td><a href="home.php?mod=space&uid=$thread[authorid]" target="_blank">$thread[author]</a></td>
</tr>
<tr>
<th>{lang price}({$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]})</th>
<td>$thread[price] {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}</td>
</tr>
<tr>
<th>{lang pay_author_income}({$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]})</th>
<td>$thread[netprice] {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}</td>
</tr>
<tr>
<th>{lang pay_balance}({$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]})</th>
<td>$balance {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}</td>
</tr>
</table>
</div>
</div>
<div class="byg_o pns">
<button type="submit" name="paysubmit" class="pn pnc" value="true"><span>{lang submit}</span></button>
</div>
</form>
<!--{template common/footer}-->

View File

@@ -0,0 +1,56 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<span>购买记录</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<div class="f_c byg_pay_view">
<h3 class="flb">
<em id="return_$_GET['handlekey']">{lang pay_view}</em>
<span>
<!--{if !empty($_GET['infloat'])}--><a href="javascript:;" class="flbc" onclick="hideWindow('$_GET['handlekey']')" title="{lang close}">{lang close}</a><!--{/if}-->
</span>
</h3>
<div class="byg_c floatwrap">
<table class="list" cellspacing="0" cellpadding="0">
<thead>
<tr>
<td>{lang username}&nbsp;</td>
<td>{lang time}&nbsp;</td>
<td>{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]}</td>
</tr>
</thead>
<!--{if $loglist}-->
<!--{loop $loglist $log}-->
<tr>
<td><a href="home.php?mod=space&uid=$log[uid]&do=profile">$log[username]</a>&nbsp;</td>
<td>$log[dateline]&nbsp;</td>
<td>{$log[$extcreditname]} {$_G[setting][extcredits][$_G[setting][creditstransextra][1]][unit]}</td>
</tr>
<!--{/loop}-->
<!--{else}-->
<tr><td colspan="3">{lang pay_nobuyers}</td></tr>
<!--{/if}-->
</table>
</div>
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,397 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!--{eval $adveditor = $isfirstpost && $special || $special == 2 && ($_GET['action'] == 'newthread' || $_GET['action'] == 'reply' && !empty($_GET['addtrade']) || $_GET['action'] == 'edit' && $thread['special'] == 2);}-->
<form method="post" id="postform"
{if $_GET[action] == 'newthread'}action="forum.php?mod=post&action={if $special != 2}newthread{else}newtrade{/if}&fid=$_G[fid]&extra=$extra&topicsubmit=yes&mobile=2"
{elseif $_GET[action] == 'reply'}action="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&extra=$extra&replysubmit=yes&mobile=2"
{elseif $_GET[action] == 'edit'}action="forum.php?mod=post&action=edit&extra=$extra&editsubmit=yes&mobile=2" $enctype
{/if}>
<input type="hidden" name="formhash" id="formhash" value="{FORMHASH}" />
<input type="hidden" name="posttime" id="posttime" value="{TIMESTAMP}" />
<!--{if !empty($_GET['modthreadkey'])}-->
<input type="hidden" name="modthreadkey" id="modthreadkey" value="$_GET['modthreadkey']" />
<!--{/if}-->
<!--{if $_GET[action] == 'reply'}-->
<input type="hidden" name="noticeauthor" value="$noticeauthor" />
<input type="hidden" name="noticetrimstr" value="$noticetrimstr" />
<input type="hidden" name="noticeauthormsg" value="$noticeauthormsg" />
<!--{if $reppid}-->
<input type="hidden" name="reppid" value="$reppid" />
<!--{/if}-->
<!--{if $_GET[reppost]}-->
<input type="hidden" name="reppost" value="$_GET[reppost]" />
<!--{elseif $_GET[repquote]}-->
<input type="hidden" name="reppost" value="$_GET[repquote]" />
<!--{/if}-->
<!--{/if}-->
<!--{if $_GET[action] == 'edit'}-->
<input type="hidden" name="fid" id="fid" value="$_G[fid]" />
<input type="hidden" name="tid" value="$_G[tid]" />
<input type="hidden" name="pid" value="$pid" />
<input type="hidden" name="page" value="$_GET[page]" />
<!--{/if}-->
<!--{if $sortid}-->
<input type="hidden" name="sortid" value="$sortid" />
<!--{/if}-->
<!--{if $special}-->
<input type="hidden" name="special" value="$special" />
<!--{/if}-->
<!--{if $specialextra}-->
<input type="hidden" name="specialextra" value="$specialextra" />
<!--{/if}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<h2 class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<i class="header_z_nav"><div class="swiper-wrapper">$navigation<em>&rsaquo;</em><span><!--{if $_GET[action] == 'edit'}-->{lang edit}<!--{else}-->{lang send_threads}<!--{/if}--></span></div></i>
<style type="text/css">
.header_z .header_z_nav{ width: 2.87rem;}
.header_z_nav a, .header_z_nav em, .header_z_nav span{ width: auto;}
</style>
<link rel="stylesheet" href="{$_G['style']['styleimgdir']}/swiper.min.css" type="text/css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<script type="text/javascript">
jQuery(".header_z_nav a, .header_z_nav em, .header_z_nav span").addClass("swiper-slide");
var header_z_nav = new Swiper('.header_z_nav', {
slidesPerView : 'auto',
freeMode : true,
});
</script>
</h2>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<!-- main postbox start -->
<div class="wp">
<!--{if $_GET[action] == 'newthread'}-->
<div class="newthread_type_tab">
<div class="swiper-wrapper">
<!--{if !$_G['forum']['threadsorts']['required'] && !$_G['forum']['allowspecialonly']}-->
<a href="forum.php?mod=post&action=newthread&fid={$_GET[fid]}" {$postspecialcheck[0]}>默认</a>
<!--{/if}-->
<!--{loop $_G['forum']['threadsorts'][types] $tsortid $name}-->
<a href="forum.php?mod=post&action=newthread&sortid={$tsortid}&fid={$_GET[fid]}" class="{if $sortid == $tsortid}a{/if}"><!--{echo strip_tags($name);}--></a>
<!--{/loop}-->
<!--{if $_G['group']['allowpostpoll']}-->
<a href="forum.php?mod=post&action=newthread&fid={$_GET[fid]}&special=1" {$postspecialcheck[1]}>{lang post_newthreadpoll}</a>
<!--{/if}-->
<!--{if $_G['group']['allowpostreward']}-->
<a href="forum.php?mod=post&action=newthread&fid={$_GET[fid]}&special=3" {$postspecialcheck[3]}>{lang post_newthreadreward}</a>
<!--{/if}-->
<!--{if $_G['group']['allowpostdebate']}-->
<a href="forum.php?mod=post&action=newthread&fid={$_GET[fid]}&special=5" {$postspecialcheck[5]}>{lang post_newthreaddebate}</a>
<!--{/if}-->
<!--{if $_G['group']['allowpostactivity']}-->
<a href="forum.php?mod=post&action=newthread&fid={$_GET[fid]}&special=4" {$postspecialcheck[4]}>{lang post_newthreadactivity}</a>
<!--{/if}-->
<!--{if $_G['group']['allowposttrade']}-->
<a href="forum.php?mod=post&action=newthread&fid={$_GET[fid]}&special=2" {$postspecialcheck[2]}>{lang post_newthreadtrade}</a>
<!--{/if}-->
</div>
</div>
<link rel="stylesheet" href="{$_G['style']['styleimgdir']}/swiper.min.css" type="text/css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<script type="text/javascript">
jQuery(".newthread_type_tab a").addClass("swiper-slide");
var tab_initial = jQuery(".newthread_type_tab .a").length > 0 ? jQuery(".newthread_type_tab .a").index() : 0;
var newthread_type_tab = new Swiper('.newthread_type_tab', {
initialSlide : tab_initial,
slidesPerView : 'auto',
freeMode : true,
});
</script>
<!--{/if}-->
<div class="post_from">
<!--{hook/post_top_mobile}-->
<ul class="cl">
<li class="bl_line">
<!--{if $_GET['action'] != 'reply'}-->
<input type="text" tabindex="1" class="px" id="needsubject" size="30" autocomplete="off" value="$postinfo[subject]" name="subject" placeholder="{lang thread_subject}(必填)" fwin="login">
<!--{else}-->
RE: $thread['subject']
<!--{if $quotemessage}-->$quotemessage<!--{/if}-->
<!--{/if}-->
</li>
<!--{if $isfirstpost && !empty($_G['forum'][threadtypes][types])}-->
<li class="bl_line">
<select id="typeid" name="typeid" class="sort_sel">
<option value="0" selected="selected">{lang select_thread_catgory}</option>
<!--{loop $_G['forum'][threadtypes][types] $typeid $name}-->
<!--{if empty($_G['forum']['threadtypes']['moderators'][$typeid]) || $_G['forum']['ismoderator']}-->
<option value="$typeid"{if $thread['typeid'] == $typeid || $_GET['typeid'] == $typeid} selected="selected"{/if}><!--{echo strip_tags($name);}--></option>
<!--{/if}-->
<!--{/loop}-->
</select>
</li>
<!--{/if}-->
<!--{if $_GET[action] == 'edit' && $isorigauthor && !$rushreply && $_G['setting']['editperdel']}-->
<li class="bl_line xg1" style="background: #f5f5f5; font-size: .14rem;">
<input type="checkbox" name="delete" id="delete" class="pc" value="1" title="{lang post_delpost}{if $thread[special] == 3}{lang reward_price_back}{/if}">{lang post_delpost}{if $thread[special] == 3}{lang reward_price_back}{/if}
</li>
<!--{/if}-->
<!--{if $showthreadsorts}-->
<li class="byg_post_sort">
<!--{template forum/post_sortoption}-->
</li>
<!--{elseif $adveditor}-->
<!--{if $special == 1}--><!--{template forum/post_poll}-->
<!--{elseif $special == 2 && ($_GET[action] != 'edit' || ($_GET[action] == 'edit' && ($thread['authorid'] == $_G['uid'] && $_G['group']['allowposttrade'] || $_G['group']['allowedittrade'])))}--><!--{template forum/post_trade}-->
<!--{elseif $special == 3}--><!--{template forum/post_reward}-->
<!--{elseif $special == 4}--><!--{template forum/post_activity}-->
<!--{elseif $special == 5}--><!--{template forum/post_debate}-->
<!--{/if}-->
<!--{/if}-->
<li class="bl_none area" style="margin-top: .05rem; padding-bottom: 0;">
<textarea class="pt" id="needmessage" tabindex="3" autocomplete="off" id="{$editorid}_textarea" name="$editor[textarea]" cols="80" rows="2" placeholder="{lang thread_content}(必填)" fwin="reply">$postinfo[message]</textarea>
</li>
<!--{subtemplate forum/post_editor_attribute}-->
</ul>
<!--{hook/post_middle_mobile}-->
<!--{if $_GET[action] != 'edit' && ($secqaacheck || $seccodecheck)}-->
<!--{subtemplate common/seccheck}-->
<!--{/if}-->
<!--{hook/post_bottom_mobile}-->
<!--{if helper_access::check_module('follow') && $_GET[action] != 'edit'}-->
<div id="adddynamicspan" style="padding: .08rem .14rem 0; font-size: .14rem;">
<label><input type="checkbox" name="adddynamic" id="adddynamic" value="true" class="pc" {if $_G['forum']['allowfeed'] && !$_G[tid] && empty($_G['forum']['viewperm'])}checked="checked"{/if} />{lang post_relay}</label>
</div>
<!--{/if}-->
<div class="publish">
<span><button id="postsubmit" class="btn_pn btn_pn_blue" disable="false"><span><!--{if $_GET[action] == 'newthread'}-->{lang send_thread}<!--{elseif $_GET[action] == 'reply'}-->{lang join_thread}<!--{elseif $_GET[action] == 'edit'}-->{lang edit_save}<!--{/if}--></span></button></span>
<input type="hidden" name="{if $_GET[action] == 'newthread'}topicsubmit{elseif $_GET[action] == 'reply'}replysubmit{elseif $_GET[action] == 'edit'}editsubmit{/if}" value="yes">
</div>
</div>
</div>
<!--{hook/post_btn_extra_mobile}-->
<!-- main postbox end -->
</form>
<script type="text/javascript">
(function() {
var needsubject = needmessage = false;
<!--{if $_GET[action] == 'reply'}-->
needsubject = true;
<!--{elseif $_GET[action] == 'edit'}-->
needsubject = needmessage = true;
<!--{/if}-->
$('#needmessage').on('scroll', function() {
var obj = $(this);
if(obj.scrollTop() > 0) {
obj.attr('rows', parseInt(obj.attr('rows'))+2);
}
}).scrollTop($(document).height());
})();
</script>
<script type="text/javascript" src="{STATICURL}js/mobile/ajaxfileupload.js?{VERHASH}"></script>
<script type="text/javascript" src="{STATICURL}js/mobile/buildfileupload.js?{VERHASH}"></script>
<script type="text/javascript">
var imgexts = typeof imgexts == 'undefined' ? 'jpg, jpeg, gif, png' : imgexts;
var STATUSMSG = {
'-1' : '{lang uploadstatusmsgnag1}',
'0' : '{lang uploadstatusmsg0}',
'1' : '{lang uploadstatusmsg1}',
'2' : '{lang uploadstatusmsg2}',
'3' : '{lang uploadstatusmsg3}',
'4' : '{lang uploadstatusmsg4}',
'5' : '{lang uploadstatusmsg5}',
'6' : '{lang uploadstatusmsg6}',
'7' : '{lang uploadstatusmsg7}(' + imgexts + ')',
'8' : '{lang uploadstatusmsg8}',
'9' : '{lang uploadstatusmsg9}',
'10' : '{lang uploadstatusmsg10}',
'11' : '{lang uploadstatusmsg11}',
'12' : '{lang uploadstatusmsg12}',
'13' : '{lang uploadstatusmsg13}'
};
var form = $('#postform');
$(document).on('change', '#filedata', function() {
popup.open('<img src="' + IMGDIR + '/imageloading.gif">');
uploadsuccess = function(data) {
if(data == '') {
popup.open('{lang uploadpicfailed}', 'alert');
}
var dataarr = data.split('|');
if(dataarr[0] == 'DISCUZUPLOAD' && dataarr[2] == 0) {
popup.close();
$('#imglist').append('<li><span aid="'+dataarr[3]+'" tu="1" class="del"><a href="javascript:;"><img src="{STATICURL}image/mobile/images/icon_del.png"></a></span><span class="p_img"><a href="javascript:;" onClick="addface(\'needmessage\',\'[attachimg]'+dataarr[3]+'[/attachimg]\')"><img id="aimg_'+dataarr[3]+'" title="'+dataarr[6]+'" src="{$_G[setting][attachurl]}forum/'+dataarr[5]+'" /><span class="charu">插入'+dataarr[3]+'</span></a></span><input type="hidden" name="attachnew['+dataarr[3]+'][description]" /></li>');
} else {
var sizelimit = '';
if(dataarr[7] == 'ban') {
sizelimit = '{lang uploadpicatttypeban}';
} else if(dataarr[7] == 'perday') {
sizelimit = '{lang donotcross}'+Math.ceil(dataarr[8]/1024)+'K)';
} else if(dataarr[7] > 0) {
sizelimit = '{lang donotcross}'+Math.ceil(dataarr[7]/1024)+'K)';
}
popup.open(STATUSMSG[dataarr[2]] + sizelimit, 'alert');
}
};
if(typeof FileReader != 'undefined' && this.files[0]) {//note 支持html5上传新特性
for (var i=0;i<this.files.length;i++ ) {
var file_data = [];
file_data.push(this.files[i]);
$.buildfileupload({
uploadurl:'misc.php?mod=swfupload&operation=upload&type=image&inajax=yes&infloat=yes&simple=2',
files:file_data,
uploadformdata:{uid:"$_G[uid]", hash:"<!--{eval echo md5(substr(md5($_G['config']['security']['authkey']), 8).$_G['uid'])}-->"},
uploadinputname:'Filedata',
maxfilesize:"$swfconfig[max]",
success:uploadsuccess,
error:function() {
popup.open('{lang uploadpicfailed}', 'alert');
}
});
}
} else {
$.ajaxfileupload({
url:'misc.php?mod=swfupload&operation=upload&type=image&inajax=yes&infloat=yes&simple=2',
data:{uid:"$_G[uid]", hash:"<!--{eval echo md5(substr(md5($_G['config']['security']['authkey']), 8).$_G['uid'])}-->"},
dataType:'text',
fileElementId:'filedata',
success:uploadsuccess,
error: function() {
popup.open('{lang uploadpicfailed}', 'alert');
}
});
}
});
$(document).on('change', '#attfiledata', function() {
popup.open('<img src="' + IMGDIR + '/imageloading.gif">');
uploadsuccess = function(data) {
if(data == '') {
popup.open('{lang uploadpicfailed}', 'alert');
}
var dataarr = data.split('|');
if(dataarr[0] == 'DISCUZUPLOAD' && dataarr[2] == 0) {
popup.close();
var video_file = '';
var file_ex = 'unknown.gif';
if (/bittorrent$|torrent$/.test(dataarr[6].toLowerCase())) {
file_ex = 'torrent.gif';
} else if (/pdf$|pdf$/.test(dataarr[6].toLowerCase())) {
file_ex = 'pdf.gif';
} else if (/(jpg|gif|png|bmp)$/.test(dataarr[6].toLowerCase())) {
file_ex = 'image.gif';
} else if (/(swf|fla|flv|swi)$/.test(dataarr[6].toLowerCase())) {
file_ex = 'flash.gif';
} else if (/(wav|mid|mp3|m3u|wma|asf|asx|vqf|mpg|mpeg|avi|wmv|mp4|ogv|webm|ogg)$/.test(dataarr[6].toLowerCase())) {
file_ex = 'av.gif';
} else if (/(ra|rm|rv)$/.test(dataarr[6].toLowerCase())) {
file_ex = 'real.gif';
} else if (/(php|js|pl|cgi|asp|htm|html|xml)$/.test(dataarr[6].toLowerCase())) {
file_ex = 'html.gif';
} else if (/(txt|rtf|wri|chm)$/.test(dataarr[6].toLowerCase())) {
file_ex = 'text.gif';
} else if (/(doc|ppt)$/.test(dataarr[6].toLowerCase())) {
file_ex = 'msoffice.gif';
} else if (/rar$/.test(dataarr[6].toLowerCase())) {
file_ex = 'rar.gif';
} else if (/(zip|arj|arc|cab|lzh|lha|tar|gz)$/.test(dataarr[6].toLowerCase())) {
file_ex = 'zip.gif';
} else if (/(exe|com|bat|dll)$/.test(dataarr[6].toLowerCase())) {
file_ex = 'binary.gif';
} else {
file_ex = 'unknown.gif';
}
if (/mp3$/.test(dataarr[6].toLowerCase())) {
video_file = '<span class="kmbtn bg_a f_f" onclick="addsmilies(\'[audio]attach://' + dataarr[3] + '.mp3[/audio]\')">{lang forum_post_insert}音乐</span>';
} else if (/(mp4)$/.test(dataarr[6].toLowerCase())) {
video_file = '<span class="kmbtn bg_a f_f" onclick="addsmilies(\'[media=x,500,375]attach://' + dataarr[3] + '.mp4[/media]\')">{lang forum_post_insert}视频</span>';
}
$('#attlist').prepend('<li class="cl"><span class="z byg_attswf_name"><img src="static/image/filetype/'+file_ex+'">'+dataarr[6]+'</span><a href="javascript:;" aid="'+dataarr[3]+'" tu="1" class="del y byg_attswf_del"><img src="{STATICURL}image/mobile/images/icon_del.png"></a><a href="javascript:;" class="y byg_attswf_add" id="attachname'+dataarr[3]+'" onClick="addface(\'needmessage\', \'[attach]'+dataarr[3]+'[/attach]\')">插入'+dataarr[3]+'</a><p class="cl"></p><!--{if $_GET[result] != 'simple'}--><p class="byg_atds cl">描述 : <input type="text" name="attachnew['+dataarr[3]+'][description]" value="" class="px" /></p><p class="byg_attv cl"><!--{if $_G['group']['allowsetattachperm']}--><!--{if $_G['cache']['groupreadaccess']}-->阅读权限 : <select class="ps" name="attachnew['+dataarr[3]+'][readperm]" id="readperm" tabindex="1"><option value="" selected="selected">{lang unlimited}</option><!--{loop $_G['cache']['groupreadaccess'] $val}--><option value="$val[readaccess]" title="{lang readperm}: $val[readaccess]">$val[grouptitle]</option><!--{/loop}--><option value="255"{if $attach[readperm] == 255} selected{/if}>{lang highest_right}</option></select><!--{/if}--><!--{/if}--><!--{if $_G['group']['maxprice']}-->{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]} : <input type="text" name="attachnew['+dataarr[3]+'][price]" value="0" class="px" /><!--{/if}--></p><!--{/if}--></li>');
} else {
var sizelimit = '';
if(dataarr[7] == 'ban') {
sizelimit = '{lang uploadpicatttypeban}';
} else if(dataarr[7] == 'perday') {
sizelimit = '{lang donotcross}'+Math.ceil(dataarr[8]/1024)+'K)';
} else if(dataarr[7] > 0) {
sizelimit = '{lang donotcross}'+Math.ceil(dataarr[7]/1024)+'K)';
}
popup.open(STATUSMSG[dataarr[2]] + sizelimit, 'alert');
}
};
$.ajaxfileupload({
url:'misc.php?mod=swfupload&operation=upload&fid={$_G['fid']}&inajax=yes&infloat=yes&simple=2',
data:{uid:"$_G['uid']", hash:"<!--{eval echo md5(substr(md5($_G['config']['security']['authkey']), 8).$_G['uid'])}-->"},
dataType:'text',
fileElementId:'attfiledata',
success:uploadsuccess,
error: function() {
popup.open('{lang uploadpicfailed}', 'alert');
}
});
});
<!--{if 0 && $_G['setting']['mobile']['geoposition']}-->
geo.getcurrentposition();
<!--{/if}-->
$('#postsubmit').on('click', function() {
<!--{if $showthreadsorts}-->
if(validateextra() == false) {
return false;
}
<!--{/if}-->
var obj = $(this);
popup.open('<img src="' + IMGDIR + '/imageloading.gif">');
var postlocation = '';
if(geo.errmsg === '' && geo.loc) {
postlocation = geo.longitude + '|' + geo.latitude + '|' + geo.loc;
}
$.ajax({
type:'POST',
url:form.attr('action') + '&geoloc=' + postlocation + '&handlekey='+form.attr('id')+'&inajax=1',
data:form.serialize(),
dataType:'xml'
})
.success(function(s) {
popup.open(s.lastChild.firstChild.nodeValue);
})
.error(function() {
popup.open('{lang networkerror}', 'alert');
});
return false;
});
$(document).on('click', '.del', function() {
var obj = $(this);
$.ajax({
type:'GET',
url:'forum.php?mod=ajax&action=deleteattach&inajax=yes&aids[]=' + obj.attr('aid') + (obj.attr('tu') == 1 ? '&tid={$postinfo['tid']}&pid={$postinfo['pid']}&formhash={FORMHASH}' : ''),
})
.success(function(s) {
obj.parent().remove();
})
.error(function() {
popup.open('{lang networkerror}', 'alert');
});
return false;
});
</script>
<!--{eval $nofooter = true;}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,231 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<div class="byg_exfm cl">
<style type="text/css">
.byg_exfm{ margin-bottom: .05rem; padding: 0 .1rem; font-size: .15rem; color: #666;}
.byg_exfm .px{ border: .01rem solid #eee;}
.byg_sinf dl{ margin-top: .1rem; padding-bottom: .1rem; border-bottom: 1px dashed #eaeaea;}
.byg_time_dt .byg_spmf{ line-height: .24rem; font-size: .13rem; color: #888;}
.byg_sinf .byg_time_dd .px{ margin: .05rem 0; width: 1.65rem;}
.byg_time_dd .bolang{ line-height: .4rem; margin-left: .05rem; color: #888;}
.byg_sinf .byg_place_dt{ line-height: .3rem;}
.byg_sinf .byg_place_dd{ position: relative;}
.byg_sinf .byg_place_dd .px{ width: 2.75rem;}
.byg_sinf .byg_place_dd textarea{ height: 1rem;}
.byg_sinf .byg_place_dd span{ position: absolute; top: 0; right: .08rem; height: .3rem; line-height: .3rem; color: #999;}
.byg_sinf .byg_place_dd p{ line-height: .3rem; color: #999; font-size: .13rem;}
#activitytypelist{ position: absolute; top: .01rem; right: .01rem; height: .28rem; line-height: .28rem; padding-left: .03rem; border-color: #eee; border-radius: .04rem; color: #888; font-size: .13rem;}
.byg_sinf .byg_gender_dd select{ width: 2.77rem; height: .3rem; line-height: .3rem; padding-left: .02rem; border-color: #eee; border-radius: .05rem; color: #888; font-size: .15rem;}
.byg_sinf .byg_optional_data li{ float: left; padding: .05rem .1rem; font-size: .14rem; color: #888;}
.byg_activityimg_file{ margin-top: .02rem; width: 2.75rem; height: .25rem; line-height: .25rem; overflow: hidden;}
#activityattach_image img{ margin-top: .1rem; border-radius: .1rem; max-width: 100%; vertical-align: top;}
</style>
<div class="byg_sinf">
<dl class="cl">
<dt class="byg_time_dt cl">
<div class="z"><span class="rq">*</span>{lang post_event_time}:</div>
<div class="byg_spmf y">
<label for="activitytime"><input type="checkbox" id="activitytime" name="activitytime" class="pc" onclick="if(this.checked) {document.getElementById('certainstarttime').style.display='none';document.getElementById('uncertainstarttime').style.display='';} else {document.getElementById('certainstarttime').style.display='';document.getElementById('uncertainstarttime').style.display='none';}" value="1" {if $activity['starttimeto']}checked{/if} tabindex="1" />{lang activity_starttime_endtime}</label>
</div>
</dt>
<dd class="byg_time_dd cl">
<div id="certainstarttime" {if $activity['starttimeto']}style="display: none"{/if}>
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/date.js?{VERHASH}"></script>
<input type="text" name="starttimefrom[0]" id="starttimefrom_0" class="px" autocomplete="off" value="$activity[starttimefrom]" tabindex="1" style="width: 100%;" />
</div>
<div id="uncertainstarttime" {if !$activity['starttimeto']}style="display: none"{/if} class="cl">
<input type="text" name="starttimefrom[1]" id="starttimefrom_1" class="px z" onclick="showcalendar(event, this, true)" autocomplete="off" value="$activity[starttimefrom]" tabindex="1" /><span class="z bolang">~</span><input onclick="showcalendar(event, this, true)" type="text" autocomplete="off" id="starttimeto" name="starttimeto" class="px y" value="{if $activity['starttimeto']}$activity[starttimeto]{/if}" tabindex="1" />
<script type="text/javascript">
new Rolldate({
el: '#starttimefrom_0',
format: 'YYYY-MM-DD hh:mm',
beginYear: 2000,
endYear: 2100
});
new Rolldate({
el: '#starttimefrom_1',
format: 'YYYY-MM-DD hh:mm',
beginYear: 2000,
endYear: 2100
});
new Rolldate({
el: '#starttimeto',
format: 'YYYY-MM-DD hh:mm',
beginYear: 2000,
endYear: 2100
});
</script>
</div>
</dd>
</dl>
<dl class="cl">
<dt class="byg_place_dt z"><span class="rq">*</span><label for="activityplace">{lang activity_space}:</label></dt>
<dd class="byg_place_dd y">
<input type="text" name="activityplace" id="activityplace" class="px oinf" value="$activity[place]" tabindex="1" />
</dd>
</dl>
<dl class="cl">
<!--{if $_GET[action] == 'newthread'}-->
<dt class="byg_place_dt z"><label for="activitycity">{lang activity_city}:</label></dt>
<dd class="byg_place_dd y"><input name="activitycity" id="activitycity" class="px" type="text" tabindex="1" /></dd>
<!--{/if}-->
</dl>
<dl class="cl">
<dt class="byg_place_dt z"><span class="rq">*</span><label for="activityclass">{lang activiy_sort}:</label></dt>
<dd class="byg_place_dd y">
<input type="text" id="activityclass" name="activityclass" class="px" value="$activity[class]" tabindex="1" />
<!--{if $activitytypelist}-->
<select id="activitytypelist" onchange="$('#activityclass').val($('#activitytypelist').find('option:selected').val());">
<option value="" selected="selected">选择类别</option>
<!--{loop $activitytypelist $type}-->
<option value="{$type}">{$type}</option>
<!--{/loop}-->
</select>
<!--{/if}-->
</dd>
</dl>
<dl class="cl">
<dt class="byg_place_dt z"><label for="activitynumber">{lang activity_need_member}:</label></dt>
<dd class="byg_place_dd y">
<input type="text" name="activitynumber" id="activitynumber" class="px" value="$activity[number]" tabindex="1" />
</dd>
</dl>
<dl class="cl">
<dt class="byg_place_dt z"><label for="gender">限制性别:</label></dt>
<dd class="byg_gender_dd y">
<select name="gender" id="gender">
<option value="0" {if !$activity['gender']}selected="selected"{/if}>{lang unlimited}</option>
<option value="1" {if $activity['gender'] == 1}selected="selected"{/if}>{lang male}</option>
<option value="2" {if $activity['gender'] == 2}selected="selected"{/if}>{lang female}</option>
</select>
</dd>
</dl>
<!--{if $_G['setting']['activityfield']}-->
<dl class="cl">
<dt class="byg_place_dt">{lang optional_data}:</dt>
<dd>
<ul class="byg_optional_data cl">
<!--{loop $_G['setting']['activityfield'] $key $val}-->
<li><label for="userfield_$key"><input type="checkbox" name="userfield[]" id="userfield_$key" class="pc" value="$key"{if $activity['ufield']['userfield'] && in_array($key, $activity['ufield']['userfield'])} checked="checked"{/if} />$val</label></li>
<!--{/loop}-->
</ul>
</dd>
</dl>
<!--{/if}-->
<!--{if $_G['setting']['activityextnum']}-->
<dl class="cl">
<dt class="byg_place_dt"><label for="extfield">{lang other_data}:</label></dt>
<dd class="byg_place_dd">
<textarea name="extfield" id="extfield" class="pt"><!--{if $activity['ufield']['extfield']}-->$activity[ufield][extfield]<!--{/if}--></textarea>
<p>{lang post_activity_message} $_G['setting']['activityextnum'] {lang post_option}</p>
</dd>
</dl>
<!--{/if}-->
<!--{if $_G['setting']['activitycredit']}-->
<dl class="cl">
<dt class="byg_place_dt z"><label for="activitycredit">{lang consumption_credit}:</label></dt>
<dd class="byg_place_dd y">
<input type="text" name="activitycredit" id="activitycredit" class="px" value="$activity[credit]" />
<span class="byg_place_dd_span">{$_G['setting']['extcredits'][$_G['setting']['activitycredit']][title]}</span>
<p>{lang user_consumption_money}</p>
</dd>
</dl>
<!--{/if}-->
<dl class="cl">
<dt class="byg_place_dt z"><label for="cost">{lang activity_payment}:</label></dt>
<dd class="byg_place_dd y">
<input type="text" name="cost" id="cost" class="px" value="$activity[cost]" tabindex="1" />
<span>{lang payment_unit}</span>
</dd>
</dl>
<dl class="cl">
<dt class="byg_place_dt z"><label for="activityexpiration">{lang post_closing}:</label></dt>
<dd class="byg_place_dd y">
<input type="text" name="activityexpiration" id="activityexpiration" class="px" autocomplete="off" value="$activity[expiration]" tabindex="1" />
<script type="text/javascript">
new Rolldate({
el: '#activityexpiration',
format: 'YYYY-MM-DD hh:mm',
beginYear: 2000,
endYear: 2100
});
</script>
</dd>
</dl>
<!--{if $allowpostimg}-->
<dl class="cl">
<dt class="byg_place_dt z">{lang post_topic_image}:</dt>
<dd class="y">
<input type="file" name="Filedata" accept="image/jpg,image/jpeg,image/gif,image/png,image/bmp" class="byg_activityimg_file">
</dd>
<dd>
<input type="hidden" name="activityaid" id="activityaid" {if $activityattach[attachment]}value="$activityattach[aid]" {/if}/>
<input type="hidden" name="activityaid_url" id="activityaid_url" />
<div id="activityattach_image">
<!--{if $activityattach[attachment]}-->
<img src="$activityattach[url]/{if $activityattach['thumb']}{eval echo getimgthumbname($activityattach['attachment']);}{else}$activityattach[attachment]{/if}" />
<!--{/if}-->
</div>
</dd>
</dl>
<!--{/if}-->
</div>
<!--{hook/post_activity_extra}-->
</div>
<script type="text/javascript" reload="1">
$(document).on('change', '.byg_activityimg_file', function() {
popup.open('<img src="' + IMGDIR + '/imageloading.gif">');
uploadsuccess = function(data) {
if(data == '') {
popup.open('{lang uploadpicfailed}', 'alert');
}
var dataarr = data.split('|');
if(dataarr[0] == 'DISCUZUPLOAD' && dataarr[2] == 0) {
popup.close();
$('#activityaid').val(dataarr[3]);
$('#activityaid_url').val('/' + dataarr[5]);
$('#activityattach_image').html('<img src="{$_G[setting][attachurl]}forum/'+dataarr[5]+'" />');
} else {
var sizelimit = '';
if(dataarr[7] == 'ban') {
sizelimit = '{lang uploadpicatttypeban}';
} else if(dataarr[7] == 'perday') {
sizelimit = '{lang donotcross}'+Math.ceil(dataarr[8]/1024)+'K)';
} else if(dataarr[7] > 0) {
sizelimit = '{lang donotcross}'+Math.ceil(dataarr[7]/1024)+'K)';
}
popup.open(STATUSMSG[dataarr[2]] + sizelimit, 'alert');
}
};
if(typeof FileReader != 'undefined' && this.files[0]) {//note 支持html5上传新特性
$.buildfileupload({
uploadurl:'misc.php?mod=swfupload&operation=upload&type=image&inajax=yes&infloat=yes&simple=2',
files:this.files,
uploadformdata:{uid:"$_G['uid']", hash:"<!--{eval echo md5(substr(md5($_G['config']['security']['authkey']), 8).$_G['uid'])}-->"},
uploadinputname:'Filedata',
maxfilesize:"$swfconfig[max]",
success:uploadsuccess,
error:function() {
popup.open('{lang uploadpicfailed}', 'alert');
}
});
} else {
$.ajaxfileupload({
url:'misc.php?mod=swfupload&operation=upload&type=image&inajax=yes&infloat=yes&simple=2',
data:{uid:"$_G['uid']", hash:"<!--{eval echo md5(substr(md5($_G['config']['security']['authkey']), 8).$_G['uid'])}-->"},
dataType:'text',
fileElementId:'filedata',
success:uploadsuccess,
error: function() {
popup.open('{lang uploadpicfailed}', 'alert');
}
});
}
});
</script>

View File

@@ -0,0 +1,44 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<div class="byg_exfm cl">
<style type="text/css">
.byg_exfm{ margin-bottom: .05rem; padding: 0 .1rem; border-bottom: 1px solid #eaeaea; font-size: .15rem; color: #888;}
.byg_sinf dt{ margin-top: .1rem; line-height: .3rem;}
.byg_sinf dd textarea{ height: 1rem;}
.byg_sadd dl{ margin: .15rem 0;}
.byg_sadd dt{ line-height: .3rem;}
.byg_sadd dd .px{ width: 2.8rem; border: .01rem solid #eee;}
</style>
<div class="byg_sinf">
<dl>
<dt><span class="rq">*</span><label for="affirmpoint">{lang debate_square_point}:</label></dt>
<dd><textarea name="affirmpoint" id="affirmpoint" class="pt" tabindex="1">$debate[affirmpoint]</textarea></dd>
<dt><span class="rq">*</span><label for="negapoint">{lang debate_opponent_point}:</label></dt>
<dd><textarea name="negapoint" id="negapoint" class="pt" tabindex="1">$debate[negapoint]</textarea></dd>
</dl>
</div>
<div class="byg_sadd">
<dl class="cl">
<dt class="z"><label for="endtime">{lang endtime}:</label></dt>
<dd class="y">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/date.js?{VERHASH}"></script>
<input type="text" name="endtime" id="endtime" class="px" autocomplete="off" value="$debate[endtime]" tabindex="1" />
<script type="text/javascript">
new Rolldate({
el: '#endtime',
format: 'YYYY-MM-DD hh:mm',
beginYear: 2000,
endYear: 2100
})
</script>
</dd>
</dl>
<dl class="cl">
<dt class="z"><label for="umpire">可选裁判:</label></dt>
<dd class="y">
<input type="text" name="umpire" id="umpire" class="px" value="$debate[umpire]" tabindex="1" placeholder="输入裁判的用户名" />
</dd>
</dl>
</div>
<!--{hook/post_debate_extra}-->
</div>

View File

@@ -0,0 +1,658 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<li class="cl" style="border-bottom: 1px solid #eaeaea; padding: 0 .09rem .15rem;">
<style type="text/css">
.post_from select{ font-size: .14rem;}
.post_from textarea.pt{ box-shadow: 0 -1px 0 1px #eee; border-radius: 0;}
.byg_editor_fun_box{ width: 3.55rem; overflow: hidden; border: .01rem solid #eee; background: #f2f2f2;}
.byg_editor_fun_t .swiper-wrapper{ border-bottom: 1px solid #eee;}
.byg_editor_fun_t .swiper-slide{ width: auto; padding: .05rem .13rem .04rem; font-size: .14rem; color: #666;}
.byg_editor_fun_t .swiper-slide.swiper-slide-thumb-active{ background: $_G['style']['zhuti']; color: #fff;}
.byg_editor_fun_c{ background: #f9f9f9; font-size: .14rem; color: #666;}
.byg_editor_fun_c .swiper-slide{ width: 3.55rem; height: .01rem; overflow: hidden;}
.byg_editor_fun_c .swiper-slide.swiper-slide-active{ height: auto;}
.byg_editor_upimg{ border: 1px solid #eee; border-width: 0 1px;}
a.byg_editor_upimg_btn{ position: relative; height: .3rem; line-height: .3rem; padding: 0 .05rem 0 .26rem; background: #f9f9f9 url({$_G['style']['styleimgdir']}/hui_shangchuantu_128.png) .05rem center no-repeat; background-size: .2rem; box-shadow: 0 0 0 1px #eaeaea; border-radius: .04rem; font-size: .14rem; color: #999; overflow: hidden;}
.byg_editor_upimg_btn input{ position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0;}
.byg_editor_upimg .post_imglist{ padding: 0;}
.byg_editor_upimg .post_imglist li{ padding: 0 0 .15rem .1rem;}
.byg_editor_upimg .post_imglist li .del{ position: absolute; left: .08rem; top: -.02rem; line-height: .16rem; font-size: .12rem;}
.byg_editor_upimg .post_imglist li .del img{ width: .16rem; height: .16rem; vertical-align: top;}
.byg_editor_upimg .post_imglist li .p_img img{ width: .49rem !important; height: .49rem !important; padding: .05rem; box-shadow: 0 0 0 1px #eaeaea; vertical-align: top; border-radius: .04rem; border: 0; background: #fff;}
.byg_editor_upimg .post_imglist li .p_img .charu{ position: absolute; left: .1rem; bottom: .15rem; width: .59rem; max-height: .28rem; line-height: .14rem; padding: .02rem 0; display: block; overflow: hidden; background: rgba(0,0,0,.3); font-size: .12rem; color: #fff; border-radius: .02rem; text-align: center;}
.byg_editor_fun_c #face_box, .byg_editor_fun_c .insert_box{ width: 3.39rem; padding: .1rem .08rem;}
.byg_editor_fun_c #face_box_t, .byg_editor_fun_c .insert_box_t{ background: #f2f2f2; padding: 1px .2rem 0 0; overflow: hidden;}
.byg_editor_fun_c #face_box_t .swiper-slide, .byg_editor_fun_c .insert_box_t .swiper-slide{ display: inline-block; width: auto; height: auto; padding: .03rem .1rem; font-size: .13rem; color: #777; border-left: 1px solid #f2f2f2; border-right: 1px solid #f2f2f2;}
.byg_editor_fun_c #face_box_t .swiper-slide.swiper-slide-thumb-active, .byg_editor_fun_c .insert_box_t .swiper-slide.swiper-slide-thumb-active{ background: #fff;}
.byg_editor_fun_c #face_box_c, .byg_editor_fun_c .insert_box_c{ padding: .04rem; border: .01rem solid #f2f2f2; border-top: 0; background: #fff; overflow: hidden;}
.byg_editor_fun_c #face_box_c .home_face img{ width: .3rem; height: .3rem; margin: .055rem;}
.byg_editor_fun_c .home_face img{ margin: .04rem;}
.byg_editor_fun_c table{ width: 100%;}
.byg_editor_fun_c tr{ border-top: 1px solid #eee;}
.byg_editor_fun_c tr:first-child{ border: 0;}
.byg_editor_fun_c td{ padding: .05rem .12rem;}
.byg_editor_fun_c td.xw1{ width: .91rem; border-right: 1px solid #eee;}
.byg_editor_fun_c label{ display: block;}
.byg_editor_fun_c p.xg1{ margin: .05rem 0; font-size: .13rem; line-height: .18rem; display: block;}
.byg_editor_fun_c span.xg1{ font-size: .13rem; vertical-align: top;}
.byg_editor_fun_c .pc{ margin: 0 .03rem .01rem 0;}
.extra_readperm_c select{ display: block; margin-top: .1rem;}
.extra_replycredit_c label{ display: block; margin-bottom: .1rem; padding-bottom: .1rem; border-bottom: 1px dashed #eaeaea;}
.byg_editor_fun_c .extra_replycredit_c .px{ width: 1rem; border: .01rem solid #eee; font-size: .14rem; height: .22rem; line-height: .22rem;}
.byg_extra{ padding: 0 .1rem;}
.extra_rushreplyset_c dl{ margin-bottom: .1rem; padding-top: .1rem; border-top: 1px dashed #eaeaea;}
.extra_rushreplyset_c dl:first-child{ border: 0;}
.extra_rushreplyset_c dt{ line-height: .28rem;}
.extra_rushreplyset_c dd .px{ width: 2.7rem; height: .22rem; line-height: .22rem; font-size: .14rem; border: .01rem solid #eee;}
.extra_rushreplyset_c .byg_rushreply_time{ width: 3.35rem;}
.extra_rushreplyset_c .byg_rushreply_time .px{ margin: .02rem 0; width: 1.57rem;}
.byg_rushreply_time .bolang{ line-height: .28rem; margin-left: .04rem; color: #888;}
.byg_editor_fun_c .extra_price_c .px{ width: 1rem; border: .01rem solid #eee; font-size: .14rem; height: .22rem; line-height: .22rem;}
.extra_price_c .byg_extra{ padding: .12rem .1rem; line-height: .24rem;}
.extra_tag_c .byg_extra{ padding: .12rem .1rem 0;}
.extra_tag_c .byg_extra .px{ width: 2.98rem;}
.extra_pubdate_c .byg_extra .px{ width: 2.5rem;}
.byg_upload_attach{ padding: .1rem; border-bottom: 1px dashed #eee;}
.byg_upload_attach a{ background: #B3CC0D; display: inline-block; width: .8rem; height: .28rem; line-height: .28rem; overflow: hidden; border-radius: .14rem; text-align: center; font-size: .13rem; color: #fff; vertical-align: top;}
.byg_upload_attach a input{ margin-top: -.3rem; width: .8rem; height: .3rem; opacity: 0; vertical-align: top;}
.byg_upload_attach span{ float: right; line-height: .3rem; font-size: .13rem; color: #888;}
.byg_post_attlist li.cl{ margin: .1rem; padding: .1rem; border: 1px dashed #eee; line-height: .26rem; font-size: .14rem; background: #fff; border-radius: .1rem;}
.byg_attswf_name{ max-width: 100%;}
.byg_attswf_name img{ height: .26rem; vertical-align: top;}
a.byg_attswf_add{ background: $_G['style']['zhuti']; color: #fff; margin: .02rem .1rem; padding: 0 .1rem; height: .22rem; line-height: .22rem; border-radius: .13rem; font-size: .12rem;}
.byg_attswf_del img{ vertical-align: top; height: .2rem; margin: .03rem 0;}
.byg_atds{ margin: .1rem 0; line-height: .22rem;}
.byg_atds input.px{ width: 2.68rem; border: 1px solid #eee; height: .2rem; line-height: .2rem; font-size: .14rem; text-indent: .03rem;}
.byg_attv{ line-height: .22rem;}
.byg_attv select.ps{ width: .9rem; margin-right: .12rem; border-radius: .05rem; height: .22rem; line-height: .22rem; font-size: .14rem; border-color: #eee; color: #555;}
.byg_attv input.px{ width: .5rem; border: 1px solid #eee; height: .2rem; line-height: .2rem; font-size: .14rem; text-indent: .03rem;}
.insert_box_body{ padding: .1rem .1rem 0; color: #888;}
.insert_box_body .px, .insert_box_body textarea.pt{ box-shadow: 0 0 0 1px #eee; font-size: .14rem;}
.insert_box_body .byg_p0{ line-height: 1.3; margin-bottom: .05rem;}
.insert_box_body .byg_p1, .insert_box_body .byg_p2{ margin-bottom: .1rem;}
.insert_box_body .byg_p1 .px{ width: 2.4rem;}
.insert_box_body .byg_p1 .pt{ height: .6rem;}
.insert_box_body .byg_p2 .px{ width: .5rem;}
.insert_box_body .byg_p2 button{ display: block; padding: 0 .1rem; line-height: .28rem; background: $_G['style']['zhuti']; border-radius: .05rem;}
.insert_box_body .byg_p3{ margin: .05rem 0;}
.insert_box_body .byg_p3 label{ display: inline-block;}
.insert_box_body .byg_p3 .px{ width: .6rem; margin: 0 .05rem;}
.insert_box_body .byg_p3 span{ display: block; font-size: .12rem;}
</style>
<div class="byg_editor_upimg">
<div class="cl" style="padding: .15rem .1rem;">
<a href="javascript:;" class="z byg_editor_upimg_btn">上传图片<input type="file" name="Filedata" id="filedata" multiple accept="image/*" /></a>
</div>
<ul id="imglist" class="post_imglist cl">
<!--{if !empty($imgattachs['used'])}-->
<!--{eval $imagelist = $imgattachs['used'];}-->
<!--{if $imagelist}-->
<!--{loop $imagelist $image}-->
<li>
<span aid="$image[aid]" tu="1" class="del">
<a href="javascript:;">
<img src="{STATICURL}image/mobile/images/icon_del.png">
</a>
</span>
<span class="p_img">
<a href="javascript:;" onClick="addface('needmessage', '[attachimg]$image[aid][/attachimg]')">
<img id="aimg_$image[aid]" title="$image[filename]" src="{echo getforumimg($image[aid], 1, 100, 100, 'fixnone')}">
<span class="charu">插入$image[aid]</span>
</a>
</span>
<input type="hidden" name="attachnew[{$image[aid]}][description]" value="">
<input type="hidden" name="attachnew[{$image[aid]}][readperm]" value="">
<input type="hidden" name="attachnew[{$image[aid]}][price]" value="">
</li>
<!--{/loop}-->
<!--{/if}-->
<!--{/if}-->
</ul>
</div>
<div class="byg_editor_fun_box">
<div class="byg_editor_fun_t">
<div class="swiper-wrapper">
<div class="swiper-slide">表情</div>
<!--{if isset($_G['setting']['mobile']['forum'])}-->
<div class="swiper-slide">附件</div>
<!--{/if}-->
<div class="swiper-slide">插入</div>
<div class="swiper-slide">附加</div>
<!--{if $_GET[action] == 'newthread' || $_GET[action] == 'edit' && $isfirstpost}-->
<!--{if $_G['group']['allowsetreadperm']}-->
<div class="swiper-slide">权限</div>
<!--{/if}-->
<!--{if $_G['group']['allowreplycredit'] && !in_array($special, array(2, 3))}-->
<!--{if $_GET[action] == 'newthread'}-->
<!--{eval $extcreditstype = $_G['setting']['creditstransextra'][10];}-->
<!--{else}-->
<!--{eval $extcreditstype = $replycredit_rule['extcreditstype'] ? $replycredit_rule['extcreditstype'] : $_G['setting']['creditstransextra'][10];}-->
<!--{/if}-->
<!--{eval $userextcredit = getuserprofile('extcredits'.$extcreditstype);}-->
<!--{if ($_GET[action] == 'newthread' && $userextcredit > 0) || ($_GET[action] == 'edit' && $isorigauthor && $isfirstpost)}-->
<div class="swiper-slide">奖励</div>
<!--{/if}-->
<!--{/if}-->
<!--{if ($_GET[action] == 'newthread' && $_G['group']['allowpostrushreply'] && $special != 2) || ($_GET[action] == 'edit' && getstatus($thread['status'], 3))}-->
<div class="swiper-slide">抢楼</div>
<!--{/if}-->
<!--{if $_G['group']['maxprice'] && !$special}-->
<div class="swiper-slide">售价</div>
<!--{/if}-->
<!--{if $_G['group']['allowposttag']}-->
<div class="swiper-slide">标签</div>
<!--{/if}-->
<!--{if $_G['group']['allowsetpublishdate'] && ($_GET[action] == 'newthread' || ($_GET[action] == 'edit' && $isfirstpost && $thread['displayorder'] == -4))}-->
<div class="swiper-slide">定时</div>
<!--{/if}-->
<!--{/if}-->
</div>
</div>
<div class="byg_editor_fun_c">
<div class="swiper-wrapper">
<div class="swiper-slide">
<div class="cl" id="face_box">
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/smile.gif" onClick="addface('needmessage', ':)')" alt=":)" /></div>
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/sad.gif" onClick="addface('needmessage', ':(')" alt=":(" /></div>
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/biggrin.gif" onClick="addface('needmessage', ':D')" alt=":D" /></div>
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/cry.gif" onClick="addface('needmessage', ':\'(')" alt=":\" /></div>
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/huffy.gif" onClick="addface('needmessage', ':@')" alt=":@" /></div>
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/shocked.gif" onClick="addface('needmessage', ':o')" alt=":o" /></div>
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/tongue.gif" onClick="addface('needmessage', ':P')" alt=":P" /></div>
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/shy.gif" onClick="addface('needmessage', ':$')" alt=":$" /></div>
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/titter.gif" onClick="addface('needmessage', ';P')" alt=";P" /></div>
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/sweat.gif" onClick="addface('needmessage', ':L')" alt=":L" /></div>
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/mad.gif" onClick="addface('needmessage', ':Q')" alt=":Q" /></div>
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/lol.gif" onClick="addface('needmessage', ':lol')" alt=":lol" /></div>
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/loveliness.gif" onClick="addface('needmessage', ':loveliness:')" alt=":loveliness:" /></div>
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/funk.gif" onClick="addface('needmessage', ':funk:')" alt=":funk:" /></div>
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/curse.gif" onClick="addface('needmessage', ':curse:')" alt=":curse:" /></div>
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/dizzy.gif" onClick="addface('needmessage', ':dizzy:')" alt=":dizzy:" /></div>
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/shutup.gif" onClick="addface('needmessage', ':shutup:')" alt=":shutup:" /></div>
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/sleepy.gif" onClick="addface('needmessage', ':sleepy:')" alt=":sleepy:" /></div>
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/hug.gif" onClick="addface('needmessage', ':hug:')" alt=":hug:" /></div>
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/victory.gif" onClick="addface('needmessage', ':victory:')" alt=":victory:" /></div>
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/time.gif" onClick="addface('needmessage', ':time:')" alt=":time:" /></div>
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/kiss.gif" onClick="addface('needmessage', ':kiss:')" alt=":kiss:" /></div>
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/handshake.gif" onClick="addface('needmessage', ':handshake')" alt=":handshake" /></div>
<div class="home_face"><img src="{$_G['style']['styleimgdir']}/face/call.gif" onClick="addface('needmessage', ':call:')" alt=":call:" /></div>
</div>
</div>
<!--{if isset($_G['setting']['mobile']['forum'])}-->
<div class="swiper-slide">
<div class="byg_upload_attach cl">
<a href="javascript:;" class="z">{lang upload_attach}<input type="file" name="Filedata" id="attfiledata" /></a>
<span>文件尺寸限制 : {$maxattachsize_mb}</span>
</div>
<ul id="attlist" class="byg_post_attlist cl">
<!--{eval $attachlist = $attachs['used'];}-->
<!--{loop $attachlist $attach}-->
<li class="cl">
<span class="z byg_attswf_name">{$attach[filetype]} {$attach[filename]}</span>
<!--{if $attach['pid']}-->
<input type="hidden" name="attachupdate[{$attach[aid]}]" id="attachupdate{$attach[aid]}" />
<!--{/if}-->
<!--{if $_GET[result] == 'simple'}-->
<input type="hidden" name="attachnew[{$attach[aid]}][description]" value="" />
<input type="hidden" name="attachnew[{$attach[aid]}][readperm]" value="" />
<input type="hidden" name="attachnew[{$attach[aid]}][price]" value="" />
<!--{/if}-->
<a href="javascript:;" aid="$attach[aid]" tu="1" class="del y byg_attswf_del"><img src="{STATICURL}image/mobile/images/icon_del.png"></a>
<a href="javascript:;" class="y byg_attswf_add" id="attachname$attach[aid]" isimage="{if $attach['isimage']}1{else}0{/if}" onClick="addface('needmessage', '{if $attach['isimage']}[attachimg]$attach[aid][/attachimg]{else}[attach]$attach[aid][/attach]{/if}')">插入{$attach[aid]}</a>
<p class="cl"></p>
<!--{if $_GET[result] != 'simple'}-->
<p class="byg_atds cl">描述 : <input type="text" name="attachnew[{$attach[aid]}][description]" class="px" value="$attach[description]" /></p>
<p class="byg_attv cl">
<!--{if $_G['group']['allowsetattachperm']}-->
<!--{if $_G['cache']['groupreadaccess']}-->
阅读权限 : <select class="ps" name="attachnew[{$attach[aid]}][readperm]" id="readperm" tabindex="1">
<option value="">{lang unlimited}</option>
<!--{loop $_G['cache']['groupreadaccess'] $val}-->
<option value="$val[readaccess]" title="{lang readperm}: $val[readaccess]"{if $attach[readperm] == $val[readaccess]} selected{/if}>$val[grouptitle]</option>
<!--{/loop}-->
<option value="255"{if $attach[readperm] == 255} selected{/if}>{lang highest_right}</option>
</select>
<!--{/if}-->
<!--{/if}-->
<!--{if $_G['group']['maxprice']}-->
{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]} : <input type="text" name="attachnew[{$attach[aid]}][price]" class="px" value="$attach[price]" />
<!--{/if}-->
</p>
<!--{/if}-->
</li>
<!--{/loop}-->
</ul>
</div>
<!--{/if}-->
<div class="swiper-slide">
<div class="cl insert_box">
<div class="insert_box_t byg_dark_bg_4i">
<div class="swiper-wrapper">
<a href="javascript:;" class="swiper-slide byg_dark_border_5i byg_dark_font_9i">文字链接</a>
<a href="javascript:;" class="swiper-slide byg_dark_border_5i byg_dark_font_9i">网络图片</a>
<!--{if $_G['forum']['allowmediacode'] && $_G['group']['allowmediacode']}-->
<a href="javascript:;" class="swiper-slide byg_dark_border_5i byg_dark_font_9i">网络音乐</a>
<a href="javascript:;" class="swiper-slide byg_dark_border_5i byg_dark_font_9i">网络视频</a>
<!--{/if}-->
<a href="javascript:;" class="swiper-slide byg_dark_border_5i byg_dark_font_9i">引用文字</a>
<a href="javascript:;" class="swiper-slide byg_dark_border_5i byg_dark_font_9i">代码文字</a>
<!--{if $isfirstpost}-->
<a href="javascript:;" class="swiper-slide byg_dark_border_5i byg_dark_font_9i">免费信息</a>
<!--{if $_G['group']['allowhidecode']}-->
<a href="javascript:;" class="swiper-slide byg_dark_border_5i byg_dark_font_9i">隐藏内容</a>
<!--{/if}-->
<!--{/if}-->
</div>
</div>
<div class="insert_box_c byg_dark_bg_2i byg_dark_border_5i">
<div class="swiper-wrapper">
<div class="swiper-slide">
<div class="cl insert_box_body">
<p class="byg_p1 cl">
链接地址:<input type="text" value="" id="insert_url_1" class="px y">
</p>
<p class="byg_p1 cl">
链接文字:<input type="text" value="" id="insert_url_2" class="px y">
</p>
<p class="byg_p2 cl">
<button type="button" onclick="byg_post_insert('insert_url_')" class="z">插入链接</button>
</p>
</div>
</div>
<div class="swiper-slide">
<div class="cl insert_box_body">
<p class="byg_p1 cl">
图片地址:<input type="text" value="" id="insert_img_1" class="px y">
</p>
<p class="byg_p2 cl">
<button type="button" onclick="byg_post_insert('insert_img_')" class="z">插入图片</button>
</p>
</div>
</div>
<!--{if $_G['forum']['allowmediacode'] && $_G['group']['allowmediacode']}-->
<div class="swiper-slide">
<div class="cl insert_box_body">
<p class="byg_p1 cl">
音乐地址:<input type="text" value="" id="insert_audio_1" class="px y">
</p>
<p class="byg_p2 cl">
<button type="button" onclick="byg_post_insert('insert_audio_')" class="z">插入音乐</button>
</p>
</div>
</div>
<div class="swiper-slide">
<div class="cl insert_box_body">
<p class="byg_p1 cl">
视频地址:<input type="text" value="" id="insert_media_1" class="px y" />
</p>
<p class="byg_p2 cl">
宽:&nbsp;<input id="insert_media_2" value="500" class="px" />
&nbsp;&nbsp;&nbsp;高:&nbsp;<input id="insert_media_3" value="375" class="px" />
<button type="button" onclick="byg_post_insert('insert_media_')" class="y">插入视频</button>
</p>
</div>
</div>
<!--{/if}-->
<div class="swiper-slide">
<div class="cl insert_box_body">
<p class="byg_p0 cl">请输入要插入的引用:</p>
<p class="byg_p1 cl">
<textarea id="insert_quote_1" class="pt"></textarea>
</p>
<p class="byg_p2 cl">
<button type="button" onclick="byg_post_insert('insert_quote_')" class="z">插入引用</button>
</p>
</div>
</div>
<div class="swiper-slide">
<div class="cl insert_box_body">
<p class="byg_p0 cl">请输入要插入的代码:</p>
<p class="byg_p1 cl">
<textarea id="insert_code_1" class="pt"></textarea>
</p>
<p class="byg_p2 cl">
<button type="button" onclick="byg_post_insert('insert_code_')" class="z">插入代码</button>
</p>
</div>
</div>
<!--{if $isfirstpost}-->
<div class="swiper-slide">
<div class="cl insert_box_body">
<p class="byg_p0 cl">如果您设置了帖子售价,请输入购买前免费可见的信息内容:</p>
<p class="byg_p1 cl">
<textarea id="insert_free_1" class="pt"></textarea>
</p>
<p class="byg_p2 cl">
<button type="button" onclick="byg_post_insert('insert_free_')" class="z">插入免费内容</button>
</p>
</div>
</div>
<!--{if $_G['group']['allowhidecode']}-->
<div class="swiper-slide">
<div class="cl insert_box_body">
<p class="byg_p0 cl">请输入要隐藏的信息内容:</p>
<p class="byg_p1 cl">
<textarea id="insert_hide_1" class="pt"></textarea>
</p>
<p class="byg_p3 cl">
<label><input type="radio" name="e_hide_radio" class="pc" checked="checked">只有当浏览者回复本帖时才显示</label>
</p>
<p class="byg_p3 cl">
<label><input type="radio" name="e_hide_radio" id="insert_hide_4" class="pc">只有当浏览者积分高于</label><input type="text" id="insert_hide_2" class="px">时才显示
</p>
<p class="byg_p3 cl" style="margin: .1rem 0;">
有效天数:<input type="text" id="insert_hide_3" class="px">
<span>距离发帖日期大于这个天数时标签自动失效</span>
</p>
<p class="byg_p2 cl">
<button type="button" onclick="byg_post_insert('insert_hide_')" class="z">插入隐藏内容</button>
</p>
</div>
</div>
<!--{/if}-->
<!--{/if}-->
</div>
</div>
</div>
</div>
<div class="swiper-slide">
<div class="exfm cl extra_additional_c">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="xw1" valign="center">{lang basic_attr}</td>
<td>
<!--{if $_GET[action] != 'edit'}-->
<!--{if $_G['group']['allowanonymous']}--><label for="isanonymous"><input type="checkbox" name="isanonymous" id="isanonymous" class="pc" value="1" />{lang post_anonymous}</label><!--{/if}-->
<!--{else}-->
<!--{if $_G['group']['allowanonymous'] || (!$_G['group']['allowanonymous'] && $orig['anonymous'])}--><label for="isanonymous"><input type="checkbox" name="isanonymous" id="isanonymous" class="pc" value="1" {if $orig['anonymous']}checked="checked"{/if} />{lang post_anonymous}</label><!--{/if}-->
<!--{/if}-->
<!--{if $_GET[action] == 'newthread' || $_GET[action] == 'edit' && $isfirstpost}-->
<label for="hiddenreplies"><input type="checkbox" name="hiddenreplies" id="hiddenreplies" class="pc"{if $thread['hiddenreplies']} checked="checked"{/if} value="1">{lang hiddenreplies}</label>
<!--{/if}-->
<!--{if $_G['uid'] && ($_GET[action] == 'newthread' || $_GET[action] == 'edit' && $isfirstpost) && $special != 3}-->
<label for="ordertype"><input type="checkbox" name="ordertype" id="ordertype" class="pc" value="1" $ordertypecheck />{lang post_descviewdefault}</label>
<!--{/if}-->
<!--{if ($_GET[action] == 'newthread' || $_GET[action] == 'edit' && $isfirstpost)}-->
<label for="allownoticeauthor"><input type="checkbox" name="allownoticeauthor" id="allownoticeauthor" class="pc" value="1"{if $allownoticeauthor} checked="checked"{/if} />{lang post_noticeauthor}</label>
<!--{/if}-->
<!--{if $_GET[action] != 'edit' && helper_access::check_module('feed') && $_G['forum']['allowfeed']}-->
<label for="addfeed"><input type="checkbox" name="addfeed" id="addfeed" class="pc" value="1" $addfeedcheck>{lang addfeed}</label>
<!--{/if}-->
<label for="usesig"><input type="checkbox" name="usesig" id="usesig" class="pc" value="1" {if !$_G['group']['maxsigsize']}disabled {else}$usesigcheck {/if}/>{lang post_show_sig}</label>
</td>
</tr>
<!--{if $_GET[action] == 'newthread' && $_G['forum']['ismoderator'] && ($_G['group']['allowdirectpost'] || !$_G['forum']['modnewposts'])}-->
<!--{if $_GET[action] == 'newthread' && $_G['forum']['ismoderator'] && ($_G['group']['allowdirectpost'] || !$_G['forum']['modnewposts']) && ($_G['group']['allowstickthread'] || $_G['group']['allowdigestthread'])}-->
<tr>
<td class="xw1" valign="center">{lang manage_operation}</td>
<td>
<!--{if $_G['group']['allowstickthread']}-->
<label for="sticktopic"><input type="checkbox" name="sticktopic" id="sticktopic" class="pc" value="1" $stickcheck />{lang post_stick_thread}</label>
<!--{/if}-->
<!--{if $_G['group']['allowdigestthread']}-->
<label for="addtodigest"><input type="checkbox" name="addtodigest" id="addtodigest" class="pc" value="1" $digestcheck />{lang post_digest_thread}</label>
<!--{/if}-->
</td>
</tr>
<!--{/if}-->
<!--{elseif $_GET[action] == 'edit' && $_G['forum_auditstatuson']}-->
<tr>
<td class="xw1" valign="center">{lang manage_operation}</td>
<td>
<label for="audit"><input type="checkbox" name="audit" id="audit" class="pc" value="1">{lang auditstatuson}</label>
</td>
</tr>
<!--{/if}-->
</table>
</div>
</div>
<!--{if $_GET[action] == 'newthread' || $_GET[action] == 'edit' && $isfirstpost}-->
<!--{if $_G['group']['allowsetreadperm']}-->
<div class="swiper-slide cl extra_readperm_c">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="xw1">{lang readperm}</td>
<td>
<select name="readperm" id="readperm" class="ps">
<option value="">{lang unlimited}</option>
<!--{loop $_G['cache']['groupreadaccess'] $val}-->
<option value="$val[readaccess]" title="{lang readperm}: $val[readaccess]"{if $thread['readperm'] == $val[readaccess]} selected="selected"{/if}>$val[grouptitle]</option>
<!--{/loop}-->
<option value="255"{if $thread['readperm'] == 255} selected="selected"{/if}>{lang highest_right}</option>
</select>
<p class="xg1">{lang post_select_usergroup_readacces}</p>
</td>
</tr>
</table>
</div>
<!--{/if}-->
<!--{if $_G['group']['allowreplycredit'] && !in_array($special, array(2, 3))}-->
<!--{if ($_GET[action] == 'newthread' && $userextcredit > 0) || ($_GET[action] == 'edit' && $isorigauthor && $isfirstpost)}-->
<div class="swiper-slide cl extra_replycredit_c">
<div style=" padding: .1rem;">
<label>{lang replycredit_once} <input type="text" name="replycredit_extcredits" id="replycredit_extcredits" class="px pxs vm" value="{if $replycredit_rule['extcredits'] && $thread['replycredit'] > 0}{$replycredit_rule['extcredits']}{else}0{/if}" /> {$_G['setting']['extcredits'][$extcreditstype][unit]}{$_G['setting']['extcredits'][$extcreditstype][title]}<p class="xg1">{lang replycredit_empty}</p></label>
<label>{lang replycredit_reward} <input type="text" name="replycredit_times" id="replycredit_times" class="px pxs vm" value="{if $replycredit_rule['lasttimes']}{$replycredit_rule['lasttimes']}{else}1{/if}" /> {lang replycredit_time}</label>
<label>{lang replycredit_member} <select id="replycredit_membertimes" name="replycredit_membertimes" class="ps vm"><!--{eval for($i=1;$i<11;$i++) {;}--><option value="$i"{if $replycredit_rule['membertimes'] == $i} selected="selected"{/if}>$i</option><!--{eval };}--></select> {lang replycredit_time}</label>
<label>{lang replycredit_rate} <select id="replycredit_random" name="replycredit_random" class="ps vm"><!--{eval for($i=100;$i>9;$i=$i-10) {;}--><option value="$i"{if $replycredit_rule['random'] == $i} selected="selected"{/if}>$i</option><!--{eval };}--></select> %</label>
<p class="xg1">{lang you_have} {$_G['setting']['extcredits'][$extcreditstype][title]} $userextcredit {$_G['setting']['extcredits'][$extcreditstype][unit]}</p>
</div>
</div>
<!--{/if}-->
<!--{/if}-->
<!--{if ($_GET[action] == 'newthread' && $_G['group']['allowpostrushreply'] && $special != 2) || ($_GET[action] == 'edit' && getstatus($thread['status'], 3))}-->
<div class="swiper-slide cl extra_rushreplyset_c">
<div class="byg_extra">
<dl class="cl">
<dt class="z">{lang rushreply_time}</dt>
<dd class="y"><label for="rushreply"><input type="checkbox" name="rushreply" id="rushreply" class="pc vm" value="1" {if $_GET[action] == 'edit' && getstatus($thread['status'], 3)}disabled="disabled" checked="checked"{/if} />{lang rushreply_change}</label></dd>
<dd class="z">
<div class="cl byg_rushreply_time">
<input type="text" name="rushreplyfrom" id="rushreplyfrom" class="px z" autocomplete="off" value="$postinfo[rush][starttimefrom]" /><span class="z bolang">~</span><input type="text" autocomplete="off" id="rushreplyto" name="rushreplyto" class="px y" value="$postinfo[rush][starttimeto]" />
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/date.js?{VERHASH}"></script>
<script type="text/javascript">
new Rolldate({
el: '#rushreplyfrom',
format: 'YYYY-MM-DD hh:mm',
beginYear: 2000,
endYear: 2100,
confirm: function(date) {
document.getElementById('rushreply').checked = true;
},
});
new Rolldate({
el: '#rushreplyto',
format: 'YYYY-MM-DD hh:mm',
beginYear: 2000,
endYear: 2100,
confirm: function(date) {
document.getElementById('rushreply').checked = true;
},
});
</script>
</div>
</dd>
</dl>
<dl class="cl">
<dt class="z"><label for="rewardfloor">{lang rushreply_rewardfloor}</label></dt>
<dd class="y">
<input type="text" name="rewardfloor" id="rewardfloor" class="px oinf" value="$postinfo[rush][rewardfloor]" onkeyup="document.getElementById('rushreply').checked = true;" />
</dd>
<dd class="z"><p class="xg1">{lang rushreply_rewardfloor_comment}</p></dd>
</dl>
<dl class="cl">
<dt class="z"><label for="replylimit">{lang stopfloor}:</label></dt>
<dd class="y">
<input type="text" name="replylimit" id="replylimit" class="px" autocomplete="off" value="$postinfo[rush][replylimit]" onkeyup="document.getElementById('rushreply').checked = true;" />
</dd>
<dd class="z"><p class="xg1">{lang replylimit}</p></dd>
</dl>
<dl class="cl">
<dt class="z"><label for="stopfloor">{lang rushreply_end}</label></dt>
<dd class="y">
<input type="text" name="stopfloor" id="stopfloor" class="px" autocomplete="off" value="$postinfo[rush][stopfloor]" onkeyup="document.getElementById('rushreply').checked = true;" />
</dd>
</dl>
<dl class="cl">
<dt class="z"><label for="creditlimit"><!--{if $_G['setting']['creditstransextra'][11]}-->{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][11]][title]}<!--{else}-->{lang credits}<!--{/if}-->{lang min_limit}:</label></dt>
<dd class="y">
<input type="text" name="creditlimit" id="creditlimit" class="px" autocomplete="off" value="$postinfo[rush][creditlimit]" onkeyup="document.getElementById('rushreply').checked = true;" />
</dd>
<dd class="z">
<p class="xg1"><!--{if $_G['setting']['creditstransextra'][11]}-->({$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][11]][title]})<!--{else}-->{lang total_credits}<!--{/if}-->{lang post_rushreply_credit}</p>
</dd>
</dl>
</div>
</div>
<!--{/if}-->
<!--{if $_G['group']['maxprice'] && !$special}-->
<div class="swiper-slide cl extra_price_c">
<div class="byg_extra">
{lang price}: <input type="text" id="price" name="price" class="px pxs" value="$thread[pricedisplay]" /> {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]} <span class="xg1">({lang post_price_comment})</span>
<!--{if $_G['group']['maxprice'] && ($_GET[action] == 'newthread' || $_GET[action] == 'edit' && $isfirstpost)}-->
<!--{if $_G['setting']['maxincperthread']}--><p class="xg1">{lang post_price_income_comment}</p><!--{/if}-->
<!--{if $_G['setting']['maxchargespan']}--><p class="xg1">{lang post_price_charge_comment}<!--{if $_GET[action] == 'edit' && $freechargehours}-->{lang post_price_free_chargehours}<!--{/if}--></p><!--{/if}-->
<!--{/if}-->
</div>
</div>
<!--{/if}-->
<!--{if $_G['group']['allowposttag']}-->
<div class="swiper-slide cl extra_tag_c extra_rushreplyset_c">
<dl class="cl byg_extra">
<dt class="z">{lang post_tag}:</dt>
<dd class="y">
<input type="text" class="px vm" size="60" id="tags" name="tags" value="$postinfo[tag]" />
</dd>
<dd class="z"><p class="xg1">{lang posttag_comment}</p></dd>
</dl>
</div>
<!--{/if}-->
<!--{if $_G['group']['allowsetpublishdate'] && ($_GET[action] == 'newthread' || ($_GET[action] == 'edit' && $isfirstpost && $thread['displayorder'] == -4))}-->
<div class="swiper-slide cl extra_pubdate_c extra_rushreplyset_c">
<dl class="cl byg_extra">
<dt class="z"><label><input type="checkbox" name="cronpublish" id="cronpublish" value="true" class="pc"{if $cronpublish} checked="checked"{/if} />{lang post_timer}:</label></dt>
<dd class="y">
<input type="text" name="cronpublishdate" id="cronpublishdate" class="px" onclick="showcalendar(event, this, true, false, false, true);" autocomplete="off" value="{$cronpublishdate}" />
</dd>
</dl>
</div>
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/date.js?{VERHASH}"></script>
<script type="text/javascript">
new Rolldate({
el: '#cronpublishdate',
format: 'YYYY-MM-DD hh:mm',
beginYear: 2000,
endYear: 2100,
confirm: function(date) {
document.getElementById('cronpublish').checked = true;
},
});
</script>
<!--{/if}-->
<!--{/if}-->
</div>
</div>
<link rel="stylesheet" href="{$_G['style']['styleimgdir']}/swiper.min.css?{VERHASH}" type="text/css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js?{VERHASH}"></script>
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/face.js?{VERHASH}"></script>
<script type="text/javascript" src="data/cache/common_smilies_var.js?{VERHASH}" charset="{CHARSET}"></script>
<script type="text/javascript">
var byg_editor_fun_t = new Swiper('.byg_editor_fun_t', {
slidesPerView: 'auto',
freeMode: true,
watchSlidesVisibility: true,
watchSlidesProgress: true,
});
var byg_editor_fun_c = new Swiper('.byg_editor_fun_c', {
spaceBetween: 100,
thumbs: {
swiper: byg_editor_fun_t
}
});
if(typeof smilies_type == 'object') {
var smiliestype_keys = [];
var smiliestype_directory = [];
var smiliestype = '<div id="face_box_t" class="byg_dark_bg_4i"><div class="swiper-wrapper">';
for(i in smilies_type) {
smiliestype += '<a href="javascript:;" class="swiper-slide byg_dark_font_9i byg_dark_border_5i ">&nbsp;'+smilies_type[i][0]+'&nbsp;</a>';
smiliestype_keys.push(i);
smiliestype_directory.push(smilies_type[i][1]);
}
smiliestype += '</div></div>';
var smiliesarray = '<div id="face_box_c" class="byg_dark_bg_2i byg_dark_border_5i"><div class="swiper-wrapper">';
var smiliesarray_i = 0;
for(i in smilies_array) {
var smiliestype_key = smiliestype_keys[smiliesarray_i].replace("_", "");
smiliesarray += '<div class="cl swiper-slide">';
for(a in smilies_array[smiliestype_key]) {
for(n = 0; n < smilies_array[smiliestype_key][a].length; n++) {
var smiliesarray_code = smilies_array[smiliestype_key][a][n][1].replace(/'/g, "\\'");
smiliesarray += '<div class="home_face"><img src="static/image/smiley/'+smiliestype_directory[smiliesarray_i]+'/'+smilies_array[smiliestype_key][a][n][2]+'" onClick="addface(\'needmessage\', \''+smiliesarray_code+'\')" /></div>';
}
}
smiliesarray += '</div>';
smiliesarray_i++;
}
smiliesarray += '</div></div>';
document.getElementById('face_box').innerHTML = smiliestype + smiliesarray;
var face_box_t = new Swiper('#face_box_t', {
slidesPerView: 'auto',
freeMode: true,
watchSlidesVisibility: true,
watchSlidesProgress: true,
});
var face_box_c = new Swiper('#face_box_c', {
spaceBetween: 100,
thumbs: {
swiper: face_box_t
}
});
}
var insert_box_t = new Swiper('.insert_box_t', {
slidesPerView: 'auto',
freeMode: true,
watchSlidesVisibility: true,
watchSlidesProgress: true,
});
var insert_box_c = new Swiper('.insert_box_c', {
spaceBetween: 100,
thumbs: {
swiper: insert_box_t
}
});
function byg_post_insert(a) {
var insert1 = jQuery('#'+a+'1').val();
if(insert1 == '') {
popup.open('请输入要插入的内容', 'alert');
} else {
if(a == 'insert_url_') {
var insert2 = jQuery('#'+a+'2').val();
addface('needmessage', '[url='+insert1+']'+(insert2 ? insert2 : insert1)+'[/url]');
} else if(a == 'insert_img_') {
addface('needmessage', '[img]'+insert1+'[/img]');
} else if(a == 'insert_audio_') {
addface('needmessage', '[audio]'+insert1+'[/audio]');
} else if(a == 'insert_media_') {
var insert2 = jQuery('#'+a+'2').val();
var insert3 = jQuery('#'+a+'3').val();
addface('needmessage', '[media=x,'+insert2+','+insert3+']'+insert1+'[/media]');
} else if(a == 'insert_quote_') {
addface('needmessage', '[quote]'+insert1+'[/quote]');
} else if(a == 'insert_code_') {
addface('needmessage', '[code]'+insert1+'[/code]');
} else if(a == 'insert_free_') {
addface('needmessage', '[free]'+insert1+'[/free]');
} else if(a == 'insert_hide_'){
var insert2 = jQuery('#'+a+'2').val();
var insert3 = jQuery('#'+a+'3').val();
var insert4 = jQuery('#'+a+'4:checked').val();
addface('needmessage', '[hide'+(((insert2 != '' && insert4) || insert3 != '') ? '=' : '')+(insert3 ? 'd'+insert3 : '')+((insert2 != '' && insert4 && insert3 != '') ? ',' : '')+((insert2 != '' && insert4) ? insert2 : '')+']'+insert1+'[/hide]');
}
}
}
</script>
</div>
<!--{hook/post_attribute_extra_mobile}-->
<!--{hook/post_attribute_extra_body_mobile}-->
</li>

View File

@@ -0,0 +1,114 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template touch/common/header}-->
<!--{eval require_once(DISCUZ_ROOT.'./template/bygsjw_sj/touch/php/forum_post_forumselect.php');}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<h2 class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<span>请选择版块发帖</span>
</h2>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<div style="display: none">
<ul id="fs_group">$grouplist</ul>
<ul id="fs_forum_common">$commonlist</ul>
<!--{loop $forumlist $forumid $forum}-->
<ul id="fs_forum_$forumid">$forum</ul>
<!--{eval $fs_forum_all = byg_post_forum_all($forumid);}-->
<!--{loop $fs_forum_all $f_f_a}-->
<!--{eval $fs_forum_icon = byg_post_forum_icon($f_f_a['fid']);}-->
<!--{if $fs_forum_icon}-->
<div id="fs_forum_icon_{$f_f_a[fid]}"><!--{if preg_match("/^http(s)?:\\/\\/.+/",$fs_forum_icon)}-->{$fs_forum_icon}<!--{else}-->{$_G['setting']['attachurl']}common/{$fs_forum_icon}<!--{/if}--></div>
<!--{/if}-->
<!--{/loop}-->
<!--{/loop}-->
<!--{loop $subforumlist $forumid $forum}-->
<ul id="fs_subforum_$forumid">$forum</ul>
<!--{eval $fs_subforum_all = byg_post_forum_all($forumid);}-->
<!--{loop $fs_subforum_all $f_sf_a}-->
<!--{eval $fs_subforum_icon = byg_post_forum_icon($f_sf_a['fid']);}-->
<!--{if $fs_subforum_icon}-->
<div id="fs_subforum_icon_{$f_sf_a[fid]}"><!--{if preg_match("/^http(s)?:\\/\\/.+/",$fs_subforum_icon)}-->{$fs_subforum_icon}<!--{else}-->{$_G['setting']['attachurl']}common/{$fs_subforum_icon}<!--{/if}--></div>
<!--{/if}-->
<!--{/loop}-->
<!--{/loop}-->
</div>
<div class="fast_post">
<ul class="cl">
<li id="block_group"></li>
<li id="block_forum"></li>
</ul>
</div>
<script type="text/javascript">
var s_gid = '';
var lis = document.getElementById('fs_group').getElementsByTagName('LI');
var lastswitchobj = null;
for(i = 0;i < lis.length;i++) {
var gid = lis[i].getAttribute('fid');
if(document.getElementById('fs_forum_' + gid)) {
s_gid += '<p><a href="javascript:;" onclick="switchforums(this, 1, ' + gid + ')" id="post_gid_' + gid + '" class="over_one">' + lis[i].innerHTML + '</a></p>';
}
}
document.getElementById('block_group').innerHTML = s_gid;
for(i = 0;i < 1;i++) {
var gid1 = lis[i].getAttribute('fid');
switchforums(document.getElementById('post_gid_' + gid1), 1, gid1);
}
function switchforums(obj, block, fid) {
var s_fid = '';
var lis = document.getElementById('fs_forum_' + fid).getElementsByTagName('LI');
var fs_forum_icon;
var fs_subforum_icon;
var lis_sub;
var fid_sub;
if(lastswitchobj != obj) {
if(lastswitchobj) {
lastswitchobj.parentNode.className = '';
}
obj.parentNode.className = 'pbls';
}
for(i = 0;i < lis.length;i++) {
fid = lis[i].getAttribute('fid');
fs_forum_icon = document.getElementById('fs_forum_icon_' + fid) ? document.getElementById('fs_forum_icon_' + fid).innerHTML : '{$_G['style']['styleimgdir']}/forum.png';
if(fid != '') {
s_fid += '<p><a href="forum.php?mod=post&action=newthread&fid=' + fid + '" onclick="return landingPrompt(1);"><img src="'+ fs_forum_icon +'" alt="' + lis[i].innerHTML + '"/></a><a href="forum.php?mod=post&action=newthread&fid=' + fid + '" onclick="return landingPrompt(1);" class="over_one">' + lis[i].innerHTML + '</a></p>';
if(document.getElementById('fs_subforum_' + fid)) {
lis_sub = document.getElementById('fs_subforum_' + fid).getElementsByTagName('LI');
for(i1 = 0;i1 < lis_sub.length;i1++) {
fid_sub = lis_sub[i1].getAttribute('fid');
fs_subforum_icon = document.getElementById('fs_subforum_icon_' + fid_sub) ? document.getElementById('fs_subforum_icon_' + fid_sub).innerHTML : '{$_G['style']['styleimgdir']}/forum.png';
s_fid += '<p class="fast_post_subforum"><a href="forum.php?mod=post&action=newthread&fid=' + fid_sub + '" onclick="return landingPrompt(1);"><img src="'+ fs_subforum_icon +'" alt="' + lis_sub[i1].innerHTML + '"/></a><a href="forum.php?mod=post&action=newthread&fid=' + fid_sub + '" onclick="return landingPrompt(1);" class="over_one">' + lis_sub[i1].innerHTML + '</a></p>';
}
}
}
}
document.getElementById('block_forum').innerHTML = s_fid;
lastswitchobj = obj;
}
</script>
<!--{template touch/common/footer}-->

View File

@@ -0,0 +1,276 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<input type="hidden" name="polls" value="yes" />
<div class="byg_exfm cl">
<style type="text/css">
.byg_sinf h4{ display: block; padding: .1rem; background: #f5f5f5; font-size: .14rem; color: #666;}
.byg_sinf h4 input{ vertical-align: top; margin: .04rem .02rem;}
.byg_pollm_c_1{ padding: 0 .1rem; border-top: 1px solid #eaeaea;}
.byg_pollm_c_1p{ padding: .12rem 0; border-bottom: 1px dashed #eaeaea;}
.byg_poll_del img{ vertical-align: top; width: .2rem; height: .2rem; margin: .05rem 0;}
.byg_polloption_op{ line-height: .3rem; margin-right: .05rem; font-size: .15rem; color: #888;}
.byg_pollm_c_1p .px.byg_poll_order{ width: .25rem; margin-right: .05rem; font-size: .13rem;}
.byg_pollm_c_1p .px{ float: left; width: 2.15rem; border: .01rem solid #eee;}
.byg_newpoll_icon{ float: left; position: relative; margin-left: .08rem; width: .3rem; height: .3rem;}
.byg_newpoll, .byg_newpoll_icon img{ position: absolute; top: .02rem; left: .02rem; width: .26rem; height: .26rem; overflow: hidden;}
.byg_newpoll{ z-index: 2; opacity: 0;}
.byg_newpoll_icon img{ z-index: 1;}
.pollimg_icon{ margin-left: .06rem; float: left;}
.pollimg_icon img{ margin: .03rem .01rem; width: .22rem; height: .22rem; vertical-align: top; border: .01rem solid #ddd; border-radius: .04rem;}
.pollimg_view{ float: left; margin-top: .1rem; padding: .1rem; background: #ffc; border-radius: .12rem;}
.pollimg_view img{ max-width: 100%; vertical-align: top; border-radius: .1rem;}
.byg_addpolloption a{ display: inline-block; margin: .1rem 0; font-size: .14rem; color: #06f;}
.byg_sadd{ padding: 0 .1rem; border-bottom: 1px solid #eaeaea; font-size: .15rem; color: #888;}
.byg_sadd .byg_mbn{ padding: .12rem .02rem; border-top: 1px solid #eee;}
.byg_sadd .byg_mbn .px{ width: 1rem; border: .01rem solid #eee;}
.byg_pollm_c_2{ padding: .02rem .1rem;}
.byg_pollm_c_2 .pt{ margin: .1rem 0; height: 1rem;}
.byg_pollm_c_2 p{ margin-bottom: .1rem; font-size: .13rem; color: #ff9800;}
</style>
<div class="byg_sinf byg_sppoll">
<input type="hidden" name="fid" value="$_G[fid]" />
<!--{if $_GET[action] == 'newthread'}-->
<input type="hidden" name="tpolloption" value="1" />
<div class="cl">
<h4 class="cl">
<em>{lang post_poll_options}: </em>
{lang post_poll_comment} &nbsp;
<span class="y"><input id="pollchecked" type="checkbox" class="" onclick="switchpollm(1)" /><label for="pollchecked">{lang post_single_frame_mode}</label></span>
</h4>
</div>
<div id="pollm_c_1" class="byg_pollm_c_1">
<span id="polloption_new"></span>
<p id="polloption_hidden" style="display: none">
<a href="javascript:;" class="y byg_poll_del" onclick="delpolloption(this)"><img src="{$_G['style']['styleimgdir']}/hong_shanchu.png" alt="删除"/></a>
<span class="z byg_polloption_op">选项</span>
<input type="text" name="polloption[]" class="px vm" autocomplete="off" tabindex="1" />
<a href="javascript:;" class="byg_newpoll_icon">
<input type="file" name="Filedata" accept="image/jpg,image/jpeg,image/gif,image/png,image/bmp" pollimg_id="bygsjw0" class="byg_newpoll">
<img src="{$_G['style']['styleimgdir']}/hui_shangchuantu.png" alt="上传图片"/>
</a>
<span onclick="pollimg_view_on('bygsjw0')" id="pollUploadProgress" class="pollimg_icon" style="display: none;"></span>
<span id="pollimg_view_box" class="pollimg_view" style="display: none;"></span>
</p>
<div class="byg_addpolloption"><a href="javascript:;" onclick="addpolloption()">+{lang post_poll_add}</a></div>
</div>
<div id="pollm_c_2" class="byg_pollm_c_2" style="display:none">
<textarea name="polloptions" class="pt" onchange="switchpollm(0)" /></textarea>
<p class="cl">{lang post_poll_comment_s}</p>
</div>
<!--{else}-->
<div class="cl">
<h4 class="cl">
<em>{lang post_poll_options}: </em>
{lang post_poll_comment} &nbsp;
</h4>
</div>
<div id="pollm_c_1" class="byg_pollm_c_1">
<!--{loop $poll['polloption'] $key $option}-->
<!--{eval $ppid = $poll['polloptionid'][$key];}-->
<p class="cl byg_pollm_c_1p">
<input type="hidden" name="polloptionid[{$poll[polloptionid][$key]}]" value="$poll[polloptionid][$key]" />
<input type="text" name="displayorder[{$poll[polloptionid][$key]}]" class="px vm byg_poll_order" autocomplete="off" tabindex="1" value="$poll[displayorder][$key]" />
<input type="text" name="polloption[{$poll[polloptionid][$key]}]" class="px vm" autocomplete="off" tabindex="1" value="$option"{if !$_G['group']['alloweditpoll']} readonly="readonly"{/if} />
<!--img src="$poll[imginfo][$ppid][small]" class="cur1" /-->
<!--{if $poll[isimage]}-->
<span onclick="pollimg_view_on('{$key}')" id="pollUploadProgress_{$key}" class="pollimg_icon" style="margin-left: .1rem;">
<img src="{if $poll[imginfo][$ppid][small]}$poll[imginfo][$ppid][small]{else}static/image/common/nophoto.gif{/if}">
</span>
<span id="pollimg_view_box{$key}" class="pollimg_view" style="display: none;">
<img src="{if $poll[imginfo][$ppid][big]}$poll[imginfo][$ppid][big]{else}static/image/common/nophoto.gif{/if}">
<input type="hidden" name="pollimage[{$poll[polloptionid][$key]}]" value="$poll[imginfo][$ppid][aid]" />
</span>
<!--{/if}-->
</p>
<!--{/loop}-->
<span id="polloption_new"></span>
<p id="polloption_hidden" style="display: none">
<a href="javascript:;" class="y byg_poll_del" onclick="delpolloption(this)"><img src="{$_G['style']['styleimgdir']}/hong_shanchu.png" alt="删除"/></a>
<input type="text" name="displayorder[]" class="px vm byg_poll_order" autocomplete="off" tabindex="1" />
<input type="text" name="polloption[]" class="px vm" autocomplete="off" tabindex="1" />
<a href="javascript:;" class="byg_newpoll_icon">
<input type="file" name="Filedata" accept="image/jpg,image/jpeg,image/gif,image/png,image/bmp" pollimg_id="bygsjw0" class="byg_newpoll">
<img src="{$_G['style']['styleimgdir']}/hui_shangchuantu.png" alt="上传图片"/>
</a>
<span onclick="pollimg_view_on('bygsjw0')" id="pollUploadProgress" class="pollimg_icon" style="display: none;"></span>
<span id="pollimg_view_box" class="pollimg_view" style="display: none;"></span>
</p>
<div class="byg_addpolloption"><a href="javascript:;" onclick="addpolloption()">+{lang post_poll_add}</a></div>
</div>
<!--{/if}-->
</div>
<div class="byg_sadd">
<p class="byg_mbn">
<label for="maxchoices">{lang post_poll_allowmultiple}</label>
<input type="text" name="maxchoices" id="maxchoices" class="px" value="{if $_GET[action] == 'edit' && $poll[maxchoices]}$poll[maxchoices]{else}1{/if}" tabindex="1" /> {lang post_option}
</p>
<p class="byg_mbn">
<label for="polldatas">{lang post_poll_expiration}</label>
<input type="text" name="expiration" id="polldatas" class="px" value="{if $_GET[action] == 'edit'}{if !$poll[expiration]}0{elseif $poll[expiration] < 0}{lang poll_close}{elseif $poll[expiration] < TIMESTAMP}{lang poll_finish}{else}{echo (round(($poll[expiration] - TIMESTAMP) / 86400))}{/if}{/if}" tabindex="1" /> {lang days}
</p>
<p class="byg_mbn">
<input type="checkbox" name="visibilitypoll" id="visibilitypoll" class="pc" value="1"{if $_GET[action] == 'edit' && !$poll[visible]} checked{/if} tabindex="1" /><label for="visibilitypoll">{lang poll_after_result}</label>
</p>
<p class="byg_mbn">
<input type="checkbox" name="overt" id="overt" class="pc" value="1"{if $_GET[action] == 'edit' && $poll[overt]} checked{/if} tabindex="1" /><label for="overt">{lang post_poll_overt}</label>
</p>
</div>
<!--{hook/post_poll_extra}-->
</div>
<script type="text/javascript" reload="1">
var maxoptions = parseInt('$_G[setting][maxpolloptions]');
<!--{if $_GET[action] == 'newthread'}-->
var curoptions = 0;
var curnumber = 1;
addpolloption();
addpolloption();
addpolloption();
<!--{else}-->
var curnumber = curoptions = <!--{echo count($poll['polloption'])}-->;
<!--{/if}-->
function addpolloption() {
if(curoptions < maxoptions) {
var proid = 'pollUploadProgress_'+curnumber;
var pollstr = document.getElementById('polloption_hidden').innerHTML.replace('pollUploadProgress', proid);
pollstr = pollstr.replace(/bygsjw0/g, curnumber);
pollstr = pollstr.replace('pollimg_view_box', 'pollimg_view_box' + curnumber);
document.getElementById('polloption_new').outerHTML = '<p class="cl byg_pollm_c_1p">' + pollstr + '</p>' + document.getElementById('polloption_new').outerHTML;
curoptions++;
curnumber++;
} else {
popup.open('已达到最大投票数' + maxoptions + '!', 'alert');
}
}
function delpolloption(obj) {
obj.parentNode.parentNode.removeChild(obj.parentNode);
curoptions--;
}
function pollimg_view_on(a) {
var obj = $('#pollimg_view_box' + a);
var dis = obj.css("display");
if(dis == "none"){
obj.css("display", "block");
}else{
obj.css("display", "none");
}
}
function switchpollm(swt) {
t = document.getElementById('pollchecked').checked && swt ? 2 : 1;
var v = '', q = 0;
for(var i = 0; i < document.getElementById('postform').elements.length; i++) {
var e = document.getElementById('postform').elements[i];
if(!isUndefined(e.name)) {
if(e.name.match('^polloption')) {
if(t == 2 && e.tagName == 'INPUT' && e.value) {
v += (q > 0 ? "\n" : '') + e.value;
q++;
} else if(t == 1 && e.tagName == 'TEXTAREA' && e.value) {
v += e.value;
}
}
}
}
if(t == 1) {
var a = v.split('\n');
var pcount = 0;
for(var i = 0; i < document.getElementById('postform').elements.length; i++) {
var e = document.getElementById('postform').elements[i];
if(!isUndefined(e.name)) {
if(e.name.match('^polloption')) {
pcount++;
if(e.tagName == 'INPUT') e.value = '';
}
}
}
for(var i = 0; i < a.length - pcount + 2; i++) {
addpolloption();
}
var ii = 0;
for(var i = 0; i < document.getElementById('postform').elements.length; i++) {
var e = document.getElementById('postform').elements[i];
if(!isUndefined(e.name)) {
if(e.name.match('^polloption') && e.tagName == 'INPUT' && a[ii]) {
e.value = a[ii++];
}
}
}
} else if(t == 2) {
document.getElementById('postform').polloptions.value = trim(v);
}
document.getElementById('postform').tpolloption.value = t;
if(swt) {
display('pollm_c_1');
display('pollm_c_2');
}
}
function trim(str) {
return str.replace(/^\s*(.*?)[\s\n]*$/g, '$1');
}
function display(id) {
var obj = document.getElementById(id);
if(obj.style.visibility) {
obj.style.visibility = obj.style.visibility == 'visible' ? 'hidden' : 'visible';
} else {
obj.style.display = obj.style.display == '' ? 'none' : '';
}
}
$(document).on('change', '.byg_newpoll', function() {
popup.open('<img src="' + IMGDIR + '/imageloading.gif">');
var pollimg_id = $(this).attr('pollimg_id');
uploadsuccess = function(data) {
if(data == '') {
popup.open('{lang uploadpicfailed}', 'alert');
}
var byg_dataarr = eval("("+data+")");
if(byg_dataarr.errorcode == 0 && byg_dataarr.aid) {
popup.close();
$('#pollimg_view_box' + pollimg_id).html('<img src="' + byg_dataarr.bigimg + '"><input type="hidden" name="pollimage[]" value="' + byg_dataarr.aid + '">');
$('#pollUploadProgress_' + pollimg_id).html('<img src="' + byg_dataarr.smallimg + '">');
$('#pollUploadProgress_' + pollimg_id).css('display','');
} else {
popup.open(STATUSMSG[byg_dataarr.errorcode], 'alert');
}
};
if(typeof FileReader != 'undefined' && this.files[0]) {//note 支持html5上传新特性
$.buildfileupload({
uploadurl:'misc.php?mod=swfupload&action=swfupload&operation=poll&fid=$_G[fid]',
files:this.files,
uploadformdata:{"uid":"$_G[uid]", "hash":"$swfconfig[hash]"},
uploadinputname:'Filedata',
maxfilesize:"2048",
success:uploadsuccess,
error:function() {
popup.open('{lang uploadpicfailed}', 'alert');
}
});
} else {
$.ajaxfileupload({
url:'misc.php?mod=swfupload&action=swfupload&operation=poll&fid=$_G[fid]',
data:{"uid":"$_G[uid]", "hash":"$swfconfig[hash]"},
dataType:'text',
fileElementId:'filedata',
success:uploadsuccess,
error: function() {
popup.open('{lang uploadpicfailed}', 'alert');
}
});
}
});
</script>

View File

@@ -0,0 +1,79 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<div class="byg_exfm cl">
<style type="text/css">
.byg_exfm{ margin-bottom: .05rem; padding: .05rem .1rem; border-bottom: 1px solid #eaeaea;}
.byg_exfm_t{ margin: .1rem; color: #666; font-size: .15rem;}
.byg_exfm_t .px{ width: 1rem; border: 1px solid #eee;}
.byg_exfm strong{ color: #ff9800;}
.byg_exfm .byg_quote{ font-size: .13rem;}
</style>
<!--{if $_GET[action] == 'newthread'}-->
<div class="byg_exfm_t">
<label for="rewardprice">{lang reward_price}: </label>
<input type="text" name="rewardprice" id="rewardprice" class="px pxs" size="6" onkeyup="getrealprice(this.value)" value="{$_G['group']['minrewardprice']}" tabindex="1" />
{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]][unit]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]][title]}
</div>
<p class="byg_quote xg1">
{lang reward_tax_after} <strong id="realprice">0</strong> {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]][unit]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]][title]}
</p>
<p class="byg_quote xg1">
{lang reward_price_min} {$_G['group']['minrewardprice']} {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]][unit]}
<!--{if $_G['group']['maxrewardprice'] > 0}-->, {lang reward_price_max} {$_G['group']['maxrewardprice']} {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]][unit]}<!--{/if}-->
, {lang you_have} <!--{echo getuserprofile('extcredits'.$_G['setting']['creditstransextra'][2]);}--> {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]][unit]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]][title]}
</p>
<!--{elseif $_GET[action] == 'edit'}-->
<!--{if $isorigauthor}-->
<!--{if $thread['price'] > 0}-->
<div class="byg_exfm_t">
<label for="rewardprice">{lang reward_price}:</label>
<input type="text" name="rewardprice" id="rewardprice" class="px pxs" onkeyup="getrealprice(this.value)" size="6" value="$rewardprice" tabindex="1" />
{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]][title]}
</div>
<p class="byg_quote xg1">
{lang reward_tax_add} <strong id="realprice">0</strong> {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]][unit]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]][title]}
</p>
<p class="byg_quote xg1">
{lang reward_price_min} {$_G['group']['minrewardprice']} {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]][unit]}
<!--{if $_G['group']['maxrewardprice'] > 0}-->, {lang reward_price_max} {$_G['group']['maxrewardprice']} {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]][unit]}<!--{/if}-->
, {lang you_have} <!--{echo getuserprofile('extcredits'.$_G['setting']['creditstransextra'][2]);}--> {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]][unit]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]][title]}
</p>
<!--{else}-->
<p class="byg_quote xg1">{lang post_reward_resolved}</p>
<input type="hidden" name="rewardprice" value="$rewardprice" tabindex="1" />
<!--{/if}-->
<!--{else}-->
<!--{if $thread['price'] > 0}-->
<p class="byg_quote xg1">{lang reward_price}: $rewardprice {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]][unit]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]][title]}</p>
<!--{else}-->
<p class="byg_quote xg1">{lang post_reward_resolved}</p>
<!--{/if}-->
<!--{/if}-->
<!--{/if}-->
<!--{if $_G['setting']['rewardexpiration'] > 0}-->
<p class="byg_quote xg1">$_G['setting']['rewardexpiration'] {lang post_reward_message}</p>
<!--{/if}-->
<!--{hook/post_reward_extra}-->
</div>
<script type="text/javascript" reload="1">
function getrealprice(price){
if(!price.search(/^\d+$/) ) {
n = Math.ceil(parseInt(price) + price * $_G['setting']['creditstax']);
if(price > 32767) {
document.getElementById('realprice').innerHTML = '<b>{lang reward_price_overflow}</b>';
}<!--{if $_GET[action] == 'edit'}--> else if(price < $rewardprice) {
document.getElementById('realprice').innerHTML = '<b>{lang reward_cant_fall}</b>';
}<!--{/if}--> else if(price < $_G['group']['minrewardprice'] || ($_G['group']['maxrewardprice'] > 0 && price > $_G['group']['maxrewardprice'])) {
document.getElementById('realprice').innerHTML = '<b>{lang reward_price_bound}</b>';
} else {
document.getElementById('realprice').innerHTML = n;
}
}else{
document.getElementById('realprice').innerHTML = '<b>{lang input_invalid}</b>';
}
}
if(document.getElementById('rewardprice')) {
getrealprice(document.getElementById('rewardprice').value);
}
</script>

View File

@@ -0,0 +1,224 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<script type="text/javascript">
var forum_optionlist = <!--{if $forum_optionlist}-->'$forum_optionlist'<!--{else}-->''<!--{/if}-->;
</script>
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/threadsort.js?{VERHASH}"></script>
<input type="hidden" name="selectsortid" value="$_G['forum_selectsortid']" />
<table class="tfm">
<!--{if $_G['forum']['threadsorts']['description'][$_G['forum_selectsortid']]}-->
<tr>
<th class="">{lang threadtype_description}</th>
<td colspan="2" class="byg_td1" style="padding:.1rem;">$_G[forum][threadsorts][description][$_G[forum_selectsortid]]</td>
</tr>
<!--{/if}-->
<!--{if $_G['forum']['threadsorts']['expiration'][$_G['forum_selectsortid']]}-->
<tr>
<th class="">{lang threadtype_expiration}</th>
<td colspan="2" class="byg_td1">
<div class="ftid">
<select name="typeexpiration" tabindex="1" id="typeexpiration">
<option value="259200">{lang three_days}</option>
<option value="432000">{lang five_days}</option>
<option value="604800">{lang seven_days}</option>
<option value="2592000">{lang one_month}</option>
<option value="7776000">{lang three_months}</option>
<option value="15552000">{lang half_year}</option>
<option value="31536000">{lang one_year}</option>
</select>
</div>
<!--{if $_G['forum_optiondata']['expiration']}-->{lang valid_before}: $_G[forum_optiondata][expiration]<!--{/if}-->
</td>
</tr>
<!--{/if}-->
<!--{loop $_G['forum_optionlist'] $optionid $option}-->
<tr>
<th class="">$option[title]<!--{if $option['required']}--><div style="color:#ff6600;font-size:.12rem;">*(必填)</div><!--{/if}--></th>
<td class="byg_td1">
<div id="select_$option[identifier]">
<!--{if in_array($option['type'], array('number', 'text', 'email', 'calendar', 'image', 'url', 'range', 'upload', 'range'))}-->
<!--{if $option['type'] == 'calendar'}-->
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/date.js?{VERHASH}"></script>
<input type="text" name="typeoption[{$option[identifier]}]" id="typeoption_$option[identifier]" value="$option[value]" $option[unchangeable] class="byg_date input_text"/>
<script type="text/javascript">
new Rolldate({
el: '#typeoption_$option[identifier]',
format: 'YYYY-MM-DD',
beginYear: 2000,
endYear: 2100
})
</script>
<!--{elseif $option['type'] == 'image'}-->
<!--{if !($option[unchangeable] && $option['value'])}-->
<div class="post_sort_img_btn">
<div id="psi_btn_{$option[identifier]}" class="psi_btn"><!--{if $option['value']}-->{lang update}图片<!--{else}-->{lang upload}图片<!--{/if}--></div>
<input type="file" id="sortfile_{$option[identifier]}" class="psi_ipt" />
</div>
<input type="hidden" name="typeoption[{$option[identifier]}][aid]" value="$option[value][aid]" id="sortaid_{$option[identifier]}" />
<input type="hidden" name="sortaid_{$option[identifier]}_url" id="sortaid_{$option[identifier]}_url" />
<!--{if $option[value]}--><input type="hidden" name="oldsortaid[{$option[identifier]}]" value="$option[value][aid]" tabindex="1" /><!--{/if}-->
<input type="hidden" name="typeoption[{$option[identifier]}][url]" id="sortattachurl_{$option[identifier]}" {if $option[value][url]}value="$option[value][url]"{/if} tabindex="1" />
<!--{/if}-->
<div id="sortattach_image_{$option[identifier]}" class="post_sort_img">
<!--{if $option['value']['url']}-->
<img src="$option[value][url]" alt="" />
<!--{/if}-->
</div>
<script type="text/javascript">
jQuery(document).on('change', '#sortfile_{$option[identifier]}', function() {
popup.open('<img src="' + IMGDIR + '/imageloading.gif">');
uploadsuccess = function(data) {
if(data == '') {
popup.open('{lang uploadpicfailed}', 'alert');
}
var dataarr = data.split('|');
if(dataarr[0] == 'DISCUZUPLOAD' && dataarr[2] == 0) {
popup.close();
jQuery('#sortaid_{$option[identifier]}').val(dataarr[3]);
jQuery('#sortaid_{$option[identifier]}_url').val(dataarr[5]);
jQuery('#sortattachurl_{$option[identifier]}').val('{$_G[setting][attachurl]}forum/' + dataarr[5]);
jQuery('#sortattach_image_{$option[identifier]}').html('<img src="{$_G[setting][attachurl]}forum/'+dataarr[5]+'"/>');
byg_id('psi_btn_{$option[identifier]}').innerHTML = '{lang update}图片';
} else {
var sizelimit = '';
if(dataarr[7] == 'ban') {
sizelimit = '{lang uploadpicatttypeban}';
} else if(dataarr[7] == 'perday') {
sizelimit = '{lang donotcross}'+Math.ceil(dataarr[8]/1024)+'K)';
} else if(dataarr[7] > 0) {
sizelimit = '{lang donotcross}'+Math.ceil(dataarr[7]/1024)+'K)';
}
popup.open(STATUSMSG[dataarr[2]] + sizelimit, 'alert');
return false;
}
};
if(typeof FileReader != 'undefined' && this.files[0]) {//note 支持html5上传新特性
$.buildfileupload({
uploadurl:'misc.php?mod=swfupload&operation=upload&type=image&inajax=yes&infloat=yes&simple=2',
files:this.files,
uploadformdata:{uid:"$_G['uid']", hash:"<!--{eval echo md5(substr(md5($_G['config']['security']['authkey']), 8).$_G['uid'])}-->"},
uploadinputname:'Filedata',
maxfilesize:"$swfconfig[max]",
success:uploadsuccess,
error:function() {
popup.open('{lang uploadpicfailed}', 'alert');
}
});
} else {
$.ajaxfileupload({
url:'misc.php?mod=swfupload&operation=upload&type=image&inajax=yes&infloat=yes&simple=2',
data:{uid:"$_G['uid']", hash:"<!--{eval echo md5(substr(md5($_G['config']['security']['authkey']), 8).$_G['uid'])}-->"},
dataType:'text',
fileElementId:'filedata',
success:uploadsuccess,
error: function() {
popup.open('{lang uploadpicfailed}', 'alert');
}
});
}
});
</script>
<!--{else}-->
<input type="text" name="typeoption[{$option[identifier]}]" id="typeoption_$option[identifier]" class="input_text" tabindex="1" size="$option[inputsize]" onBlur="checkoption('$option[identifier]', '$option[required]', '$option[type]'{if $option[maxnum]}, '$option[maxnum]'{else}, '0'{/if}{if $option[minnum]}, '$option[minnum]'{else}, '0'{/if}{if $option[maxlength]}, '$option[maxlength]'{/if})" value="{if $_G['tid']}$option[value]{else}{if $member_profile[$option['profile']]}$member_profile[$option['profile']]{else}$option['defaultvalue']{/if}{/if}" $option[unchangeable] />
<!--{/if}-->
<!--{elseif in_array($option['type'], array('radio', 'checkbox', 'select'))}-->
<!--{if $option[type] == 'select'}-->
<!--{loop $option['value'] $selectedkey $selectedvalue}-->
<!--{if $selectedkey}-->
<script type="text/javascript">
changeselectthreadsort('$selectedkey', $optionid, 'update');
</script>
<!--{else}-->
<select tabindex="1" onchange="changeselectthreadsort(this.value, '$optionid');checkoption('$option[identifier]', '$option[required]', '$option[type]')" $option[unchangeable] class="ps">
<option value="0">{lang please_select}</option>
<!--{loop $option['choices'] $id $value}-->
<!--{if !$value[foptionid]}-->
<option value="$id">$value[content] <!--{if $value['level'] != 1}-->&raquo;<!--{/if}--></option>
<!--{/if}-->
<!--{/loop}-->
</select>
<!--{/if}-->
<!--{/loop}-->
<!--{if !is_array($option['value'])}-->
<select tabindex="1" onchange="changeselectthreadsort(this.value, '$optionid');checkoption('$option[identifier]', '$option[required]', '$option[type]')" $option[unchangeable] class="ps">
<option value="0">{lang please_select}</option>
<!--{loop $option['choices'] $id $value}-->
<!--{if !$value[foptionid]}-->
<option value="$id">$value[content] <!--{if $value['level'] != 1}-->&raquo;<!--{/if}--></option>
<!--{/if}-->
<!--{/loop}-->
</select>
<!--{/if}-->
<!--{elseif $option['type'] == 'radio'}-->
<ul class="input_radio_box">
<!--{loop $option['choices'] $id $value}-->
<li><label><input type="radio" name="typeoption[{$option[identifier]}]" id="typeoption_$option[identifier]" class="pr" tabindex="1" onclick="checkoption('$option[identifier]', '$option[required]', '$option[type]')" value="$id" $option['value'][$id] $option[unchangeable] class="pr">$value</label></li>
<!--{/loop}-->
</ul>
<!--{elseif $option['type'] == 'checkbox'}-->
<ul class="input_radio_box">
<!--{loop $option['choices'] $id $value}-->
<li><label><input type="checkbox" name="typeoption[{$option[identifier]}][]" id="typeoption_$option[identifier]" class="pc" tabindex="1" onclick="checkoption('$option[identifier]', '$option[required]', '$option[type]')" value="$id" $option['value'][$id][$id] $option[unchangeable] class="pc">$value</label></li>
<!--{/loop}-->
</ul>
<!--{/if}-->
<!--{elseif in_array($option['type'], array('textarea'))}-->
<div class="input_textarea_box">
<textarea name="typeoption[{$option[identifier]}]" tabindex="1" id="typeoption_$option[identifier]" rows="$option[rowsize]" cols="$option[colsize]" onBlur="checkoption('$option[identifier]', '$option[required]', '$option[type]', 0, 0{if $option[maxlength]}, '$option[maxlength]'{/if})" $option[unchangeable] class="input_textarea">$option[value]</textarea>
</div>
<!--{/if}-->
</div>
</td>
<td class="byg_td2">
<div>{$option[unit]}</div>
<!--{if $option['maxnum'] || $option['minnum'] || $option['maxlength'] || $option['unchangeable'] || $option[description]}-->
<div class="">
<!--{if $option['maxnum']}-->
{lang maxnum} $option[maxnum]&nbsp;
<!--{/if}-->
<!--{if $option['minnum']}-->
{lang minnum} $option[minnum]&nbsp;
<!--{/if}-->
<!--{if $option['maxlength']}-->
{lang maxlength} $option[maxlength]&nbsp;
<!--{/if}-->
<!--{if $option['unchangeable']}-->
{lang unchangeable}&nbsp;
<!--{/if}-->
<!--{if $option[description]}-->
$option[description]
<!--{/if}-->
</div>
<!--{/if}-->
<span id="check{$option[identifier]}" style="color:#ff9900;font-size:.12rem;"></span>
</td>
</tr>
<!--{/loop}-->
</table>
<script type="text/javascript" reload="1">
var CHECKALLSORT = false;
function warning(obj, msg) {
obj.style.display = '';
obj.innerHTML = '<img src="{IMGDIR}/check_error.gif" width="16" height="16" class="vm" /> ' + msg;
obj.className = "warning";
if(CHECKALLSORT) {
popup.open(msg, 'alert');
}
}
function validateextra() {
CHECKALLSORT = true;
<!--{loop $_G['forum_optionlist'] $optionid $option}-->
if(!checkoption('$option[identifier]', '$option[required]', '$option[type]')) {
return false;
}
<!--{/loop}-->
return true;
}
</script>

View File

@@ -0,0 +1,196 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<input type="hidden" name="trade" value="yes" />
<input type="hidden" name="item_type" value="1" />
<div class="byg_exfm cl">
<style type="text/css">
.byg_exfm{ margin-bottom: .05rem; padding: 0 .1rem; font-size: .15rem; color: #666;}
.byg_exfm .px{ border: .01rem solid #eee;}
.byg_sinf dl{ margin-top: .1rem; padding-bottom: .1rem; border-bottom: 1px dashed #eaeaea;}
.byg_sinf .byg_place_dt{ line-height: .3rem;}
.byg_sinf .byg_place_dd{ position: relative;}
.byg_sinf .byg_place_dd .px{ width: 2.75rem;}
.byg_sinf .byg_place_dd .pt{ height: 1rem;}
.byg_sinf .byg_place_dd .ps{ width: 2.77rem; height: .3rem; line-height: .3rem; padding-left: .02rem; border-color: #eee; border-radius: .05rem; color: #888; font-size: .15rem;}
.byg_sinf .byg_place_dd span{ position: absolute; top: 0; right: .08rem; height: .3rem; line-height: .3rem; color: #999;}
.byg_sinf .byg_place_dd p{ line-height: .3rem; color: #999; font-size: .13rem;}
.byg_trade_price .byg_place_dd{ margin-bottom: .1rem;}
.byg_sinf dl.byg_trade_price{ padding: 0;}
.byg_tradeimg_file{ margin-top: .02rem; width: 2.75rem; height: .25rem; line-height: .25rem; overflow: hidden;}
#tradeattach_image img{ margin-top: .1rem; border-radius: .1rem; max-width: 100%; vertical-align: top;}
</style>
<div class="byg_sinf">
<dl class="cl">
<dt class="byg_place_dt z"><span class="rq">*</span><label for="item_name">{lang post_trade_name}:</label></dt>
<dd class="byg_place_dd y"><input type="text" name="item_name" id="item_name" class="px" value="$trade[subject]" tabindex="1" /></dd>
</dl>
<dl class="cl">
<dt class="byg_place_dt z"><span class="rq">*</span><label for="item_number">{lang post_trade_number}:</label></dt>
<dd class="byg_place_dd y"><input type="text" name="item_number" id="item_number" class="px" value="$trade[amount]" tabindex="1" /></dd>
</dl>
<dl class="cl">
<dt class="byg_place_dt z"><span class="rq">*</span><label for="item_quality">商品成色:</label></dt>
<dd class="byg_place_dd y">
<select id="item_quality" class="ps" name="item_quality" tabindex="1">
<option value="1" {if $trade['quality'] == 1}selected="selected"{/if}>{lang trade_new}</option>
<option value="2" {if $trade['quality'] == 2}selected="selected"{/if}>{lang trade_old}</option>
</select>
</dd>
</dl>
<dl class="cl">
<dt class="byg_place_dt z"><label for="transport">{lang post_trade_transport}:</label></dt>
<dd class="byg_place_dd y">
<select name="transport" id="transport" onchange="document.getElementById('logisticssetting').style.display = (document.getElementById('transport').value == 'virtual' ? 'none' : '');" class="ps">
<option value="virtual" {if $trade['transport'] == 3}selected="selected"{/if}>{lang post_trade_transport_virtual}</option>
<option value="seller" {if $trade['transport'] == 1}selected="selected"{/if}>{lang post_trade_transport_seller}</option>
<option value="buyer" {if $trade['transport'] == 2}selected="selected"{/if}>{lang post_trade_transport_buyer}</option>
<option value="logistics" {if $trade['transport'] == 4}selected="selected"{/if}>{lang trade_type_transport_physical}</option>
<option value="offline" {if $trade['transport'] == 0}selected="selected"{/if}>{lang post_trade_transport_offline}</option>
</select>
</dd>
</dl>
<dl class="cl byg_trade_price">
<dt class="byg_place_dt z"><span class="rq">*</span>{lang post_trade_price}:</dt>
<dd class="byg_place_dd y">
<input type="text" name="item_price" id="item_price" class="px" value="$trade[price]" tabindex="1" />
<span>{lang post_current_price}</span>
</dd>
<dd class="byg_place_dd y">
<input type="text" name="item_costprice" id="item_costprice" class="px" value="$trade[costprice]" tabindex="1" />
<span>{lang post_original_price}</span>
</dd>
<!--{if $_G['setting']['creditstransextra'][5] != -1}-->
<dd class="byg_place_dd y">
<input type="text" name="item_credit" id="item_credit" class="px" value="$trade[credit]" tabindex="1" />
<span>{lang post_current_credit}({$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][5]][title]})</span>
</dd>
<dd class="byg_place_dd y">
<input type="text" name="item_costcredit" id="item_costcredit" class="px" value="$trade[costcredit]" tabindex="1" />
<span>{lang post_original_credit}({$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][5]][title]})</span>
</dd>
<!--{/if}-->
<dd class="y" id="logisticssetting" style="display:{if !$trade['transport'] || $trade['transport'] == 3}none{/if}">
<div class="byg_place_dd y">
<input type="text" name="postage_mail" id="postage_mail" class="px" value="$trade[ordinaryfee]" tabindex="1" />
<span>{lang post_trade_transport_mail}</span>
</div>
<div class="byg_place_dd y">
<input type="text" name="postage_express" id="postage_express" class="px" value="$trade[expressfee]" tabindex="1" />
<span>{lang post_trade_transport_express}</span>
</div>
<div class="byg_place_dd y">
<input type="text" name="postage_ems" id="postage_ems" class="px" value="$trade[emsfee]" tabindex="1" />
<span>EMS</span>
</div>
</dd>
</dl>
<dl class="cl">
<dt class="byg_place_dt z"><label for="paymethod">{lang post_trade_paymethod}:</label></dt>
<dd class="byg_place_dd y">
<select name="paymethod" id="paymethod" onchange="document.getElementById('tenpayseller').style.display = (document.getElementById('paymethod').value == '1' ? 'none' : '');" class="ps" tabindex="1">
<!--{if $_G[setting][ec_tenpay_opentrans_chnid]}--><option value="0" {if $trade[tenpayaccount]}selected{/if}>{lang post_trade_paymethod_online}</option><!--{/if}-->
<option value="1" {if !$trade[tenpayaccount]}selected{/if}>{lang post_trade_paymethod_offline}</option>
</select>
</dd>
</dl>
<dl class="cl" id="tenpayseller" style="{if !$trade[tenpayaccount]}display:none{/if}">
<dt class="byg_place_dt z"><label for="tenpay_account">{lang post_trade_tenpay_seller}:</label></dt>
<dd class="byg_place_dd y"><input type="text" name="tenpay_account" id="tenpay_account" class="px" value="$trade[tenpayaccount]" tabindex="2" style="width: 2.6rem;" /></dd>
</dl>
<dl class="cl">
<dt class="byg_place_dt z"><label for="item_locus">{lang post_trade_locus}:</label></dt>
<dd class="byg_place_dd y"><input type="text" name="item_locus" id="item_locus" class="px" value="$trade[locus]" tabindex="1" /></dd>
</dl>
<dl class="cl">
<dt class="byg_place_dt z"><label for="item_expiration">{lang valid_before}:</label></dt>
<dd class="byg_place_dd y">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/date.js?{VERHASH}"></script>
<input type="text" name="item_expiration" id="item_expiration" class="px" autocomplete="off" value="$trade[expiration]" tabindex="1" />
<script type="text/javascript">
new Rolldate({
el: '#item_expiration',
format: 'YYYY-MM-DD',
beginYear: 2000,
endYear: 2100
});
</script>
</dd>
</dl>
<!--{if $allowpostimg}-->
<dl class="cl">
<dt class="byg_place_dt z">{lang post_trade_picture}:</dt>
<dd class="y">
<input type="file" name="Filedata" accept="image/jpg,image/jpeg,image/gif,image/png,image/bmp" class="byg_tradeimg_file">
</dd>
<dd>
<input type="hidden" name="tradeaid" id="tradeaid" {if $tradeattach[attachment]}value="$tradeattach[aid]" {/if}/>
<input type="hidden" name="tradeaid_url" id="tradeaid_url" />
<div id="tradeattach_image">
<!--{if $tradeattach[attachment]}-->
<img src="$tradeattach[url]/{if $tradeattach['thumb']}{eval echo getimgthumbname($tradeattach['attachment']);}{else}$tradeattach[attachment]{/if}" />
<!--{/if}-->
</div>
</dd>
</dl>
<!--{/if}-->
</div>
<!--{hook/post_trade_extra}-->
</div>
<script type="text/javascript" reload="1">
$(document).on('change', '.byg_tradeimg_file', function() {
popup.open('<img src="' + IMGDIR + '/imageloading.gif">');
uploadsuccess = function(data) {
if(data == '') {
popup.open('{lang uploadpicfailed}', 'alert');
}
var dataarr = data.split('|');
if(dataarr[0] == 'DISCUZUPLOAD' && dataarr[2] == 0) {
popup.close();
$('#tradeaid').val(dataarr[3]);
$('#tradeaid_url').val('/' + dataarr[5]);
$('#tradeattach_image').html('<img src="{$_G[setting][attachurl]}forum/'+dataarr[5]+'" />');
} else {
var sizelimit = '';
if(dataarr[7] == 'ban') {
sizelimit = '{lang uploadpicatttypeban}';
} else if(dataarr[7] == 'perday') {
sizelimit = '{lang donotcross}'+Math.ceil(dataarr[8]/1024)+'K)';
} else if(dataarr[7] > 0) {
sizelimit = '{lang donotcross}'+Math.ceil(dataarr[7]/1024)+'K)';
}
popup.open(STATUSMSG[dataarr[2]] + sizelimit, 'alert');
}
};
if(typeof FileReader != 'undefined' && this.files[0]) {//note 支持html5上传新特性
$.buildfileupload({
uploadurl:'misc.php?mod=swfupload&operation=upload&type=image&inajax=yes&infloat=yes&simple=2',
files:this.files,
uploadformdata:{uid:"$_G['uid']", hash:"<!--{eval echo md5(substr(md5($_G['config']['security']['authkey']), 8).$_G['uid'])}-->"},
uploadinputname:'Filedata',
maxfilesize:"$swfconfig[max]",
success:uploadsuccess,
error:function() {
popup.open('{lang uploadpicfailed}', 'alert');
}
});
} else {
$.ajaxfileupload({
url:'misc.php?mod=swfupload&operation=upload&type=image&inajax=yes&infloat=yes&simple=2',
data:{uid:"$_G['uid']", hash:"<!--{eval echo md5(substr(md5($_G['config']['security']['authkey']), 8).$_G['uid'])}-->"},
dataType:'text',
fileElementId:'filedata',
success:uploadsuccess,
error: function() {
popup.open('{lang uploadpicfailed}', 'alert');
}
});
}
});
</script>

View File

@@ -0,0 +1,105 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!--{if empty($_GET['showratetip'])}-->
<style>
.bygsjw_rate{ width: 3.35rem; background: #fff; border-radius: .1rem;}
.bygsjw_rate h3{ padding: .1rem 0; font-size: .18rem; text-align: center; background: $_G['style']['zhuti']; color: #fff; border-radius: .1rem .1rem 0 0; display: block;}
.bygsjw_rate form{ padding: .15rem;}
.bygsjw_rate table{ table-layout: fixed; width: 100%; border: 1px solid #eee; border-color: #eee;}
.bygsjw_rate th{ padding: .08rem 0; background: #fafafa; line-height: .2rem; text-align: center;}
.bygsjw_rate td{ padding: .08rem .05rem; font-size: .15rem; line-height: .2rem; text-align: center;}
.bygsjw_rate .px{ border: .01rem solid #eee; padding: .02rem .04rem; font-size: .14rem;}
.bygsjw_rate_c{ max-height: 3rem; overflow-x: hidden; overflow-y: auto;}
.bygsjw_rate_b{ margin-top: .12rem; line-height: .25rem;}
.bygsjw_rate_b label{ font-size: .14rem;}
.bygsjw_rate_b button{ float: right; padding: .02rem .1rem;}
.bygsjw_rate_b .xg1{ margin-right: .1rem; font-size: .13rem;}
</style>
<!--{if $_GET[action] == 'rate'}-->
<div class="bygsjw_rate">
<h3>
<em>打赏评分,给作者增加点动力吧</em>
</h3>
<form id="rateform" method="post" autocomplete="off" action="forum.php?mod=misc&action=rate&ratesubmit=yes&infloat=yes">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="tid" value="$_G[tid]" />
<input type="hidden" name="pid" value="$_GET[pid]" />
<input type="hidden" name="referer" value="$referer" />
<!--{if !empty($_GET['infloat'])}--><input type="hidden" name="handlekey" value="rate"><!--{/if}-->
<div class="bygsjw_rate_c">
<table cellspacing="0" cellpadding="0" border="1">
<tr>
<th>&nbsp;</th>
<th>{lang rate_raterange}</th>
<th>{lang rate_todayleft}</th>
</tr>
<!--{eval $rateselfflag = 0;}-->
<!--{loop $ratelist $id $options}-->
<tr>
<td>{$_G['setting']['extcredits'][$id][title]}&nbsp;<input type="text" name="score$id" id="score$id" class="px" placeholder="0" value="" style="width: .3rem;" /></td>
<td>{$_G['group']['raterange'][$id]['min']} ~ {$_G['group']['raterange'][$id]['max']}</td>
<!--{eval $rateselfflag = $_G['group']['raterange'][$id]['isself'] ? 1 : $rateselfflag;}-->
<td>$maxratetoday[$id]</td>
</tr>
<!--{/loop}-->
</table>
<div style="margin-top: .12rem;">
<input type="text" name="reason" id="reason" class="px" placeholder="{lang user_operation_explain}" style="width: 2.95rem; padding: .05rem .04rem;" />
</div>
</div>
<div class="bygsjw_rate_b cl">
<label for="sendreasonpm"><input type="checkbox" name="sendreasonpm" id="sendreasonpm" class="pc"{if $_G['group']['reasonpm'] == 2 || $_G['group']['reasonpm'] == 3} checked="checked" disabled="disabled"{/if} />{lang admin_pm}</label>
<button name="ratesubmit" type="submit" value="true" class="formdialog y"><span>{lang confirms}</span></button>
<!--{if $rateselfflag}-->
<span class="xg1 y">({lang admin_rate})</span>
<!--{/if}-->
</div>
</form>
</div>
<!--{elseif $_GET[action] == 'removerate'}-->
<div class="bygsjw_rate">
<h3>
<em>{lang thread_removerate}</em>
</h3>
<form id="rateform" method="post" autocomplete="off" action="forum.php?mod=misc&action=removerate&ratesubmit=yes&infloat=yes">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="tid" value="$_G[tid]">
<input type="hidden" name="pid" value="$_GET[pid]">
<input type="hidden" name="referer" value="$referer" />
<!--{if !empty($_GET['infloat'])}--><input type="hidden" name="handlekey" value="rate"><!--{/if}-->
<div class="bygsjw_rate_c">
<table class="list" cellspacing="0" cellpadding="0" border="1">
<tr>
<th>&nbsp;</th>
<th>{lang username}</th>
<th>{lang time}</th>
<th>{lang credits}</th>
<th>{lang reason}</th>
</tr>
<!--{loop $ratelogs $ratelog}-->
<tr>
<td><input type="checkbox" name="logidarray[]" value="$ratelog[uid] $ratelog[extcredits] $ratelog[dbdateline]" /></td>
<td><a href="home.php?mod=space&uid=$ratelog[uid]">$ratelog[username]</a></td>
<td>$ratelog[dateline]</td>
<td>{$_G['setting']['extcredits'][$ratelog[extcredits]][title]} <span class="xw1">$ratelog[scoreview]</span> {$_G['setting']['extcredits'][$ratelog[extcredits]][unit]}</td>
<td>$ratelog[reason]</td>
</tr>
<!--{/loop}-->
</table>
</div>
<div class="bygsjw_rate_b cl">
<label for="sendreasonpm"><input type="checkbox" name="sendreasonpm" id="sendreasonpm" class="pc"{if $_G['group']['reasonpm'] == 2 || $_G['group']['reasonpm'] == 3} checked="checked" disabled="disabled"{/if} />{lang admin_pm}</label>
<button class="formdialog y" type="submit" value="true" name="ratesubmit"><span>{lang submit}</span></button>
<span class="xg1 y">{lang admin_operation_explain}: <input name="reason" class="px" style="width: .6rem;" /></span>
</div>
</form>
</div>
<!--{/if}-->
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,51 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div id="byg_header">
<div class="hdc_xin">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<span>{lang rate_view}</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<div class="byg_ratelog_all_t">
<span>{lang total}</span>
<!--{loop $logcount $id $count}-->
{$_G['setting']['extcredits'][$id][title]}<em><!--{if $count>0}-->+<!--{/if}-->$count{$_G['setting']['extcredits'][$id][unit]}</em>&nbsp;
<!--{/loop}-->
</div>
<div class="byg_ratelog_all_b">
<ul>
<!--{loop $loglist $log}-->
<li class="cl">
<div class="z byg_ratelog_all_bz"><a href="home.php?mod=space&uid=$log[uid]&do=profile&mobile=2"><!--{echo avatar($log['uid'],'middle');}--></a></div>
<div class="y byg_ratelog_all_by">
<div class="byg_ratelog_all_byt">
<a href="home.php?mod=space&uid=$log[uid]&do=profile&mobile=2">{$log[username]}</a>
<span class="y">{$log[dateline]}</span>
</div>
<p class="byg_ratelog_all_byb"><span>{$_G['setting']['extcredits'][$log[extcredits]][title]} $log[score] {$_G['setting']['extcredits'][$log[extcredits]][unit]}</span>{$log[reason]}</p>
</div>
</li>
<!--{/loop}-->
</ul>
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,143 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<script type="text/javascript">
var forum_optionlist = <!--{if $forum_optionlist}-->'$forum_optionlist'<!--{else}-->''<!--{/if}-->;
</script>
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/threadsort.js?{VERHASH}"></script>
<!--{loop $quicksearchlist $optionid $option}-->
<!--{eval $formsearch = '';}-->
<!--{if getstatus($option['search'], 1)}-->
<!--{block formsearch}-->
<tr class="sort_search_tr">
<th class="sort_search_th">$option[title]:</th>
<!--{if in_array($option['type'], array('radio', 'checkbox', 'select', 'range'))}-->
<td id="select_$option[identifier]" class="sort_search_td">
<!--{if $option[type] == 'select'}-->
<!--{if $_GET[searchoption][$optionid][value]}-->
<script type="text/javascript">
changeselectthreadsort('$_GET[searchoption][$optionid][value]', '$optionid', 'search');
</script>
<!--{else}-->
<select name="searchoption[$optionid][value]" id="$option[identifier]" onchange="changeselectthreadsort(this.value, '$optionid', 'search');" class="ps vm">
<option value="0">{lang please_select}</option>
<!--{loop $option['choices'] $id $value}-->
<!--{if !$value[foptionid]}-->
<option value="$id">$value[content] <!--{if $value['level'] != 1}-->&raquo;<!--{/if}--></option>
<!--{/if}-->
<!--{/loop}-->
</select>
<input type="hidden" name="searchoption[$optionid][type]" value="$option[type]">
<!--{/if}-->
<!--{elseif $option[type] != 'checkbox'}-->
<select name="searchoption[$optionid][value]" id="$option[identifier]" class="ps vm">
<option value="0">{lang please_select}</option>
<!--{loop $option['choices'] $id $value}-->
<option value="$id" {if $_GET[searchoption][$optionid][value] == $id}selected="selected"{/if}>$value</option>
<!--{/loop}-->
</select>
<input type="hidden" name="searchoption[$optionid][type]" value="$option[type]">
<!--{else}-->
<!--{loop $option['choices'] $id $value}-->
<label><input type="checkbox" class="pc" name="searchoption[$optionid][value][$id]" value="$id" {if is_array($_GET[searchoption][$optionid]) && $_GET[searchoption][$optionid][value][$id]}checked="checked"{/if}>$value</label>
<!--{/loop}-->
<input type="hidden" name="searchoption[$optionid][type]" value="checkbox">
<!--{/if}-->
</td>
<!--{else}-->
<td class="sort_search_td">
<!--{if $option['type'] == 'calendar'}-->
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/date.js?{VERHASH}"></script>
<input type="text" name="searchoption[$optionid][value]" class="input_text" value="{if is_array($_GET[searchoption][$optionid])}$_GET[searchoption][$optionid][value]{/if}" id="byg_date_{$optionid}" />
<script type="text/javascript">
new Rolldate({
el: '#byg_date_{$optionid}',
format: 'YYYY-MM-DD',
beginYear: 2000,
endYear: 2100
})
</script>
<!--{else}-->
<input type="text" name="searchoption[$optionid][value]" class="input_text" value="{if is_array($_GET[searchoption][$optionid])}$_GET[searchoption][$optionid][value]{/if}" />
<!--{/if}-->
</td>
<!--{/if}-->
</tr>
<!--{/block}-->
<!--{/if}-->
<!--{eval $formsearch_html .= $formsearch;}-->
<!--{eval $fontsearch = '';$showoption = array();$tmpcount = 0;}-->
<!--{if getstatus($option['search'], 2)}-->
<!--{block fontsearch}-->
<tr>
<th>$option[title]:</th>
<td>
<ul class="cl">
<li{if $_GET[''.$option[identifier]] == 'all'} class="a"{/if}><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=sortid&sortid=$_GET['sortid']&searchsort=1$filterurladd&$option[identifier]=all$sorturladdarray[$option[identifier]]" class="xi2">{lang unlimited}</a></li>
<!--{if $option[type] == 'select'}-->
<!--{loop $option['choices'] $id $value}-->
<!--{if $value[foptionid] == 0}-->
<li{if preg_match('/^'.$value[optionid].'\./i', $_GET[''.$option[identifier]]) || preg_match('/^'.$value[optionid].'$/i', $_GET[''.$option[identifier]])} class="a"{/if}><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=sortid&sortid=$_GET[sortid]&searchsort=1&$option[identifier]=$id$sorturladdarray[$option[identifier]]" class="xi2">$value[content]</a></li>
<!--{/if}-->
<!--{/loop}-->
<!--{if !($_GET[''.$option[identifier]] == 'all' || !isset($_GET[''.$option[identifier]]))}-->
<!--{loop $option['choices'] $id $value}-->
<!--{if (preg_match('/^'.$value[foptionid].'\./i', $_GET[''.$option[identifier]]) || preg_match('/^'.$value[foptionid].'$/i', $_GET[''.$option[identifier]])) && ($showoption[$value[count]][$id] = $value)}-->
<!--{/if}-->
<!--{/loop}-->
<!--{if ksort($showoption)}--><!--{/if}-->
<!--{loop $showoption $optioncount $values}-->
<!--{if $tmpcount != $optioncount && ($tmpcount = $optioncount)}-->
</ul><ul class="subtsm cl">
<!--{loop $values $id $value}-->
<li{if preg_match('/^'.$value[optionid].'\./i', $_GET[''.$option[identifier]]) || preg_match('/^'.$value[optionid].'$/i', $_GET[''.$option[identifier]])} class="a"{/if}><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=sortid&sortid=$_GET[sortid]&searchsort=1&$option[identifier]=$id$sorturladdarray[$option[identifier]]" class="xi2">$value[content]</a></li>
<!--{/loop}-->
</ul><ul>
<!--{/if}-->
<!--{/loop}-->
<!--{/if}-->
<!--{else}-->
<!--{loop $option['choices'] $id $value}-->
<li{if $_GET[''.$option[identifier]] && !strcmp($id, $_GET[''.$option[identifier]])} class="a"{/if}><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=sortid&sortid=$_GET[sortid]&searchsort=1&$option[identifier]=$id$sorturladdarray[$option[identifier]]" class="xi2">$value</a></li>
<!--{/loop}-->
<!--{/if}-->
</ul>
</td>
</tr>
<!--{/block}-->
<!--{/if}-->
<!--{eval $fontsearch_html .= $fontsearch;}-->
<!--{/loop}-->
<!--{if $formsearch_html || $fontsearch_html}-->
<style>
.byg_thread_types{ width: 3.08rem !important;}
</style>
<div class="byg_list_sort_on"><img src="{$_G['style']['styleimgdir']}/hei_shaixuan.png" alt="向下"/>筛选</div>
<div class="byg_list_sort">
<!--{if $fontsearch_html}-->
<table id="fontsearch" class="byg_sort_font">
<tbody>
$fontsearch_html
</tbody>
</table>
<!--{/if}-->
<!--{if $formsearch_html}-->
<form method="post" autocomplete="off" name="searhsort" id="searhsort" class="byg_sort_search cl" action="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=sortid&sortid=$_GET[sortid]">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<table>
<tbody>
$formsearch_html
</tbody>
</table>
<div class="sort_search_but">
<button type="submit" name="searchsortsubmit"><em>{lang search}</em></button>
</div>
</form>
<!--{/if}-->
</div>
<script type="text/javascript">
jQuery(".byg_list_sort_on").click(function(){jQuery(".byg_list_sort").slideToggle(50);});
</script>
<!--{/if}-->

View File

@@ -0,0 +1,111 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<div class="tip">
<!--{if ($_GET['optgroup'] == 3 && $operation == 'delete') || ($_GET['optgroup'] == 4 && $operation == '') || ($_GET['optgroup'] == 1 && (count($threadlist) > 1 || empty($defaultcheck[recommend])) && ($_G['group']['allowstickthread'] || $_G['group']['allowdigestthread']))}-->
<form id="moderateform" method="post" autocomplete="off" action="forum.php?mod=topicadmin&action=moderate&optgroup=$optgroup&modsubmit=yes&mobile=2" >
<input type="hidden" name="frommodcp" value="$frommodcp" />
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="fid" value="$_G[fid]" />
<input type="hidden" name="redirect" value="{echo dreferer()}" />
<input type="hidden" name="reason" value="{lang topicadmin_mobile_mod}" />
<!--{loop $threadlist $thread}-->
<input type="hidden" name="moderate[]" value="$thread[tid]" />
<!--{/loop}-->
<!--{if $_GET['optgroup'] == 1}-->
<!--{if count($threadlist) > 1 || empty($defaultcheck[recommend])}-->
<!--{if $_G['group']['allowstickthread'] && $operation == 'stick'}-->
<dl>
<dt>
<p>{lang expire}:&nbsp;</p>
<p>
<input type="text" name="expirationstick" id="expirationstick" class="px" autocomplete="off" value="$expirationstick" />
</p>
<p style="font-size:.14rem;">{lang admin_close_expire_comment}</p>
<div style="margin-top:.08rem;">
<input type="checkbox" name="operations[]" value="stick" $defaultcheck[stick] />
<label>{lang thread_stick}</label>
<select class="ps" name="sticklevel">
<!--{if $_G['forum']['status'] != 3}-->
<option value="0">{lang none}</option>
<option value="1" $stickcheck[1]>$_G['setting']['threadsticky'][2]</option>
<!--{if $_G['group']['allowstickthread'] >= 2}-->
<option value="2" $stickcheck[2]>$_G['setting']['threadsticky'][1]</option>
<!--{if $_G['group']['allowstickthread'] == 3}-->
<option value="3" $stickcheck[3]>$_G['setting']['threadsticky'][0]</option>
<!--{/if}-->
<!--{/if}-->
<!--{else}-->
<option value="0">{lang no}&nbsp;</option>
<option value="1" $stickcheck[1]>{lang yes}&nbsp;</option>
<!--{/if}-->
</select>
</div>
</dt>
<dd><input type="submit" name="modsubmit" id="modsubmit" value="{lang confirms}" class="formdialog button2"><a href="javascript:;" onclick="popup.close();">{lang cancel}</a></dd>
</dl>
<!--{/if}-->
<!--{if $_G['group']['allowdigestthread'] && $operation == 'digest'}-->
<dl>
<dt>
<p>{lang expire}:&nbsp;</p>
<p>
<input type="text" name="expirationdigest" id="expirationdigest" class="px" autocomplete="off" value="$expirationdigest" />
</p>
<p style="font-size:.14rem;">{lang admin_close_expire_comment}</p>
<div style="margin-top:.08rem;">
<input type="checkbox" name="operations[]" value="digest" $defaultcheck[digest] />
<label>{lang admin_digest_add}</label>
<select name="digestlevel" class="ps">
<option value="0">{lang admin_digest_remove}</option>
<option value="1" $digestcheck[1]>{lang thread_digest} 1</option>
<!--{if $_G['group']['allowdigestthread'] >= 2}-->
<option value="2" $digestcheck[2]>{lang thread_digest} 2</option>
<!--{if $_G['group']['allowdigestthread'] == 3}-->
<option value="3" $digestcheck[3]>{lang thread_digest} 3</option>
<!--{/if}-->
<!--{/if}-->
</select>
</div>
</dt>
<dd><input type="submit" name="modsubmit" id="modsubmit" value="{lang confirms}" class="formdialog button2"><a href="javascript:;" onclick="popup.close();">{lang cancel}</a></dd>
</dl>
<!--{/if}-->
<!--{/if}-->
<!--{elseif $_GET['optgroup'] == 3}-->
<!--{if $operation == 'delete'}-->
<dl>
<!--{if $_G['group']['allowdelpost']}-->
<input name="operations[]" type="hidden" value="delete"/>
<dt>{lang admin_delthread_confirm}</dt>
<dd><input type="submit" class="formdialog button2" name="modsubmit" id="modsubmit" value="{lang confirms}"><a href="javascript:;" onclick="popup.close();">{lang cancel}</a></dd>
<!--{else}-->
<dt>{lang admin_delthread_nopermission}</dt>
<!--{/if}-->
</dl>
<!--{/if}-->
<!--{elseif $_GET['optgroup'] == 4}-->
<dl>
<dt style="height:110px;">
<p>{lang expire}:&nbsp;</p>
<p>
<input type="text" name="expirationclose" id="expirationclose" class="px" autocomplete="off" value="$expirationclose" />
</p>
<p style="font-size:.14rem;">{lang admin_close_expire_comment}</p>
<p>
<label><input type="radio" name="operations[]" class="pr" value="open" $closecheck[0] />{lang admin_open}</label></p>
<p>
<label><input type="radio" name="operations[]" class="pr" value="close" $closecheck[1] />{lang admin_close}</label></p>
</dt>
<dd><input type="submit" name="modsubmit" id="modsubmit" value="{lang confirms}" class="formdialog button2"><a href="javascript:;" onclick="popup.close();">{lang cancel}</a></dd>
</dl>
<!--{/if}-->
</form>
<!--{else}-->
<dl>
<dt>{lang admin_threadtopicadmin_error}</dt>
<dd><input type="button" onclick="popup.close();" value="{lang confirms}" class="button2"></dd>
</dl>
<!--{/if}-->
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,47 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<div class="tip">
<!--{if in_array($_GET[action], array('delpost', 'banpost', 'warn', 'stickreply'))}-->
<form id="topicadminform" method="post" autocomplete="off" action="forum.php?mod=topicadmin&action=$_GET[action]&modsubmit=yes&modclick=yes&mobile=2" >
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="fid" value="$_G[fid]" />
<input type="hidden" name="tid" value="$_G[tid]" />
<input type="hidden" name="page" value="$_G[page]" />
<input type="hidden" name="reason" value="{lang topicadmin_mobile_mod}" />
<!--{if $_GET[action] == 'delpost'}-->
<dt>{lang admin_delpost_confirm}</dt>
$deleteid
<dd><input type="submit" name="modsubmit" id="modsubmit" value="{lang confirms}" class="formdialog button2"><a href="javascript:;" onclick="popup.close();" >{lang cancel}</a></dd>
<!--{elseif $_GET[action] == 'banpost'}-->
<dt>
<p style="font-weight:700;">{lang admin_banpost_confirm}</p>
$banid
<p><label><input type="radio" name="banned" class="pr" value="1" $checkban />{lang admin_banpost}</label></p>
<p><label><input type="radio" name="banned" class="pr" value="0" $checkunban />{lang admin_unbanpost}</label></p>
</dt>
<dd><input type="submit" name="modsubmit" id="modsubmit" value="{lang confirms}" class="formdialog button2"><a href="javascript:;" onclick="popup.close();" >{lang cancel}</a></dd>
<!--{elseif $_GET[action] == 'warn'}-->
<dt>
<p style="font-weight:700;">{lang admin_warn_confirm}</p>
$warnpid
<p><label><input type="radio" name="warned" class="pr" value="1" $checkwarn />{lang topicadmin_warn_add}</label></p>
<p><label><input type="radio" name="warned" class="pr" value="0" $checkunwarn />{lang topicadmin_warn_delete}</label></p>
</dt>
<dd><input type="submit" name="modsubmit" id="modsubmit" value="{lang confirms}" class="formdialog button2"><a href="javascript:;" onclick="popup.close();" >{lang cancel}</a></dd>
<!--{elseif $_GET[action] == 'stickreply'}-->
<dt>
<p style="font-weight:700;">您要进行置顶操作</p>
$stickpid
<p><label><input type="radio" name="stickreply" class="pr" value="1"{if empty($_GET['undo'])} checked="checked"{/if}/>{lang admin_stickreply}</label></p>
<p><label><input type="radio" name="stickreply" class="pr" value="0"{if !empty($_GET['undo'])} checked="checked"{/if}/>{lang admin_unstickreply}</label></p>
</dt>
<dd><input type="submit" name="modsubmit" id="modsubmit" value="{lang confirms}" class="formdialog button2"><a href="javascript:;" onclick="popup.close();" >{lang cancel}</a></dd>
<!--{/if}-->
</form>
<!--{else}-->
<dt>{lang admin_threadtopicadmin_error}</dt>
<dd><input type="button" onclick="popup.close();" value="{lang confirms}" /></dd>
<!--{/if}-->
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,189 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{eval $threadsort = $threadsorts = null;}-->
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div id="byg_header">
<div class="hdc_xin">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<i class="header_z_nav"><div class="swiper-wrapper">$navigation<em>&rsaquo;</em><span>内容</span></div></i>
<style type="text/css">
.header_z .header_z_nav{ width: 2.87rem;}
.header_z_nav a, .header_z_nav em, .header_z_nav span{ width: auto;}
</style>
<link rel="stylesheet" href="{$_G['style']['styleimgdir']}/swiper.min.css" type="text/css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<script type="text/javascript">
jQuery(".header_z_nav a, .header_z_nav em, .header_z_nav span").addClass("swiper-slide");
var header_z_nav = new Swiper('.header_z_nav', {
slidesPerView : 'auto',
freeMode : true,
});
</script>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
<!--{template common/header_nav}-->
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<!--{hook/viewthread_top_mobile}-->
<!-- main postlist start -->
<div class="postlist">
<h2>
<!--{if $_G['forum_thread']['typeid'] && $_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}-->
[{$_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]}]
<!--{/if}-->
<!--{if $threadsorts && $_G['forum_thread']['sortid']}-->
[{$_G['forum']['threadsorts']['types'][$_G['forum_thread']['sortid']]}]
<!--{/if}-->
$_G[forum_thread][subject]
<!--{if $_G['forum_thread'][displayorder] == -2}--> <span>({lang moderating})</span>
<!--{elseif $_G['forum_thread'][displayorder] == -3}--> <span>({lang have_ignored})</span>
<!--{elseif $_G['forum_thread'][displayorder] == -4}--> <span>({lang draft})</span>
<!--{/if}-->
</h2>
<style type="text/css">
table{ width: 100%;}
th, td{ padding: .05rem; border: 1px solid #eee; font-size: .16rem;}
</style>
<!--{eval $postcount = 0;}-->
<div class="post_list_ajax">
<!--{subtemplate forum/viewthread_list}-->
</div>
<!--{subtemplate forum/forumdisplay_fastpost}-->
</div>
<!--{if $_G[forum_thread][allreplies] >= 1}-->
<div style="{if $_G['style']['fanye'] != 'on'}display: none;{/if}">$multipage</div>
<!--{if $_G['style']['fanye'] != 'on'}-->
<div class="load_more_button">
<a href="javascript:;"><img src="{$_G['style']['styleimgdir']}/loading.gif" alt="等待"/>数据加载中,请稍后...</a>
</div>
<script type="text/javascript">
var ajax_state = true;
var ajax_page = <!--{if $_GET[page]}-->$_GET[page]<!--{else}-->1<!--{/if}--> + 1;
var all_page = jQuery('div.pg label span').text().replace(/[^\d]/g, '') || 0;
var ajax_url = 'forum.php?mod=viewthread&tid=' + '$_GET[tid]'<!--{if $_GET[extra]}--> + '&extra=' + '$_GET[extra]'<!--{/if}--><!--{if $_GET[authorid]}--> + '&authorid=' + '$_GET[authorid]'<!--{/if}--><!--{if $_GET[ordertype]}--> + '&ordertype=' + '$_GET[ordertype]'<!--{/if}-->;
function list_ajax() {
if(ajax_state == true) {
if(all_page >= 2 && all_page >= ajax_page) {
ajax_state = false;
jQuery(".load_more_button").html('<a href="javascript:;"><img src="{$_G['style']['styleimgdir']}/loading.gif" alt="等待"/>数据加载中,请稍后...</a>');
jQuery.ajax({
url: ajax_url + '&page=' + ajax_page + '&mobile=2',
type: 'GET',
dataType: 'html',
success: function(result) {
jQuery(".post_list_ajax").append(jQuery(result).find(".post_list_ajax").html());
ajax_page++;
ajax_state = true;
if(jQuery('.popup').length > 0) {
popup.init();
}
}
});
} else {
jQuery(".load_more_button").html('<a href="forum.php?mod=viewthread&tid={$_GET[tid]}&page=1" title="论坛">已经到底了,点击回到本文第一页</a>');
ajax_state = false;
}
}
}
if(jQuery(document).height() <= jQuery(window).height()) {
list_ajax();
}
jQuery(window).scroll(function() {
if(jQuery(document).height() <= jQuery(window).height() + jQuery(window).scrollTop() + 1000) {
list_ajax();
}
});
</script>
<!--{/if}-->
<!--{/if}-->
<!-- main postlist end -->
<!--{hook/viewthread_bottom_mobile}-->
<form method="post" autocomplete="off" name="modactions" id="modactions">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="optgroup" />
<input type="hidden" name="operation" />
<input type="hidden" name="listextra" value="$_GET[extra]" />
<input type="hidden" name="page" value="$page" />
</form>
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery("#mask").click(function(){
jQuery(".dialogbox").toggle();
});
});
function setanswer(pid, from){
if(confirm('您确认要把该回复选为“最佳答案”吗?')){
document.modactions.action = 'forum.php?mod=misc&action=bestanswer&tid=' + '$_G[tid]' + '&pid=' + pid + '&from=' + from + '&bestanswersubmit=yes';
document.modactions.submit();
}
}
function zancai_ajax(obj) {
var zancai_id = '#' + obj;
if($_G['uid']){
jQuery.ajax({
url: jQuery(zancai_id).attr('href') + '&inajax=1',
type: 'POST',
dataType: 'xml',
success: function(s) {
popup.open(s.lastChild.firstChild.nodeValue);
evalscript(s.lastChild.firstChild.nodeValue);
if(s.lastChild.firstChild.nodeValue.indexOf('成功') != -1 || s.lastChild.firstChild.nodeValue.indexOf('recommentv') != -1){
var zancai_num = jQuery(zancai_id).find('span').html();
jQuery(zancai_id).find('span').html(Number(zancai_num) + 1);
jQuery(zancai_id).find('span').show();
}
},
error: function() {
window.location.href = jQuery(zancai_id).attr('href');
popup.close();
},
});
}else{
landingPrompt();
}
}
function favorite_thread_ajax(obj) {
var thread_id = '#' + obj;
if($_G['uid']){
jQuery.ajax({
url: jQuery(thread_id).attr('href') + '&inajax=1',
type: 'POST',
dataType: 'xml',
success: function(s){
popup.open(s.lastChild.firstChild.nodeValue);
evalscript(s.lastChild.firstChild.nodeValue);
},
error: function(){
window.location.href = jQuery(thread_id).attr('href');
popup.close();
},
});
}else{
landingPrompt();
}
}
</script>
<!--{template common/footer}-->

View File

@@ -0,0 +1,178 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<div class="byg_activity" style="padding-bottom:0;">
<!--{if $activity['thumb']}--><img src="$activity['thumb']" width="{if $activity[width] > 230}100%{else}$activity[width]{/if}" class="activity_img" /><!--{else}--><img src="{IMGDIR}/nophoto.gif" width="230" height="230" class="activity_img" /><!--{/if}-->
<dl>
<dt>{lang activity_type}: $activity[class]</dt>
<dt>{lang activity_starttime}:
<!--{if $activity['starttimeto']}-->
{lang activity_start_between}
<!--{else}-->
$activity[starttimefrom]
<!--{/if}-->
</dt>
<dt>{lang activity_space}: $activity[place]</dt>
<dt>{lang gender}:
<!--{if $activity['gender'] == 1}-->
{lang male}
<!--{elseif $activity['gender'] == 2}-->
{lang female}
<!--{else}-->
{lang unlimited}
<!--{/if}-->
</dt>
<!--{if $activity['cost']}-->
<dt>{lang activity_payment}: $activity[cost] {lang payment_unit}</dt>
<!--{/if}-->
</dl>
<!--{if !$_G['forum_thread']['is_archived']}-->
<dl>
<dt>{lang activity_already}:
<em>$allapplynum</em> {lang activity_member_unit}
<!--{if $post['invisible'] == 0 && ($_G['forum_thread']['authorid'] == $_G['uid'] || (in_array($_G['group']['radminid'], array(1, 2)) && $_G['group']['alloweditactivity']) || ( $_G['group']['radminid'] == 3 && $_G['forum']['ismoderator'] && $_G['group']['alloweditactivity']))}-->
<span class="activity_mod">{lang activity_mod}</span>
<!--{/if}-->
</dt>
</dl>
<dl>
<!--{if $activity['number']}-->
<dt>{lang activity_about_member}:
$aboutmembers {lang activity_member_unit}
</dt>
<!--{/if}-->
<!--{if $activity['expiration']}-->
<dt>{lang post_closing}: $activity[expiration]</dt>
<!--{/if}-->
<dt>
<!--{if $post['invisible'] == 0}-->
<!--{if $applied && $isverified < 2}-->
<p><!--{if !$isverified}-->{lang activity_wait}<!--{else}-->{lang activity_join_audit}<!--{/if}--></p>
<!--{if !$activityclose}-->
<!--{/if}-->
<!--{elseif !$activityclose}-->
<!--{if $isverified != 2}-->
<!--{else}-->
<p>
<input value="{lang complete_data}" name="ijoin" id="ijoin" />
</p>
<!--{/if}-->
<!--{/if}-->
<!--{/if}-->
</dt>
</dl>
<!--{/if}-->
</div>
<!--{if !$_G['uid']}-->
<button onclick="return landingPrompt();" style="width:100%;line-height:.3rem;margin-bottom:.1rem;font-size:.15rem;">我要参加</button>
<!--{/if}-->
<!--{if $_G['uid'] && !$activityclose && (!$applied || $isverified == 2)}-->
<div id="activityjoin" class="byg_activityjoin">
<style type="text/css">
.byg_activityjoin form .xi1{ font-size: .14rem; color: #ff9800;}
.byg_activityjoin_list{ line-height: .3rem; padding: .12rem 0; border-bottom: 1px dashed #eaeaea;}
.byg_activityjoin_list .px{ height: .28rem; line-height: .28rem; padding: 0; background: #fff; font-size: .15rem; border: .01rem solid #eee; border-radius: .05rem; text-indent: .05rem;}
.byg_activityjoin_list strong{ font-weight: 400;}
.byg_activityjoin_list .pt{ width: 96%; height: 1rem; padding: .02rem 2%; box-shadow: 0 0 0 1px #eee; color: #444; vertical-align: top; font-size: .16rem; border: 0; border-radius: .06rem;}
.byg_activityjoin_list .mtn{ margin: 0 !important;}
.byg_activity_but{ width: 100%; line-height: .3rem; border-radius: .05rem; font-size: .15rem;}
</style>
<div class="byg_activityjoin_t">{lang activity_join}</div>
<!--{if $_G['forum']['status'] == 3 && helper_access::check_module('group') && $isgroupuser != 'isgroupuser'}-->
<p>{lang activity_no_member}</p>
<p><a href="forum.php?mod=group&action=join&fid=$_G[fid]">{lang activity_join_group}</a></p>
<!--{else}-->
<form name="activity" id="activity" method="post" autocomplete="off" action="forum.php?mod=misc&action=activityapplies&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if $_GET['from']}&from=$_GET['from']{/if}&mobile=2" >
<input type="hidden" name="formhash" value="{FORMHASH}" />
<!--{if $_G['setting']['activitycredit'] && $activity['credit'] && !$applied}-->
<p class="xi1">{lang activity_need_credit} $activity[credit] {$_G['setting']['extcredits'][$_G['setting']['activitycredit']][title]}</p>
<!--{/if}-->
<!--{if $activity['cost']}-->
<div class="cl byg_activityjoin_list">
<p class="z" style="margin-right: .1rem;">{lang activity_paytype}</p>
<div class="z" style="color: #666;">
<p>
<label><input class="pr" type="radio" value="0" name="payment" id="payment_0" checked="checked" />{lang activity_pay_myself}</label>
</p>
<p>
<label><input class="pr" type="radio" value="1" name="payment" id="payment_1" />{lang activity_would_payment} </label> <input name="payvalue" size="3" class="px" /> {lang payment_unit}
</p>
</div>
</div>
<!--{/if}-->
<!--{if !empty($activity['ufield']['userfield'])}-->
<!--{loop $activity['ufield']['userfield'] $fieldid}-->
<!--{if $settings[$fieldid][available]}-->
<div class="cl byg_activityjoin_list">
<strong>$settings[$fieldid][title]<span class="xi1">*</span></strong>
$htmls[$fieldid]
</div>
<!--{/if}-->
<!--{/loop}-->
<!--{/if}-->
<!--{if !empty($activity['ufield']['extfield'])}-->
<!--{loop $activity['ufield']['extfield'] $extname}-->
<div class="cl byg_activityjoin_list">
$extname<input type="text" name="$extname" maxlength="200" class="px" value="{if !empty($ufielddata)}$ufielddata[extfield][$extname]{/if}" />
</div>
<!--{/loop}-->
<!--{/if}-->
<div class="cl byg_activityjoin_list">
<textarea name="message" maxlength="200" cols="30" rows="1" placeholder="留言" class="pt">$applyinfo[message]</textarea>
</div>
<div class="o pns mtm">
<!--{if $_G['setting']['activitycredit'] && $activity['credit'] && checklowerlimit(array('extcredits'.$_G['setting']['activitycredit'] => '-'.$activity['credit']), $_G['uid'], 1, 0, 1) !== true}-->
<p class="xi1">{$_G['setting']['extcredits'][$_G['setting']['activitycredit']][title]} {lang not_enough}$activity['credit']</p>
<!--{else}-->
<input type="hidden" name="activitysubmit" value="true">
<em class="xi1" id="return_activityapplies"></em>
<button type="submit" class="byg_activity_but"><span>{lang submit}</span></button>
<!--{/if}-->
</div>
</form>
<!--{/if}-->
</div>
<!--{elseif $_G['uid'] && !$activityclose && $applied}-->
<div id="activityjoincancel" class="byg_activitycancel">
<style type="text/css">
.byg_activitycancel .px{ height: .28rem; line-height: .28rem; padding: 0; background: #fff; font-size: .15rem; border: .01rem solid #eee; border-radius: .05rem; text-indent: .05rem;}
.byg_activity_but{ width: 100%; line-height: .3rem; border-radius: .05rem; font-size: .15rem;}
</style>
<div class="byg_activitycancel_t">{lang activity_join_cancel}</div>
<form name="activity" method="post" autocomplete="off" action="forum.php?mod=misc&action=activityapplies&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if $_GET['from']}&from=$_GET['from']{/if}">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="text" name="message" maxlength="200" class="px" value="" placeholder="留言" />
<div class="mtm">
<button type="submit" name="activitycancel" value="true" class="byg_activity_but"><span>{lang submit}</span></button>
</div>
</form>
</div>
<!--{/if}-->
<div id="postmessage_$post[pid]" class="postmessage">$post[message]</div>
<!--{if $applylist}-->
<div class="byg_activitylist">
<p class="byg_activitylist_t">{lang activity_new_join} ($applynumbers {lang activity_member_unit})</p>
<table>
<tr>
<th >&nbsp;</th>
<!--{if $activity['cost']}-->
<th >{lang activity_payment}</th>
<!--{/if}-->
<th>{lang activity_jointime}</th>
</tr>
<!--{loop $applylist $apply}-->
<tr>
<td>
<a href="home.php?mod=space&uid=$apply[uid]&do=profile">$apply[username]&nbsp;&nbsp;&nbsp;</a>
</td>
<!--{if $activity['cost']}-->
<td><!--{if $apply[payment] >= 0}-->$apply[payment] {lang payment_unit}<!--{else}-->{lang activity_self}<!--{/if}--></td>
<!--{/if}-->
<td>$apply[dateline]</td>
</tr>
<!--{/loop}-->
</table>
</div>
<!--{/if}-->

View File

@@ -0,0 +1,53 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<div class="byg_debate">
<div class="byg_debate_t">
<strong>{lang debate_square_point} ($debate[affirmvotes]) ({lang debater}:$debate[affirmdebaters]) </strong>
<p class="xg2">$debate[affirmpoint]</p>
<p><!--{if !$_G['forum_thread']['is_archived']}-->
<a href="forum.php?mod=misc&action=debatevote&tid=$_G[tid]&stand=1" id="affirmbutton" >{lang debate_support}{lang debate_square_point}</a><!--{/if}--></p>
</div>
<div class="byg_debate_c">
<strong>{lang debate_opponent_point} ($debate[negavotes]) ({lang debater}:$debate[negadebaters])</strong>
<p class="xg2">$debate[negapoint]</p>
<p><a href="forum.php?mod=misc&action=debatevote&tid=$_G[tid]&stand=2" id="negabutton" >{lang debate_support}{lang debate_opponent_point}</a></p>
</div>
<div class="byg_debate_b">
<!--{if $debate[endtime]}-->
<p>{lang endtime}: $debate[endtime] <!--{if $debate[umpire]}-->{lang debate_umpire}: $debate[umpire]<!--{/if}--></p>
<!--{/if}-->
<!--{if $debate[umpire] && $_G['username'] && $debate[umpire] == $_G['member']['username']}-->
<p class="mtn">
<!--{if $debate[remaintime] && !$debate[umpirepoint]}-->
<a href="forum.php?mod=misc&action=debateumpire&tid=$_G[tid]&pid=$post[pid]{if $_GET[from]}&from=$_GET[from]{/if}" >{lang debate_umpire_end}</a>
<!--{elseif TIMESTAMP - $debate['dbendtime'] < 3600}-->
<a href="forum.php?mod=misc&action=debateumpire&tid=$_G[tid]&pid=$post[pid]{if $_GET[from]}&from=$_GET[from]{/if}" >{lang debate_umpirepoint_edit}</a>
<!--{/if}-->
</p>
<!--{/if}-->
</div>
</div>
<div id="postmessage_$post[pid]" class="postmessage">$post[message]</div>
<!--{if $debate[umpire]}-->
<!--{if $debate['umpirepoint']}-->
<div class="byg_debate_result">
<div class="byg_debate_result_t">
<!--{if $debate[winner]}-->
<!--{if $debate[winner] == 1}-->
<label><strong>{lang debate_square}{lang debate_winner}</strong></label>
<!--{elseif $debate[winner] == 2}-->
<label><strong>{lang debate_opponent}{lang debate_winner}</strong></label>
<!--{else}-->
<label><strong>{lang debate_draw}</strong></label>
<!--{/if}-->
<!--{/if}-->
<em>{lang debate_comment_dateline}: $debate[endtime]</em>
</div>
<!--{if $debate[umpirepoint]}--><p><strong>{lang debate_umpirepoint}</strong>: $debate[umpirepoint]</p><!--{/if}-->
<!--{if $debate[bestdebater]}--><p><strong>{lang debate_bestdebater}</strong>: $debate[bestdebater]</p><!--{/if}-->
</div>
<!--{/if}-->
<!--{/if}-->

View File

@@ -0,0 +1,417 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{eval require_once(DISCUZ_ROOT.'./template/bygsjw_sj/touch/php/function_bygsjw.php');}-->
<style type="text/css">
.button.byg_manage{ float: left; margin: .06rem; width: .5rem; height: .4rem;}
</style>
<!--{loop $postlist $post}-->
<!--{eval $needhiddenreply = ($hiddenreplies && $_G['uid'] != $post['authorid'] && $_G['uid'] != $_G['forum_thread']['authorid'] && !$post['first'] && !$_G['forum']['ismoderator']);}-->
<!--{hook/viewthread_posttop_mobile $postcount}-->
<!--{if $post['first'] && $_G['forum_threadstamp']}-->
<div style="position: relative;"><img src="{STATICURL}image/stamp/$_G[forum_threadstamp][url]" alt="$_G[forum_threadstamp][text]" style="position: absolute; top: -.1rem; right: .95rem; z-index: 9; height: .65rem;"/></div>
<!--{/if}-->
<div class="plc cl{if !$post['first']} no_post_first{/if}" id="pid$post[pid]">
<div class="display pi">
<div class="post_author">
<span class="avatar"><img src="<!--{if !$post['authorid'] || $post['anonymous']}--><!--{avatar(0, 'middle', true)}--><!--{else}--><!--{avatar($post['authorid'], 'middle', true)}--><!--{/if}-->" alt="头像"/></span>
<ul class="authi">
<li class="grey">
<!-- manage start -->
<!--{if $post[first]}-->
<!--{if $_G['forum']['ismoderator']}-->
<em style="float: right;"><a href="#moption_$post[pid]" class="popup blue" style="margin-left: .1rem;">{lang manage}</a></em>
<div id="moption_$post[pid]" popup="true" class="manage" style="display:none;">
<!--{if !$_G['forum_thread']['special']}-->
<input type="button" value="{lang edit}" class="redirect button byg_manage" href="forum.php?mod=post&action=edit&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]<!--{if $_G[forum_thread][sortid]}--><!--{if $post[first]}-->&sortid={$_G[forum_thread][sortid]}<!--{/if}--><!--{/if}-->{if !empty($_GET[modthreadkey])}&modthreadkey=$_GET[modthreadkey]{/if}&page=$page">
<!--{/if}-->
<input type="button" value="{lang delete}" class="dialog button byg_manage" href="forum.php?mod=topicadmin&action=moderate&fid={$_G[fid]}&moderate[]={$_G[tid]}&operation=delete&optgroup=3&from={$_G[tid]}">
<input type="button" value="{lang close}" class="dialog button byg_manage" href="forum.php?mod=topicadmin&action=moderate&fid={$_G[fid]}&moderate[]={$_G[tid]}&from={$_G[tid]}&optgroup=4">
<input type="button" value="{lang admin_banpost}" class="dialog button byg_manage" href="forum.php?mod=topicadmin&action=banpost&fid={$_G[fid]}&tid={$_G[tid]}&topiclist[]={$_G[forum_firstpid]}">
<input type="button" value="{lang topicadmin_warn_add}" class="dialog button byg_manage" href="forum.php?mod=topicadmin&action=warn&fid={$_G[fid]}&tid={$_G[tid]}&topiclist[]={$_G[forum_firstpid]}">
<!--{if $_G['group']['allowstickthread'] && ($_G['forum_thread']['displayorder'] <= 3 || $_G['adminid'] == 1) && !$_G['forum_thread']['is_archived']}-->
<input type="button" value="{lang modmenu_stickthread}" class="dialog button byg_manage" href="forum.php?mod=topicadmin&action=moderate&fid={$_G[fid]}&moderate[]={$_G[tid]}&operation=stick&optgroup=1&from={$_G[tid]}">
<!--{/if}-->
<!--{if $_G['group']['allowdigestthread'] && !$_G['forum_thread']['is_archived']}--><input type="button" value="{lang modmenu_digestpost}" class="dialog button byg_manage" href="forum.php?mod=topicadmin&action=moderate&fid={$_G[fid]}&moderate[]={$_G[tid]}&operation=digest&optgroup=1&from={$_G[tid]}"><!--{/if}-->
</div>
<!--{/if}-->
<!--{else}-->
<!--{if $_G['forum']['ismoderator'] || ($_G['forum']['ismoderator'] && $_G['group']['allowstickreply'] || $_G['forum_thread']['authorid'] == $_G['uid'])}-->
<em style="float: right;"><a href="#moption_$post[pid]" class="popup blue" style="margin-left: .1rem;">{lang manage}</a></em>
<div id="moption_$post[pid]" popup="true" class="manage" style="display:none;">
<!--{if $_G['forum']['ismoderator']}-->
<input type="button" value="{lang edit}" class="redirect button byg_manage" href="forum.php?mod=post&action=edit&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if !empty($_GET[modthreadkey])}&modthreadkey=$_GET[modthreadkey]{/if}&page=$page">
<!--{if $_G['group']['allowdelpost']}--><input type="button" value="{lang modmenu_deletepost}" class="dialog button byg_manage" href="forum.php?mod=topicadmin&action=delpost&fid={$_G[fid]}&tid={$_G[tid]}&operation=&optgroup=&page=&topiclist[]={$post[pid]}"><!--{/if}-->
<!--{if $_G['group']['allowbanpost']}--><input type="button" value="{lang modmenu_banpost}" class="dialog button byg_manage" href="forum.php?mod=topicadmin&action=banpost&fid={$_G[fid]}&tid={$_G[tid]}&operation=&optgroup=&page=&topiclist[]={$post[pid]}"><!--{/if}-->
<!--{if $_G['group']['allowwarnpost']}--><input type="button" value="{lang modmenu_warn}" class="dialog button byg_manage" href="forum.php?mod=topicadmin&action=warn&fid={$_G[fid]}&tid={$_G[tid]}&operation=&optgroup=&page=&topiclist[]={$post[pid]}"><!--{/if}-->
<!--{/if}-->
<!--{if $_G['forum']['ismoderator'] && $_G['group']['allowstickreply'] || $_G['forum_thread']['authorid'] == $_G['uid']}-->
<input type="button" value="{lang modmenu_stickpost}" class="dialog button byg_manage" href="forum.php?mod=topicadmin&action=stickreply&fid={$_G[fid]}&tid={$_G[tid]}&operation=&optgroup=&page=&topiclist[]={$post[pid]}">
<!--{/if}-->
</div>
<!--{/if}-->
<!--{/if}-->
<!-- manage end -->
<em class="post_number">
<!--{if isset($post[isstick])}-->
<img src ="{IMGDIR}/settop.png" alt="{lang replystick}" class="vm" />{lang from} {$post[number]}{$postnostick}
<!--{elseif $post[number] == -1}-->
{lang recommend_post}
<!--{else}-->
<!--{if !empty($postno[$post[number]])}-->$postno[$post[number]]<!--{else}-->{$post[number]}{$postno[0]}<!--{/if}-->
<!--{/if}-->
</em>
<b>
<!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
<a href="home.php?mod=space&uid=$post[authorid]&do=profile&mobile=2" class="blue">$post[author]</a>
<!--{if $post[authortitle]}-->
<a href="home.php?mod=spacecp&ac=usergroup&gid=$post[groupid]&mobile=2" class="threadlist_usergroup"> {$post[authortitle]}</a>
<!--{/if}-->
<!--{else}-->
<!--{if !$post['authorid']}-->
<a href="javascript:;">{lang guest} <em>$post[useip]{if $post[port]}:$post[port]{/if}</em></a>
<!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->
<!--{if $_G['forum']['ismoderator']}-->
<a href="home.php?mod=space&uid=$post[authorid]&do=profile&mobile=2">{$_G[setting][anonymoustext]}</a>
<!--{else}-->
{$_G[setting][anonymoustext]}
<!--{/if}-->
<!--{else}-->
$post[author] <em>{lang member_deleted}</em>
<!--{/if}-->
<!--{/if}-->
</b>
</li>
<!--{if $post[first]}-->
<li class="grey rela cl">
<span class="byg_post_views">
<img src="{$_G['style']['styleimgdir']}/chakan.png" alt="查看数"/>{$_G[forum_thread][views]}&nbsp;&nbsp;&nbsp;
<img src="{$_G['style']['styleimgdir']}/forum_posts.png" alt="回复数"/>{$_G[forum_thread][allreplies]}
</span>
<span class="z">{$post[dateline]}</span>
</li>
<!--{/if}-->
</ul>
</div>
<div class="message" {if $post['first']}style="font-size: .17rem;"{/if}>
<!--{if $post['warned']}-->
<span class="grey byg_quote">{lang warn_get}</span>
<!--{/if}-->
<!--{if !$post['first'] && !empty($post[subject])}-->
<h2><strong>$post[subject]</strong></h2>
<!--{/if}-->
<!--{if $_G['adminid'] != 1 && $_G['setting']['bannedmessages'] & 1 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || $post['status'] == -1 || $post['memberstatus'])}-->
<div class="grey byg_quote">{lang message_banned}</div>
<!--{elseif $_G['adminid'] != 1 && $post['status'] & 1}-->
<div class="grey byg_quote">{lang message_single_banned}</div>
<!--{elseif $needhiddenreply}-->
<div class="grey byg_quote">{lang message_ishidden_hiddenreplies}</div>
<!--{elseif $post['first'] && $_G['forum_threadpay']}-->
<!--{template forum/viewthread_pay}-->
<!--{else}-->
<!--{if $_G['setting']['bannedmessages'] & 1 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5))}-->
<div class="grey byg_quote">{lang admin_message_banned}</div>
<!--{elseif $post['status'] & 1}-->
<div class="grey byg_quote">{lang admin_message_single_banned}</div>
<!--{/if}-->
<!--{if $post['first'] && $_G['forum_thread']['replycredit'] > 0}-->
<div class="byg_view_replycredit byg_dark_bg_4i byg_dark_border_6i cl">{lang thread_replycredit_tips1} {lang thread_replycredit_tips2}<!--{if $_G['forum_thread']['replycredit_rule'][random] > 0}--><span class="xg1">{lang thread_replycredit_tips3}</span><!--{/if}--></div>
<!--{/if}-->
<!--{if $post['first'] && $_G['forum_thread']['price'] > 0 && $_G['forum_thread']['special'] == 0}-->
<div class="byg_fufei_jilu cl">{lang pay_threads}: <strong>$_G[forum_thread][price] {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]} </strong> <a href="forum.php?mod=misc&action=viewpayments&tid=$_G[tid]&mobile=2" class="y">{lang pay_view}</a></div>
<!--{/if}-->
<!--{if $post['first'] && $threadsortshow}-->
<!--{if $threadsortshow['typetemplate'] && $_G['style']['luntan_fenlei'] == "on"}-->
{$threadsortshow[typetemplate]}
<!--{elseif $threadsortshow['optionlist'] && !($post['status'] & 1) && !$_G['forum_threadpay']}-->
<!--{if $threadsortshow['optionlist'] == 'expire'}-->
{lang has_expired}
<!--{else}-->
<table class="byg_sort_table">
<caption>{$_G[forum][threadsorts][types][$_G[forum_thread][sortid]]}</caption>
<tbody>
<!--{loop $threadsortshow['optionlist'] $option}-->
<!--{if $option['type'] != 'info'}-->
<tr>
<th>{$option[title]}:</th>
<td>
<!--{if $option['value']}-->
<!--{eval preg_match("/(".str_replace("/",'\/',$_G['setting']['attachurl']).")(.*?)((.gif)|(.jpg)|(.jpeg)|(.bmp)|(.png))/",strtolower($option['value']),$sort_img);}-->
<!--{if count($sort_img)}-->
<img src="$sort_img[0]" alt="{$option[title]}"/>
<!--{else}-->
{$option[value]}
<!--{/if}-->
<span style="color:#999;font-size:.13rem;">{$option[unit]}</span>
<!--{else}-->
<span style="color:#999;">-</span>
<!--{/if}-->
</td>
</tr>
<!--{/if}-->
<!--{/loop}-->
</tbody>
</table>
<!--{/if}-->
<!--{/if}-->
<!--{/if}-->
<!--{if $post['first']}-->
<!--{if !$_G[forum_thread][special]}-->
<!--{if !empty($_G['setting']['guesttipsinthread']['flag']) && empty($_G['uid']) && !$post['attachment'] && $_GET['from'] != 'preview'}-->
<div class="attach_nopermission byg_dark_bg_4i byg_dark_border_6i">
<div>
<h3><strong>
<!--{if !empty($_G['setting']['guesttipsinthread']['text'])}-->
{$_G['setting']['guesttipsinthread']['text']}
<!--{else}-->
{lang guesttipsinthread_text}
<!--{/if}-->
</strong></h3>
<p>{lang attach_nopermission_login}</p>
</div>
</div>
<!--{/if}-->
$post[message]
<!--{elseif $_G[forum_thread][special] == 1}-->
<!--{template forum/viewthread_poll}-->
<!--{elseif $_G[forum_thread][special] == 2}-->
<!--{template forum/viewthread_trade}-->
<!--{elseif $_G[forum_thread][special] == 3}-->
<!--{template forum/viewthread_reward}-->
<!--{elseif $_G[forum_thread][special] == 4}-->
<!--{template forum/viewthread_activity}-->
<!--{elseif $_G[forum_thread][special] == 5}-->
<!--{template forum/viewthread_debate}-->
<!--{elseif $threadplughtml}-->
$threadplughtml
$post[message]
<!--{else}-->
$post[message]
<!--{/if}-->
<!--{else}-->
$post[message]
<!--{/if}-->
<!--{/if}-->
</div>
<!--{if $_G['setting']['mobile']['mobilesimpletype'] == 0}-->
<!--{if $post['attachment']}-->
<div class="grey byg_quote">
{lang attachment}: <em><!--{if $_G['uid']}-->{lang attach_nopermission}<!--{else}-->{lang attach_nopermission_login}<!--{/if}--></em>
</div>
<!--{elseif $post['imagelist'] || $post['attachlist']}-->
<!--{if $post['imagelist']}-->
<!--{if count($post['imagelist']) == 1}-->
<ul class="img_one">{echo showattach($post, 1)}</ul>
<!--{else}-->
<ul class="img_list cl vm">{echo showattach($post, 1)}</ul>
<!--{/if}-->
<!--{/if}-->
<!--{if $post['attachlist']}-->
<ul>{echo showattach($post)}</ul>
<!--{/if}-->
<!--{/if}-->
<!--{/if}-->
<!--{if $_GET['from'] != 'preview' && !empty($post['ratelog'])}-->
<style type="text/css">
.byg_viewthread_ratelog h3{ margin: 0 0 .1rem -.11rem; padding: 0 .05rem; width: 1rem; height: .24rem; line-height: .24rem; background: $_G['style']['zhuti'] url({IMGDIR}/arw.gif) no-repeat 100% 50%; color: #fff; font-size: .14rem;}
</style>
<div class="byg_viewthread_ratelog cl">
<h3><img src="{$_G['style']['styleimgdir']}/rec_rate_bai.png" alt="打赏" />打赏评分</h3>
<!--{if !empty($postlist[$post[pid]]['totalrate']) && $_G['forum']['ismoderator']}-->
<a href="forum.php?mod=misc&action=removerate&tid=$_G[tid]&pid=$post[pid]&page=$page" class="dialog byg_ratelog_viewall" style="top: .12rem;">{lang removerate}</a>
<!--{/if}-->
<ul class="byg_viewthread_ratelog_ul cl">
<!--{loop $post['ratelog'] $uid $ratelog}-->
<li class="z">
<a href="home.php?mod=space&uid=$uid&do=profile&mobile=2"><!--{echo avatar($uid, 'middle');}--></a>
</li>
<!--{/loop}-->
</ul>
<a href="forum.php?mod=misc&action=viewratings&tid=$_G[tid]&pid=$post[pid]" class="byg_ratelog_viewall">查看全部</a>
</div>
<!--{/if}-->
<!--{if $post['invisible'] == 0}-->
<!--{if !IS_ROBOT && $post['first'] && !$_G['forum_thread']['archiveid']}-->
<!--{if (($_G['group']['allowrecommend'] || !$_G['uid']) && $_G['setting']['recommendthread']['status']) || ($_G['group']['raterange'] && $post['authorid'])}-->
<div class="byg_vtl_rec_box">
<!--{if $_G['group']['raterange'] && $post['authorid'] && ($post['first'] || $_G['groupid'] == 1)}-->
<a href="forum.php?mod=misc&action=rate&tid={$_G['tid']}&pid={$post['pid']}" title="{lang rate_position}" class="byg_vtl_rec dialog"><img src="{$_G['style']['styleimgdir']}/rec_rate.png" alt="{lang rate}" style="margin-right:2px;" />{lang rate}</a>
<!--{/if}-->
<!--{if !empty($_G['setting']['recommendthread']['addtext'])}-->
<a href="forum.php?mod=misc&action=recommend&do=add&tid=$_G[tid]&hash={FORMHASH}" title="{lang maketoponce}" onclick="zancai_ajax(this.id);return false;" id="recommend_add" class="byg_vtl_rec"><img src="{$_G['style']['styleimgdir']}/rec_add.png" alt="$_G['setting']['recommendthread'][addtext]" style="margin-right:1px;" />{$_G['setting']['recommendthread'][addtext]}<span id="recommendv_add"{if !$_G['forum_thread']['recommend_add']} style="display:none"{/if}>{$_G[forum_thread][recommend_add]}</span></a>
<!--{/if}-->
<!--{if !empty($_G['setting']['recommendthread']['subtracttext'])}-->
<!--<a href="forum.php?mod=misc&action=recommend&do=subtract&tid=$_G[tid]&hash={FORMHASH}" title="{lang makebottomonce}" onclick="zancai_ajax(this.id);return false;" id="recommend_subtract" class="byg_vtl_rec"><img src="{$_G['style']['styleimgdir']}/rec_subtract.png" alt="$_G['setting']['recommendthread'][subtracttext]" />{$_G['setting']['recommendthread'][subtracttext]}<span id="recommendv_subtract"{if !$_G['forum_thread']['recommend_sub']} style="display:none"{/if}>{$_G[forum_thread][recommend_sub]}</span></a>-->
<!--{/if}-->
</div>
<!--{/if}-->
<!--{/if}-->
<!--{if $post['signature'] && ($_G['setting']['bannedmessages'] & 4 && ($post['memberstatus'] == '-1' || ($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1)))}-->
<div class="viewthread_signature cl"><div>{lang member_signature_banned}</div></div>
<!--{elseif $post['signature'] && !$post['anonymous'] && $showsignatures}-->
<div class="viewthread_signature cl"><div style="max-height:{$_G['setting']['maxsigrows']}px;overflow:hidden;"><!--{eval $post['signature'] = str_replace('onclick="zoom(this, this.src, 0, 0, 0)"', '', $post['signature']); $post['signature'] = str_replace('onmouseover="img_onmouseoverfunc(this)"', '', $post['signature']); $post['signature'] = str_replace('onload="thumbImg(this)"', '', $post['signature']);}-->{$post['signature']}</div></div>
<!--{elseif !$post['anonymous'] && $showsignatures && !empty($_G['setting']['globalsightml'])}-->
<div class="viewthread_signature cl"><div>{$_G['setting']['globalsightml']}</div></div>
<!--{/if}-->
<div id="replybtn_$post[pid]" class="replybtn reply_xin cl">
<!--{if !$post[first]}-->
<span class="reply_xin_dateline">{$post[dateline]}</span>
<!--{/if}-->
<!--{if $post['first'] && $post[tags] && $_GET['from'] != 'preview'}-->
<div class="byg_post_tag z cl">
<!--{if $post[tags]}-->
<img src="{IMGDIR}/tag.gif" alt="tag"/>
<!--{loop $post[tags] $var}-->
<a href="misc.php?mod=tag&id=$var[0]&type=thread" title="$var[1]" >$var[1]</a>
<!--{/loop}-->
<!--{/if}-->
</div>
<!--{/if}-->
<div class="y cl">
<!--{if ($post['first'] || $_G['groupid'] == 1) && $_G['group']['raterange'] && $post['authorid']}-->
<a href="forum.php?mod=misc&action=rate&tid={$_G['tid']}&pid={$post['pid']}" title="{lang rate_position}" class="dialog"><img src="{$_G['style']['styleimgdir']}/rec_rate_hui.png" alt="{lang rate}"/></a>
<!--{/if}-->
<!--{if !$_G['forum_thread']['special'] && !$rushreply && !$hiddenreplies && $_G['setting']['repliesrank'] && !$post['first'] && !($post['isWater'] && $_G['setting']['filterednovote'])}-->
<a href="forum.php?mod=misc&action=postreview&do=support&tid=$_G[tid]&pid=$post[pid]&hash={FORMHASH}" onclick="zancai_ajax(this.id);return false;" id="zan_$post[pid]"><img src="{$_G['style']['styleimgdir']}/zan.png" alt="$_G['setting']['recommendthread'][addtext]" /><span id="review_support_$post[pid]">$post[postreview][support]</span></a>
<!--<a href="forum.php?mod=misc&action=postreview&do=against&tid=$_G[tid]&pid=$post[pid]&hash={FORMHASH}" onclick="zancai_ajax(this.id);return false;" id="cai_$post[pid]"><img src="{$_G['style']['styleimgdir']}/cai.png" alt="$_G['setting']['recommendthread'][subtracttext]" /><span id="review_against_$post[pid]">$post[postreview][against]</span></a>-->
<!--{/if}-->
<!--{if (($_G['forum']['ismoderator'] && $_G['group']['alloweditpost'] && (!in_array($post['adminid'], array(1, 2, 3)) || $_G['adminid'] <= $post['adminid'])) || ($_G['forum']['alloweditpost'] && $_G['uid'] && ($post['authorid'] == $_G['uid'] && $_G['forum_thread']['closed'] == 0) && !(!$alloweditpost_status && $edittimelimit && TIMESTAMP - $post['dbdateline'] > $edittimelimit)))}-->
<a href="forum.php?mod=post&action=edit&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if !empty($_GET[modthreadkey])}&modthreadkey=$_GET[modthreadkey]{/if}&page=$page"><img src="{$_G['style']['styleimgdir']}/xiugai.png" alt="{lang edit}"/></a>
<!--{/if}-->
<!--{if (!$_G['uid'] || $allowpostreply) && !$needhiddenreply}-->
<!--{if $post['first']}-->
<a href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&reppost=$post[pid]&extra=$_GET[extra]&page=$page" onclick="return landingPrompt(2);"><img src="{$_G['style']['styleimgdir']}/forum_posts.png" alt="{lang reply}"/></a>
<!--{else}-->
<a href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&repquote=$post[pid]&extra=$_GET[extra]&page=$page" onclick="return landingPrompt(2);"><img src="{$_G['style']['styleimgdir']}/forum_posts.png" alt="{lang reply}"/></a>
<!--{/if}-->
<!--{/if}-->
<!--{if $_G['forum_thread']['special'] == 3 && ($_G['forum']['ismoderator'] && (!$_G['setting']['rewardexpiration'] || $_G['setting']['rewardexpiration'] > 0 && ($_G[timestamp] - $_G['forum_thread']['dateline']) / 86400 > $_G['setting']['rewardexpiration']) || $_G['forum_thread']['authorid'] == $_G['uid']) && $post['authorid'] != $_G['forum_thread']['authorid'] && $post['first'] == 0 && $_G['uid'] != $post['authorid'] && $_G['forum_thread']['price'] > 0}-->
<a href="javascript:;" onclick="setanswer($post['pid'], '$_GET[from]')">{lang reward_set_bestanswer}</a>
<!--{/if}-->
</div>
<!--{hook/viewthread_postfooter_mobile $postcount}-->
</div>
<!--{/if}-->
</div>
</div>
<!--{hook/viewthread_postbottom_mobile $postcount}-->
<!--{eval $postcount++;}-->
<!--{if $post[first]}-->
<!--{eval $forum_view_gg = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版论坛内容页广告','summary');}-->
<!--{if $forum_view_gg}-->
<div class="byg_gg_viewthread">
<div class="byg_gg">{$forum_view_gg}</div>
</div>
<!--{/if}-->
<div class="relateitem">
<!--{if $post['relateitem']}-->
<!--{if $_G['style']['liebiaotu'] == "on"}-->
<style>
.list_img1_box .relate_thread_tit{ float: left; width: 2.22rem; min-height: .52rem; margin-bottom: .02rem;}
.list_img1_box .list_img1{ float: right; width: 1.1rem; padding: .03rem 0;}
.list_img1_box .list_img1 a{ width: 100%; height: .7rem; border-radius: .04rem; overflow: hidden; display: block; background-position: center center; background-repeat: no-repeat; background-size: cover; -webkit-background-size: cover;}
.list_img1_box .relate_thread_b{ float: left; width: 2.2rem;}
</style>
<!--{/if}-->
<div class="relate_thread">
<div class="relate_thread_h3">
<h3>相关推荐</h3>
</div>
<ul class="relate_thread_ul cl">
<!--{loop $post['relateitem'] $var}-->
<!--{eval}-->
if ($_G['style']['liebiaotu'] == "on") {
$list_img1 = byg_threadlist_img($var['tid'], $var['authorid'], 3);
$img_number = count($list_img1);
}
<!--{/eval}-->
<li class="relate_thread_li cl{if $img_number == 1 || $img_number == 2} list_img1_box{/if}">
<div class="relate_thread_tit"><a href="forum.php?mod=viewthread&tid={$var[tid]}" class="over_two">{$var[subject]}</a></div>
<!--{if $img_number == 1 || $img_number == 2}-->
<!--{eval $list_img1 = array_slice($list_img1,0,1);}-->
<!--{loop $list_img1 $list_img1_1}-->
<div class="list_img1 cl">
<a href="forum.php?mod=viewthread&tid={$var[tid]}" title="{$var[subject]}" style="background-image:url({if $list_img1_1[remote] == 0}{eval echo(getforumimg($list_img1_1['aid'],0,230,150))}{else}{$_G['setting']['ftp']['attachurl']}forum/{$list_img1_1[attachment]}{/if});"></a>
</div>
<!--{/loop}-->
<!--{elseif $img_number > 2}-->
<div class="list_img3 cl">
<!--{loop $list_img1 $list_img1_1}-->
<div class="z">
<a href="forum.php?mod=viewthread&tid={$var[tid]}" title="{$var[subject]}" style="background-image:url({if $list_img1_1[remote] == 0}{eval echo(getforumimg($list_img1_1['aid'],0,230,150))}{else}{$_G['setting']['ftp']['attachurl']}forum/{$list_img1_1[attachment]}{/if});"></a>
</div>
<!--{/loop}-->
</div>
<!--{/if}-->
<div class="relate_thread_b over_one cl">
<!--{if $var[authorid] && $var[author]}-->
<a href="home.php?mod=space&uid={$var[authorid]}&do=profile" class="z">{$var[author]}</a>
<!--{else}-->
<a href="javascript:;" class="z">{$_G[setting][anonymoustext]}</a>
<!--{/if}-->
<span class="z"><!--{echo dgmdate($var[dateline], 'u', '9999', getglobal('setting/dateformat'))}--></span>
<span class="y">阅读{$var[views]}</span>
</div>
</li>
<!--{/loop}-->
</ul>
<div class="relate_thread_more">查看更多</div>
</div>
<script type="text/javascript">
if(jQuery(".relate_thread_li").length > 3){
jQuery(".relate_thread_li").slice(3).hide();
jQuery(".relate_thread_more").show();
}
jQuery(".relate_thread_more").click(function(){
jQuery(".relate_thread_li").css("display","block");
jQuery(".relate_thread_more").hide();
});
</script>
<!--{/if}-->
</div>
<div class="postlist_title cl" id="fullreply">
<h3>全部回复</h3>
<div class="y">
<!--{if !IS_ROBOT && !$_GET['authorid'] && !$_G['forum_thread']['archiveid']}-->
<a href="forum.php?mod=viewthread&tid=$_G[tid]&page=$page&authorid=$_G[forum_thread][authorid]&mobile=2#fullreply" rel="nofollow">{lang viewonlyauthorid}</a>
<!--{elseif !$_G['forum_thread']['archiveid']}-->
<a href="forum.php?mod=viewthread&tid=$_G[tid]&page=$page&mobile=2#fullreply" rel="nofollow">{lang thread_show_all}</a>
<!--{/if}-->
<!--{if !$rushreply}-->
<!--{if $ordertype != 1}-->
<a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&ordertype=1&mobile=2#fullreply">{lang post_descview}</a>
<!--{else}-->
<a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&ordertype=2&mobile=2#fullreply">{lang post_ascview}</a>
<!--{/if}-->
<!--{/if}-->
</div>
</div>
<!--{if $_G[forum_thread][allreplies] < 1}-->
<div class="no_reply" style="padding:.1rem;">
<img src="{$_G['style']['styleimgdir']}/no_reply.png" alt="没有回复"/>
</div>
<!--{/if}-->
<!--{/if}-->
<!--{/loop}-->

View File

@@ -0,0 +1,126 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{eval $_G[forum_thread][special] = 0;}-->
<!-- main postlist start -->
<!--{eval $needhiddenreply = ($hiddenreplies && $_G['uid'] != $post['authorid'] && $_G['uid'] != $_G['forum_thread']['authorid'] && !$post['first'] && !$_G['forum']['ismoderator']);}-->
<div class="plc cl">
<span class="avatar"><img src="<!--{avatar($post['authorid'], 'middle', true)}-->" alt="头像"/></span>
<div class="pi">
<ul class="authi">
<li class="grey">
<em>
<!--{if isset($post[isstick])}-->
<img src ="{IMGDIR}/settop.png" alt="{lang replystick}" class="vm" /> {lang from} {$post[number]}{$postnostick}
<!--{elseif $post[number] == -1}-->
{lang recommend_post}
<!--{else}-->
<!--{if !empty($postno[$post[number]])}-->$postno[$post[number]]<!--{else}-->{$post[number]}{$postno[0]}<!--{/if}-->
<!--{/if}-->
</em><b>
<!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
<a href="home.php?mod=space&uid=$post[authorid]" class="blue">$post[author]</a></b>
<!--{if $post[authorid] != $_G[uid] && $_G[uid]}-->
<a href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&repquote=$post[pid]&extra=$_GET[extra]&page=$page" class="xg1" title="{lang reply}">{lang reply}</a>
<!--{/if}-->
<!--{else}-->
<!--{if !$post['authorid']}-->
<a href="javascript:;">{lang guest} <em>$post[useip]{if $post[port]}:$post[port]{/if}</em></a>
<!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->
<!--{if $_G['forum']['ismoderator']}--><a href="home.php?mod=space&uid=$post[authorid]" target="_blank">{lang anonymous}</a><!--{else}-->{lang anonymous}<!--{/if}-->
<!--{else}-->
$post[author] <em>{lang member_deleted}</em>
<!--{/if}-->
<!--{/if}-->
</li>
<li class="grey rela">
$post[dateline]
</li>
</ul>
<div class="message">
<!--{if $post['warned']}-->
<span class="grey byg_quote">{lang warn_get}</span>
<!--{/if}-->
<!--{if !$post['first'] && !empty($post[subject])}-->
<h2><strong>$post[subject]</strong></h2>
<!--{/if}-->
<!--{if $_G['adminid'] != 1 && $_G['setting']['bannedmessages'] & 1 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || $post['status'] == -1 || $post['memberstatus'])}-->
<div class="grey byg_quote">{lang message_banned}</div>
<!--{elseif $_G['adminid'] != 1 && $post['status'] & 1}-->
<div class="grey byg_quote">{lang message_single_banned}</div>
<!--{elseif $needhiddenreply}-->
<div class="grey byg_quote">{lang message_ishidden_hiddenreplies}</div>
<!--{elseif $post['first'] && $_G['forum_threadpay']}-->
<!--{template forum/viewthread_pay}-->
<!--{else}-->
<!--{if $_G['setting']['bannedmessages'] & 1 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5))}-->
<div class="grey byg_quote">{lang admin_message_banned}</div>
<!--{elseif $post['status'] & 1}-->
<div class="grey byg_quote">{lang admin_message_single_banned}</div>
<!--{/if}-->
<!--{if $post['first'] && $_G['forum_thread']['price'] > 0 && $_G['forum_thread']['special'] == 0}-->
<div class="byg_fufei_jilu cl">{lang pay_threads}: <strong>$_G[forum_thread][price] {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]} </strong> <a href="forum.php?mod=misc&action=viewpayments&tid=$_G[tid]&mobile=2" class="y">{lang pay_view}</a></div>
<!--{/if}-->
<!--{if $post['first'] && $threadsort && $threadsortshow}-->
<!--{if $threadsortshow['optionlist'] && !($post['status'] & 1) && !$_G['forum_threadpay']}-->
<!--{if $threadsortshow['optionlist'] == 'expire'}-->
{lang has_expired}
<!--{else}-->
<div class="box_ex2 viewsort">
<h4>$_G[forum][threadsorts][types][$_G[forum_thread][sortid]]</h4>
<!--{loop $threadsortshow['optionlist'] $option}-->
<!--{if $option['type'] != 'info'}-->
$option[title]: <!--{if $option['value']}-->$option[value] $option[unit]<!--{else}--><span class="xg1">--</span><!--{/if}--><br />
<!--{/if}-->
<!--{/loop}-->
</div>
<!--{/if}-->
<!--{/if}-->
<!--{/if}-->
<!--{if $post['first']}-->
<!--{if !$_G[forum_thread][special]}-->
$post[message]
<!--{elseif $_G[forum_thread][special] == 1}-->
<!--{template forum/viewthread_poll}-->
<!--{elseif $_G[forum_thread][special] == 2}-->
<!--{template forum/viewthread_trade}-->
<!--{elseif $_G[forum_thread][special] == 3}-->
<!--{template forum/viewthread_reward}-->
<!--{elseif $_G[forum_thread][special] == 4}-->
<!--{template forum/viewthread_activity}-->
<!--{elseif $_G[forum_thread][special] == 5}-->
<!--{template forum/viewthread_debate}-->
<!--{elseif $threadplughtml}-->
$threadplughtml
$post[message]
<!--{else}-->
$post[message]
<!--{/if}-->
<!--{else}-->
$post[message]
<!--{/if}-->
<!--{/if}-->
</div>
<!--{if $_G['setting']['mobile']['mobilesimpletype'] == 0}-->
<!--{if $post['attachment']}-->
<div class="grey byg_quote">
{lang attachment}: <em><!--{if $_G['uid']}-->{lang attach_nopermission}<!--{else}-->{lang attach_nopermission_login}<!--{/if}--></em>
</div>
<!--{elseif $post['imagelist'] || $post['attachlist']}-->
<!--{if $post['imagelist']}-->
<!--{if count($post['imagelist']) == 1}-->
<ul class="img_one">{echo showattach($post, 1)}</ul>
<!--{else}-->
<ul class="img_list cl vm">{echo showattach($post, 1)}</ul>
<!--{/if}-->
<!--{/if}-->
<!--{if $post['attachlist']}-->
<ul>{echo showattach($post)}</ul>
<!--{/if}-->
<!--{/if}-->
<!--{/if}-->
</div>
</div>
<!-- main postlist end -->

View File

@@ -0,0 +1,19 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{if $thread['freemessage']}-->
<div id="postmessage_$pid" class="t_f">$thread[freemessage]</div>
<!--{/if}-->
<!--{if empty($_GET['archiver'])}-->
<div class="locked">
<a href="forum.php?mod=misc&action=pay&tid=$_G[tid]&pid=$post[pid]{if !empty($_GET['from'])}&from=$_GET['from']{/if}" title="{lang pay}" class="y byg_viewpay">{lang pay}</a>
<em class="right">
<!--{if $thread[payers]}-->{lang have} $thread[payers] {lang people_buy}&nbsp; <!--{/if}-->
</em>
<!--{if $_G[forum_thread][price] > 0}-->{lang pay_comment}<!--{/if}-->
<!--{if $thread[endtime]}--><br />{lang pay_free_time}<!--{/if}-->
</div>
<!--{else}-->
<!--{if $thread[payers]}-->{lang have} $thread[payers] {lang people_buy}&nbsp; <!--{/if}-->
<!--{if $_G[forum_thread][price] > 0}-->{lang pay_comment}<!--{/if}-->
<!--{if $thread[endtime]}--><br />{lang pay_free_time}<!--{/if}-->
<!--{/if}-->

View File

@@ -0,0 +1,76 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<div id="postmessage_$post[pid]" class="postmessage">$post[message]</div>
<div class="byg_poll">
<form id="poll" name="poll" method="post" autocomplete="off" action="forum.php?mod=misc&action=votepoll&fid=$_G[fid]&tid=$_G[tid]&pollsubmit=yes{if $_GET[from]}&from=$_GET[from]{/if}&quickforward=yes&mobile=2" >
<input type="hidden" name="formhash" value="{FORMHASH}" />
<div class="byg_pinf">
<!--{if $multiple}--><strong>{lang poll_multiple}{lang thread_poll}</strong><!--{if $maxchoices}-->: ( {lang poll_more_than} )<!--{/if}--><!--{else}--><strong>{lang poll_single}{lang thread_poll}</strong><!--{/if}--><!--{if $visiblepoll && $_G['group']['allowvote']}--> , {lang poll_after_result}<!--{/if}-->, {lang poll_voterscount}
</div>
<!--{if $_G[forum_thread][remaintime]}-->
<p class="byg_ptmr">
{lang poll_count_down}:
<span class="xg1">
<!--{if $_G[forum_thread][remaintime][0]}-->$_G[forum_thread][remaintime][0] {lang days}<!--{/if}-->
<!--{if $_G[forum_thread][remaintime][1]}-->$_G[forum_thread][remaintime][1] {lang poll_hour}<!--{/if}-->
$_G[forum_thread][remaintime][2] {lang poll_minute}
</span>
</p>
<!--{elseif $expiration && $expirations < TIMESTAMP}-->
<p class="byg_ptmr"><strong>{lang poll_end}</strong></p>
<!--{/if}-->
<div>
<!--{loop $polloptions $key $option}-->
<div class="byg_pcht_font">
<!--{if $isimagepoll}-->
<!--{eval $imginfo=$option['imginfo'];}-->
<!--{if $imginfo}-->
<img src="$imginfo[big]" alt="$imginfo[filename]" class="byg_pcht_img" />
<!--{else}-->
<img src="{IMGDIR}/nophoto.gif" alt="没有图片" class="byg_pcht_img" />
<!--{/if}-->
<!--{/if}-->
<!--{if $_G['group']['allowvote']}-->
<input type="$optiontype" id="option_$key" name="pollanswers[]" value="$option[polloptionid]" {if $_G['forum_thread']['is_archived']}disabled="disabled"{/if} />
<!--{/if}-->
<label for="option_$key">$key.$option[polloption]</label>
<!--{if !$visiblepoll}-->
<div class="pcht_font_b cl">
<div class="pbg">
<div class="pbr" style="width: $option[width]; background-color:#$option[color]"></div>
</div>
$option[percent]% <em style="color:#$option[color]">($option[votes])</em>
</div>
<!--{/if}-->
</div>
<!--{/loop}-->
<!--{if $_G['group']['allowvote'] && !$_G['forum_thread']['is_archived']}-->
<div class="byg_pcht_b">
<input type="submit" name="pollsubmit" id="pollsubmit" value="{lang submit}" />
<!--{if $overt}-->
<span class="xg2">({lang poll_msg_overt})</span>
<!--{/if}-->
</div>
<!--{elseif !$allwvoteusergroup}-->
<div class="byg_pcht_b">
<!--{if !$_G['uid']}-->
<span class="xi1">{lang poll_msg_allwvote_user}</span>
<!--{else}-->
<span class="xi1">{lang poll_msg_allwvoteusergroup}</span>
<!--{/if}-->
</div>
<!--{elseif !$allowvotepolled}-->
<div class="byg_pcht_b">
<span class="xi1">{lang poll_msg_allowvotepolled}</span>
</div>
<!--{elseif !$allowvotethread}-->
<div class="byg_pcht_b">
<span class="xi1">{lang poll_msg_allowvotethread}</span>
</div>
<!--{/if}-->
</div>
</form>
</div>

View File

@@ -0,0 +1,43 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<div class="byg_reward">
<div class="byg_reward_t">
{lang thread_reward}<strong>{$rewardprice}</strong>{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]][unit]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]][title]}
{if $_G['forum_thread']['price'] > 0}<span class="xi1">({lang unresolved})</span>{elseif $_G['forum_thread']['price'] < 0}<span class="xi1">({lang resolved})</span>{/if}
</div>
<!--{if $_G['forum_thread']['price'] > 0 && !$_G['forum_thread']['is_archived']}-->
<div class="byg_reward_b">
<a href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&reppost=$_G[forum_firstpid]&page=$page" onclick="return landingPrompt();">我来回答</a>
<span>您的回答被采纳后将获得{$rewardprice}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]][unit]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]][title]}</span>
</div>
<!--{/if}-->
</div>
<div id="postmessage_$post[pid]" class="postmessage">$post[message]</div>
<!--{if $post['attachment']}-->
<div class="grey byg_quote">{lang attachment}: <em><!--{if $_G['uid']}-->{lang attach_nopermission}<!--{else}-->{lang attach_nopermission_login}<!--{/if}--></em></div>
<!--{elseif $post['imagelist'] || $post['attachlist']}-->
<!--{if $post['imagelist']}-->
{echo showattach($post, 1)}
<!--{/if}-->
<!--{if $post['attachlist']}-->
{echo showattach($post)}
<!--{/if}-->
<!--{/if}-->
<!--{eval $post['attachment'] = $post['imagelist'] = $post['attachlist'] = '';}-->
<!--{if $bestpost}-->
<div class="byg_reward_good">
<h3 class="psth">{lang reward_bestanswer}</h3>
<div class="pstl cl">
<div class="psta">$bestpost[avatar]</div>
<div class="psti">
<p class="psti_p">
<a href="home.php?mod=space&uid=$bestpost[authorid]&do=profile&mobile=2" class="psti_p_z">$bestpost[author]</a>
<a href="forum.php?mod=redirect&goto=findpost&ptid=$bestpost[tid]&pid=$bestpost[pid]" class="psti_p_y">{lang view_full_content}</a>
</p>
<div class="mtn">$bestpost[message]</div>
</div>
</div>
</div>
<!--{/if}-->

View File

@@ -0,0 +1,79 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{if !$post['message'] && (($_G['forum']['ismoderator'] && $_G['group']['alloweditpost'] && (!in_array($post['adminid'], array(1, 2, 3)) || $_G['adminid'] <= $post['adminid'])) || ($_G['forum']['alloweditpost'] && $_G['uid'] && $post['authorid'] == $_G['uid']))}-->
<div class="trade_add_about">
<a href="forum.php?mod=post&action=edit&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]&page=$page">
<span>{lang post_add_aboutcounter}</span>
</a>
</div>
<!--{else}-->
<div class="postmessage">
{$post[message]}
</div>
<!--{/if}-->
<div class="byg_trade">
<!--{if count($trades) > 1 || ($_G['uid'] == $_G['forum_thread']['authorid'] || $_G['group']['allowedittrade'])}-->
<div class="byg_trade_t">
<em>{lang post_trade_totalnumber}: $tradenum</em>
<!--{if !$_G['forum_thread']['is_archived'] && ($_G['uid'] == $_G['forum_thread']['authorid'] || $_G['group']['allowedittrade'])}-->
<span>{lang trade_mod}</span>
<!--{/if}-->
</div>
<!--{/if}-->
<!--{if $tradenum}-->
<!--{if $trades}-->
<!--{loop $trades $key $trade}-->
<div id="trade$trade[pid]" class="byg_trade_c">
<div>
<!--{if $trade['thumb']}-->
<img src="$trade[thumb]" width="{if $trade[width] > 90}100%{else}$trade[width]{/if}" _width="90" _height="90" alt="$trade[subject]" />
<!--{else}-->
<img src="{IMGDIR}/nophotosmall.gif" width="90" height="90" alt="$trade[subject]" />
<!--{/if}-->
</div>
<div>
<h4>$trade[subject]</h4>
<dl>
<dt>{lang trade_type_viewthread}:
<!--{if $trade['quality'] == 1}-->{lang trade_new}<!--{/if}-->
<!--{if $trade['quality'] == 2}-->{lang trade_old}<!--{/if}-->
{lang trade_type_buy}
</dt>
<dt>{lang trade_remaindays}:
<!--{if $trade[closed]}-->
<em>{lang trade_timeout}</em>
<!--{elseif $trade[expiration] > 0}-->
{$trade[expiration]}{lang days}{$trade[expirationhour]}{lang trade_hour}
<!--{elseif $trade[expiration] == -1}-->
<em>{lang trade_timeout}</em>
<!--{else}-->
&nbsp;
<!--{/if}-->
</dt>
</dl>
<div class="byg_trade_c_b">
<!--{if $trade[price] > 0}-->
<strong>$trade[price]</strong>&nbsp;{lang payment_unit}&nbsp;&nbsp;
<!--{/if}-->
<!--{if $_G['setting']['creditstransextra'][5] != -1 && $trade[credit]}-->
<!--{if $trade['price'] > 0}-->{lang trade_additional} <!--{/if}--><strong>$trade[credit]</strong>&nbsp;{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][5]][unit]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][5]][title]}
<!--{/if}-->
<p class="xg1">
<!--{if $trade['costprice'] > 0}-->
<del>$trade[costprice] {lang payment_unit}</del>
<!--{/if}-->
<!--{if $_G['setting']['creditstransextra'][5] != -1 && $trade['costcredit'] > 0}-->
<del><!--{if $trade['costprice'] > 0}-->{lang trade_additional} <!--{/if}-->$trade[costcredit] {$_G[setting][extcredits][$_G['setting']['creditstransextra'][5]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][5]][title]}</del>
<!--{/if}-->
</p>
</div>
</div>
</div>
<!--{/loop}-->
<!--{/if}-->
<div id="postmessage_$post[pid]" class="byg_trade_b">{$post[counterdesc]}</div>
<!--{else}-->
{lang trade_nogoods}
<!--{/if}-->
</div>

View File

@@ -0,0 +1,130 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="group.php">{$_G[setting][navs][3][navname]}</a>
<!--{if $groupnav}-->
{$groupnav}
<!--{elseif $action == 'create'}-->
<em>&rsaquo;</em><span>{lang group_create}</span>
<!--{/if}-->
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y"><img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!-- header end -->
<!--{if $action != 'create'}-->
<style type="text/css">
#uhd{ position: relative; background: $_G['style']['zhuti']; width: 3.75rem; overflow: hidden;}
#uhd_bg{ position: relative; z-index: 1; width: 4.75rem; height: 1rem; overflow: hidden; margin-top: -20px; margin-left: -1rem;}
.home_forum_header_js{ background: #fff !important; opacity: 0.15 !important;}
.uhd_content{ position: absolute; top: 0; left: 0; z-index: 10; width: 100%; padding: .15rem 0 .1rem;}
.uhd_avatar{ margin: 0 0 .1rem .1rem; vertical-align: top; height: .5rem; width: .5rem; border-radius: .05rem; box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.3);}
.uhd_top_y{ width: 3.05rem;}
.uhd_name{ line-height: .26rem; padding-right: .06rem; color: #fff; text-shadow: 1px 1px 1px #000;}
.uhd_name a, .uhd_name .groupjoin_btn{ height: .22rem; line-height: .22rem; margin: .02rem .06rem; padding: 0 .05rem; background: rgba(0,0,0,.2); border-radius: .04rem; color: #fff; font-size: .12rem; vertical-align: top; text-shadow: none;}
.uhd_name img{ margin: .03rem .02rem 0 0; height: .16rem; vertical-align: top;}
.uhd_top_y_b{ margin: .05rem .1rem 0 0; font-size: .12rem; color: #fff; text-shadow: 1px 1px 1px #222;}
.uhd_top_y_b span{ margin: 0 .08rem;}
.uhd_description{ margin: .1rem; padding: .04rem .08rem; background: rgba(255,255,255,0.5); border-radius: .04rem; font-size: .14rem; color: #555; display: inline-block;}
</style>
<div id="uhd">
<div id="uhd_bg"></div>
<div class="uhd_content">
<div class="uhd_top cl">
<img src="$_G[forum][icon]" alt="$_G[forum][name]" class="uhd_avatar z" />
<div class="uhd_top_y y">
<div class="uhd_name cl">
{$_G[forum][name]}
<a href="home.php?mod=spacecp&ac=favorite&type=group&id={$_G[forum][fid]}&handlekey=sharealbumhk_{$_G[forum][fid]}&formhash={FORMHASH}" class="dialog y"><img src="{$_G['style']['styleimgdir']}/bai_shoucang.png" alt="{lang favorite}" />{lang favorite}</a>
<!--{if $status == 'isgroupuser'}-->
<form action="forum.php?mod=group&action=out&fid=$_G[fid]" id="groupexitform_{$_G['fid']}" method="post" autocomplete="off" style="display:inline;">
<input type="hidden" name="formhash" value="{FORMHASH}">
<input type="hidden" name="groupexit" value="1">
<a href="javascript:;" onclick="document.getElementById('byg_groupexit_box').style.display='block';" class="y"><img src="{$_G['style']['styleimgdir']}/bl_tuichu.png" alt="退出退组" />退群</a>
<div id="byg_groupexit_box" style="display: none;">
<style type="text/css">
.byg_groupexit_cover{ width: 100%; height: 100%; position: fixed; left: 0; bottom: 0; background: black; opacity: 0.5; z-index: 96;}
.byg_groupexit{ position: fixed; left: .37rem; top: 2.6rem; z-index: 97; text-shadow: none; color: #444;}
</style>
<div class="byg_groupexit_cover" onclick="document.getElementById('byg_groupexit_box').style.display='none';"></div>
<dl class="byg_groupexit tip">
<dt>{lang group_exit_confirm}</dt>
<dd>
<button type="submit" class="formdialog button2" style="font-size:.14rem;">确定</button>
<span onclick="document.getElementById('byg_groupexit_box').style.display='none';" style="margin-left:15px;">取消</span>
</dd>
</dl>
</div>
</form>
<!--{elseif $status == 3 || $status == 5}-->
<a href="javascript:;" class="y">待审核</a>
<!--{elseif helper_access::check_module('group')}-->
<form action="forum.php?mod=group&action=join&fid=$_G[fid]" id="groupjoinform_{$_G['fid']}" method="post" autocomplete="off" style="display:inline;">
<input type="hidden" name="formhash" value="{FORMHASH}">
<input type="hidden" name="groupjoin" value="1">
<button type="submit" class="formdialog y groupjoin_btn"><img src="{$_G['style']['styleimgdir']}/bl_zhuce.png" alt="加入群组" />加入</button>
</form>
<!--{/if}-->
</div>
<p class="uhd_top_y_b">{lang posts}&nbsp;{$_G[forum][posts]}<span>/</span>{lang member}&nbsp;{$_G[forum][membernum]}<span>/</span>{lang credits}&nbsp;{$_G[forum][commoncredits]}<span>/</span>{lang group_member_rank}&nbsp;{$groupcache[ranking][data][today]}</p>
</div>
</div>
<!--{if $_G[forum][description]}-->
<div class="uhd_description">$_G[forum][description]</div>
<!--{/if}-->
</div>
</div>
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/home_forum_header.js"></script>
<script type="text/javascript">
jQuery('#uhd').height(jQuery('.uhd_content').innerHeight());
jQuery('#uhd_bg').height(jQuery('.uhd_content').innerHeight() + 20);
jQuery.firefly({
minPixel: 300,
maxPixel: 500,
total : 3,
on: '#uhd_bg',
namespace: 'home_forum_header_js'
});
</script>
<!--{if $status != 2 && $status != 3}-->
<div class="forumdisplay_tab">
<a href="forum.php?mod=group&fid=$_G[fid]" {if $action == 'index'}class="on"{/if}>{lang home}</a>
<a href="forum.php?mod=forumdisplay&action=list&fid=$_G[fid]" {if $action == 'list'}class="on"{/if}>{lang group_discuss_area}</a>
<a href="forum.php?mod=group&action=memberlist&fid=$_G[fid]" {if $action == 'memberlist' || $action == 'invite'}class="on"{/if}>{lang group_member_list}</a>
<!--{if $_G['forum']['ismoderator']}--><a href="forum.php?mod=group&action=manage&fid=$_G[fid]" {if $action == 'manage'}class="on"{/if}>{lang group_admin}</a><!--{/if}-->
</div>
<!--{/if}-->
<!--{/if}-->
<!--{hook/global_header_mobile}-->
<!--{hook/forumdisplay_top_mobile}-->
<!--{if $action == 'index' && $status != 2 && $status != 3}-->
<!--{subtemplate group/group_index}-->
<!--{elseif $action == 'list'}-->
<!--{subtemplate group/group_list}-->
<!--{elseif $action == 'memberlist'}-->
<!--{subtemplate group/group_memberlist}-->
<!--{elseif $action == 'create'}-->
<!--{subtemplate group/group_create}-->
<!--{elseif $action == 'manage'}-->
<!--{subtemplate group/group_manage}-->
<!--{elseif $action == 'invite'}-->
<!--{subtemplate group/group_invite}-->
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,132 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="group.php?mod=index">{$_G[setting][navs][3][navname]}</a>
<em>&rsaquo;</em>
<a href="group.php?mod=my">{$_G[username]}{lang somebody_group}</a>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y"><img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<style type="text/css">
.byg_group_box{ margin: .1rem 0; padding: 0 .1rem; background: #fff;}
.byg_group_box_h2{ height: .42rem; margin-bottom: .01rem; border-bottom: .01rem solid #eee;}
.byg_group_box_h2 h2{ display: inline-block; height: .3rem; line-height: .3rem; padding: .07rem .04rem .04rem; font-size: .15rem; font-weight: 700; border-bottom: .02rem solid $_G['style']['zhuti'];}
.byg_group_attentiongroup .attgroup{ padding: .15rem 0 .05rem;}
.group_attentiongroup_t{ border-bottom: 1px dashed #eaeaea;}
.byg_group_attentiongroup li{ float: left; margin: 0 .1rem .1rem 0;}
.byg_group_attentiongroup li label{ display: inline-block; padding: .04rem .08rem; background: #fafafa; font-size: .14rem; vertical-align: top; border-radius: .04rem; border: 1px solid #eee;}
.group_attentiongroup_smt{ padding: .13rem 0; border-top: 1px solid #eee;}
.group_attentiongroup_smt button{ width: 100%; height: .4rem; line-height: .4rem; border-radius: .06rem; font-size: .16rem; display: block; text-align: center;}
</style>
<div class="forumdisplay_tab">
<div class="swiper-wrapper">
<a href="group.php?mod=attentiongroup" class="swiper-slide on">{lang attention_group}</a>
<a href="group.php?mod=my&view=groupthread" class="swiper-slide">{lang group_thread}</a>
<a href="group.php?mod=my&view=mythread" class="swiper-slide">{lang my_thread}</a>
<a href="group.php?mod=my&view=join" class="swiper-slide">{lang my_join}</a>
<a href="group.php?mod=my&view=manager" class="swiper-slide">{lang my_manage}</a>
</div>
</div>
<link rel="stylesheet" type="text/css" href="{$_G['style']['styleimgdir']}/swiper.min.css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<script type="text/javascript">
var forumdisplay_tab = new Swiper('.forumdisplay_tab', {
slidesPerView : 'auto',
freeMode : true,
});
</script>
<div class="byg_group_box">
<div class="byg_group_box_h2 cl">
<h2>{lang select_focus_group}</h2>
</div>
<form method="post" autocomplete="off" id="attentionform" name="attentionform" action="group.php?mod=attentiongroup">
<!--{if $_G[inajax]}--><input type="hidden" name="handlekey" value="$_GET[handlekey]" /><!--{/if}-->
<input type="hidden" name="referer" value="{echo dreferer()}" />
<input type="hidden" name="formhash" value="{FORMHASH}" />
<div class="byg_group_attentiongroup cl">
<div class="group_attentiongroup_t attgroup cl">
<ul class="cl">
<!--{loop $usergroups['groups'] $groupid $groupname}-->
<!--{if in_array($groupid, $attentiongroup)}-->
<li id="li$groupid"><label for="attentiongroupid_$groupid"><input type="checkbox" name="attentiongroupid[]" id="attentiongroupid_$groupid" class="pc" value="$groupid" checked="checked" onclick="attention_checkbox(this, 'attentionform', 'attentiongroupid', 5)" />$groupname</label></li>
<!--{/if}-->
<!--{/loop}-->
<li id="heightline"></li>
</ul>
</div>
<div class="group_attentiongroup_b attgroup cl">
<ul class="cl">
<!--{loop $usergroups['groups'] $groupid $groupname}-->
<!--{if !in_array($groupid, $attentiongroup)}-->
<li id="li$groupid"><label for="attentiongroupid_$groupid"><input type="checkbox" name="attentiongroupid[]" id="attentiongroupid_$groupid" class="pc" value="$groupid" onclick="attention_checkbox(this, 'attentionform', 'attentiongroupid', 5)" />$groupname</label></li>
<!--{/if}-->
<!--{/loop}-->
<li id="lowerline"></li>
</ul>
</div>
</div>
<p class="group_attentiongroup_smt">
<input type="hidden" name="attentionsubmit" value="true" />
<button type="submit" class="">{lang confirms}</button>
</p>
<script language="javascript">
var p = $counttype;
function attention_checkbox(obj, formid, checkname, max_obj) {
if(obj.checked) {
p++;
for (var i = 0; i < document.getElementById(formid).elements.length; i++) {
var e = document.getElementById(formid).elements[i];
if(p == max_obj+1) {
if(e.name.match(checkname) && !e.checked) {
e.disabled = true;
}
}
}
} else {
p--;
for (var i = 0; i < document.getElementById(formid).elements.length; i++) {
var e = document.getElementById(formid).elements[i];
if(e.name.match(checkname) && e.disabled) {
e.disabled = false;
}
}
}
if(p > max_obj) {
p--;
obj.checked = false;
alert('{lang max_can_select}'+max_obj+'{lang unit}.');
return;
}
var oldNode = document.getElementById('li'+obj.value);
var realvalue = obj.checked;
if(obj.checked) {
var line = document.getElementById('heightline');
} else {
var line = document.getElementById('lowerline');
}
oldNode.parentNode.removeChild(oldNode);
line.parentNode.insertBefore(oldNode,line);
obj.checked = realvalue;
}
</script>
</form>
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,103 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<style type="text/css">
.byg_group_create{ margin: .1rem 0; background: #fff;}
.byg_group_create_h2{ height: .42rem; border-bottom: .01rem solid #eee;}
.byg_group_create_h2 h2{ display: inline-block; height: .3rem; line-height: .3rem; margin-left: .06rem; padding: .07rem .04rem .04rem; font-size: .15rem; font-weight: 700;}
.group_manage_group table{ table-layout: fixed; width: 100%; overflow: hidden; font-size: .14rem;}
.group_manage_group tr{ width: 100%; line-height: .2rem; border-bottom: 1px solid #eee;}
.group_manage_group th{ width: .7rem; padding: .1rem; background: #fcfcfc; color: #666;}
.group_manage_group td{ padding: .1rem; border-left: 1px solid #eee;}
.group_manage_group .input_text{ height: .2rem; line-height: .2rem; padding: .02rem .05rem; border: 1px solid #eaeaea; border-radius: .04rem; vertical-align: top; font-size: .14rem; color: #444;}
.group_manage_group select{ padding: .02rem; background-color: #fff; border-color: #eaeaea; color: #444; font-size: .14rem; border-radius: .04rem;}
.group_manage_group .input_textarea{ width: 96%; padding: .02rem 2%; font-size: .14rem; border: 0; box-shadow: 0 0 0 1px #eee; color: #444; vertical-align: top;}
.group_manage_group label{ display: block; margin: .02rem; font-size: .14rem;}
.group_manage_group_smt{ padding: .11rem;}
.group_manage_group_smt button{ width: 100%; height: .4rem; line-height: .4rem; border-radius: .06rem; font-size: .16rem; display: block; text-align: center;}
</style>
<div class="byg_group_create" id="main_messaqge">
<div class="byg_group_create_h2 cl">
<h2>{lang group_create_new}
<!--{if $_G['setting']['groupmod']}-->&nbsp;({lang group_create_mod})<!--{/if}-->
</h2>
</div>
<div class="group_manage_group">
<form method="post" autocomplete="off" name="groupform" id="groupform" class="s_clear" action="forum.php?mod=group&action=create">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="referer" value="{echo dreferer()}" />
<input type="hidden" name="handlekey" value="creategroup" />
<table cellspacing="0" cellpadding="0" class="" summary="{lang group_create}">
<tbody>
<tr>
<th><strong class="rq">*</strong>{lang group_name}:</th>
<td>
<input type="text" name="name" id="name" class="input_text" size="" tabindex="1" value="" autocomplete="off" tabindex="1" />
</td>
</tr>
<tr>
<th><strong class="rq">*</strong>{lang group_category}:</th>
<td>
<select name="parentid" tabindex="2" class="" onchange="ajax_groupselect(this.value);">
<option value="0">{lang choose_please}</option>
$groupselect[first]
</select>
<em id="secondgroup"></em>
</td>
</tr>
<tr>
<th>{lang group_description}:</th>
<td>
<div class="tedt">
<div class="area">
<textarea id="descriptionmessage" name="descriptionnew" tabindex="3" class="input_textarea" rows="5"></textarea>
</div>
</div>
</td>
</tr>
<tr>
<th><strong class="rq">*</strong>{lang group_perm_visit}:</th>
<td>
<label class="lb"><input type="radio" name="gviewperm" class="pr" tabindex="4" value="1" checked="checked" />{lang group_perm_all_user}</label>
<label class="lb"><input type="radio" name="gviewperm" class="pr" value="0" />{lang group_perm_member_only}</label>
</td>
</tr>
<tr>
<th><strong class="rq">*</strong>{lang group_join_type}:</th>
<td>
<label class="lb"><input type="radio" name="jointype" class="pr" tabindex="5" value="0" checked="checked" />{lang group_join_type_free}</label>
<label class="lb"><input type="radio" name="jointype" class="pr" value="2" />{lang group_join_type_moderate}</label>
<label class="lb"><input type="radio" name="jointype" class="pr" value="1" />{lang group_join_type_invite}</label>
</td>
</tr>
</tbody>
</table>
<div class="group_manage_group_smt">
<!--{if $_G['group']['buildgroupcredits']}--><p class="mbn rq" style="font-size: .14rem; text-align: center;">{lang group_create_buildcredits} $_G['group']['buildgroupcredits'] $_G['setting']['extcredits'][$creditstransextra]['unit']{$_G['setting']['extcredits'][$creditstransextra]['title']}</p><!--{/if}-->
<input type="hidden" name="createsubmit" value="true"><button type="submit" tabindex="6">{lang create}</button>
</div>
</form>
</div>
</div>
<script type="text/javascript">
function ajax_groupselect(obj) {
jQuery.ajax({
url: 'forum.php?mod=ajax&action=secondgroup&fupid='+ obj + '&inajax=1',
type: 'POST',
dataType: 'xml',
success: function(s) {
jQuery('#secondgroup').html(s.lastChild.firstChild.nodeValue);
}
});
}
<!--{if $_GET['fupid']}-->
jQuery.ajax({
url: 'forum.php?mod=ajax&action=secondgroup&fupid=$_GET[fupid]<!--{if $_GET[groupid]}-->&groupid=$_GET[groupid]<!--{/if}-->&inajax=1',
type: 'POST',
dataType: 'xml',
success: function(s) {
jQuery('#secondgroup').html(s.lastChild.firstChild.nodeValue);
}
});
<!--{/if}-->
</script>

View File

@@ -0,0 +1,98 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{if $status != 2}-->
<style type="text/css">
.group_index_new{ padding: .1rem; background: #fff;}
.group_index_new .z{ line-height: .2rem; padding: .02rem .06rem .02rem .03rem; font-size: .13rem; background: $_G['style']['zhuti']; color: #fff; border-radius: .04rem;}
.group_index_new .z img{ height: .14rem; margin: .03rem; vertical-align: top;}
.group_index_new .y{ line-height: .24rem; font-size: .14rem;}
.threadlist.byg_threadlist{ margin: 0;}
<!--{if $_G['style']['liebiaotu'] == "on"}-->
.list_img1_box .list_top{ float: left; width: 2.32rem; height: .44rem; margin-bottom: .06rem; padding-right: 0; overflow: hidden;}
.list_img1_box .list_img1{ float: right; width: 1.15rem; padding: .1rem .1rem .1rem 0;}
.list_img1_box .list_img1 a{ width: 100%; height: .76rem; padding: 0; border-radius: .04rem; overflow: hidden; display: block; background-position: center center; background-repeat: no-repeat; background-size: cover; -webkit-background-size: cover;}
.list_img1_box .list_bottom{ float: left; width: 2.28rem; margin-right: 0;}
<!--{/if}-->
</style>
<!--{if helper_access::check_module('group')}-->
<div class="group_index_new cl">
<a href="forum.php?mod=post&action=newthread&fid=$_G[fid]" class="z"><img src="{$_G['style']['styleimgdir']}/fatie.png" alt="{lang send_posts}" />{lang send_posts}</a>
<a href="forum.php?mod=forumdisplay&action=list&fid=$_G[fid]" class="y">{lang view_all_threads}&rsaquo;</a>
</div>
<!--{/if}-->
<!--{if $newthreadlist['dateline']['data']}-->
<!--{eval require_once(DISCUZ_ROOT.'./template/bygsjw_sj/touch/php/function_bygsjw.php');}-->
<ul class="threadlist byg_threadlist">
<!--{loop $newthreadlist['dateline']['data'] $thread}-->
<!--{eval}-->
if ($_G['style']['liebiaotu'] == "on") {
$list_img1 = byg_threadlist_img($thread['tid'], $thread['authorid'], 3);
$img_number = count($list_img1);
}
<!--{/eval}-->
<li class="cl{if $img_number == 1 || $img_number == 2} list_img1_box{/if}">
<div class="list_top cl">
<a href="forum.php?mod=viewthread&tid=$thread[tid]" class="over_two">
<!--{if $thread[folder] == 'lock'}-->
<img src="{IMGDIR}/folder_lock.gif" alt="锁定" />
<!--{elseif $thread['special'] == 1}-->
<img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" />
<!--{elseif $thread['special'] == 2}-->
<img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" />
<!--{elseif $thread['special'] == 3}-->
<img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" />
<!--{elseif $thread['special'] == 4}-->
<img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" />
<!--{elseif $thread['special'] == 5}-->
<img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" />
<!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
<img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="$_G[setting][threadsticky][3-$thread[displayorder]]" />
<!--{else}-->
<img src="{IMGDIR}/folder_$thread[folder].gif" alt="普通" />
<!--{/if}-->
{$thread[subject]}</a>
</div>
<!--{if $img_number == 1 || $img_number == 2}-->
<!--{eval $list_img1 = array_slice($list_img1,0,1);}-->
<!--{loop $list_img1 $list_img1_1}-->
<div class="list_img1 cl">
<a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" style="background-image:url({if $list_img1_1[remote] == 0}{eval echo(getforumimg($list_img1_1['aid'],0,230,150))}{else}{$_G['setting']['ftp']['attachurl']}forum/{$list_img1_1[attachment]}{/if});"></a>
</div>
<!--{/loop}-->
<!--{elseif $img_number > 2}-->
<ul class="list_img3 cl">
<!--{loop $list_img1 $list_img1_1}-->
<li>
<a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" style="background-image:url({if $list_img1_1[remote] == 0}{eval echo(getforumimg($list_img1_1['aid'],0,230,150))}{else}{$_G['setting']['ftp']['attachurl']}forum/{$list_img1_1[attachment]}{/if});"></a>
</li>
<!--{/loop}-->
</ul>
<!--{/if}-->
<div class="list_bottom cl">
<!--{if $thread['authorid'] && $thread['author']}-->
<a href="home.php?mod=space&uid=$thread[authorid]&do=profile" class="z">{$thread[author]}</a>
<!--{else}-->
<a href="javascript:;" class="z">{$_G[setting][anonymoustext]}</a>
<!--{/if}-->
<em class="z">&nbsp;&nbsp;&nbsp;{$thread[dateline]}&nbsp;&nbsp;</em>
<span class="y">
<img src="{$_G['style']['styleimgdir']}/forum_posts.png" alt="回复数"/>{$thread[allreplies]}
</span>
<span class="y">
<img src="{$_G['style']['styleimgdir']}/chakan.png" alt="查看数"/>{$thread[views]}&nbsp;&nbsp;
</span>
</div>
</li>
<!--{/loop}-->
</ul>
<!--{if $_G['forum']['threads'] > 10}-->
<div class="load_more_button">
<a href="forum.php?mod=forumdisplay&action=list&fid=$_G[fid]">{lang click_to_readmore}</a>
</div>
<!--{/if}-->
<!--{else}-->
<div class="home_no_data">{lang forum_nothreads}</div>
<!--{/if}-->
<!--{/if}-->

View File

@@ -0,0 +1 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>

View File

@@ -0,0 +1,117 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<style type="text/css">
.group_index_new{ padding: .1rem; background: #fff;}
.group_index_new .z{ line-height: .2rem; padding: .02rem .06rem .02rem .03rem; font-size: .13rem; background: $_G['style']['zhuti']; color: #fff; border-radius: .04rem;}
.group_index_new .z img{ height: .14rem; margin: .03rem; vertical-align: top;}
.group_index_new .y{ line-height: .24rem; font-size: .14rem;}
.threadlist.byg_threadlist{ margin: 0;}
<!--{if $_G['style']['liebiaotu'] == "on"}-->
.list_img1_box .list_top{ float: left; width: 2.32rem; height: .44rem; margin-bottom: .06rem; padding-right: 0; overflow: hidden;}
.list_img1_box .list_img1{ float: right; width: 1.15rem; padding: .1rem .1rem .1rem 0;}
.list_img1_box .list_img1 a{ width: 100%; height: .76rem; padding: 0; border-radius: .04rem; overflow: hidden; display: block; background-position: center center; background-repeat: no-repeat; background-size: cover; -webkit-background-size: cover;}
.list_img1_box .list_bottom{ float: left; width: 2.28rem; margin-right: 0;}
<!--{/if}-->
</style>
<div class="group_index_new cl">
<a href="forum.php?mod=post&action=newthread&fid=$_G[fid]" class="z"><img src="{$_G['style']['styleimgdir']}/fatie.png" alt="{lang send_posts}" />{lang send_posts}</a>
<a href="forum.php?mod=group&fid=$_G[fid]" class="y">{lang return_index}&rsaquo;</a>
</div>
<!--{if $_G['forum']['threadtypes']}-->
<div class="byg_thread_types">
<ul id="thread_types" class="swiper-wrapper">
<li id="ttp_all" class="swiper-slide{if !$_GET['typeid']} a{/if}"><a href="forum.php?mod=forumdisplay&action=list&fid=$_G[fid]">{lang forum_viewall}</a></li>
<!--{loop $_G['forum']['threadtypes']['types'] $id $name}-->
<li class="swiper-slide{if $_GET['typeid'] == $id} a{/if}"><a href="forum.php?mod=forumdisplay&action=list&fid=$_G[fid]{if $_GET['typeid'] != $id}&filter=typeid&typeid=$id$forumdisplayadd[typeid]{/if}">$name</a></li>
<!--{/loop}-->
</ul>
</div>
<link rel="stylesheet" type="text/css" href="{$_G['style']['styleimgdir']}/swiper.min.css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<script type="text/javascript">
if(jQuery(".byg_thread_types .a").length > 0) {
var tab_initial = jQuery(".byg_thread_types .a").offset().left + jQuery(".byg_thread_types .a").width() + 20 >= jQuery(window).width() ? jQuery(".byg_thread_types .a").index() : 0;
}else{
var tab_initial = 0;
}
var byg_thread_types = new Swiper('.byg_thread_types', {
initialSlide : tab_initial,
slidesPerView : 'auto',
freeMode : true,
});
</script>
<!--{/if}-->
<!--{if $_G['forum_threadcount']}-->
<!--{eval require_once(DISCUZ_ROOT.'./template/bygsjw_sj/touch/php/function_bygsjw.php');}-->
<ul class="threadlist byg_threadlist">
<!--{loop $_G['forum_threadlist'] $key $thread}-->
<!--{eval}-->
if ($_G['style']['liebiaotu'] == "on") {
$list_img1 = byg_threadlist_img($thread['tid'], $thread['authorid'], 3);
$img_number = count($list_img1);
}
<!--{/eval}-->
<li class="cl{if $img_number == 1 || $img_number == 2} list_img1_box{/if}">
<!--{hook/forumdisplay_thread_mobile $key}-->
<div class="list_top cl">
<a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" $thread[highlight] class="over_two">
<!--{if $thread[folder] == 'lock'}-->
<img src="{IMGDIR}/folder_lock.gif" alt="锁定" />
<!--{elseif $thread['special'] == 1}-->
<img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" />
<!--{elseif $thread['special'] == 2}-->
<img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" />
<!--{elseif $thread['special'] == 3}-->
<img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" />
<!--{elseif $thread['special'] == 4}-->
<img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" />
<!--{elseif $thread['special'] == 5}-->
<img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" />
<!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
<img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="$_G[setting][threadsticky][3-$thread[displayorder]]" />
<!--{else}-->
<img src="{IMGDIR}/folder_$thread[folder].gif" alt="普通" />
<!--{/if}-->
<!--{eval preg_match("/<a href=\"(.*?)\".*?>(.*?)<\/a>/i", $thread['typehtml'], $thread_typehtml);}-->
<!--{if $thread_typehtml['2']}--><span class="list_typename">{$thread_typehtml['2']}</span><!--{/if}-->
{$thread[subject]}</a>
</div>
<!--{if $img_number == 1 || $img_number == 2}-->
<!--{eval $list_img1 = array_slice($list_img1,0,1);}-->
<!--{loop $list_img1 $list_img1_1}-->
<div class="list_img1 cl">
<a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" style="background-image:url({if $list_img1_1[remote] == 0}{eval echo(getforumimg($list_img1_1['aid'],0,230,150))}{else}{$_G['setting']['ftp']['attachurl']}forum/{$list_img1_1[attachment]}{/if});"></a>
</div>
<!--{/loop}-->
<!--{elseif $img_number > 2}-->
<ul class="list_img3 cl">
<!--{loop $list_img1 $list_img1_1}-->
<li>
<a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" style="background-image:url({if $list_img1_1[remote] == 0}{eval echo(getforumimg($list_img1_1['aid'],0,230,150))}{else}{$_G['setting']['ftp']['attachurl']}forum/{$list_img1_1[attachment]}{/if});"></a>
</li>
<!--{/loop}-->
</ul>
<!--{/if}-->
<div class="list_bottom cl">
<!--{if $thread['authorid'] && $thread['author']}-->
<a href="home.php?mod=space&uid=$thread[authorid]&do=profile" class="z">{$thread[author]}</a>
<!--{else}-->
<a href="javascript:;" class="z">{$_G[setting][anonymoustext]}</a>
<!--{/if}-->
<em class="z">&nbsp;&nbsp;&nbsp;{$thread[dateline]}&nbsp;&nbsp;</em>
<span class="y">
<img src="{$_G['style']['styleimgdir']}/forum_posts.png" alt="回复数"/>{$thread[allreplies]}
</span>
<span class="y">
<img src="{$_G['style']['styleimgdir']}/chakan.png" alt="查看数"/>{$thread[views]}&nbsp;&nbsp;
</span>
</div>
</li>
<!--{/loop}-->
</ul>
{$multipage}
<!--{else}-->
<div class="home_no_data">{lang forum_nothreads}</div>
<!--{/if}-->

View File

@@ -0,0 +1,420 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<style type="text/css">
.byg_thread_types{ border-bottom: 1px solid #eee;}
.byg_group_box{ margin: .1rem 0; padding: 0 .1rem; background: #fff;}
.byg_group_box_h2{ height: .42rem; margin-bottom: .01rem; border-bottom: .01rem solid #eee;}
.byg_group_box_h2 h2{ display: inline-block; height: .3rem; line-height: .3rem; padding: .07rem .04rem .04rem; font-size: .15rem; font-weight: 700; border-bottom: .02rem solid $_G['style']['zhuti'];}
.group_manage_group{ background: #fff;}
.group_manage_group table{ table-layout: fixed; width: 100%; overflow: hidden; font-size: .14rem;}
.group_manage_group tr{ width: 100%; line-height: .2rem; border-bottom: 1px solid #eee;}
.group_manage_group th{ width: .7rem; padding: .1rem; background: #fcfcfc; color: #666;}
.group_manage_group td{ padding: .1rem; border-left: 1px solid #eee;}
.group_manage_group .input_text{ height: .2rem; line-height: .2rem; padding: .02rem .05rem; border: 1px solid #eaeaea; border-radius: .04rem; vertical-align: top; font-size: .14rem; color: #444;}
.group_manage_group select{ padding: .02rem; background-color: #fff; border-color: #eaeaea; color: #444; font-size: .14rem; border-radius: .04rem;}
.group_manage_group .input_textarea{ width: 96%; padding: .02rem 2%; font-size: .14rem; border: 0; box-shadow: 0 0 0 1px #eee; color: #444; vertical-align: top;}
.group_manage_group label{ display: block; margin: .02rem; font-size: .14rem;}
.group_manage_group .input_text2{ width: .5rem; height: .14rem; line-height: .14rem; margin: 0 .02rem; padding: .02rem .05rem; border: 1px solid #eaeaea; border-radius: .04rem; vertical-align: top; font-size: .13rem; color: #444;}
.group_manage_group .input_text2_p{ line-height: 1.3; margin-top: .05rem; font-size: .12rem; color: #999;}
.group_manage_group_smt{ padding: .11rem;}
.group_manage_group_smt button{ width: 100%; height: .4rem; line-height: .4rem; border-radius: .06rem; font-size: .16rem; display: block; text-align: center;}
.group_manage_checkuser_t{ padding: .08rem .1rem; background: #fff; font-size: .14rem;}
.group_manage_checkuser_t .pipe{ margin: 0 .08rem 0 .12rem; color: #ccc;}
.group_manage_checkuser dl{ position: relative; padding: .11rem 0; border-top: 1px solid #eee; background: #fff;}
.group_manage_checkuser .z img{ margin: 0 .1rem; width: .4rem; height: .4rem; vertical-align: top; border-radius: 50%;}
.group_manage_checkuser dt{ line-height: .22rem; padding-right: 1.1rem; font-size: .15rem;}
.group_manage_checkuser dt p{ line-height: .18rem; font-size: .12rem;}
.group_manage_checkuser .b{ position: absolute; right: .11rem; top: .21rem; line-height: .2rem;}
.group_manage_checkuser .b button{ padding: .01rem .06rem; vertical-align: top; font-size: .12rem;}
.group_manage_manageuser_search{ margin-bottom: .1rem; padding: .12rem .1rem; background: #fff;}
.group_manage_manageuser_search .z{ width: 2.8rem; padding: .04rem .08rem; line-height: .22rem; border: .01rem solid #eaeaea; color: #444; font-size: .14rem; border-radius: .04rem;}
.group_manage_manageuser_search .y{ line-height: .32rem; padding: 0 .1rem; border-radius: .04rem;}
.group_manage_manageuser_list li{ position: relative; display: block; padding: .12rem .3rem .12rem 0; line-height: .3rem; border-bottom: 1px dashed #eaeaea; background: #fff; background-size: .16rem; font-size: .15rem;}
.group_manage_manageuser_list a img{ margin: 0 .05rem 0 .03rem; height: .3rem; width: .3rem; vertical-align: top; border-radius: 50%;}
.group_manage_manageuser_list a span{ display: inline-block; line-height: .18rem; margin: .06rem .04rem; padding: 0 .05rem; background: $_G['style']['zhuti']; color: #fff; font-size: .12rem; border-radius: .04rem;}
.group_manage_manageuser_list input{ position: absolute; top: .21rem; right: .08rem;}
.group_manage_manageuser_b{ margin: .1rem 0; padding: .1rem .05rem; background: #fff; text-align: center;}
.group_manage_manageuser_b button{ line-height: .2rem; margin: .04rem 0; padding: .02rem .06rem; font-size: .12rem; vertical-align: top; border-radius: .04rem;}
.group_manage_group .threadtype_turn_on th{ width: .95rem;}
.threadtypes_manage h2{ display: block; padding: .1rem; font-size: .15rem; font-weight: 700; border-bottom: 1px solid #eee;}
.threadtypes_manage .threadtypes_manage_th{ width: .1rem; border-right: 1px solid #eee;}
.threadtypes_manage tr td:first-child{ border-left: 0;}
.threadtypes_manage .px{ height: .2rem; line-height: .2rem; padding: .02rem .05rem; border: 1px solid #eaeaea; border-radius: .04rem; vertical-align: top; font-size: .14rem; color: #444;}
.group_manage_demise{ padding-top: .12rem; background: #fff;}
.group_manage_demise .tbmu{ line-height: 1.5; margin: 0 .1rem; padding: .1rem; border: 1px dashed #eee; background: #ffe; border-radius: .02rem; font-size: .13rem; color: #666;}
.group_manage_demise .tbmu h2{ line-height: 1.6; font-size: .14rem; font-weight: 700;}
.group_manage_demise .byg_group_box{ margin: 0;}
.group_manage_demise_password{ line-height: .26rem; margin: .15rem .12rem .05rem; font-size: .14rem;}
.group_manage_demise_password input{ height: .2rem; line-height: .2rem; padding: .02rem .05rem; border: 1px solid #eaeaea; border-radius: .04rem; vertical-align: top;}
</style>
<div class="byg_thread_types">
<ul id="thread_types" class="swiper-wrapper">
<li id="ttp_all" class="swiper-slide{if $_GET['op'] == 'group'} a{/if}"><a href="forum.php?mod=group&action=manage&op=group&fid=$_G[fid]">{lang group_setup}</a></li>
<!--{if !empty($groupmanagers[$_G[uid]]) || $_G['adminid'] == 1}-->
<li class="swiper-slide{if $_GET['op'] == 'checkuser'} a{/if}"><a href="forum.php?mod=group&action=manage&op=checkuser&fid=$_G[fid]">{lang group_member_moderate}</a></li>
<li class="swiper-slide{if $_GET['op'] == 'manageuser'} a{/if}"><a href="forum.php?mod=group&action=manage&op=manageuser&fid=$_G[fid]">{lang group_member_management}</a></li>
<!--{/if}-->
<!--{if $_G['forum']['founderuid'] == $_G['uid'] || $_G['adminid'] == 1}-->
<li class="swiper-slide{if $_GET['op'] == 'threadtype'} a{/if}"><a href="forum.php?mod=group&action=manage&op=threadtype&fid=$_G[fid]">{lang group_threadtype}</a></li>
<li class="swiper-slide{if $_GET['op'] == 'demise'} a{/if}"><a href="forum.php?mod=group&action=manage&op=demise&fid=$_G[fid]">{lang group_demise}</a></li>
<!--{/if}-->
</ul>
</div>
<link rel="stylesheet" type="text/css" href="{$_G['style']['styleimgdir']}/swiper.min.css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<script type="text/javascript">
if(jQuery(".byg_thread_types .a").length > 0) {
var tab_initial = jQuery(".byg_thread_types .a").offset().left + jQuery(".byg_thread_types .a").width() + 20 >= jQuery(window).width() ? jQuery(".byg_thread_types .a").index() : 0;
}else{
var tab_initial = 0;
}
var byg_thread_types = new Swiper('.byg_thread_types', {
initialSlide : tab_initial,
slidesPerView : 'auto',
freeMode : true,
});
</script>
<!--{if $_GET['op'] == 'group'}-->
<div class="group_manage_group">
<form enctype="multipart/form-data" action="forum.php?mod=group&action=manage&op=group&fid=$_G[fid]" name="manage" method="post" autocomplete="off">
<input type="hidden" value="{FORMHASH}" name="formhash" />
<table cellspacing="0" cellpadding="0" summary="{lang group_admin_panel}">
<tbody>
<!--{if !empty($specialswitch['allowchangename']) && ($_G['uid'] == $_G['forum']['founderuid'] || $_G['adminid'] == 1)}-->
<tr>
<th><span class="rq">*</span>{lang group_name}:</th>
<td><input type="text" id="name" name="name" class="input_text" size="" tabindex="1" value="$_G[forum][name]" autocomplete="off" tabindex="1" /></td>
</tr>
<!--{/if}-->
<!--{if !empty($specialswitch['allowchangetype']) && ($_G['uid'] == $_G['forum']['founderuid'] || $_G['adminid'] == 1)}-->
<tr>
<th><span class="rq">*</span>{lang group_category}:</th>
<td>
<select name="parentid" tabindex="2" class="" onchange="ajax_groupselect(this.value);">
$groupselect[first]
</select>
<em id="secondgroup"><!--{if $groupselect['second']}--><select id="fup" name="fup" class="" >$groupselect[second]</select><!--{/if}--></em>
</td>
</tr>
<!--{/if}-->
<tr>
<th>{lang group_description}:</th>
<td>
<div class="tedt">
<div class="area">
<textarea id="descriptionmessage" name="descriptionnew" class="input_textarea" rows="5">$_G[forum][descriptionnew]</textarea>
</div>
</div>
</td>
</tr>
<tr>
<th>{lang group_perm_visit}:</th>
<td>
<label class=""><input type="radio" name="gviewpermnew" class="pr" value="1" $gviewpermselect[1] />{lang group_perm_all_user}</label>
<label class=""><input type="radio" name="gviewpermnew" class="pr" value="0" $gviewpermselect[0] />{lang group_perm_member_only}</label>
</td>
</tr>
<tr>
<th>{lang group_join_type}:</th>
<td>
<label class=""><input type="radio" name="jointypenew" class="pr" value="0" $jointypeselect[0] />{lang group_join_type_free}</label>
<label class=""><input type="radio" name="jointypenew" class="pr" value="2" $jointypeselect[2] />{lang group_join_type_moderate}</label>
<label class=""><input type="radio" name="jointypenew" class="pr" value="1" $jointypeselect[1] />{lang group_join_type_invite}</label>
<!--{if !empty($specialswitch['allowclosegroup'])}-->
<label class=""><input type="radio" name="jointypenew" class="pr" value="-1" $jointypeselect[-1] />{lang close}</label>
<p class="input_text2_p">{lang group_close_notice}</p>
<!--{/if}-->
</td>
</tr>
<!--{if $_G['setting']['allowgroupdomain'] && !empty($_G['setting']['domain']['root']['group']) && $domainlength}-->
<tr>
<th>{lang subdomain}:</th>
<td>
http://<input type="text" name="domain" class="input_text2" value="$_G[forum][domain]" />.{$_G['setting']['domain']['root']['group']}
<p class="input_text2_p">
{lang group_domain_message}<br/>
<!--{if $_G[forum][domain] && $consume}-->{lang group_edit_domain_message}<!--{/if}-->
</p>
</td>
</tr>
<!--{/if}-->
<tr>
<th>{lang group_icon}:</th>
<td>
<input type="file" id="iconnew" class="" size="" name="iconnew" />
<p class="input_text2_p" style="margin: .08rem 0;">
{lang group_icon_resize}
<!--{if $_G[setting][group_imgsizelimit]}-->
<br/>{lang group_image_filesize_limit}
<!--{/if}-->
</p>
<!--{if $_G['forum']['icon']}-->
<img width="48" height="48" alt="" class="vm" src="$_G[forum][icon]?{TIMESTAMP}" />
<!--{/if}-->
</td>
</tr>
</tbody>
</table>
<div class="group_manage_group_smt">
<button type="submit" name="groupmanage" value="1">{lang submit}</button>
</div>
</form>
<script type="text/javascript">
function ajax_groupselect(obj) {
jQuery.ajax({
url: 'forum.php?mod=ajax&action=secondgroup&fupid='+ obj + '&inajax=1',
type: 'POST',
dataType: 'xml',
success: function(s) {
jQuery('#secondgroup').html(s.lastChild.firstChild.nodeValue);
}
});
}
</script>
</div>
<!--{elseif $_GET['op'] == 'checkuser'}-->
<!--{if $checkusers}-->
<p class="group_manage_checkuser_t cl">
<span class="y">
<a href="forum.php?mod=group&action=manage&op=checkuser&fid=$_G[fid]&checkall=1">{lang pass_all}</a><span class="pipe">|</span><a href="forum.php?mod=group&action=manage&op=checkuser&fid=$_G[fid]&checkall=2">{lang ignore_all}</a>
</span>
</p>
<div class="group_manage_checkuser">
<!--{loop $checkusers $uid $user}-->
<dl class="cl">
<dd class="z"><!--{echo avatar($user['uid'], 'middle')}--></dd>
<dt>
<a href="home.php?mod=space&uid=$user[uid]&do=profile">$user[username]</a>
<p class="xg1">$user['joindateline']</p>
</dt>
<dd class="b">
<button type="submit" name="checkusertrue" class="" value="true" onclick="location.href='forum.php?mod=group&action=manage&op=checkuser&fid=$_G[fid]&uid=$user[uid]&checktype=1'"><em>{lang pass}</em></button> &nbsp; <button type="submit" name="checkuserfalse" class="" value="true" onclick="location.href='forum.php?mod=group&action=manage&op=checkuser&fid=$_G[fid]&uid=$user[uid]&checktype=2'"><em>{lang ignore}</em></button>
</dd>
</dl>
<!--{/loop}-->
</div>
<!--{if $multipage}-->$multipage<!--{/if}-->
<!--{else}-->
<p class="home_no_data" style="margin:0;">{lang group_no_member_moderated}</p>
<!--{/if}-->
<!--{elseif $_GET['op'] == 'manageuser'}-->
<script type="text/javascript">
function groupManageUser(targetlevel_val) {
document.getElementById('targetlevel').value = targetlevel_val;
document.getElementById('manageuser').submit();
}
</script>
<div class="group_manage_manageuser_search">
<form action="forum.php?mod=group&action=manage&op=manageuser&fid=$_G[fid]" method="post" class="cl">
<input type="text" value="{if $_GET['srchuser']}$_GET[srchuser]{/if}" name="srchuser" placeholder="{lang enter_member_user}" class="z" id="groupsearch">&nbsp;
<button class="y" type="submit"><span>{lang search}</span></button>
</form>
</div>
<form action="forum.php?mod=group&action=manage&op=manageuser&fid=$_G[fid]&manageuser=true" name="manageuser" id="manageuser" method="post" autocomplete="off" class="">
<input type="hidden" value="{FORMHASH}" name="formhash" />
<input type="hidden" value="0" name="targetlevel" id="targetlevel" />
<!--{if $adminuserlist}-->
<div class="byg_group_box">
<div class="byg_group_box_h2 cl">
<h2>{lang group_admin_member}</h2>
</div>
<div class="group_manage_manageuser_list">
<ul class="cl">
<!--{loop $adminuserlist $user}-->
<li>
<a href="home.php?mod=space&uid=$user[uid]&do=profile"><img src="<!--{avatar($user['uid'], 'middle', true)}-->" alt="$user[username]" />{$user[username]}<!--{if $user['level'] == 1}--><span>{lang group_moderator_title}</span><!--{elseif $user['level'] == 2}--><span>{lang group_moderator_vice_title}</span><!--{/if}--></a>
<!--{if $_G['adminid'] == 1 || ($_G['uid'] != $user['uid'] && ($_G['uid'] == $_G['forum']['founderuid'] || $user['level'] > $groupuser['level']))}--><input type="checkbox" class="" name="muid[{$user[uid]}]" value="$user[level]" /><!--{/if}-->
</li>
<!--{/loop}-->
</ul>
</div>
</div>
<!--{/if}-->
<!--{if $staruserlist || $userlist}-->
<div class="byg_group_box">
<div class="byg_group_box_h2 cl">
<h2>{lang member}</h2>
</div>
<div class="group_manage_manageuser_list">
<ul class="cl">
<!--{if $staruserlist}-->
<!--{loop $staruserlist $user}-->
<li>
<a href="home.php?mod=space&uid=$user[uid]&do=profile"><img src="<!--{avatar($user['uid'], 'middle', true)}-->" alt="$user[username]" />{$user[username]}<span>{lang group_star_member_title}</span></a>
<!--{if $_G['adminid'] == 1 || $user['level'] > $groupuser['level']}--><input type="checkbox" class="" name="muid[{$user[uid]}]" value="$user[level]" /><!--{/if}-->
</li>
<!--{/loop}-->
<!--{/if}-->
<!--{if $userlist}-->
<!--{loop $userlist $user}-->
<li>
<a href="home.php?mod=space&uid=$user[uid]&do=profile"><img src="<!--{avatar($user['uid'], 'middle', true)}-->" alt="$user[username]" />{$user[username]}</a>
<!--{if $_G['adminid'] == 1 || $user['level'] > $groupuser['level']}--><input type="checkbox" class="" name="muid[{$user[uid]}]" value="$user[level]" /><!--{/if}-->
</li>
<!--{/loop}-->
<!--{/if}-->
</ul>
</div>
</div>
<!--{/if}-->
<div class="cl group_manage_manageuser_b">
<!--{loop $mtype $key $name}-->
<!--{if $_G['forum']['founderuid'] == $_G['uid'] || $key > $groupuser['level'] || $_G['adminid'] == 1}-->
<button type="button" name="manageuser" value="true" class="pn" onclick="groupManageUser('{$key}')"><span>$name</span></button>
<!--{/if}-->
<!--{/loop}-->
</div>
<!--{if $multipage}-->$multipage<!--{/if}-->
</form>
<!--{elseif $_GET['op'] == 'threadtype'}-->
<!--{if empty($specialswitch['allowthreadtype'])}-->
<p class="home_no_data" style="margin:0;">{lang group_level_cannot_do}</p>
<!--{else}-->
<script type="text/JavaScript">
var rowtypedata = [
[
[1,'<input type="checkbox" class="pc" disabled="disabled" />', ''],
[1,'<input type="checkbox" class="pc" name="newenable[]" checked="checked" value="1" />', ''],
[1,'<input class="px" type="text" size="2" name="newdisplayorder[]" value="0" />'],
[1,'<input class="px" type="text" name="newname[]" />']
],
];
var addrowdirect = 0;
var typenumlimit = $typenumlimit;
function addrow(obj, type) {
var table = obj.parentNode.parentNode.parentNode.parentNode;
if(typenumlimit <= obj.parentNode.parentNode.parentNode.rowIndex - 1) {
alert('{lang group_threadtype_limit_1}'+typenumlimit+'{lang group_threadtype_limit_2}');
return false;
}
if(!addrowdirect) {
var row = table.insertRow(obj.parentNode.parentNode.parentNode.rowIndex);
} else {
var row = table.insertRow(obj.parentNode.parentNode.parentNode.rowIndex + 1);
}
var typedata = rowtypedata[type];
for(var i = 0; i <= typedata.length - 1; i++) {
var cell = row.insertCell(i);
cell.colSpan = typedata[i][0];
var tmp = typedata[i][1];
if(typedata[i][2]) {
cell.className = typedata[i][2];
}
tmp = tmp.replace(/\{(\d+)\}/g, function($1, $2) {return addrow.arguments[parseInt($2) + 1];});
cell.innerHTML = tmp;
}
addrowdirect = 0;
}
</script>
<div id="threadtypes" class="group_manage_group">
<form id="threadtypeform" action="forum.php?mod=group&action=manage&op=threadtype&fid=$_G[fid]" autocomplete="off" method="post" name="threadtypeform">
<input type="hidden" value="{FORMHASH}" name="formhash" />
<div class="threadtype_turn_on">
<table cellspacing="0" cellpadding="0">
<tr>
<th>{lang threadtype_turn_on}:</th>
<td>
<label class="lb"><input type="radio" name="threadtypesnew[status]" class="pr" value="1" onclick="document.getElementById('threadtypes_config').style.display = '';document.getElementById('threadtypes_manage').style.display = '';" $checkeds[status][1] />{lang yes}</label>
<label class="lb"><input type="radio" name="threadtypesnew[status]" class="pr" value="0" onclick="document.getElementById('threadtypes_config').style.display = 'none';document.getElementById('threadtypes_manage').style.display = 'none';" $checkeds[status][0] />{lang no}</label>
<p class="input_text2_p">{lang threadtype_turn_on_comment}</p>
</td>
</tr>
<tbody id="threadtypes_config" style="display: $display">
<tr>
<th>{lang threadtype_required}:</th>
<td>
<label class="lb"><input type="radio" name="threadtypesnew[required]" class="pr" value="1" $checkeds[required][1] />{lang yes}</label>
<label class="lb"><input type="radio" name="threadtypesnew[required]" class="pr" value="0" $checkeds[required][0] />{lang no}</label>
<p class="input_text2_p">{lang threadtype_required_force}</p>
</td>
</tr>
<tr>
<th>{lang threadtype_prefix}:</th>
<td>
<label class="lb"><input type="radio" name="threadtypesnew[prefix]" class="pr" value="0" $checkeds[prefix][0] />{lang threadtype_prefix_off}</label>
<label class="lb"><input type="radio" name="threadtypesnew[prefix]" class="pr" value="1" $checkeds[prefix][1] />{lang threadtype_prefix_on}</label>
<p class="input_text2_p">{lang threadtype_prefix_comment}</p>
</td>
</tr>
</tbody>
</table>
</div>
<div id="threadtypes_manage" class="threadtypes_manage" style="display: $display">
<h2>{lang threadtype}</h2>
<table cellspacing="0" cellpadding="0" class="dt">
<thead>
<tr>
<th class="threadtypes_manage_th">{lang delete}</th>
<th class="threadtypes_manage_th">{lang enable}</th>
<th class="threadtypes_manage_th">{lang displayorder}</th>
<th>{lang threadtype_name}</th>
</tr>
</thead>
<!--{if $threadtypes}-->
<!--{loop $threadtypes $val}-->
<tbody>
<tr>
<td><input type="checkbox" class="pc" name="threadtypesnew[options][delete][]" value="{$val[typeid]}" /></td>
<td><input type="checkbox" class="pc" name="threadtypesnew[options][enable][{$val[typeid]}]" value="1" class="pc" $val[enablechecked] /></td>
<td><input type="text" name="threadtypesnew[options][displayorder][{$val[typeid]}]" class="px" size="2" value="$val[displayorder]" /></td>
<td><input type="text" name="threadtypesnew[options][name][{$val[typeid]}]" class="px" value="$val[name]" /></td>
</tr>
</tbody>
<!--{/loop}-->
<!--{/if}-->
<tr>
<td colspan="4"><img class="vm" src="{IMGDIR}/addicn.gif" /> <a href="javascript:;" onclick="addrow(this, 0)">{lang threadtype_add}</a></td>
</tr>
</table>
</div>
<div class="group_manage_group_smt">
<button type="submit" name="groupthreadtype" value="1">{lang submit}</button>
</div>
</form>
</div>
<!--{/if}-->
<!--{elseif $_GET['op'] == 'demise'}-->
<!--{if $groupmanagers}-->
<div class="group_manage_demise">
<div class="tbmu">
{lang group_demise_comment}
<div class="mtm">{lang group_demise_notice}</div>
</div>
<form action="forum.php?mod=group&action=manage&op=demise&fid=$_G[fid]" name="groupdemise" method="post" class="exfm">
<input type="hidden" value="{FORMHASH}" name="formhash" />
<div class="byg_group_box">
<div class="byg_group_box_h2 cl">
<h2>{lang transfer_group_to}:</h2>
</div>
<div class="group_manage_manageuser_list">
<ul class="cl">
<!--{loop $groupmanagers $user}-->
<li>
<a href="home.php?mod=space&uid=$user[uid]&do=profile"><img src="<!--{avatar($user['uid'], 'middle', true)}-->" alt="$user[username]" />{$user[username]}<!--{if $user['level'] == 1}--><span>{lang group_moderator_title}</span><!--{elseif $user['level'] == 2}--><span>{lang group_moderator_vice_title}</span><!--{/if}--></a>
<!--{if $user['uid'] != $_G['uid']}--><input type="radio" name="suid" value="$user[uid]" /><!--{/if}-->
</li>
<!--{/loop}-->
</ul>
</div>
</div>
<div class="group_manage_demise_password">
<span>{lang group_input_password}</span>
<input type="password" name="grouppwd" />
</div>
<div class="group_manage_group_smt">
<button type="submit" name="groupdemise" value="1">{lang submit}</button>
</div>
</form>
</div>
<!--{else}-->
<p class="home_no_data" style="margin:0;">{lang group_no_admin_member}</p>
<!--{/if}-->
<!--{/if}-->

View File

@@ -0,0 +1,55 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{if $op == 'alluser'}-->
<style type="text/css">
.byg_group_box{ margin: .1rem 0; padding: 0 .1rem; background: #fff;}
.byg_group_box_h2{ height: .42rem; margin-bottom: .01rem; border-bottom: .01rem solid #eee;}
.byg_group_box_h2 h2{ display: inline-block; height: .3rem; line-height: .3rem; padding: .07rem .04rem .04rem; font-size: .15rem; font-weight: 700; border-bottom: .02rem solid $_G['style']['zhuti'];}
.group_memberlist_admin a{ display: block; padding: .12rem .3rem .12rem 0; line-height: .3rem; border-bottom: 1px dashed #eaeaea; background: #fff url({$_G['style']['styleimgdir']}/jinru.png) no-repeat right center; background-size: .16rem; font-size: .15rem;}
.group_memberlist_admin a img{ margin: 0 .05rem 0 .03rem; height: .3rem; width: .3rem; vertical-align: top; border-radius: 50%;}
.group_memberlist_admin a span{ display: inline-block; line-height: .18rem; margin: .06rem .04rem; padding: 0 .05rem; background: $_G['style']['zhuti']; color: #fff; font-size: .12rem; border-radius: .04rem;}
</style>
<!--{if $adminuserlist}-->
<div class="byg_group_box">
<div class="byg_group_box_h2 cl">
<h2>{lang group_admin_member}</h2>
</div>
<div class="group_memberlist_admin">
<ul class="cl">
<!--{loop $adminuserlist $user}-->
<li>
<a href="home.php?mod=space&uid=$user[uid]&do=profile"><img src="<!--{avatar($user['uid'], 'middle', true)}-->" alt="$user[username]" />{$user[username]}<!--{if $user['level'] == 1}--><span>{lang group_moderator_title}</span><!--{elseif $user['level'] == 2}--><span>{lang group_moderator_vice_title}</span><!--{/if}--></a>
</li>
<!--{/loop}-->
</ul>
</div>
</div>
<!--{/if}-->
<!--{if $staruserlist || $alluserlist}-->
<div class="byg_group_box">
<div class="byg_group_box_h2 cl">
<h2>{lang member}</h2>
</div>
<div class="group_memberlist_admin">
<ul class="cl">
<!--{if $staruserlist}-->
<!--{loop $staruserlist $user}-->
<li>
<a href="home.php?mod=space&uid=$user[uid]&do=profile"><img src="<!--{avatar($user['uid'], 'middle', true)}-->" alt="$user[username]" />{$user[username]}<span>{lang group_star_member_title}</span></a>
</li>
<!--{/loop}-->
<!--{/if}-->
<!--{if $alluserlist}-->
<!--{loop $alluserlist $user}-->
<li>
<a href="home.php?mod=space&uid=$user[uid]&do=profile"><img src="<!--{avatar($user['uid'], 'middle', true)}-->" alt="$user[username]" />{$user[username]}</a>
</li>
<!--{/loop}-->
<!--{/if}-->
</ul>
</div>
</div>
<!--{/if}-->
<!--{if $multipage}-->$multipage<!--{/if}-->
<!--{/if}-->

View File

@@ -0,0 +1,245 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!--{eval require_once(DISCUZ_ROOT.'./template/bygsjw_sj/touch/php/function_bygsjw.php');}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="group.php?mod=index">{$_G[setting][navs][3][navname]}</a>
<em>&rsaquo;</em>
<a href="group.php?mod=my">{$_G[username]}{lang somebody_group}</a>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y"><img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<style type="text/css">
.forumdisplay_tab{ margin: 0; border: 0;}
.byg_group_box{ margin: .1rem 0; padding: 0 .1rem; background: #fff;}
.byg_group_box_h2{ height: .42rem; margin-bottom: .01rem; border-bottom: .01rem solid #eee;}
.byg_group_box_h2 h2{ display: inline-block; height: .3rem; line-height: .3rem; padding: .07rem .04rem .04rem; font-size: .15rem; font-weight: 700; border-bottom: .02rem solid $_G['style']['zhuti'];}
.byg_group_box_h2 .y{ height: .42rem; line-height: .42rem; font-size: .13rem;}
.byg_group_box .byg_threadlist{ margin: 0;}
.byg_group_box .threadlist li{ margin: 0; border-bottom: 1px solid #f1f1f1;}
.byg_group_box .threadlist .list_top{ padding: .1rem 0 .04rem;}
.byg_group_box .threadlist .list_img3{ padding-left: 0; width: 3.62rem;}
.byg_group_box .list_bottom{ margin: 0 0 .1rem;}
.byg_group_box .list_bottom .byg_groupname{ line-height: .2rem; padding: 0 .05rem; border: .01rem solid #f1f1f1; border-radius: .02rem; background: #fcfcfc;}
<!--{if $_G['style']['liebiaotu'] == "on"}-->
.list_img1_box .list_top{ float: left; width: 2.32rem; height: .44rem; margin-bottom: .06rem; padding-right: 0; overflow: hidden;}
.list_img1_box .list_img1{ float: right; width: 1.15rem; padding: .1rem 0;}
.list_img1_box .list_img1 a{ width: 100%; height: .76rem; padding: 0; border-radius: .04rem; overflow: hidden; display: block; background-position: center center; background-repeat: no-repeat; background-size: cover; -webkit-background-size: cover;}
.list_img1_box .list_bottom{ float: left; width: 2.28rem;}
<!--{/if}-->
.byg_group_box .home_no_data{ margin: 0;}
.group_my_join_list a{ display: block; padding: .12rem .3rem .12rem 0; line-height: .3rem; border-bottom: 1px dashed #eaeaea; background: #fff url({$_G['style']['styleimgdir']}/jinru.png) no-repeat right center; background-size: .16rem; font-size: .15rem;}
.group_my_join_list img{ margin: 0 .05rem 0 .03rem; height: .3rem; width: .3rem; vertical-align: top; border-radius: .04rem;}
</style>
<div class="forumdisplay_tab">
<div class="swiper-wrapper">
<a href="group.php?mod=attentiongroup" class="swiper-slide">{lang attention_group}</a>
<a href="group.php?mod=my&view=groupthread" class="swiper-slide {if $_GET['view'] == 'groupthread' || !$_GET['view']}on{/if}">{lang group_thread}</a>
<a href="group.php?mod=my&view=mythread" class="swiper-slide {if $_GET['view'] == 'mythread'}on{/if}">{lang my_thread}</a>
<a href="group.php?mod=my&view=join" class="swiper-slide {if $_GET['view'] == 'join'}on{/if}">{lang my_join}</a>
<a href="group.php?mod=my&view=manager" class="swiper-slide {if $_GET['view'] == 'manager'}on{/if}">{lang my_manage}</a>
</div>
</div>
<link rel="stylesheet" type="text/css" href="{$_G['style']['styleimgdir']}/swiper.min.css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<script type="text/javascript">
if(jQuery(".forumdisplay_tab .on").length > 0) {
var tab_initial = jQuery(".forumdisplay_tab .on").offset().left + jQuery(".forumdisplay_tab .on").width() + 20 >= jQuery(window).width() ? jQuery(".forumdisplay_tab .on").index() : 0;
}else{
var tab_initial = 0;
}
var forumdisplay_tab = new Swiper('.forumdisplay_tab', {
initialSlide : tab_initial,
slidesPerView : 'auto',
freeMode : true,
});
</script>
<!--{if $view == 'groupthread' || $view == 'mythread'}-->
<div class="byg_thread_types">
<ul class="swiper-wrapper">
<li id="ttp_all" class="swiper-slide{if empty($typeid)} a{/if}"><a href="group.php?mod=my&view=$view">{lang all}</a></li>
<!--{loop $usergroups['grouptype'] $type}-->
<li class="swiper-slide{if $typeid == $type['fid']} a{/if}"><a href="group.php?mod=my&view=$view{if $typeid != $type['fid']}&typeid=$type[fid]{/if}">$type[name]</a></li>
<!--{/loop}-->
</ul>
</div>
<script type="text/javascript">
if(jQuery(".byg_thread_types .a").length > 0) {
var tab_initial = jQuery(".byg_thread_types .a").offset().left + jQuery(".byg_thread_types .a").width() + 20 >= jQuery(window).width() ? jQuery(".byg_thread_types .a").index() : 0;
}else{
var tab_initial = 0;
}
var byg_thread_types = new Swiper('.byg_thread_types', {
initialSlide : tab_initial,
slidesPerView : 'auto',
freeMode : true,
});
</script>
<!--{if $attentionthread}-->
<!--{loop $attentionthread $groupid $threads}-->
<div class="byg_group_box">
<div class="byg_group_box_h2 cl">
<h2>{$usergroups['groups'][$groupid]}</h2>
<a href="forum.php?mod=group&fid=$groupid" class="y">{lang more}&rsaquo;</a>
</div>
<ul class="threadlist byg_threadlist">
<!--{loop $threads $tid $thread}-->
<!--{eval}-->
if ($_G['style']['liebiaotu'] == "on") {
$thread_authorid = byg_thread_authorid($tid);
$list_img1 = byg_threadlist_img($tid, $thread_authorid, 3);
$img_number = count($list_img1);
}
<!--{/eval}-->
<li class="cl{if $img_number == 1 || $img_number == 2} list_img1_box{/if}">
<div class="list_top cl">
<a href="forum.php?mod=viewthread&tid=$tid" class="over_two">
<!--{if $thread[folder] == 'lock'}-->
<img src="{IMGDIR}/folder_lock.gif" alt="锁定" />
<!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
<img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="$_G[setting][threadsticky][3-$thread[displayorder]]" />
<!--{else}-->
<img src="{IMGDIR}/folder_$thread[folder].gif" alt="普通" />
<!--{/if}-->
{$thread[subject]}</a>
</div>
<!--{if $img_number == 1 || $img_number == 2}-->
<!--{eval $list_img1 = array_slice($list_img1,0,1);}-->
<!--{loop $list_img1 $list_img1_1}-->
<div class="list_img1 cl">
<a href="forum.php?mod=viewthread&tid=$tid" style="background-image:url({if $list_img1_1[remote] == 0}{eval echo(getforumimg($list_img1_1['aid'],0,230,150))}{else}{$_G['setting']['ftp']['attachurl']}forum/{$list_img1_1[attachment]}{/if});"></a>
</div>
<!--{/loop}-->
<!--{elseif $img_number > 2}-->
<ul class="list_img3 cl">
<!--{loop $list_img1 $list_img1_1}-->
<li>
<a href="forum.php?mod=viewthread&tid=$tid" style="background-image:url({if $list_img1_1[remote] == 0}{eval echo(getforumimg($list_img1_1['aid'],0,230,150))}{else}{$_G['setting']['ftp']['attachurl']}forum/{$list_img1_1[attachment]}{/if});"></a>
</li>
<!--{/loop}-->
</ul>
<!--{/if}-->
<div class="list_bottom cl">
<em class="z">{$thread[lastpost]}&nbsp;&nbsp;</em>
<span class="y">
<img src="{$_G['style']['styleimgdir']}/forum_posts.png" alt="回复数"/>{$thread[replies]}
</span>
<span class="y">
<img src="{$_G['style']['styleimgdir']}/chakan.png" alt="查看数"/>{$thread[views]}&nbsp;&nbsp;
</span>
</div>
</li>
<!--{/loop}-->
</ul>
</div>
<!--{/loop}-->
<!--{/if}-->
<div class="byg_group_box">
<div class="byg_group_box_h2 cl">
<h2><!--{if $view == 'groupthread'}-->{lang last_topic_in_group}<!--{else}-->{lang my_last_topic_in_group}<!--{/if}--></h2>
</div>
<!--{if $groupthreadlist}-->
<ul class="threadlist byg_threadlist">
<!--{loop $groupthreadlist $tid $thread}-->
<!--{eval}-->
if ($_G['style']['liebiaotu'] == "on") {
$thread_authorid = byg_thread_authorid($tid);
$list_img1 = byg_threadlist_img($tid, $thread_authorid, 3);
$img_number = count($list_img1);
}
<!--{/eval}-->
<li class="cl{if $img_number == 1 || $img_number == 2} list_img1_box{/if}">
<div class="list_top cl">
<a href="forum.php?mod=viewthread&tid=$tid" class="over_two">
<!--{if $thread[folder] == 'lock'}-->
<img src="{IMGDIR}/folder_lock.gif" alt="锁定" />
<!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
<img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="$_G[setting][threadsticky][3-$thread[displayorder]]" />
<!--{else}-->
<img src="{IMGDIR}/folder_$thread[folder].gif" alt="普通" />
<!--{/if}-->
{$thread[subject]}</a>
</div>
<!--{if $img_number == 1 || $img_number == 2}-->
<!--{eval $list_img1 = array_slice($list_img1,0,1);}-->
<!--{loop $list_img1 $list_img1_1}-->
<div class="list_img1 cl">
<a href="forum.php?mod=viewthread&tid=$tid" style="background-image:url({if $list_img1_1[remote] == 0}{eval echo(getforumimg($list_img1_1['aid'],0,230,150))}{else}{$_G['setting']['ftp']['attachurl']}forum/{$list_img1_1[attachment]}{/if});"></a>
</div>
<!--{/loop}-->
<!--{elseif $img_number > 2}-->
<ul class="list_img3 cl">
<!--{loop $list_img1 $list_img1_1}-->
<li>
<a href="forum.php?mod=viewthread&tid=$tid" style="background-image:url({if $list_img1_1[remote] == 0}{eval echo(getforumimg($list_img1_1['aid'],0,230,150))}{else}{$_G['setting']['ftp']['attachurl']}forum/{$list_img1_1[attachment]}{/if});"></a>
</li>
<!--{/loop}-->
</ul>
<!--{/if}-->
<div class="list_bottom cl">
<a href="forum.php?mod=group&fid=$thread[fid]" class="z byg_groupname">{$thread[groupname]}</a>
<span class="y">
<img src="{$_G['style']['styleimgdir']}/forum_posts.png" alt="回复数"/>{$thread[replies]}
</span>
<span class="y">
&nbsp;&nbsp;<img src="{$_G['style']['styleimgdir']}/chakan.png" alt="查看数"/>{$thread[views]}&nbsp;&nbsp;
</span>
</div>
</li>
<!--{/loop}-->
</ul>
<!--{else}-->
<div class="home_no_data">{lang no_related_posts}</div>
<!--{/if}-->
</div>
<!--{if $multipage}-->$multipage<!--{/if}-->
<!--{elseif $view == 'manager' || $view == 'join'}-->
<!--{if $grouplist}-->
<div class="byg_group_box">
<div class="byg_group_box_h2 cl">
<h2><!--{if $view == 'manager'}-->{lang my_manage_group} <!--{elseif $view == 'join'}-->{lang my_join_group} <!--{/if}--></h2>
</div>
<div class="group_my_join_list">
<ul class="cl">
<!--{loop $grouplist $groupid $group}-->
<li>
<a href="forum.php?mod=group&fid=$groupid" title="$group[name]"><img src="$group[icon]" alt="$group[name]" />
<!--{if $group['flevel'] == '-1'}-->({lang group_wait_mod})<!--{/if}-->{$group[name]}</a>
</li>
<!--{/loop}-->
</ul>
</div>
</div>
<!--{if $multipage}-->$multipage<!--{/if}-->
<!--{else}-->
<div class="home_no_data"><!--{if $view == 'manager'}-->{lang no_group_create_now} <!--{elseif $view == 'join'}-->{lang no_group_join} <!--{/if}--></div>
<!--{/if}-->
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>

View File

@@ -0,0 +1 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>

View File

@@ -0,0 +1,85 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="group.php">{$_G[setting][navs][3][navname]}</a>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y"><img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<style type="text/css">
.byg_group_box{ margin: .1rem 0; padding: 0 .1rem; background: #fff;}
.byg_group_box_h2{ height: .42rem; margin-bottom: .01rem; border-bottom: .01rem solid #eee;}
.byg_group_box_h2 h2{ display: inline-block; height: .3rem; line-height: .3rem; padding: .07rem .04rem .04rem; font-size: .15rem; font-weight: 700; border-bottom: .02rem solid $_G['style']['zhuti'];}
.byg_group_box_h2 .y{ height: .42rem; line-height: .42rem; font-size: .14rem;}
.byg_group_rec a{ display: block; height: .4rem; padding: .12rem .23rem .12rem 0; border-bottom: 1px dashed #eaeaea; background: #fff url({$_G['style']['styleimgdir']}/jinru.png) no-repeat right center; background-size: .16rem; overflow: hidden;}
.byg_group_rec img{ width: .4rem; height: .4rem; border-radius: .04rem;}
.byg_group_rec h3{ width: 2.85rem; height: .24rem; line-height: .24rem; font-size: .15rem; overflow: hidden;}
.byg_group_rec span{ width: 2.85rem; height: .15rem; line-height: .15rem; overflow: hidden; font-size: .12rem; color: #999;}
.byg_group_all_dl{ border-bottom: 1px dashed #eaeaea;}
.byg_group_all_dt{ position: relative; height: .22rem; line-height: .22rem; margin: .15rem 0; padding: 0 .4rem 0 .02rem; font-size: .15rem; overflow: hidden;}
.byg_group_all_dt .byg_group_all_gid{ font-weight: 700;}
.byg_group_all_dt .byg_group_all_sgid{ height: .2rem; line-height: .22rem; margin-right: .06rem; padding: 0 .06rem; border: 1px solid #ddd; border-radius: .11rem; font-size: .13rem; color: #888; display: inline-block;}
.byg_group_all_dt .byg_group_all_more{ position: absolute; top: 0; right: 0; font-size: .12rem; color: #666;}
.byg_group_all_dd{ width: 3.65rem; padding-bottom: .04rem;}
.byg_group_all_dd a{ float: left; width: 1.5rem; height: .34rem; line-height: .34rem; margin: 0 .1rem .12rem 0; padding: 0 .1rem; background: #fcfcfc; font-size: .14rem; color: #666; overflow: hidden; border: .01rem solid #f1f1f1; border-radius: .04rem;}
</style>
<div class="byg_group_box">
<div class="byg_group_box_h2 cl">
<h2>{lang recommend_group}</h2>
<a href="group.php?mod=my" onclick="return landingPrompt();" class="y">{lang my_group}&rsaquo;</a>
</div>
<div class="byg_group_rec">
<!--{loop dunserialize($_G['setting']['group_recommend']) $val}-->
<a href="forum.php?mod=group&fid=$val[fid]" title="$val[name]" class="cl">
<img src="$val[icon]" alt="$val[name]" class="z" />
<h3 class="y">$val[name]</h3>
<span class="y"><!--{echo strip_tags($val['description']);}--></span>
</a>
<!--{/loop}-->
</div>
</div>
<div class="byg_group_box">
<div class="byg_group_box_h2 cl">
<h2>{lang group_categories}</h2>
<!--{if helper_access::check_module('group')}-->
<!--{if empty($gid) && empty($sgid)}-->
<a href="forum.php?mod=group&action=create" onclick="return landingPrompt();" title="{lang group_create}" class="y">{lang group_create}&rsaquo;</a>
<!--{else}-->
<a href="forum.php?mod=group&action=create&fupid=$fup&groupid=$sgid" onclick="return landingPrompt();" title="{lang group_create}" class="y">{lang group_create}&rsaquo;</a>
<!--{/if}-->
<!--{/if}-->
</div>
<div class="byg_group_all cl">
<!--{loop $first $groupid $group}-->
<dl class="byg_group_all_dl">
<dt class="byg_group_all_dt cl">
<a href="group.php?gid=$groupid" class="byg_group_all_gid">$group[name]</a><!--{loop $group['secondlist'] $fid}--><a href="group.php?sgid=$fid" class="byg_group_all_sgid">$second[$fid][name]</a><!--{/loop}--><a href="group.php?gid=$groupid" class="byg_group_all_more">{lang more}&rsaquo;</a>
</dt>
<dd class="byg_group_all_dd cl">
<!--{loop $lastupdategroup[$groupid] $val}-->
<a href="forum.php?mod=group&fid=$val[fid]">$val[name]</a>
<!--{/loop}-->
</dd>
</dl>
<!--{/loop}-->
</div>
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,102 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="group.php">{$_G[setting][navs][3][navname]}</a>$groupnav
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y"><img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<style type="text/css">
.byg_group_box{ margin: .1rem 0; padding: 0 .1rem; background: #fff;}
.byg_group_box_h2{ height: .42rem; margin-bottom: .01rem; border-bottom: .01rem solid #eee;}
.byg_group_box_h2 h2{ display: inline-block; height: .3rem; line-height: .3rem; padding: .07rem .04rem .04rem; font-size: .15rem; font-weight: 700; border-bottom: .02rem solid $_G['style']['zhuti'];}
.byg_group_box_h2 .y{ height: .42rem; line-height: .42rem; font-size: .14rem;}
.byg_thread_types{ padding-bottom: .14rem; border-top: 0; border-bottom: 1px solid #eee;}
.byg_group_box .tbmu{ padding: .1rem 0; border-bottom: 1px dashed #eaeaea; font-size: .13rem; color: #999;}
.byg_group_box .tbmu select{ background-color: #fcfcfc; border-color: #eee; color: #888; border-radius: 2px;}
.byg_group_rec a{ display: block; height: .4rem; padding: .12rem .23rem .12rem 0; border-bottom: 1px dashed #eaeaea; background: #fff url({$_G['style']['styleimgdir']}/jinru.png) no-repeat right center; background-size: .16rem; overflow: hidden;}
.byg_group_rec img{ width: .4rem; height: .4rem; border-radius: .04rem;}
.byg_group_rec h3{ width: 2.85rem; height: .24rem; line-height: .24rem; font-size: .15rem; overflow: hidden;}
.byg_group_rec span{ width: 2.85rem; height: .15rem; line-height: .15rem; overflow: hidden; font-size: .12rem; color: #999;}
.byg_group_box .home_no_data{ margin: 0;}
</style>
<div class="byg_group_box">
<div class="byg_group_box_h2 cl">
<h2>$curtype[name]</h2>
<!--{if helper_access::check_module('group')}-->
<!--{if empty($gid) && empty($sgid)}-->
<a href="forum.php?mod=group&action=create" onclick="return landingPrompt();" title="{lang group_create}" class="y">{lang group_create}&rsaquo;</a>
<!--{else}-->
<a href="forum.php?mod=group&action=create&fupid=$fup&groupid=$sgid" onclick="return landingPrompt();" title="{lang group_create}" class="y">{lang group_create}&rsaquo;</a>
<!--{/if}-->
<!--{/if}-->
</div>
<!--{if $typelist}-->
<div class="byg_thread_types">
<ul class="swiper-wrapper">
<!--{loop $typelist $fid $type}-->
<li class="swiper-slide"><a href="group.php?sgid=$fid">{$type[name]}<!--{if $type[groupnum]}--><span class="num">($type[groupnum])</span><!--{/if}--></a></li>
<!--{/loop}-->
</ul>
</div>
<link rel="stylesheet" type="text/css" href="{$_G['style']['styleimgdir']}/swiper.min.css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<script type="text/javascript">
if(jQuery(".byg_thread_types .a").length > 0) {
var tab_initial = jQuery(".byg_thread_types .a").offset().left + jQuery(".byg_thread_types .a").width() + 20 >= jQuery(window).width() ? jQuery(".byg_thread_types .a").index() : 0;
}else{
var tab_initial = 0;
}
var byg_thread_types = new Swiper('.byg_thread_types', {
initialSlide : tab_initial,
slidesPerView : 'auto',
freeMode : true,
});
</script>
<!--{/if}-->
<!--{if $list}-->
<div class="tbmu cl">
<span class="y">
<select title="{lang orderby}" onchange="location.href=this.value">
<option value="$url" $selectorder[default]>{lang orderby_default}</option>
<option value="$url&orderby=thread" $selectorder[thread]>{lang stats_main_threads_count}</option>
<option value="$url&orderby=membernum" $selectorder[membernum]>{lang group_member_count}</option>
<option value="$url&orderby=dateline" $selectorder[dateline]>{lang group_create_time}</option>
<option value="$url&orderby=activity" $selectorder[activity]>{lang group_activities}</option>
</select>
</span>
{lang group_total_numbers}
</div>
<div class="byg_group_rec">
<!--{loop $list $fid $val}-->
<a href="forum.php?mod=group&fid=$fid" title="$val[name]" class="cl">
<img src="$val[icon]" alt="$val[name]" class="z" />
<h3 class="y">$val[name]</h3>
<span class="y">成员:{$val[membernum]}&nbsp;&nbsp;&nbsp;主题:{$val[threads]}</span>
</a>
<!--{/loop}-->
</div>
<!--{if $multipage}-->$multipage<!--{/if}-->
<!--{else}-->
<div class="home_no_data">{lang group_category_no_groups}</div>
<!--{/if}-->
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,409 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<span><!--{if in_array($do, array('following'))}-->{lang follow_add}<!--{elseif in_array($do, array('follower'))}-->{lang follow_follower}<!--{else}-->{lang follow}<!--{/if}--></span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<!--{if in_array($do, array('feed', 'view'))}-->
<div class="dhnv flex-box cl">
<a href="home.php?mod=follow&view=follow" class="flex{if ($_GET['view'] == 'follow' || $_GET['view'] == '') && !$_GET['uid']} mon{/if}">{lang follow_following}</a>
<a href="home.php?mod=follow&view=special" class="flex{if $_GET['view'] == 'special'} mon{/if}">{lang follow_special_following}</a>
<a href="home.php?mod=follow&view=other" class="flex{if $_GET['view'] == 'other'} mon{/if}">{lang follow_hall}</a>
</div>
<!--{/if}-->
<style type="text/css">
.bodybox{ margin-top: .1rem; font-size: .12rem;}
.stat {background-color:#f7f7f7;border:.01rem solid #f3f3f3;height:.4rem;padding:.15rem 0 .1rem;overflow:hidden; margin-bottom: .1rem;}
.stat li {text-align:center;line-height:.2rem;}
.stat li em {display:block;font-size:.2rem;}
#followlist .list{ padding: 0 .05rem .1rem; border-bottom: .01rem solid #eaeaea;}
.threadlist_top {height:.38rem; padding:.15rem 0 .1rem;}
.threadlist_top .mimg {float:left;margin-right:.08rem;}
.threadlist_top .mimg img {float:left;width:.38rem;line-height:.38rem;border-radius:50%;}
.threadlist_top .muser h3 {display: block;height:.2rem;line-height:.2rem;}
.threadlist_top .muser h3 .mmc {font-size:.15rem;}
.threadlist_top .muser .mtime {display:block;height:.18rem;line-height:.18rem;font-size:.12rem;color:#999;}
.mtime .color{ color: var(--dz-BG-2); font-size: .12rem;}
.flw_image {margin-bottom: .1rem;font-size: 0;overflow: hidden;position: relative;}
.flw_image ul li {float:left;width:32.6%;padding-bottom:25%;margin-top:1.1%;margin-right:1.1%;box-sizing:border-box;background:var(--dz-BG-5);position:relative;overflow:hidden;border-radius:.04rem;}
.flw_image ul li:nth-child(3n) {margin-right:0;}
.flw_image ul img{ width: 100%; height: 100%; object-fit:cover;position:absolute;}
.flw_content img {max-width:100%; max-height:100%;}
.flw_subject, .flw_quotenote{ font-size: .16rem; margin-bottom: .05rem;}
.flw_content, .flw_quotenote{ font-size: .16rem; color: #999;}
.flw_quote .flw_content{ font-size: .14rem;}
.mtime .color {color: var(--dz-BG-2);}
.flw_foot .mtit {padding: 0 0!important; border-bottom: none!important;}
.flw_foot { color: var(--dz-FC-ccc);}
.flw_foot .flw_zbus { display: inline-block !important; color: #666;}
.flw_quote {margin-left: .1rem;margin-bottom: .1rem;padding-left: .15rem;border-left: .02rem solid var(--dz-BG-color);}
.flw_replybox {padding: .1rem;margin:.08rem 0;background-color:var(--dz-BG-5);font-size:.14rem;border-radius:.04rem;}
.flw_replybox .moodfm { margin-top:0;}
.moodfm_post { background: var(--dz-BG-0); }
.moodfm_text { padding: .1rem; border-bottom: 1px solid var(--dz-BOR-ed); }
.moodfm_text textarea{ border-color: #f5f5f5; font-size: 15px;}
.mtm.post_box{ margin-top: 0 !important;}
.sec_code{ border-color: #eee;}
.sec_code .px{ line-height: 24px; border-color: #f5f5f5; font-size: 13px;}
.moodfm_f{ padding: .1rem; line-height: .3rem;}
.moodfm_f .moodfm_btn{ float: right;}
.moodfm_f .moodfm_btn button{ height: .3rem; margin: 0;}
.flw_replybox .replybox_close{ display: block;margin-top: .1rem;text-align: center;color: var(--dz-BG-2);}
.flw_newreply { background:var(--dz-BG-0);}
.flw_newreply li {padding: .1rem;border-bottom:.01rem solid var(--dz-BOR-ed);}
.flw_newreply li a {display: inline-block!important; margin-right: .06rem;}
a.flw_readfull {color: var(--dz-BG-2);}
.flw_more { margin-top: .2rem;}
.flw_loadmore.pn{ padding: .1rem; text-align: center; display: block; color: #06c; background: #f5f5f5; border-radius: .1rem;}
.txtlist .mtit .ztxt{ font-size: .14rem; color: #666;}
.dialogbox:after, .tip:after{content:".";display:block;height:0;clear:both;visibility:hidden;}
.dialogbox{ width: 3.02rem !important; height: auto; background: #fff; border-radius: .02rem;}
.dialogbox .flb{ padding: .1rem;}
.dialogbox .flb .flbc{ display: none;}
.dialogbox .c{ padding: 0 .1rem; background: #fff;}
.dialogbox .c .avt img{ padding: .02rem; width: .48rem; height: .48rem; border: 1px solid #ddd;}
.dialogbox .c .px{ width: 90%;}
.dialogbox .o{ padding: .05rem .1rem .1rem; background: #fff;}
.dialogbox .o button{ padding: .02rem .07rem;}
.tip dd:after{content:".";display:block;height:0;clear:both;visibility:hidden;}
.tip dd .button{ width: 39%; padding: 0; margin: .1rem 5% .05rem; display: inline-block; line-height: 39px; color: #fff;}
.emp h4{ display: block; text-align: center; margin-top: 0.1rem; color: #999;}
.emp h4 a{ color: #06c;}
.xld dt { padding: .08rem 0 .05rem; font-weight: 700; }
.xld dd { margin-bottom: .08rem; }
.xld .m { float: left; margin: .08rem .08rem .1rem 0; }
.xld .atc { float: right; margin-left: .2rem; }
.xld .atc img { padding: .02rem; max-width: .8rem; max-height: .8rem; border: .01rem solid var(--dz-BOR-ccc); }
.xld a.d, .xl a.d, .attc a.d, .c a.d, .sinf a.d { float: right; width: .14rem; height: .14rem; border-radius: .07rem; margin-left: .03rem; margin-right: .03rem; overflow: hidden; line-height: .14rem; text-align: center; background: var(--dz-BG-6); }
.attc a.d { float: left; }
.xld a.d:before, .xl a.d:before, .attc a.d:before, .c a.d:before, .sinf a.d:before { content: "\d7"; color: var(--dz-FC-fff); font-weight: 700; }
.xld a.b { background-position: 0 -.4rem; }
.xlda dl { padding: .05rem 0 .05rem .65rem; border-bottom: .01rem solid #eaeaea;}
.xlda .m { display: inline; margin: .08rem 0 .08rem -.65rem; }
.xlda .avt img { display: block; }
.xlda dt .dialog { display: inline-block; padding: 0 .05rem; box-shadow: 0 0 0 1px #ddd; color: #999; font-weight: 400; border-radius: .05rem;}
.xlda dd .hot { color: #F26C4F; }
.avt img { padding: .02rem; width: .48rem; height: .48rem; border: .01rem solid; border-color: var(--dz-BOR-ed) var(--dz-BOR-ed) var(--dz-BOR-ed) var(--dz-BOR-ed); }
.pipe{ margin: 0 .05rem; color: var(--dz-FC-ccc);}
</style>
<div class="bodybox threadlist_box p10 cl dark_box">
<!--{if in_array($do, array('feed', 'view'))}-->
<!--{if helper_access::check_module('follow') && ( $do == 'feed' || ( $do == 'view' && $viewself))}-->
<!--{if $do == 'feed'}-->
<div class="stat cl">
<ul class="flex-box">
<li class="flex"><a href="home.php?mod=follow&uid=$uid&do=view&from=space"><em>$space['feeds']</em>{lang follow}</a></li>
<li class="flex"><a href="home.php?mod=follow&do=following&uid=$uid"><em>$space['following']</em>{lang follow_add}</a></li>
<li class="flex"><a href="home.php?mod=follow&do=follower&uid=$uid"><em>$space['follower']</em>{lang follow_follower}</a></li>
</ul>
</div>
<!--{/if}-->
<!--{/if}-->
<!--{if in_array($do, array('feed', 'view'))}-->
<!--{if !empty($list['feed'])}-->
<div class="threadlist_x35 cl">
<ul id="followlist">
<!--{subtemplate home/follow_feed_li}-->
</ul>
<!--{if is_array($list['feed']) && count($list['feed']) > 19 && ($archiver || $primary)}-->
<div id="loadingfeed" class="flw_more"><a href="javascript:;" onclick="loadmore(1);return false;" class="flw_loadmore pn">{lang follow_more}</a></div>
<!--{else}-->
<div id="loadingfeed"></div>
<!--{/if}-->
<iframe id="downloadframe" name="downloadframe" width="0" height="0" marginwidth="0" frameborder="0" src="about:blank"></iframe>
<script type="text/javascript">
function succeedhandle_attachpay(url, msg, values) {
hideWindow('attachpay');
window.location.href = url;
}
</script>
<!--{if is_array($list['feed']) && count($list['feed']) > 19 && ($archiver || $primary)}-->
<script type="text/javascript">
var scrollY = 0;
var page = 2;
var feedInfo = {scrollY: 0, archiver: $archiver, primary: $primary, query: true, scrollNum:1};
var loadingfeed = $('#loadingfeed');
function loadmore(byg_data) {
var currentScroll = document.documentElement.scrollTop || document.body.scrollTop;
var sHeight = document.documentElement.scrollHeight;
if(currentScroll >= scrollY && currentScroll > (sHeight/5-5) && (feedInfo.primary ||feedInfo.archiver) && feedInfo.query) {
feedInfo.query = false;
var archiver = 0;
if(feedInfo.primary) {
archiver = 0;
} else if(feedInfo.archiver) {
archiver = 1;
}
var url = 'home.php?mod=spacecp&ac=follow&op=getfeed&archiver='+archiver+'&page='+page+'&inajax=1'<!--{if $do == 'feed'}-->+'&viewtype=$view'<!--{elseif $do == 'view'}-->+'&uid=$uid&banavatar=1'<!--{/if}-->;
$.ajax({
url : url,
data : null,
dataType : "xml",
cache: false,
success : function(s) {
if($.trim(s.childNodes[0].textContent) == 'false') {
if(!archiver) {
feedInfo.primary = false;
loadmore();
page = 1;
} else {
feedInfo.archiver = false;
page = 1;
}
} else {
if(byg_data == 1){
var lastLiID = $('#followlist .list:last-child').attr('id');
}
$('#followlist').append($.trim(s.childNodes[0].textContent));
if(lastLiID) {
$("html, body").scrollTop($("#" + lastLiID).offset().top + $("#" + lastLiID).outerHeight() - $(window).height()/2);
}
}
if(!feedInfo.primary && !feedInfo.archiver) {
loadingfeed.removeClass('flw_more');
loadingfeed.html('');
}
feedInfo.query = true;
}
});
page++;
if(feedInfo.scrollNum) {
feedInfo.scrollNum--;
} else if(!feedInfo.scrollNum) {
window.onscroll = null;
}
}
scrollY = currentScroll;
}
window.onload = function() {
scrollY = document.documentElement.scrollTop || document.body.scrollTop;
window.onscroll = loadmore;
}
</script>
<!--{/if}-->
</div>
<!--{else}-->
<div class="emp">
<h4>
<!--{if $viewself}-->{lang follow_following_null}<!--{else}-->{lang follow_no_content}<!--{/if}-->
<!--{if $do == 'feed' && $view == 'special'}-->
<div class="mtw hm xg1">
{lang follow_add_special_tip}<a href="home.php?mod=follow&do=following&uid=$uid" class="xi2">{lang follow_add_special_following}</a>
</div>
<!--{/if}-->
</h4>
<!--{if !empty($recommend) && $showrecommend && $view != 'special'}-->
<!--{eval $showrecommend = false;}-->
<style type="text/css">
.recommend_imglist{ margin-top: 0.1rem; padding: 0.05rem; background: #f7f7f7; border: 1px solid #f3f3f3;}
.recommend_imglist h2{ padding: 0.03rem 0.06rem; color: #666;}
.recommend_imglist li{ padding: 0.05rem 0.07rem; width: 0.54rem; overflow: hidden;}
.recommend_imglist li img{ vertical-align: middle;}
.recommend_imglist .mtit{ color: #888; white-space: nowrap; text-overflow: ellipsis; overflow: hidden;}
</style>
<div class="recommend_imglist imglist cl">
<div class="subtit p0 cl">
<h2 style="">{lang follow_recommend}</h2>
</div>
<ul class="cl">
<!--{loop $recommend $ruid $rusername}-->
<li class="z">
<span class="mimg"><a href="home.php?mod=space&uid=$ruid&do=profile" class="avt"><!--{avatar($ruid, 'small')}--></a></span>
<p class="mtit">{$rusername}</p>
<!--{if helper_access::check_module('follow')}-->
<a class="mico z" id="a_followmod_{$ruid}" href="home.php?mod=spacecp&ac=follow&op=add&hash={FORMHASH}&fuid=$ruid&from=block" onclick="ajaxget(this.href);doane(event);" style="text-decoration: none !important;">{lang follow_add}</a>
<!--{/if}-->
</li>
<!--{/loop}-->
</ul>
</div>
<!--{/if}-->
</div>
<!--{/if}-->
<!--{/if}-->
<!--{elseif in_array($do, array('following', 'follower'))}-->
<!--{if $list}-->
<div class="xld xlda">
<!--{loop $list $fuid $fuser}-->
<dl class="b_b cl">
<!--{if $do=='following'}-->
<dd class="m avt"><a href="home.php?mod=space&uid=$fuser['followuid']&do=profile"><!--{avatar($fuser['followuid'], 'middle')}--></a></dd>
<dt class="y">
<!--{if $viewself}-->
<p class="xw0"><a id="a_followmod_{$fuser['followuid']}" href="home.php?mod=spacecp&ac=follow&op=del&fuid=$fuser['followuid']" class="flw_btn_unfo dialog">{lang follow_del}</a></p>
<!--{elseif $fuser['followuid'] != $_G['uid']}-->
<!--{if $fuser['mutual']}-->
<p class="xw0"><!--{if $fuser['mutual'] > 0}--><span class="z flw_status_2">{lang follow_follower_mutual}</span><span class="pipe">|</span><!--{else}--><span class="z flw_status_1">{lang did_not_follow_to_me}</span><span class="pipe">|</span><!--{/if}--><a id="a_followmod_{$fuser['followuid']}" href="home.php?mod=spacecp&ac=follow&op=del&fuid=$fuser['followuid']" class="flw_btn_unfo dialog">{lang follow_del}</a></p>
<!--{elseif helper_access::check_module('follow')}-->
<p class="xw0"><a id="a_followmod_{$fuser['followuid']}" href="home.php?mod=spacecp&ac=follow&op=add&hash={FORMHASH}&fuid=$fuser['followuid']" class="flw_btn_fo dialog">{lang follow_add}</a></p>
<!--{/if}-->
<!--{/if}-->
</dt>
<dt><a href="home.php?mod=space&uid=$fuser['followuid']&do=profile" class="xs2">$fuser['fusername']</a>&nbsp;<span class="xg1 xs1 xw0"><!--{if $fuser['bkname']}-->(&nbsp;{$fuser['bkname']}&nbsp;)<!--{/if}--></dt>
<dd><!--{if !empty($fuser['recentnote'])}--><p><span class="xg1">{lang follow_recent_note}: </span>$fuser['recentnote']</p><!--{/if}--></dd>
<dd><p>
<!--{if $memberprofile[$fuid]['residecountry'] || $memberprofile[$fuid]['resideprovince'] || $memberprofile[$fuid]['residecity']}-->{lang comefrom}: $memberprofile[$fuid]['residecountry'] $memberprofile[$fuid]['resideprovince'] $memberprofile[$fuid]['residecity'] &nbsp;<!--{/if}-->
{lang follow_follower}: <a href="home.php?mod=follow&do=follower&uid=$fuser['followuid']"><strong class="xi2" id="followernum_$fuser['followuid']">$memberinfo[$fuid]['follower']</strong></a>{lang person} &nbsp;
{lang follow_add}: <a href="home.php?mod=follow&do=following&uid=$fuser['followuid']"><strong class="xi2">$memberinfo[$fuid]['following']</strong></a>{lang person} &nbsp;
<!--{if $viewself && $fuser[followuid] != $_G['uid']}-->
<span class="pipe">|</span>
<a href="home.php?mod=spacecp&ac=follow&op=bkname&fuid=$fuser['followuid']&handlekey=followbkame_$fuser['followuid']" id="fbkname_$fuser['followuid']" class="dialog"><!--{if $fuser['bkname']}-->{lang follow_mod_bkname}<!--{else}-->{lang follow_add_bkname}<!--{/if}--></a>
<!--{if helper_access::check_module('follow')}-->
<span class="pipe">|</span>
<a id="a_specialfollow_{$fuser['followuid']}" href="home.php?mod=spacecp&ac=follow&op=add&hash={FORMHASH}&special={if $fuser['status'] == 1}2{else}1{/if}&fuid=$fuser['followuid']" class="dialog"><!--{if $fuser['status'] == 1}-->{lang follow_del_special_following}<!--{else}-->{lang follow_add_special_following}<!--{/if}--></a>
<!--{/if}-->
<!--{/if}-->
</p></dd>
<!--{else}-->
<dd class="m avt"><a href="home.php?mod=space&uid=$fuser['uid']&do=profile"><!--{avatar($fuser['uid'], 'middle')}--></a></dd>
<dt class="y">
<!--{if $fuser['uid'] != $_G['uid']}-->
<!--{if $fuser['mutual']}-->
<p class="xw0"><!--{if $fuser['mutual'] > 0}--><span class="z flw_status_2">{lang follow_follower_mutual}</span><span class="pipe">|</span><!--{else}--><span class="z flw_status_1">{lang did_not_follow_to_me}</span><span class="pipe">|</span><!--{/if}--><a id="a_followmod_{$fuser['uid']}" href="home.php?mod=spacecp&ac=follow&op=del&fuid=$fuser['uid']" class="flw_btn_unfo dialog">{lang follow_del}</a></p>
<!--{elseif helper_access::check_module('follow')}-->
<p class="xw0"><a id="a_followmod_{$fuser['uid']}" href="home.php?mod=spacecp&ac=follow&op=add&hash={FORMHASH}&fuid=$fuser['uid']" class="flw_btn_fo dialog">{lang follow_add}</a></p>
<!--{/if}-->
<!--{/if}-->
</dt>
<dt><a href="home.php?mod=space&uid=$fuser['uid']&do=profile">$fuser['username']</a></dt>
<dd><!--{if !empty($fuser['recentnote'])}--><p><span class="xg1">{lang follow_recent_note}: </span>$fuser['recentnote']</p><!--{/if}--></dd>
<dd><p>
<!--{if $memberprofile[$fuid]['residecountry'] || $memberprofile[$fuid]['resideprovince'] || $memberprofile[$fuid]['residecity']}-->{lang comefrom}: $memberprofile[$fuid]['residecountry'] $memberprofile[$fuid]['resideprovince'] $memberprofile[$fuid]['residecity'] &nbsp;<!--{/if}-->
{lang follow_follower}: <a href="home.php?mod=follow&do=follower&uid=$fuser['uid']"><strong class="xi2" id="followernum_$fuser['uid']">$memberinfo[$fuid]['follower']</strong></a>{lang person} &nbsp;
{lang follow_add}: <a href="home.php?mod=follow&do=following&uid=$fuser['uid']"><strong class="xi2">$memberinfo[$fuid]['following']</strong></a>{lang person}
</p></dd>
<!--{/if}-->
</dl>
<!--{/loop}-->
</div>
<!--{if !empty($multi)}--><div>$multi</div><!--{/if}-->
<br/>
<!--{else}-->
<div id="nofollowmsg">
<div class="flw_thread">
<ul>
<li class="flw_article">
<div class="emp">
<h4>
<!--{if $viewself}-->
<!--{if $do=='following'}-->
{lang follow_you_following_none}<a href="home.php?mod=follow&view=other" class="xi2">{lang follow_hall}</a>{lang follow_fetch_interested_user}
<!--{else}-->
{lang follow_you_follower_none1}<a href="home.php?mod=follow" class="xi2">{lang follow_add_feed}</a>{lang follow_you_follower_none2}
<!--{/if}-->
<!--{else}-->
<!--{if $do=='following'}-->
{lang follow_user_following_none}
<!--{else}-->
{lang follow_user_follower_none}
<!--{/if}-->
<!--{/if}-->
</h4>
</div>
</li>
</ul>
</div>
</div>
<!--{/if}-->
<!--{/if}-->
</div>
<script type="text/javascript">
var boxflag = {};
var parentReplyId = '';
function quickreply(fid, tid, feedid) {
$('#relaybox_'+feedid).css('display','none');
var replyboxid = 'replybox_'+feedid;
if(parentReplyId && parentReplyId != feedid) {
var oldbox = $('#replybox_'+parentReplyId);
oldbox.html = '';
oldbox.css('display','none');
}
if($(replyboxid).css('display') == 'block' && boxflag[replyboxid]) {
$('#replybox_'+feedid).css('display','none');
} else {
boxflag[replyboxid] = true;
ajaxget('forum.php?mod=ajax&action=quickreply&tid='+tid+'&fid='+fid+'&handlekey=qreply_'+feedid+'&feedid='+feedid, replyboxid);
$('#replybox_'+feedid).css('display','block');
}
parentReplyId = feedid;
}
function quickrelay(feedid, tid) {
$('#replybox_'+feedid).css('display', 'none');
var replyboxid = 'relaybox_'+feedid;
if($(replyboxid).css('display') == 'block') {
$('#relaybox_'+feedid).css('display','none');
} else {
ajaxget('home.php?mod=spacecp&ac=follow&op=relay&feedid='+feedid+'&tid='+tid+'&handlekey=qrelay_'+feedid, replyboxid);
$('#relaybox_'+feedid).css('display','block');
}
}
function replybox_close(feedid) {
$('#'+feedid).css('display','none');
}
function changefeed(tid, pid, flag, obj) {
var o = obj.parentNode;
for(var i = 0; i < 4; i++) {
if(o.id.indexOf('original_content_') == -1) {
o = o.parentNode;
} else {
break;
}
}
ajaxget('forum.php?mod=ajax&action=getpostfeed&inajax=1&tid='+tid+'&pid='+pid+'&type=changefeed&flag='+flag, o.id);
}
</script>
<!--{if $showguide && $do == 'feed'}-->
<style type="text/css">
.widthauto #nv_menu { width: 95%; }
.widthauto #nv_menu div { position: absolute;left: 50%;margin-left: -472px;width:944px; }
</style>
<div id="nv_menu" style="display:none;">
<div>
<img src="{IMGDIR}/flw_guide.png" alt="" />
<button class="pn pnc" style="margin: -50px 0 20px 430px;" onclick="hideMenu()"><span>{lang follow_i_know}</span></button>
</div>
</div>
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,72 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{eval $carray = array();}-->
<!--{eval $beforeuser = 0;}-->
<!--{eval $hiddennum = 0;}-->
<!--{loop $list['feed'] $feed}-->
<!--{eval $content = $list['content'][$feed['tid']];}-->
<!--{eval $thread = $list['threads'][$content['tid']];}-->
<!--{if !empty($thread) && $thread['displayorder'] >= 0 || !empty($feed['note'])}-->
<li class="list cl{if $lastviewtime && $feed[dateline] > $lastviewtime} unread{/if}" id="feed_li_$feed['feedid']">
<div class="threadlist_top cl">
<a href="home.php?mod=space&uid=$feed['uid']&do=profile" class="mimg"><!--{avatar($feed['uid'],'small')}--></a>
<div class="muser">
<h3><a href="home.php?mod=space&uid=$feed['uid']&do=profile" class="mmc">{$feed['username']}</a></h3>
<span class="mtime">
<!--{if $feed['uid'] == $_G['uid'] || $_G['adminid'] == 1}-->
<em class="mgl y"><a href="home.php?mod=spacecp&ac=follow&feedid=$feed['feedid']&op=delete" id="c_delete_$feed['feedid']" class="dialog color">{lang delete}</a></em>
<!--{/if}-->
<!--{eval echo dgmdate($feed['dateline'], 'u');}-->
</span>
</div>
</div>
<div class="flw_article" {if $_GET['do'] == 'view' || $_GET['banavatar']}style="margin-left:0"{/if}>
<!--{if $feed['note']}-->
<div class="flw_quotenote xs2 pbw">
$feed['note']
</div>
<div class="flw_quote">
<!--{/if}-->
<!--{if !empty($thread) && $thread['displayorder'] >= 0}-->
<div class="flw_subject wx pbn">
<!--{if isset($carray[$feed['cid']])}-->
<a href="javascript:;" onclick="vieworiginal(this, 'original_content_$feed[feedid]');return false;" class="flw_readfull y xw0 xs1 xi2">+ {lang follow_open_feed}</a>
<!--{/if}-->
<!--{if $thread['fid'] != $_G['setting']['followforumid']}-->
<a href="forum.php?mod=viewthread&tid=$content['tid']&extra=page%3D1">$thread['subject']</a>
<!--{/if}-->
</div>
<div class="flw_content pbm cl" id="original_content_$feed['feedid']" {if isset($carray[$feed['cid']])} style="display: none"{/if}>
$content['content']
<!--{if $thread['special'] && $thread['fid'] != $_G['setting']['followforumid']}-->
<br/>
<a href="forum.php?mod=viewthread&tid=$content['tid']&extra=page%3D1">{lang follow_special_thread_tip}</a>
<!--{/if}-->
</div>
<div class="txtlist flw_foot cl">
<!--{if $feed['note']}--><a href="home.php?mod=space&uid=$thread['authorid']&do=profile" class="flw_zbus">$thread['author']</a> {lang follow_post_by_time} <!--{date($thread['dateline'])}-->&nbsp;<!--{/if}-->
<div class="mtit cl">
<!--{if $thread['fid'] != $_G['setting']['followforumid'] && $_G['cache']['forums'][$thread['fid']]['name']}--><a href="forum.php?mod=forumdisplay&fid=$thread['fid']" class="ztxt">#{$_G['cache']['forums'][$thread['fid']]['name']}</a><!--{/if}-->
<!--{if helper_access::check_module('follow')}--><a href="javascript:;" id="relay_$feed['feedid']" onclick="quickrelay($feed['feedid'], $thread['tid']);" class="ytxt">{lang follow_reply}($content['relay'])</a>&nbsp;<!--{/if}-->
<a href="javascript:;" onclick="quickreply($thread['fid'], $thread['tid'], $feed['feedid'])" class="ytxt">{lang reply}($thread['replies'])</a>
</div>
</div>
<!--{else}-->
<div class="pbm c cl" id="original_content_$feed['feedid']" {if isset($carray[$feed['cid']])} style="display: none"{/if}>
{lang follow_thread_deleted}
</div>
<!--{/if}-->
<!--{if $feed['note']}--></div><!--{/if}-->
</div>
<div id="replybox_$feed['feedid']" class="flw_replybox cl" style="display: none;"></div>
<div id="relaybox_$feed['feedid']" class="flw_replybox cl" style="display: none;"></div>
</li>
<!--{else}-->
<!--{eval $hiddennum++;}-->
<!--{/if}-->
<!--{if !isset($carray[$feed['cid']])}-->
<!--{eval $carray[$feed['cid']] = $feed['cid'];}-->
<!--{/if}-->
<!--{/loop}-->

View File

@@ -0,0 +1,173 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<span>{lang blog}</span>
</div>
<!--{if helper_access::check_module('blog') && $space['self']}-->
<a href="home.php?mod=spacecp&ac=blog" title="{lang post_new_blog}" class="header_y"><img src="{$_G['style']['styleimgdir']}/bai_fatie.png" alt="{lang post_new_blog}"/></a>
<!--{else}-->
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
<!--{/if}-->
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<div class="dhnv flex-box cl">
<a href="home.php?mod=space&do=$do&view=we" class="flex{if $_GET['view'] == 'we'} mon{/if}">{lang friend_blog}</a>
<!--{if $space['self']}-->
<a href="home.php?mod=space&do=$do&view=me" class="flex{if $_GET['view'] == 'me'} mon{/if}">{lang my_blog}</a>
<!--{else}-->
<a href="home.php?mod=space&do=$do&view=me&uid={$uid}" class="flex{if $_GET['view'] == 'me' && !$space['self']} mon{/if}">{$navtitle}</a>
<!--{/if}-->
<a href="home.php?mod=space&do=$do&view=all" class="flex{if $_GET['view'] == 'all'} mon{/if}">{lang view_all}</a>
</div>
<!--{if $_GET['view'] == 'all'}-->
<div class="dhnavs_box">
<div id="dhnavs">
<div id="dhnavs_li">
<ul class="swiper-wrapper">
<li class="swiper-slide{if $orderactives['dateline']} mon{/if}"><a href="home.php?mod=space&do=blog&view=all">{lang newest_blog}</a></li>
<li class="swiper-slide{if $orderactives['hot']} mon{/if}"><a href="home.php?mod=space&do=blog&view=all&order=hot">{lang recommend_blog}</a></li>
<!--{if $category}-->
<!--{loop $category $value}-->
<li class="swiper-slide{if $_GET['catid'] == $value['catid']} mon{/if}">
<a href="home.php?mod=space&do=blog&catid={$value['catid']}&view=all&order={$_GET['order']}">{$value['catname']}</a>
</li>
<!--{/loop}-->
<!--{/if}-->
</ul>
</div>
</div>
</div>
<link rel="stylesheet" type="text/css" href="{$_G['style']['styleimgdir']}/swiper.min.css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<script>
if($("#dhnavs_li .mon").length > 0) {
var discuz_nav = $("#dhnavs_li .mon").offset().left + $("#dhnavs_li .mon").width() >= $(window).width() ? $("#dhnavs_li .mon").index() : 0;
}else{
var discuz_nav = 0;
}
new Swiper('#dhnavs_li', {
freeMode : true,
slidesPerView : 'auto',
initialSlide : discuz_nav,
onTouchMove: function(swiper){
Discuz_Touch_on = 0;
},
onTouchEnd: function(swiper){
Discuz_Touch_on = 1;
},
});
</script>
<!--{/if}-->
<!--{if $_GET['view'] == 'me' && $classarr}-->
<div class="dhnavs_box">
<div id="dhnavs">
<div id="dhnavs_li">
<ul class="swiper-wrapper">
<!--{loop $classarr $classid $classname}-->
<li class="swiper-slide{if $_GET['classid'] == $classid} mon{/if}"><a href="home.php?mod=space&uid={$space['uid']}&do=blog&classid={$classid}&view=me">{$classname}</a></li>
<!--{/loop}-->
</ul>
</div>
</div>
</div>
<link rel="stylesheet" type="text/css" href="{$_G['style']['styleimgdir']}/swiper.min.css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<script>
if($("#dhnavs_li .mon").length > 0) {
var discuz_nav = $("#dhnavs_li .mon").offset().left + $("#dhnavs_li .mon").width() >= $(window).width() ? $("#dhnavs_li .mon").index() : 0;
}else{
var discuz_nav = 0;
}
new Swiper('#dhnavs_li', {
freeMode : true,
slidesPerView : 'auto',
initialSlide : discuz_nav,
onTouchMove: function(swiper){
Discuz_Touch_on = 0;
},
onTouchEnd: function(swiper){
Discuz_Touch_on = 1;
},
});
</script>
<!--{/if}-->
<div class="x35_threadlist_box cl">
<div class="x35_threadlist cl">
<!--{if $list}-->
<ul>
<!--{loop $list $k $blog}-->
<li class="list cl">
<!--{eval $stickflag = isset($blog['stickflag']) ? 0 : 1;}-->
<div class="x35_threadlist_top cl">
<a href="home.php?mod=space&uid={$blog['uid']}&do=profile" class="avatar mimg z">
<!--{avatar($blog['uid'],'small')}-->
</a>
<div class="muser cl">
<h3>
<a href="home.php?mod=space&uid={$blog['uid']}&do=profile" id="author_{$blog['blogid']}" class="mmc">$blog['username']</a>
</h3>
<div class="mtime">
<span>{$blog['dateline']}</span>
<div class="doing_listgl y">
<!--{if $_GET['view'] == 'me'}-->
<!--{if $blog['uid'] == $_G['uid']}-->
<a href="home.php?mod=spacecp&ac=blog&blogid={$blog['blogid']}&op=delete&handlekey=delbloghk_{$blog['blogid']}" id="blog_delete_{$blog['blogid']}" class="y dialog">{lang delete}</a>
<a href="home.php?mod=spacecp&ac=blog&blogid={$blog['blogid']}&op=stick&stickflag={$stickflag}&handlekey=stickbloghk_{$blog['blogid']}" id="blog_stick_{$blog['blogid']}" class="y dialog"><!--{if $stickflag}-->{lang stick}<!--{else}-->{lang cancel_stick}<!--{/if}--></a>
<a href="home.php?mod=spacecp&ac=blog&blogid={$blog['blogid']}&op=edit" class="y">{lang edit}</a>
<!--{/if}-->
<!--{/if}-->
</div>
</div>
</div>
</div>
<a href="home.php?mod=space&uid={$blog['uid']}&do=blog&id={$blog['blogid']}">
<div class="x35_threadlist_tit cl">
<!--{if !$stickflag}--><span style="color: red;">[{lang stick}]</span><!--{/if}-->
<!--{if $blog['catid']}-->
<span>[{$category[$blog['catid']]['catname']}]</span>
<!--{/if}-->
<!--{if $_GET['view'] == 'me' && $blog['classid']}-->
<span>[{$classarr[$blog['classid']]}]</span>
<!--{/if}-->
{$blog['subject']}
</div>
<div class="x35_threadlist_mes cl">
{$blog['message']}
</div>
</a>
</li>
<!--{/loop}-->
<!--{if $multi}-->
<div class="pgs cl mtm">$multi</div>
<!--{/if}-->
</ul>
<!--{else}-->
<div class="x35_threadlist_box mt10 cl">
<h4>{lang no_related_blog}</h4>
</div>
<!--{/if}-->
</div>
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,126 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid={$_G['uid']}&do=blog&view=me" title="{lang blog}">{lang blog}</a>
<em>&rsaquo;</em>
<span>内容</span>
</div>
<!--{if helper_access::check_module('blog') && $space['self']}-->
<a href="home.php?mod=spacecp&ac=blog" title="{lang post_new_blog}" class="header_y"><img src="{$_G['style']['styleimgdir']}/bai_fatie.png" alt="{lang post_new_blog}"/></a>
<!--{else}-->
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
<!--{/if}-->
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<div class="x35_viewthread">
<div class="view_tit">
<!--{if $classarr['classname']}-->
<em>[<a href="home.php?mod=space&uid=$blog['uid']&do=blog&classid=$blog['classid']&view=me">{$classarr['classname']}</a>]</em>
<!--{/if}-->
<!--{if $blog[catname]}-->
<em>[<a href="home.php?mod=space&do=blog&view=all&catid=$blog['catid']">$blog['catname']</a>]</em>
<!--{/if}-->
$blog['subject']
<!--{if $blog['status'] == 1}--><span>({lang pending})</span><!--{/if}-->
</div>
<div class="x35_plc cl">
<div class="avatar"><img src="<!--{if !$blog['uid']}--><!--{avatar(0, 'small', true)}--><!--{else}--><!--{avatar($blog['uid'], 'small', true)}--><!--{/if}-->" /></div>
<div class="display pi pione">
<ul class="authi">
<li class="mtit">
<span class="y">
<!--{if $blog['friend']}-->
{$friendsname[$blog[friend]]}
<!--{/if}-->
</span>
<span class="z">
<!--{if $space['uid']}-->
<a href="home.php?mod=space&uid=$space['uid']">$space['username']</a>
<!--{/if}-->
</span>
</li>
<li class="mtime">
<span class="y"><i class="dm-eye"></i><em>$blog['viewnum']</em><i class="dm-chat-s"></i><em>$blog['replynum']</em></span>
<!--{date($blog['dateline'])}-->
</li>
</ul>
<div class="message">
$blog[message]
</div>
</div>
<div class="x35_threadlist_foot cl">
<ul>
<!--{if helper_access::check_module('favorite')}-->
<li><a href="home.php?mod=spacecp&ac=favorite&type=blog&id=$blog[blogid]&spaceuid=$blog[uid]&handlekey=favoritebloghk_{$blog[blogid]}" id="a_favorite" class="dialog">{lang favorite}</a></li>
<!--{/if}-->
<!--{if $_G[uid] == $blog[uid] || checkperm('manageblog')}-->
<li><a href="home.php?mod=spacecp&ac=blog&blogid=$blog[blogid]&op=edit">{lang edit}</a></li>
<li><a href="home.php?mod=spacecp&ac=blog&blogid=$blog[blogid]&op=delete&handlekey=delbloghk_{$blog[blogid]}" id="blog_delete_$blog[blogid]" class="dialog">{lang delete}</a></li>
<!--{/if}-->
</ul>
</div>
</div>
<div class="discuz_x cl"></div>
<div class="doing_list_box x35_threadlist cl">
<div class="txtlist">
<div class="mtit cl">
{lang blog_comment}
</div>
</div>
<ul>
<!--{loop $list $k $value}-->
<!--{template home/space_comment_li}-->
<!--{/loop}-->
</ul>
</div>
<!--{if !$blog[noreply] && helper_access::check_module('blog')}-->
<div class="discuz_x cl"></div>
<form id="quickcommentform_{$id}" action="home.php?mod=spacecp&ac=comment" method="post" autocomplete="off" onsubmit="ajaxpost('quickcommentform_{$id}', 'return_qcblog_$id');doane(event);">
<div class="post_from post_box">
<ul class="cl">
<li class="mtext" style="padding-bottom: 0;">
<!--{if $_G['uid'] || $_G['group']['allowcomment']}-->
<textarea id="comment_message" name="message" placeholder="{lang content_area}" rows="3" class="pt" fwin="reply"></textarea>
<!--{/if}-->
</li>
<li class="mtext" style="padding: 0;">
<!--{template common/seccheck}-->
</li>
</ul>
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="referer" value="home.php?mod=space&uid=$blog[uid]&do=$do&id=$id" />
<input type="hidden" name="id" value="$id" />
<input type="hidden" name="idtype" value="blogid" />
<input type="hidden" name="handlekey" value="qcblog_{$id}" />
<input type="hidden" name="commentsubmit" value="true" />
<input type="hidden" name="quickcomment" value="true" />
<span id="return_qcblog_{$id}"></span>
</div>
<div class="x35_post_btn"><button type="submit" name="commentsubmit_btn"value="true" id="commentsubmit_btn" class="pn"{if !$_G[uid]&&!$_G['group']['allowcomment']} onclick="showWindow(this.id, this.form.action);return false;"{/if}><strong>{lang comment}</strong></button></div>
</form>
<!--{/if}-->
<!--{if $multi}--><div class="pgs cl mbm">$multi</div><!--{/if}-->
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,48 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<table cellpadding="0" cellspacing="0" class="atd">
<tr>
<!--{eval $clicknum = 0;}-->
<!--{loop $clicks $key $value}-->
<!--{eval $clicknum = $clicknum + $value['clicknum'];}-->
<!--{eval $value['height'] = $maxclicknum?intval($value['clicknum']*50/$maxclicknum):0;}-->
<td>
<a href="home.php?mod=spacecp&ac=click&op=add&clickid=$key&idtype=$idtype&id=$id&hash=$hash&handlekey=clickhandle" id="click_{$idtype}_{$id}_{$key}" onclick="return landingPrompt();">
<!--{if $value[clicknum]}-->
<div class="atdc">
<div class="ac{$value[classid]}" style="height:<!--{echo $value['height'] / 100;}-->rem;">
<em>{$value[clicknum]}</em>
</div>
</div>
<!--{/if}-->
<img src="{STATICURL}image/click/{echo str_replace("static/image/click/","",$value['icon']);}" alt="$value[name]" /><br />$value[name]
</a>
</td>
<!--{/loop}-->
</tr>
</table>
<script type="text/javascript">
function errorhandle_clickhandle(message, values) {
if(values['id']) {
showCreditPrompt();
show_click(values['idtype'], values['id'], values['clickid']);
}
}
</script>
<!--{if $clickuserlist}-->
<h3>{lang position_friend}</h3>
<div id="trace_div">
<ul class="cl">
<!--{loop $clickuserlist $value}-->
<li class="z">
<!--{if $value[username]}-->
<div><a href="home.php?mod=space&uid=$value[uid]&do=profile" title="$value[clickname]"><!--{avatar($value['uid'], 'small')}--></a></div>
<!--{else}-->
<div><img src="{STATICURL}image/magic/hidden.gif" alt="$value[clickname]" /></div>
<!--{/if}-->
</li>
<!--{/loop}-->
</ul>
</div>
<!--{/if}-->

View File

@@ -0,0 +1,45 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<li id="comment_$value['cid']_li" class="doing_list_li list cl">
<div class="x35_threadlist_top cl">
<!--{if $value['author']}-->
<a href="home.php?mod=space&uid=$value['authorid']&do=profile" class="avatar mimg z">
<!--{avatar($value['authorid'], 'small')}-->
</a>
<!--{else}-->
<a href="javascript:;" class="avatar mimg z">
<img src="{STATICURL}image/magic/hidden.gif" alt="hidden" />
</a>
<!--{/if}-->
<div class="muser cl">
<h3>
<!--{if $value['author']}-->
<a href="home.php?mod=space&uid=$value['authorid']&do=profile" id="author_$value['cid']" class="mmc">{$value['author']}</a>
<!--{else}-->
$_G['setting']['anonymoustext']
<!--{/if}-->
</h3>
<div class="mtime">
<span><!--{date($value['dateline'])}--><!--{if $value['status'] == 1}--><b>({lang moderate_need})</b><!--{/if}--></span>
<div class="doing_listgl y">
<!--{if $value['authorid']!=$_G['uid'] && ($value['idtype'] != 'uid' || $space['self']) && $value['author']}-->
<a href="home.php?mod=spacecp&ac=comment&op=reply&cid=$value['cid']&feedid=$feedid&handlekey=replycommenthk_{$value['cid']}" id="c_$value['cid']_reply" class="y doing_gl dialog">{lang reply}</a>
<!--{/if}-->
<!--{if $_G['uid']}-->
<!--{if $value['authorid']==$_G['uid']}-->
<a href="home.php?mod=spacecp&ac=comment&op=edit&cid=$value['cid']&handlekey=editcommenthk_{$value['cid']}" id="c_$value['cid']_edit" class="y doing_gl{if $_G['uid']} dialog{/if}">{lang edit}</a>
<!--{/if}-->
<!--{if $value['authorid']==$_G['uid'] || $value['uid']==$_G['uid'] || checkperm('managecomment')}-->
<a href="home.php?mod=spacecp&ac=comment&op=delete&cid=$value['cid']&handlekey=delcommenthk_{$value['cid']}" id="c_$value['cid']_delete" class="y doing_gl{if $_G['uid']} dialog{/if}">{lang delete}</a>
<!--{/if}-->
<!--{/if}-->
</div>
</div>
</div>
</div>
<div id="comment_$value['cid']" class="do_comment{if $value['magicflicker']} magicflicker{/if}"><!--{if $value['status'] == 0 || $value['authorid'] == $_G['uid'] || $_G[adminid] == 1}-->$value['message']<!--{else}--> {lang moderate_not_validate} <!--{/if}--></div>
<!--{hook/global_space_comment_op_mobile $k}-->
<!--{hook/global_comment_bottom_mobile}-->
</li>

View File

@@ -0,0 +1,80 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<span>我的收藏</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<div class="forumdisplay_tab">
<a href="home.php?mod=space&uid={$_G[uid]}&do=favorite&view=me&type=thread" {if $_GET['type'] == 'thread'}class="on"{/if}><h2>帖子</h2></a>
<a href="home.php?mod=space&uid={$_G[uid]}&do=favorite&view=me&type=forum" {if $_GET['type'] == 'forum'}class="on"{/if}><h2>版块</h2></a>
<!--{if helper_access::check_module('group')}--><a href="home.php?mod=space&uid={$_G[uid]}&do=favorite&view=me&type=group" {if $_GET['type'] == 'group'}class="on"{/if}><h2>{lang favorite_group}</h2></a><!--{/if}-->
<!--{if helper_access::check_module('portal')}--><a href="home.php?mod=space&uid={$_G[uid]}&do=favorite&view=me&type=article" {if $_GET['type'] == 'article'}class="on"{/if}><h2>文章</h2></a><!--{/if}-->
<!--{hook/space_favorite_nav_extra_mobile}-->
</div>
<!-- main collectlist start -->
<style>
.threadlist li{ padding: .12rem .1rem;}
.threadlist li .z{ width: 3.05rem; padding: 0;}
.threadlist li .z p{ margin-top: .02rem; line-height: .18rem; font-size: .13rem; color: #999;}
.threadlist li .y{ float: right; width: .4rem; padding: 0; background: #aaa; color: #fff; border: 0; border-radius: .04rem; cursor: pointer; -webkit-appearance: none; font-size: .12rem; text-align: center;}
</style>
<div class="threadlist">
<!--{if $list}-->
<ul>
<!--{loop $list $k $value}-->
<li class="cl">
<a href="{$value[url]}" class="z">
<!--{if $_GET['type'] == 'all'}--><span>{$value[icon]}</span><!--{/if}-->
{$value[title]}
<p><!--{date($value['dateline'], 'u')}--><!--{if $value[description]}-->&nbsp;&nbsp;&nbsp;"{$value[description]}"<!--{/if}--></p>
</a>
<a href="home.php?mod=spacecp&ac=favorite&op=delete&favid={$k}&type={$_GET[type]}" onclick="favorite_delete_ajax(this.id);return false;" class="y" id="a_delete_{$k}">{lang delete}</a>
</li>
<!--{/loop}-->
</ul>
<!--{else}-->
<div class="home_no_data">{lang no_favorite_yet}</div>
<!--{/if}-->
</div>
<script type="text/javascript">
function favorite_delete_ajax(obj) {
var delete_id = '#' + obj;
jQuery.ajax({
url: jQuery(delete_id).attr('href') + '&inajax=1',
type: 'POST',
dataType: 'xml',
success: function(s) {
popup.open(s.lastChild.firstChild.nodeValue);
evalscript(s.lastChild.firstChild.nodeValue);
},
error: function() {
window.location.href = jQuery(delete_id).attr('href');
popup.close();
},
});
}
</script>
<!-- main collectlist end -->
$multi
<!--{template common/footer}-->

View File

@@ -0,0 +1,93 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<span>我的好友</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<style type="text/css">
.forumdisplay_tab .a{ color: $_G['style']['zhuti'];}
.forumdisplay_tab .a:after{ content: "."; position: absolute; top: .26rem; left: 50%; display: block; width: .16rem; height: .04rem; margin-left: -.08rem; line-height: 999em; background: $_G['style']['zhuti']; color: #fff; border-radius: .02rem;}
.byg_friend_count{ padding: 0 .1rem; font-size: .14rem; color: #666; line-height: .16rem;}
.byg_friend_list{ background: #fff; margin: .1rem 0;}
.byg_friend_list li{ padding: .1rem; border-bottom: 1px solid #eee; line-height: .25rem;}
.byg_friend_list .z_img{ width: .5rem; height: .5rem; vertical-align: top;}
.byg_friend_list_y{ width: 2.95rem;}
.byg_friend_list_hot{ font-size: .14rem; color: #888;}
.byg_friend_list_note{ font-size: .14rem;}
.byg_friend_list .byg_friend_list_delete{ margin-top: .03rem; padding: 0 .08rem; line-height: .21rem; background: #aaa; color: #fff; border-radius: .04rem; font-size: .12rem;}
.tip .button2{ font-size: 15px;}
</style>
<div class="forumdisplay_tab">
<a href="home.php?mod=space&do=friend" {$a_actives[me]}><h2>{lang friend_list}</h2></a>
<a href="home.php?mod=spacecp&ac=friend&op=request" {if $_GET['op'] == 'request'}class="a"{/if}><h2>{lang friend_request}</h2></a>
</div>
<!--{if $space[self]}-->
<!--{if $list}-->
<!--{if $_GET['view']=='me'}-->
<p class="byg_friend_count">
{lang count_member}
</p>
<!--{/if}-->
<div class="byg_friend_list">
<ul>
<!--{loop $list $key $value}-->
<li class="cl">
<!--{if $value[username] == ''}-->
<a href="javascript:;" class="z"><img src="{STATICURL}image/magic/hidden.gif" alt="{lang anonymity}" class="z_img" /></a>
<div class="y byg_friend_list_y">
<a href="javascript:;" class="z">{lang anonymity}</a>
</div>
<!--{else}-->
<a href="home.php?mod=space&uid=$value[uid]&do=profile" class="z"><img src="<!--{avatar($value['uid'], 'middle', true)}-->" alt="$value[username]" class="z_img" /></a>
<div class="y byg_friend_list_y">
<a href="home.php?mod=space&uid=$value[uid]&do=profile" class="z">$value[username]</a>
<span class="y byg_friend_list_hot">{lang hot}{$value[num]}</span>
</div>
<!--{/if}-->
<div class="y byg_friend_list_y">
<!--{if $value[isfriend] && !in_array($_GET['view'], array('blacklist', 'visitor', 'trace', 'online'))}-->
<!--{if $value[username] != ''}-->
<span class="z byg_friend_list_note">(<a href="home.php?mod=spacecp&ac=friend&op=editnote&uid=$value[uid]&handlekey=editnote_{$value[uid]}" id="friend_editnote_$value[uid]" title="{lang friend_editnote}" class="dialog"><!--{if $value[note]}-->{$value[note]}<!--{else}-->{lang friend_editnote}<!--{/if}--></a>)</span>
<!--{/if}-->
<a href="home.php?mod=spacecp&ac=friend&op=ignore&uid=$value[uid]&handlekey=delfriendhk_{$value[uid]}" id="a_ignore_$key" title="{lang delete}" class="dialog y byg_friend_list_delete">{lang delete}</a>
<!--{else}-->
<!--{if $value[username] != ''}-->
<span class="z byg_friend_list_note">(<a href="javascript:;" title="{lang friend_editnote}">{$value[note]}</a>)</span>
<!--{/if}-->
<!--{/if}-->
</div>
</li>
<!--{/loop}-->
</ul>
</div>
<!--{if $multi}-->$multi<!--{/if}-->
<!--{else}-->
<!--{if $_GET['view']=='me'}-->
<div class="home_no_data">{lang count_member}</div>
<!--{/if}-->
<!--{/if}-->
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,88 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<style>
#uhd{ position: relative; background: $_G['style']['zhuti']; width: 3.75rem; overflow: hidden;}
#uhd_bg{ position: relative; z-index: 1; width: 4.75rem; height: 1.55rem; overflow: hidden; margin-top: -.2rem; margin-left: -1rem;}
.home_forum_header_js{ background: #fff !important; opacity: 0.15 !important;}
.uhd_content{ position: absolute; top: .1rem; left: 0; z-index: 10; width: 100%; text-align: center;}
.uhd_avatar img{ vertical-align: top; height: .8rem; width: .8rem; border-radius: 50%; box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.3);}
.uhd_name{ margin-top: .02rem; color: #fff; text-shadow: 1px 1px 1px #000;}
.uhd_pm{ margin-top: .05rem;}
.uhd_pm a{ display: inline-block; height: .24rem; line-height: .24rem; margin: 0 .05rem; padding: 0 .08rem 0 .05rem; background: rgba(0,0,0,.3); border-radius: .04rem; color: #fff; font-size: .12rem; vertical-align: top;}
.uhd_pm img{ margin: .03rem .02rem 0; height: .18rem; vertical-align: top;}
#uhd_bg{ padding-bottom: .2rem;}
.portal_font_nav{ position: relative; z-index: 2; margin: -.2rem .08rem .1rem; width: 3.59rem; padding: .1rem 0; border-radius: .08rem; box-shadow: 0 1px 4px #ddd;}
</style>
<div id="uhd">
<div id="uhd_bg"></div>
<div class="uhd_content">
<div class="uhd_avatar"><img src="<!--{avatar($space['uid'], 'middle', true)}-->" alt="头像" /></div>
<h2 class="uhd_name">$space[username]</h2>
<!--{if $space['uid'] != $_G['uid']}-->
<div class="uhd_pm">
<style>
div#uhd_bg{ height: 1.8rem;}
.tip .button2{ font-size: 15px;}
</style>
<!--{if helper_access::check_module('follow') && isset($_G['setting']['mobile']['forum'])}-->
<!--{if !ckfollow($space['uid'])}-->
<a href="home.php?mod=spacecp&ac=follow&op=add&hash={FORMHASH}&fuid=$space[uid]" class="dialog"><img src="{$_G['style']['styleimgdir']}/bai_shoucang.png" alt="关注" />{lang follow_add}TA</a>
<!--{else}-->
<a href="home.php?mod=spacecp&ac=follow&op=del&fuid=$space[uid]" class="dialog"><img src="{$_G['style']['styleimgdir']}/bai_shoucang.png" alt="关注" />{lang follow_del}</a>
<!--{/if}-->
<!--{/if}-->
<!--{if helper_access::check_module('friend') || !isset($_G['setting']['mobile']['forum'])}-->
<!--{if !$isfriend}-->
<a href="home.php?mod=spacecp&ac=friend&op=add&uid=$space[uid]&handlekey=addfriendhk_{$space[uid]}" class="dialog"><img src="{$_G['style']['styleimgdir']}/bl_denglu.png" alt="好友" />{lang add_friend}</a>
<!--{else}-->
<a href="home.php?mod=spacecp&ac=friend&op=ignore&uid=$space[uid]&handlekey=ignorefriendhk_{$space[uid]}" class="dialog"><img src="{$_G['style']['styleimgdir']}/bl_denglu.png" alt="好友" />{lang ignore_friend}</a>
<!--{/if}-->
<!--{/if}-->
<a href="home.php?mod=space&do=pm&subop=view&touid={$space['uid']}"><img src="{$_G['style']['styleimgdir']}/faxiaoxi.png" alt="消息" />发消息</a>
</div>
<!--{/if}-->
</div>
</div>
<div class="portal_font_nav">
<div class="swiper-wrapper">
<a href="home.php?mod=space&uid=$space[uid]&do=profile" class="swiper-slide {if $do=='profile'}on{/if}">{lang memcp_profile}</a>
<!--{if helper_access::check_module('forum') || !isset($_G['setting']['mobile']['forum'])}-->
<a href="home.php?mod=space&uid=$space[uid]&do=thread&view=me&from=space&type=thread" class="swiper-slide {if $do=='thread' && $_GET['type'] == 'thread'}on{/if}">{lang topic}</a>
<a href="home.php?mod=space&uid=$space[uid]&do=thread&view=me&from=space&type=reply" class="swiper-slide {if $do=='thread' && $_GET['type'] == 'reply'}on{/if}">{lang reply}</a>
<!--{/if}-->
<!--{if helper_access::check_module('follow') && isset($_G['setting']['mobile']['forum'])}-->
<a href="home.php?mod=follow&uid=$space[uid]&do=view&from=space" class="swiper-slide">{lang follow}</a>
<!--{/if}-->
<!--{if $_G['uid'] == $space['uid']}-->
<a href="home.php?mod=spacecp&ac=profile" class="swiper-slide">修改资料</a>
<!--{/if}-->
</div>
</div>
<link rel="stylesheet" type="text/css" href="{$_G['style']['styleimgdir']}/swiper.min.css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/home_forum_header.js"></script>
<script type="text/javascript">
jQuery.firefly({
minPixel: 300,
maxPixel: 500,
total : 3,
on: '#uhd_bg',
namespace: 'home_forum_header_js'
});
if(jQuery(".portal_font_nav .on").length > 0) {
var font_nav_initial = jQuery(".portal_font_nav .on").offset().left + jQuery(".portal_font_nav .on").width() + 10 >= jQuery(window).width() ? jQuery(".portal_font_nav .on").index() : 0;
}else{
var font_nav_initial = 0;
}
var portal_font_nav = new Swiper('.portal_font_nav', {
initialSlide : font_nav_initial,
freeMode: true,
slidesPerView: 'auto',
});
</script>

View File

@@ -0,0 +1,84 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<span>我的提醒</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<style>
.forumdisplay_tab .new_pm{ position: absolute; right: .06rem; top: .06rem; width: 4px; height: 4px; border-radius: 50%;}
.tip .button2{ font-size: 15px;}
</style>
<div class="forumdisplay_tab">
<a href="home.php?mod=space&do=notice&view=mypost&type=post" {if $_GET['type'] == 'post'}class="on"{/if}>
<h2>帖子</h2>
<!--{if $_G['member']['newprompt_num']['post']}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<a href="home.php?mod=space&do=notice&view=interactive&type=friend" {if $_GET['type'] == 'friend'}class="on"{/if}>
<h2>好友</h2>
<!--{if $_G['member']['newprompt_num']['friend']}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
</div>
<!--{if $list}-->
<div class="post_notice_list">
<ul>
<!--{loop $list $key $value}-->
<li class="cl">
<div class="post_notice_list_z">
<!--{if $value[authorid]}-->
<a href="home.php?mod=space&uid={$value[authorid]}&do=profile"><!--{avatar($value['authorid'],'middle')}--></a>
<!--{else}-->
<img src="{$_G['style']['styleimgdir']}/middle.gif" alt="头像"/>
<!--{/if}-->
</div>
<div class="post_notice_list_yt" style="$value[style]">
<!--{if $value[authorid] && $value[author]}-->
<a href="home.php?mod=space&uid={$value[authorid]}&do=profile">{$value[author]}</a>
<i><!--{date($value['dateline'], 'u')}--></i><span>{$value[note]}</span>
<!--{else}-->
<i><!--{date($value['dateline'], 'u')}--></i>{$value[note]}
<!--{/if}-->
</div>
<!--{if $value[from_num]}-->
<div class="post_notice_list_yb">{lang ignore_same_notice_message}</div>
<!--{/if}-->
</li>
<!--{/loop}-->
</ul>
</div>
<!--{if $multi}--><div class="pgs cl">$multi</div><!--{/if}-->
<!--{if $_GET['type'] == 'friend'}-->
<script type="text/javascript">
jQuery(".post_notice_list_yt .xw1").removeAttr("onclick");
jQuery(".post_notice_list_yt .xw1").addClass("dialog");
</script>
<!--{/if}-->
<!--{else}-->
<div class="home_no_data">{lang no_notice}</div>
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,205 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{eval $_G['home_tpl_titles'] = array('{lang pm}');}-->
<!--{template common/header}-->
<style>
.pmbox li .num{ font-size: 12px;}
.pmbox li a{ height: 42px; line-height: 21px; padding: 6px 10px 4px 55px;}
.pmbox li a .grey{ height: 20px; line-height: 20px; overflow: hidden; font-size: 13px;}
.byg_grouppm{ margin-top: .1rem; padding: .12rem; background: #fff;}
.byg_grouppm_t{ margin-bottom: .06rem; padding-bottom: .12rem; border-bottom: 1px dashed #eee;}
.byg_grouppm_t img{ width: .4rem; height: .4rem; vertical-align: top;}
.byg_grouppm_t .y{ width: 3.05rem; line-height: .2rem; font-size: .14rem;}
.byg_grouppm_b_t b{ font-size: .17rem; font-weight: 700;}
.byg_grouppm_b_b a{ display: inline-block; margin-top: .1rem; padding: .02rem .08rem; background: $_G['style']['zhuti']; font-size: .12rem; color: #fff; border-radius: .02rem;}
</style>
<!--{if in_array($filter, array('privatepm')) || in_array($filter, array('announcepm')) || in_array($_GET[subop], array('view')) || in_array($_GET[subop], array('viewg'))}-->
<!--{if in_array($filter, array('privatepm')) || in_array($filter, array('announcepm'))}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<span>我的消息</span>
</div>
<a href="home.php?mod=spacecp&ac=pm" title="发表新消息" class="header_y">
<img src="{$_G['style']['styleimgdir']}/faxiaoxi.png" alt="发消息"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<div class="forumdisplay_tab">
<a href="home.php?mod=space&do=pm&filter=privatepm" {if $_GET['filter'] != 'announcepm'}class="on"{/if}>私人消息</a>
<a href="home.php?mod=space&do=pm&filter=announcepm" {if $_GET['filter'] == 'announcepm'}class="on"{/if}>公共消息</a>
</div>
<!-- main pmlist start -->
<div class="pmbox">
<!--{if $grouppms}-->
<ul>
<!--{loop $grouppms $grouppm}-->
<li>
<div class="avatar_img"><img src="<!--{if $grouppm[author]}-->{IMGDIR}/annpm.png<!--{else}-->{IMGDIR}/systempm.png<!--{/if}-->" alt="头像" style="height:32px;width:32px;"/></div>
<a href="home.php?mod=space&do=pm&subop=viewg&pmid=$grouppm[id]">
<div class="cl">
<!--{if !$gpmstatus[$grouppm[id]]}--><span class="num">新通知</span><!--{/if}-->
<!--{if $grouppm[author]}-->
<span class="name">{$grouppm[author]} {lang say}:</span>
<!--{else}-->
<span class="name">系统 {lang say}:</span>
<!--{/if}-->
</div>
<div class="cl grey">
<span class="time">&nbsp;&nbsp;&nbsp;<!--{date($grouppm['dateline'], 'u')}--></span>
<span>{$grouppm[message]}</span>
</div>
</a>
</li>
<!--{/loop}-->
</ul>
<!--{/if}-->
<!--{if $list}-->
<ul>
<!--{loop $list $key $value}-->
<li>
<div class="avatar_img"><img src="<!--{if $value[pmtype] == 2}-->{STATICURL}image/common/grouppm.png<!--{else}--><!--{avatar($value['touid'] ? $value['touid'] : ($value['lastauthorid'] ? $value['lastauthorid'] : $value['authorid']), 'middle', true)}--><!--{/if}-->" alt="头像" style="height:32px;width:32px;"/></div>
<a href="{if $value[touid]}home.php?mod=space&do=pm&subop=view&touid=$value[touid]{else}home.php?mod=space&do=pm&subop=view&plid={$value['plid']}&type=1{/if}">
<div class="cl">
<!--{if $value[new]}--><span class="num">$value[pmnum]</span><!--{/if}-->
<!--{if $value[touid]}-->
<!--{if $value[msgfromid] == $_G[uid]}-->
<span class="name">{lang me}{lang you_to} {$value[tousername]}{lang say}:</span>
<!--{else}-->
<span class="name">{$value[tousername]} {lang you_to}{lang me}{lang say}:</span>
<!--{/if}-->
<!--{elseif $value['pmtype'] == 2}-->
<span class="name">{lang chatpm_author}:$value['firstauthor']</span>
<!--{/if}-->
</div>
<div class="cl grey">
<span class="time">&nbsp;&nbsp;&nbsp;<!--{date($value['dateline'], 'u')}--></span>
<span><!--{if $value['pmtype'] == 2}-->[{lang chatpm}]<!--{if $value[subject]}-->$value[subject]<br><!--{/if}--><!--{/if}--><!--{if $value['pmtype'] == 2 && $value['lastauthor']}--><div style="padding:0 0 0 20px;">......<br>$value['lastauthor'] : $value[message]</div><!--{else}-->$value[message]<!--{/if}--></span>
</div>
</a>
</li>
<!--{/loop}-->
</ul>
<!--{/if}-->
<!--{if $_GET['filter'] == 'announcepm'}-->
<!--{if !$grouppms}-->
<div class="home_no_data">没有消息</div>
<!--{/if}-->
<!--{else}-->
<!--{if !$grouppms && !$list}-->
<div class="home_no_data">没有消息</div>
<!--{/if}-->
<!--{/if}-->
<!--{if $multi}-->$multi<!--{/if}-->
</div>
<!-- main pmlist end -->
<!--{elseif in_array($_GET[subop], array('view')) || in_array($_GET[subop], array('viewg'))}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&do=pm" title="我的消息">我的消息</a>
<em>&rsaquo;</em>
<span>{lang viewmypm}</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<!--{if in_array($_GET[subop], array('view'))}-->
<!-- main viewmsg_box start -->
<div class="wp">
<div class="msgbox b_m">
<!--{if !$list}-->
<p style="text-align:center;">{lang no_corresponding_pm}</p>
<!--{else}-->
<!--{loop $list $key $value}-->
<!--{subtemplate home/space_pm_node}-->
<!--{/loop}-->
$multi
<!--{/if}-->
</div>
<form id="pmform" class="pmform" name="pmform" method="post" action="home.php?mod=spacecp&ac=pm&op=send&pmid=$pmid&daterange=$daterange&pmsubmit=yes&mobile=2" >
<input type="hidden" name="formhash" value="{FORMHASH}" />
<!--{if !$touid}-->
<input type="hidden" name="plid" value="$plid" />
<!--{else}-->
<input type="hidden" name="touid" value="$touid" />
<!--{/if}-->
<div class="reply b_m"><input type="text" value="" class="px" autocomplete="off" id="replymessage" name="message"></div>
<div class="reply b_m"><input type="button" name="pmsubmit" id="pmsubmit" class="formdialog button2" value="发送" style="margin:0;" /></div>
</form>
</div>
<!-- main viewmsg_box end -->
<!--{else}-->
<!--{if $grouppm}-->
<div class="byg_grouppm">
<dl>
<dd class="byg_grouppm_t cl">
<!--{if $grouppm[author]}-->
<img src="{IMGDIR}/annpm.png" alt="" />
<!--{else}-->
<img src="{IMGDIR}/systempm.png" alt="" />
<!--{/if}-->
<div class="y">
<p><!--{if $grouppm['author']}-->{lang sendmultipmwho}<!--{else}-->{lang sendmultipmsystem}<!--{/if}--></p>
<p class="xg1"><!--{date($grouppm['dateline'], 'u')}--></p>
</div>
</dd>
<dd class="byg_grouppm_b">
<p class="byg_grouppm_b_t">$grouppm[message]</p>
<!--{if $grouppm[author]}-->
<p class="byg_grouppm_b_b">
<a href="home.php?mod=space&do=pm&subop=view&touid={$grouppm[authorid]}">{lang reply} $grouppm[author]</a>
</p>
<!--{/if}-->
</dd>
</dl>
</div>
<!--{else}-->
<div class="home_no_data">
{lang no_corresponding_pm}
</div>
<!--{/if}-->
<!--{/if}-->
<!--{/if}-->
<!--{else}-->
<div class="home_no_data">
{lang user_mobile_pm_error}
</div>
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,25 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{if $value[msgfromid] != $_G['uid']}-->
<div class="friend_msg cl">
<div class="avat z"><img src="<!--{avatar($value['msgfromid'], 'middle', true)}-->" alt="头像" style="height:32px;width:32px;"/></div>
<div class="dialog_green z">
<div class="dialog_c">
<div class="dialog_t">$value[message]</div>
</div>
<div class="dialog_b"></div>
<div class="date"><!--{date($value['dateline'], 'u')}--></div>
</div>
</div>
<!--{else}-->
<div class="self_msg cl">
<div class="avat y"><img src="<!--{avatar($value['msgfromid'], 'middle', true)}-->" alt="头像" style="height:32px;width:32px;"/></div>
<div class="dialog_white y">
<div class="dialog_c">
<div class="dialog_t">$value[message]</div>
</div>
<div class="dialog_b"></div>
<div class="date"><!--{date($value['dateline'], 'u')}--></div>
</div>
</div>
<!--{/if}-->

View File

@@ -0,0 +1,269 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{if $_GET['mycenter'] && !$_G['uid']}-->
<!--{eval dheader('Location:member.php?mod=logging&action=login');exit;}-->
<!--{/if}-->
<!--{template common/header}-->
<!--{if !$_GET['mycenter']}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<!--{if $_G['uid'] == $space['uid']}-->
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em><span>我的资料</span>
<!--{else}-->
<em>&rsaquo;</em><span>{$space[username]}&nbsp;的资料</span>
<!--{/if}-->
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<!--{if $space[uid]}-->
<!--{template home/space_menu}-->
<!--{subtemplate home/space_profile_body}-->
<!--{/if}-->
<!--{else}-->
<!--{eval}-->
$byg_avatar = false;
if(isset($_COOKIE["byg_avatar"])){
$byg_avatar = true;
}else{
setcookie("byg_avatar", 1, time()+5);
}
<!--{/eval}-->
<!--{if !$byg_avatar}-->
<script type="text/javascript">
if(document.referrer.indexOf("mod=spacecp&ac=avatar") != -1) {
location.reload(true);
}
</script>
<!--{/if}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<span>个人中心</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<!-- userinfo start -->
<div class="userinfo">
<style>
#uhd{ position: relative; background: $_G['style']['zhuti']; width: 3.75rem; overflow: hidden;}
#uhd_bg{ position: relative; z-index: 1; width: 4.75rem; height: 2.1rem; overflow: hidden; margin-top: -.2rem; margin-left: -1rem;}
.home_forum_header_js{ background: #fff !important; opacity: 0.15 !important;}
</style>
<div id="uhd">
<div id="uhd_bg"></div>
<div class="user_avatar">
<div class="avatar_m"><a href="home.php?mod=spacecp&ac=avatar"><img src="<!--{avatar($_G['uid'], 'big', true)}-->" alt="头像" /><span>修改头像</span></a></div>
<h2 class="name">{$_G[username]}</h2>
<a href="home.php?mod=spacecp&ac=usergroup"><p class="home_user_group">用户组:{$_G[group][grouptitle]}</p></a>
</div>
</div>
<ul class="user_avatar_credits cl">
<li><span>$space['credits']</span>{lang credits}</li>
<!--{loop $_G['setting']['extcredits'] $key $value}-->
<!--{if $value['title']}-->
<li><span>{$space["extcredits$key"]}{$value['unit']}</span>$value['title']</li>
<!--{/if}-->
<!--{/loop}-->
</ul>
<!--{eval $home_gg = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版个人中心页广告','summary');}-->
<!--{if $home_gg}-->
<style>
div.byg_gg{ margin: .1rem; border-radius: .08rem;}
div.byg_gg img{ max-width: 3.35rem;}
</style>
<div class="byg_gg">{$home_gg}</div>
<!--{/if}-->
<!--{hook/space_profile_top_mobile}-->
<ul class="myinfo_sige_ul cl">
<li>
<a href="home.php?mod=space&uid={$_G[uid]}&do=profile">
<img src="{$_G['style']['styleimgdir']}/bl_ziliao.png" alt="资料"/>
<p>我的资料</p>
</a>
</li>
<li>
<a href="home.php?mod=spacecp&ac=credit&op=base">
<img src="{$_G['style']['styleimgdir']}/bl_jifen.png" alt="积分"/>
<p>我的积分</p>
</a>
</li>
<li>
<a href="home.php?mod=spacecp&ac=profile&op=password">
<img src="{$_G['style']['styleimgdir']}/bl_mima.png" alt="设置"/>
<p>我的设置</p>
</a>
</li>
<li>
<a href="{if !$_G['member']['newprompt_num']['post'] && $_G['member']['newprompt_num']['friend']}home.php?mod=space&do=notice&view=interactive&type=friend{else}home.php?mod=space&do=notice&view=mypost&type=post{/if}">
<img src="{$_G['style']['styleimgdir']}/bl_tixing.png" alt="提醒"/>
<p>我的提醒</p>
<!--{if $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
</li>
<li>
<a href="home.php?mod=space&do=pm">
<img src="{$_G['style']['styleimgdir']}/bl_xiaoxi.png" alt="消息"/>
<p>我的消息</p>
<!--{if $_G[member][newpm]}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
</li>
<li>
<a href="home.php?mod=space&uid={$_G[uid]}&do=thread&view=me">
<img src="{$_G['style']['styleimgdir']}/bl_zhuti.png" alt="主题"/>
<p>我的帖子</p>
</a>
</li>
<li>
<a href="home.php?mod=space&do=friend">
<img src="{$_G['style']['styleimgdir']}/bl_haoyou.png" alt="好友"/>
<p>我的好友</p>
</a>
</li>
<li>
<a href="home.php?mod=space&uid={$_G[uid]}&do=favorite&view=me&type=thread">
<img src="{$_G['style']['styleimgdir']}/bl_shoucang.png" alt="收藏"/>
<p>我的收藏</p>
</a>
</li>
</ul>
<div class="myinfo_list cl">
<ul>
<!--{hook/space_profile_nav_extra_mobile}-->
<!--{if helper_access::check_module('follow') && isset($_G['setting']['mobile']['forum'])}-->
<li>
<a href="home.php?mod=follow">
<img src="{$_G['style']['styleimgdir']}/bl_guangbo.png" alt="广播"/>广播收听<img src="{$_G['style']['styleimgdir']}/jinru.png" alt="进入" class="myinfo_list_jinru"/>
</a>
</li>
<!--{/if}-->
<!--{if helper_access::check_module('blog')}-->
<li>
<a href="home.php?mod=space&uid={$_G['uid']}&do=blog&view=me">
<img src="{$_G['style']['styleimgdir']}/bl_rizhi.png" alt="日志"/>我的日志<img src="{$_G['style']['styleimgdir']}/jinru.png" alt="进入" class="myinfo_list_jinru"/>
</a>
</li>
<!--{/if}-->
<!--{if helper_access::check_module('task')}-->
<li>
<a href="home.php?mod=task">
<img src="{$_G['style']['styleimgdir']}/bl_renwu.png" alt="任务"/>我的任务<img src="{$_G['style']['styleimgdir']}/jinru.png" alt="进入" class="myinfo_list_jinru"/>
</a>
</li>
<!--{/if}-->
<!--【个人中心自定义导航开始】-->
<!--{eval}-->
$home_nav1 = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版个人中心导航1','param');
$home_nav2 = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版个人中心导航2','param');
$home_nav3 = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版个人中心导航3','param');
$home_nav4 = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版个人中心导航4','param');
$home_nav5 = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版个人中心导航5','param');
$home_nav6 = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版个人中心导航6','param');
<!--{/eval}-->
<!--{if $home_nav1}-->
<li>
<a href="{$home_nav1['url']}" target="{$home_nav1['atarget']}"><img src="{$home_nav1['pic']}" alt="{$home_nav1['text']}"/>{$home_nav1['text']}<img src="{$_G['style']['styleimgdir']}/jinru.png" alt="进入" class="myinfo_list_jinru"/></a>
</li>
<!--{/if}-->
<!--{if $home_nav2}-->
<li>
<a href="{$home_nav2['url']}" target="{$home_nav2['atarget']}"><img src="{$home_nav2['pic']}" alt="{$home_nav2['text']}"/>{$home_nav2['text']}<img src="{$_G['style']['styleimgdir']}/jinru.png" alt="进入" class="myinfo_list_jinru"/></a>
</li>
<!--{/if}-->
<!--{if $home_nav3}-->
<li>
<a href="{$home_nav3['url']}" target="{$home_nav3['atarget']}"><img src="{$home_nav3['pic']}" alt="{$home_nav3['text']}"/>{$home_nav3['text']}<img src="{$_G['style']['styleimgdir']}/jinru.png" alt="进入" class="myinfo_list_jinru"/></a>
</li>
<!--{/if}-->
<!--{if $home_nav4}-->
<li>
<a href="{$home_nav4['url']}" target="{$home_nav4['atarget']}"><img src="{$home_nav4['pic']}" alt="{$home_nav4['text']}"/>{$home_nav4['text']}<img src="{$_G['style']['styleimgdir']}/jinru.png" alt="进入" class="myinfo_list_jinru"/></a>
</li>
<!--{/if}-->
<!--{if $home_nav5}-->
<li>
<a href="{$home_nav5['url']}" target="{$home_nav5['atarget']}"><img src="{$home_nav5['pic']}" alt="{$home_nav5['text']}"/>{$home_nav5['text']}<img src="{$_G['style']['styleimgdir']}/jinru.png" alt="进入" class="myinfo_list_jinru"/></a>
</li>
<!--{/if}-->
<!--{if $home_nav6}-->
<li>
<a href="{$home_nav6['url']}" target="{$home_nav6['atarget']}"><img src="{$home_nav6['pic']}" alt="{$home_nav6['text']}"/>{$home_nav6['text']}<img src="{$_G['style']['styleimgdir']}/jinru.png" alt="进入" class="myinfo_list_jinru"/></a>
</li>
<!--{/if}-->
<!--【个人中心自定义导航结束】-->
<!--{if $_G['uid'] && getstatus($_G['member']['allowadmincp'], 1) && isset($_G['setting']['mobile']['forum'])}-->
<li>
<a href="admin.php"><img src="{$_G['style']['styleimgdir']}/bl_ziliao_xiugai.png" alt="管理"/>管理中心<img src="{$_G['style']['styleimgdir']}/jinru.png" alt="进入" class="myinfo_list_jinru"/></a>
</li>
<!--{/if}-->
<!--{if $space['uid'] == $_G['uid']}-->
<li>
<a href="member.php?mod=logging&action=logout&formhash={FORMHASH}"><img src="{$_G['style']['styleimgdir']}/home_tuichu.png" alt="退出"/>退出登录<img src="{$_G['style']['styleimgdir']}/jinru.png" alt="进入" class="myinfo_list_jinru"/></a>
</li>
<!--{/if}-->
</ul>
<!--{hook/space_profile_baseinfo_top_mobile}-->
<!--{hook/space_profile_baseinfo_bottom_mobile}-->
<!--{hook/space_profile_extrainfo_mobile}-->
</div>
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/home_forum_header.js"></script>
<script type="text/javascript">
jQuery.firefly({
minPixel: 300,
maxPixel: 500,
total : 3,
on: '#uhd_bg',
namespace: 'home_forum_header_js'
});
</script>
</div>
<!-- userinfo end -->
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,183 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<div class="profile_body">
<style>
.profile_body, .profile_body a{ font-size: .15rem; line-height: 1.8;}
.profile_body_1, .profile_body_2, .profile_body_3, .profile_body_4, .profile_body_5, .profile_body_6, .profile_body_7{ margin: .06rem .08rem; padding: .1rem; background: #fff; border-radius: .08rem;}
.profile_body h2{ display: block; margin-bottom: .1rem; padding-bottom: .08rem; border-bottom: 1px solid #eee; font-size: .16rem; font-weight: 700;}
.profile_body_1ul2, .profile_body_1ul3, .profile_body_6ul1{ margin-bottom: .1rem; padding-bottom: .1rem; border-bottom: 1px dashed #eaeaea;}
.profile_body ul em{ margin-right: .05rem; color: #999;}
.profile_body .pipe{ margin: 0 .05rem; color: #ccc;}
.profile_body_4 a{ display: inline-block; margin: .05rem 0; padding: 0 .06rem; border: 1px solid $_G['style']['zhuti']; border-radius: .02rem; color: $_G['style']['zhuti']; font-size: .14rem;}
.profile_body_2p{ margin: .15rem 0 .05rem;}
.profile_body_2p img{ margin-right: .02rem; vertical-align: middle;}
.profile_body img{ max-width: 100%;}
.profile_body_1ul3 a{ color: #999;}
</style>
<script type="text/javascript">
function zoom(){};
function img_onmouseoverfunc(){};
function thumbImg(){};
</script>
<div class="profile_body_1">
<h2>
{$space[username]}
<!--{if $_G['ols'][$space[uid]]}-->
<img src="{IMGDIR}/ol.gif" alt="在线" title="{lang online}" class="vm" />&nbsp;
<!--{/if}-->
<span>(UID: {$space[uid]}
<!--{eval $isfriendinfo = 'home_friend_info_'.$space['uid'].'_'.$_G['uid'];}-->
<!--{if $_G[$isfriendinfo][note]}-->
, <span>$_G[$isfriendinfo][note]</span>
<!--{/if}-->
)</span>
</h2>
<ul class="profile_body_1ul1">
<!--{if $_G['setting']['allowspacedomain'] && $_G['setting']['domain']['root']['home'] && checkperm('domainlength') && !empty($space['domain'])}-->
<!--{eval $spaceurl = 'http://'.$space['domain'].'.'.$_G['setting']['domain']['root']['home'];}-->
<li><em>{lang second_domain}</em>$spaceurl</li>
<!--{/if}-->
<!--{if $_G[setting][homepagestyle]}-->
<li><em>{lang space_visits}</em>$space[views]</li>
<!--{/if}-->
<!--{if in_array($_G[adminid], array(1, 2))}-->
<li><em>Email</em>$space[email]</li>
<!--{/if}-->
<li><em>{lang email_status}</em><!--{if $space[emailstatus] > 0}-->{lang profile_verified}<!--{else}-->{lang profile_no_verified}<!--{/if}--></li>
</ul>
<ul class="profile_body_1ul2">
<!--{if $space[spacenote]}--><li><em>{lang spacenote}</em>$space[spacenote]</li><!--{/if}-->
<!--{if $space[customstatus]}--><li><em>{lang permission_basic_status}</em>$space[customstatus]</li><!--{/if}-->
<!--{if $space[group][maxsigsize] && $space[sightml]}--><li><em>{lang personal_signature}</em><table><tr><td>$space[sightml]</td></tr></table></li><!--{/if}-->
</ul>
<ul class="profile_body_1ul3">
<li>
<em>{lang stat_info}</em>
<a href="javascript:;">{lang friends_num} $space[friends]</a>
<!--{if helper_access::check_module('doing')}-->
<span class="pipe">|</span>
<a href="javascript:;">{lang doings_num} $space[doings]</a>
<!--{/if}-->
<!--{if helper_access::check_module('blog')}-->
<span class="pipe">|</span>
<a href="javascript:;">{lang blogs_num} $space[blogs]</a>
<!--{/if}-->
<!--{if helper_access::check_module('album')}-->
<span class="pipe">|</span>
<a href="javascript:;">{lang albums_num} $space[albums]</a>
<!--{/if}-->
<!--{if $_G['setting']['allowviewuserthread'] !== false}-->
<span class="pipe">|</span>
<!--{eval $space['posts'] = $space['posts'] - $space['threads'];}-->
<a href="javascript:;">{lang replay_num} $space[posts]</a>
<span class="pipe">|</span>
<a href="javascript:;">{lang threads_num} $space[threads]</a>
<!--{/if}-->
<!--{if helper_access::check_module('share')}-->
<span class="pipe">|</span>
<a href="javascript:;">{lang shares_num} $space[sharings]</a>
<!--{/if}-->
</li>
</ul>
<ul class="profile_body_1ul4">
<!--{loop $profiles $value}-->
<li><em>$value[title]</em>$value[value]</li>
<!--{/loop}-->
</ul>
</div>
<!--{if $space['medals']}-->
<div class="profile_body_2">
<h2>{lang medals}</h2>
<p class="profile_body_2p">
<a href="javascript:;">
<!--{loop $space['medals'] $medal}-->
<img src="{STATICURL}image/common/{echo str_replace("static/image/common/","",$medal['image']);}" alt="$medal[name]" id="md_{$medal[medalid]}" />
<!--{/loop}-->
</a>
</p>
</div>
<!--{/if}-->
<!--{if $_G['setting']['verify']['enabled']}-->
<!--{eval $showverify = true;}-->
<!--{loop $_G['setting']['verify'] $vid $verify}-->
<!--{if $verify['available']}-->
<!--{if $showverify}-->
<div class="profile_body_3">
<h2>{lang profile_verify}</h2>
<!--{eval $showverify = false;}-->
<!--{/if}-->
<!--{if $space['verify'.$vid] == 1}-->
<a href="javascript:;"><!--{if $verify['icon']}--><img src="$verify['icon']" class="vm" alt="$verify[title]" /><!--{/if}-->{$verify[title]}</a>&nbsp;
<!--{elseif !empty($verify['unverifyicon'])}-->
<a href="javascript:;"><!--{if $verify['unverifyicon']}--><img src="$verify['unverifyicon']" class="vm" alt="$verify[title]" /><!--{/if}-->{$verify[title]}</a>&nbsp;
<!--{/if}-->
<!--{/if}-->
<!--{/loop}-->
<!--{if !$showverify}--></div><!--{/if}-->
<!--{/if}-->
<!--{if $count}-->
<div class="profile_body_4">
<h2>{lang manage_forums}</h2>
<!--{loop $manage_forum $key $value}-->
<a href="forum.php?mod=forumdisplay&fid=$key">{$value}</a> &nbsp;
<!--{/loop}-->
</div>
<!--{/if}-->
<!--{if $groupcount}-->
<div class="profile_body_5">
<h2>{lang joined_group}</h2>
<!--{loop $usergrouplist $key $value}-->
<a href="javascript:;">{$value['name']}</a> &nbsp;
<!--{/loop}-->
</div>
<!--{/if}-->
<div class="profile_body_6">
<h2>{lang active_profile}</h2>
<ul class="profile_body_6ul1">
<!--{if $space[adminid]}--><li><em>{lang management_team}</em><span style="color:{$space[admingroup][color]}"><a href="javascript:;">{$space[admingroup][grouptitle]}</a></span> {$space[admingroup][icon]}</li><!--{/if}-->
<li><em>{lang usergroup}</em><span style="color:{$space[group][color]}"><a href="javascript:;">{$space[group][grouptitle]}</a></span>{$space[group][icon]}<!--{if !empty($space['groupexpiry'])}-->&nbsp;{lang group_useful_life}&nbsp;<!--{date($space['groupexpiry'], 'Y-m-d H:i')}--><!--{/if}--></li>
<!--{if $space[extgroupids]}--><li><em>{lang group_expiry_type_ext}</em>$space[extgroupids]</li><!--{/if}-->
</ul>
<ul class="profile_body_6ul2">
<!--{if $space[oltime]}--><li><em>{lang online_time}</em>$space[oltime] {lang hours}</li><!--{/if}-->
<li><em>{lang regdate}</em>$space[regdate]</li>
<li><em>{lang last_visit}</em>$space[lastvisit]</li>
<!--{if $_G[uid] == $space[uid] || $_G[group][allowviewip]}-->
<li><em>{lang register_ip}</em>$space[regip] - $space[regip_loc]</li>
<li><em>{lang last_visit_ip}</em>$space[lastip]:$space[port] - $space[lastip_loc]</li>
<!--{/if}-->
<!--{if $space[lastactivity]}--><li><em>{lang last_activity_time}</em>$space[lastactivity]</li><!--{/if}-->
<!--{if $space[lastpost]}--><li><em>{lang last_post_time}</em>$space[lastpost]</li><!--{/if}-->
<!--{if $space[lastsendmail]}--><li><em>{lang last_send_email}</em>$space[lastsendmail]</li><!--{/if}-->
<li><em>{lang time_offset}</em>
<!--{eval $timeoffset = array({lang timezone});}-->
$timeoffset[$space[timeoffset]]
</li>
</ul>
</div>
<div class="profile_body_7">
<h2>{lang stat_info}</h2>
<ul class="profile_body_7ul">
<li><em>{lang used_space}</em>$space[attachsize]</li>
<!--{if $space[buyercredit]}-->
<li><em>{lang eccredit_sellerinfo}</em><a href="javascript:;">$space[buyercredit] <img src="{STATICURL}image/traderank/buyer/$space[buyerrank].gif" border="0" class="vm" /></a></li>
<!--{/if}-->
<!--{if $space[sellercredit]}-->
<li><em>{lang eccredit_buyerinfo}</em><a href="javascript:;">$space[sellercredit] <img src="{STATICURL}image/traderank/seller/$space[sellerrank].gif" border="0" class="vm" /></a></li>
<!--{/if}-->
<li><em>{lang credits}</em>$space[credits]</li>
<!--{loop $_G[setting][extcredits] $key $value}-->
<!--{if $value[title]}-->
<li><em>$value[title]</em>{$space["extcredits$key"]} $value[unit]</li>
<!--{/if}-->
<!--{/loop}-->
</ul>
</div>
</div>

View File

@@ -0,0 +1,136 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<span>{lang task}</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<div class="forumdisplay_tab">
<a href="home.php?mod=task&item=new" {if $_GET['item'] == 'new'}class="on"{/if}>新任务</a>
<a href="home.php?mod=task&item=doing" {if $_GET['item'] == 'doing'}class="on"{/if}>进行中</a>
<a href="home.php?mod=task&item=done" {if $_GET['item'] == 'done'}class="on"{/if}>已完成</a>
<a href="home.php?mod=task&item=failed" {if $_GET['item'] == 'failed'}class="on"{/if}>未完成</a>
</div>
<div id="medal_ul" class="medallist cl">
<style type="text/css">
.medallist li { overflow: hidden; position: relative; background: #fff; margin-top: 0.1rem;}
.medallist .medal_top { height: 38px;padding: 12px 0 5px;}
.medallist .medal_top .mg_img {float: left;margin-right: 10px;}
.medallist .medal_top .mg_img img {float: left;height: 38px;line-height: 38px;border-radius: 50%;}
.medallist .tbmu {padding: 10px;margin-top: 15px;font-size: 14px;line-height: 24px;background: #FDFBEC;border: 1px dashed #ECE7D5;color: #F26C4F;position: relative;}
.medallist .mg_tit h3 { height: 20px; line-height: 20px; font-size: 15px; overflow: hidden;}
.medallist .mg_tit span { display: block;height: 18px;line-height: 18px;font-size: 12px;color: #999; }
.medallist .mg_tit span .xi1 { font-size: 14px; color: #F26C4F; }
.medallist .medal_msg {margin-bottom: 5px;margin-left: 32px;line-height: 22px;font-size: 14px;color: #999;}
.medallist .medal_btn { position: absolute;top: 20px;right: 13px;height: 30px;line-height: 30px; background-color: $_G['style']['zhuti'];font-size: 12px;border-radius: 3px;text-align: center; max-width: 120px; overflow: hidden; color: #fff;}
.medallist .medal_btn span {color: #FFF;padding: 0 12px;}
.medallist .medal_btn span.hui {display:block;background: #F3F3F3; color: #999;}
.medallist .medal_btn a {color: #FFF;padding: 0 12px;}
.medallist .medal_btn span a {padding: 0 0;}
.last_medal {background: #FFF;}
.last_medal li { padding: 10px 12px; border-bottom: 1px solid #ededed; overflow: hidden; }
.last_medal li a { display: block; overflow: hidden; position: relative; }
.last_medal li img { float: left; margin-right: 10px; width: 30px; height: 30px; border-radius: 50%; }
.last_medal li .name { color: #333; line-height: 30px; font-size: 15px; }
.last_medal .last_medal_msg { margin-top: 5px; color: #999; font-size: 13px; line-height: 20px; width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.last_medal .last_medal_msg strong { color: #333; }
.mgcl {padding: 5px;position: relative;}
.mgcl li {float: left;width: 25%;}
.mgcl.mgcls li {float: left;width: 50%;}
.mgcl .mgcl_box {margin:5px; padding: 10px 8px;background: #FFF;border-radius: 3px;text-align: center;}
.mgcl .mg_img {height: 34px;}
.mgcl .mg_img img {height: 34px;}
.mgcl.mgcls .mg_img {height: 50px;}
.mgcl.mgcls .mg_img img {height: 50px;}
.mgcl .mgcl_box p { margin-top: 10px; height: 20px;line-height: 20px;font-size: 14px;color: #333;overflow: hidden;}
.mgcl.mgcls .mgcl_box p { margin-top: 8px;}
.mgcl .mgcl_box .mgcl_p strong {color: #F26C4F;font-weight: 500;}
.mgcl .mgcl_box .mgcl_p {color: #999;}
.mgcl .mgcl_box .mgcl_btn {height: 26px;line-height: 26px;}
.mgcl .mgcl_box .mgcl_btn a { display: block;float: left; padding: 0 10px; height: 26px;line-height: 26px;background-color: $_G['style']['zhuti'];font-size: 12px;color: #FFF;border-radius: 3px;text-align: center;}
.mgcl.mgcls .mgcl_box .mgcl_btn a { display: inline-block; float: initial;}
.mgcl .mgcl_box .mgcl_btn a.mgcl_a2 { float: right;}
.mgcl.mgcls .mgcl_box .mgcl_btn a { float: initial;margin: 0 5px;}
.mgcl .mgcl_box .mgcl_btn .mgcl_sp {color: #F26C4F;font-weight: 500;}
.tip_btn { padding: 0 15px 15px;overflow: hidden; }
.medal_tip_top {padding: 15px 15px 0 15px;}
.medal_tip_top p {line-height: 22px;font-size: 12px;color: #999;}
.medal_tip_top .author p {margin-top: 6px;line-height: 24px;font-size: 15px;color: #333;overflow: hidden;}
.medal_tip_box .ts {margin: 10px 0;height: 22px;line-height: 22px;font-size: 15px;color: #F26C4F;overflow: hidden;}
.medallist .task_top .mg_tit span { color: #F26C4F; }
.medallist .medal_top.task_top .mg_img img { width: 50px;height: 50px; }
.medallist .task_list .medal_msg { margin-left: 60px; }
.threadlist li.task_list .medal_msg a { display: initial;color: #F26C4F;}
.task_list .list_jd { margin-left: 60px; margin-top: 5px; }
.task_list_jd { position: relative; width: 100%; height: 20px; margin-bottom: 12px; background: #E8E8E8; border-radius: 0 10px 10px 0; }
.task_pdr { display: block; height: 20px; background: #5AAF4A; border-radius: 0 10px 10px 0; }
.task_csc { position: absolute; left: 0; top: 0; padding: 0 5%; width: 90%; line-height: 20px; font-size: 12px; color: #FFF; }
.task_view {padding:2px 15px 15px 15px;background-color:#fff;border-top:1px solid #ededed;border-bottom:1px solid #ededed;margin-top:10px}
.task_view_box { padding: 12px 0; border-bottom: 1px solid #ededed; overflow: hidden; position: relative; }
.task_view_box .notice_avt { float: left; margin-right: 10px; width: 50px; height: 50px; border-radius: 50%; }
.task_view_box .notice_avt img { width: 50px; height: 50px; border-radius: 50%; }
.task_us { margin-top: 3px; overflow: hidden; }
.task_us .task_name { width: 100%; line-height: 24px; font-size: 16px; overflow: hidden; }
.task_js { line-height: 26px; font-size: 14px; color: #999; }
.task_viewnr { margin-bottom: 12px;}
.task_viewappnr {border-bottom:1px solid #ededed;font-size: 14px;padding: 10px 0;}
.task_viewappnr .task_th {float: left;width:140px;line-height: 22px;color: #999;}
.task_viewappnr p {line-height: 22px;}
.task_viewappnr p strong {overflow: hidden;display: block;width: 100%;}
.task_viewappnr ul li a { color: #369; }
.task_prize { color: #F26C4F; }
.task_debtn a { float: left; margin-right: 15px; padding: 0 10px; height: 30px; line-height: 30px; background-color: $_G['style']['zhuti']; font-size: 12px; border-radius: 3px; color: #FFF; text-align: center; }
.task_debtn a.hui {background: #E8E8E8; color: #999;}
.task_taskid {background-color:#fff;overflow:hidden}
.task_taskid .taskid_tit {font-size:15px;height:40px;line-height:40px;font-weight:400;padding:0 15px;border-bottom:1px solid #ededed;overflow:hidden}
.task_parterlist { padding: 0 5px 12px 5px; overflow: hidden; }
.task_parterlist li { float: left; margin: 0 2%; width: 12.66%; }
.task_parterlist li a { display: block; margin-top: 12px; text-align: center; }
.task_parterlist li a img { margin: 0 auto; width: 100%; margin-bottom: 3px; border-radius: 50%; vertical-align: middle; }
.task_parterlist li a p { display: block; width: 100%; height: 20px; line-height: 20px; color: #666; text-align: center; overflow: hidden; }
.task_mbn { font-size: 14px; color: #F26C4F; }
.medallist .tbmu_btn { position: absolute;top: 20px;right: 13px;}
.medallist .tbmu_btn a { display: block;float: left; padding: 0 10px; height: 26px;line-height: 26px;background-color: $_G['style']['zhuti'];font-size: 12px;color: #FFF;border-radius: 3px;text-align: center;}
.medallist .tbmu_btn .buy_credits { margin-right: 10px;}
.magic_log_list .dhnv { border-bottom: 0;}
.magic_log_list .dhnv a.mon { border-bottom: 0;}
.magic_log_list .dt { background: #FFF; border-top: 1px solid #EEE; }
.magic_log_list .alt { background: #FAFAFA !important; border-top: 1px solid #EEE; border-bottom: 1px solid #EEE;}
.magic_log_list .dt th, .magic_log_list .dt td { padding: 11px 10px 9px 10px; height: 24px; line-height: 24px; font-size: 13px; overflow: hidden; }
.medal_tip_box ul { padding: 12px 15px; }
.medal_tip_box ul li { display: flex; position: relative; line-height: 22px; padding: 8px 12px; background: #FFF; font-size: 15px; overflow: hidden; }
.medal_tip_box ul li span {display: flex; flex-shrink: 0; margin-right: 15px; color: #999;}
.medal_tip_input { display: flex; width: 100%; color: #333; border-bottom: 1px solid #EEE; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.medal_tip_input input { width: 100%; padding: 0 10px; background: #ffF; outline: none; border: none; height: 26px; line-height: 26px; font-size: 15px; color: #555; }
.medal_tip_p { display: flex; width: 100%; color: #F26C4F; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.threadlist_box h4{ display: block; padding: 10px; background: #fff; text-align: center; color: #999;}
.task_reward{ font-size: 14px; line-height: 26px;}
.medal_msg a, .task_js a{ color: #06c;}
</style>
<!--{if empty($do)}-->
<!--{subtemplate home/space_task_list}-->
<!--{elseif $do == 'view'}-->
<!--{subtemplate home/space_task_detail}-->
<!--{/if}-->
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,125 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<div class="task_view cl">
<div class="task_view_box">
<div class="notice_avt"><img src="$task['icon']" alt="$task['name']" /></div>
<div class="task_us">
<div class="task_name">$task['name']</div>
<!--{if $task['period']}-->
<span class="z task_reward">
<!--{if $task['periodtype'] == 0}-->
( {lang task_period_hour} )
<!--{elseif $task['periodtype'] == 1}-->
( {lang task_period_day} )
<!--{elseif $task['periodtype'] == 2}-->
<!--{eval $periodweek = $_G['lang']['core']['weeks'][$task['period']];}-->
( {lang task_period_week} )
<!--{elseif $task['periodtype'] == 3}-->
( {lang task_period_month} )
<!--{/if}-->
</span>
<!--{/if}-->
<div class="task_js">$task['description']</div>
</div>
</div>
<div class="task_views">
<div class="task_viewnr">
<!--{if $task['viewmessage']}-->
<div class="task_viewappnr">
<span class="task_th">要求</span>
<p>$task['viewmessage']</p>
</div>
<!--{else}-->
<div class="task_viewappnr">
<span>{lang task_complete_condition}</span>
<!--{if $taskvars['complete']}-->
<ul class="task_viewul">
<!--{loop $taskvars['complete'] $taskvar}-->
<li>$taskvar['name'] : $taskvar['value']</li>
<!--{/loop}-->
</ul>
<!--{else}-->
<p>
{lang unlimited}
</p>
<!--{/if}-->
</div>
<!--{/if}-->
<div class="task_viewappnr">
<span class="task_th">{lang task_reward}</span>
<p class="task_prize">
<!--{if $task['reward'] == 'credit'}-->
$_G['setting']['extcredits'][$task['prize']]['title'] $task['bonus'] $_G['setting']['extcredits'][$task['prize']]['unit']
<!--{elseif $task['reward'] == 'magic'}-->
{lang magics_title} $task['rewardtext'] $task['bonus'] {lang magics_unit}
<!--{elseif $task['reward'] == 'medal'}-->
{lang medals} $task['rewardtext'] <!--{if $task['bonus']}-->{lang expire} $task['bonus'] {lang days} <!--{/if}-->
<!--{elseif $task['reward'] == 'invite'}-->
{lang invite_code} $task['prize'] {lang expire} $task['bonus'] {lang days}
<!--{elseif $task['reward'] == 'group'}-->
{lang usergroup} $task['rewardtext'] <!--{if $task['bonus']}--> $task['bonus'] {lang days} <!--{/if}-->
<!--{else}-->
{lang nothing}
<!--{/if}-->
</p>
</div>
<div class="task_viewappnr">
<span class="task_th">{lang task_apply_condition}</span>
<!--{if $task['applyperm'] || $task['relatedtaskid'] || $task['tasklimits'] || $taskvars['apply']}-->
<ul class="task_viewul">
<li><!--{if $task['grouprequired']}-->{lang usergroup}: $task['grouprequired'] <!--{elseif $task['applyperm'] == 'member'}-->{lang task_general_users}<!--{elseif $task['applyperm'] == 'admin'}-->{lang task_admins}<!--{/if}--></li>
<!--{if $task['relatedtaskid']}--><li>{lang task_relatedtask}: <a href="home.php?mod=task&do=view&id=$task['relatedtaskid']">$_G['taskrequired']</a></li><!--{/if}-->
<!--{if $task['tasklimits']}--><li>{lang task_numlimit}: $task['tasklimits']</li><!--{/if}-->
<!--{if $taskvars['apply']}-->
<!--{loop $taskvars['apply'] $taskvar}-->
<li>$taskvar['name']: $taskvar['value']</li>
<!--{/loop}-->
<!--{/if}-->
</ul>
<!--{else}-->
<p>
{lang unlimited}
</p>
<!--{/if}-->
</div>
</div>
<div class="task_debtn">
<!--{if $allowapply == '-1'}-->
<div class="list_jd">
<div class="task_list_jd">
<div class="task_pdr" style="width: {if $task['csc']}$task['csc']%{else}8px{/if};"></div>
<div class="task_csc">{lang task_complete} <span id="csc_$task['taskid']">$task['csc']</span>%</div>
</div>
</div>
<p class="task_btn cl">
<a href="home.php?mod=task&do=draw&id=$task['taskid']" class="btn">领取奖励</a>
<!--{if $task['csc'] < 100}--><a href="home.php?mod=task&do=delete&id=$task['taskid']" class="btn">{lang task_quit}</a><!--{/if}-->
</p>
<!--{elseif $allowapply == '-2'}-->
<p class="task_mbn">{lang task_group_nopermission}</p>
<a href="javascript:;" class="hui">{lang task_newbie_apply}</a>
<!--{elseif $allowapply == '-3'}-->
<p class="task_mbn">{lang task_applies_full}</p>
<a href="javascript:;" class="hui">{lang task_newbie_apply}</a>
<!--{elseif $allowapply == '-4'}-->
<p class="task_mbn">{lang task_lose_on}$task['dateline']</p>
<!--{elseif $allowapply == '-5'}-->
<p class="task_mbn">{lang task_complete_on}$task['dateline']</p>
<!--{elseif $allowapply == '-6'}-->
<p class="task_mbn">{lang task_complete_on}$task['dateline'] &nbsp; {$task['t']}{lang task_applyagain}</p>
<a href="javascript:;" class="hui">{lang task_newbie_apply}</a>
<!--{elseif $allowapply == '-7'}-->
<p class="task_mbn">{lang task_lose_on}$task['dateline'] &nbsp; {$task['t']}{lang task_reapply}</p>
<a href="javascript:;" class="hui">{lang task_newbie_apply}</a>
<!--{elseif $allowapply == '2'}-->
<p class="task_mbn">{lang task_complete_on}$task['dateline'] &nbsp; {lang task_applyagain_now}</p>
<!--{elseif $allowapply == '3'}-->
<p class="task_mbn">{lang task_lose_on}$task['dateline'] &nbsp; {lang task_reapply_now}</p>
<!--{/if}-->
<!--{if $allowapply > '0'}-->
<a href="home.php?mod=task&do=apply&id=$task['taskid']" class="btn">{lang task_newbie_apply}</a>
<!--{/if}-->
</div>
</div>
</div>

View File

@@ -0,0 +1,65 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{if $tasklist}-->
<ul>
<!--{loop $tasklist $task}-->
<li class="list task_list">
<div class="medal_top task_top cl">
<div class="mg_img">
<img src="$task['icon']" alt="$task['name']" />
</div>
<div class="mg_tit">
<h3><a href="home.php?mod=task&do=view&id=$task['taskid']">$task['name']</a></h3>
<span>
<!--{if $task['reward'] == 'credit'}-->
{lang credits} $_G['setting']['extcredits'][$task['prize']]['title'] $task['bonus'] $_G['setting']['extcredits'][$task['prize']]['unit']
<!--{elseif $task['reward'] == 'magic'}-->
{lang magics_title} $listdata[$task['prize']] $task['bonus'] {lang magics_unit}
<!--{elseif $task['reward'] == 'medal'}-->
{lang medals} $listdata[$task['prize']] <!--{if $task['bonus']}-->{lang expire} $task['bonus'] {lang days} <!--{/if}-->
<!--{elseif $task['reward'] == 'invite'}-->
{lang invite_code} $task['prize'] {lang expire} $task['bonus'] {lang days}
<!--{elseif $task['reward'] == 'group'}-->
{lang usergroup} $listdata[$task['prize']] <!--{if $task['bonus']}--> $task['bonus'] {lang days} <!--{/if}-->
<!--{/if}-->
</span>
</div>
<div class="medal_btn">
<!--{if $_GET['item'] == 'new'}-->
<!--{if $task['noperm']}-->
<a href="javascript:;" onclick="doane(event);showDialog('{lang task_group_nopermission}')">{lang task_newbie_apply}</a>
<!--{elseif $task['appliesfull']}-->
<a href="javascript:;" onclick="doane(event);showDialog('{lang task_applies_full}')">{lang task_newbie_apply}</a>
<!--{else}-->
<a href="home.php?mod=task&do=apply&id=$task['taskid']">{lang task_newbie_apply}</a>
<!--{/if}-->
<!--{elseif $_GET['item'] == 'doing'}-->
<a href="home.php?mod=task&do=draw&id=$task['taskid']">领取奖励</a>
<!--{elseif $_GET['item'] == 'done'}-->
<span>{lang task_complete_on} $task['dateline']
<!--{if $task['period'] && $task['t']}--><br /><!--{if $task['allowapply']}--><a href="home.php?mod=task&do=apply&id=$task['taskid']">{lang task_applyagain_now}</a><!--{else}-->{$task['t']}{lang task_applyagain}<!--{/if}--><!--{/if}--></span>
<!--{elseif $_GET['item'] == 'failed'}-->
<span>{lang task_lose_on} $task['dateline']
<!--{if $task['period'] && $task['t']}--><br /><!--{if $task['allowapply']}--><a href="home.php?mod=task&do=apply&id=$task['taskid']">{lang task_applyagain_now}</a><!--{else}-->{$task['t']}{lang task_reapply}<!--{/if}--><!--{/if}--></span>
<!--{/if}-->
</div>
</div>
<div class="medal_msg">
<p>$task['description']</p>
</div>
<!--{if $_GET['item'] == 'doing'}-->
<div class="list_jd">
<div class="task_list_jd">
<div class="task_pdr" style="width: {if $task['csc']}$task['csc']%{else}8px{/if};"></div>
<div class="task_csc">{lang task_complete} <span id="csc_$task['taskid']">$task['csc']</span>%</div>
</div>
</div>
<!--{/if}-->
</li>
<!--{/loop}-->
</ul>
<!--{else}-->
<div class="threadlist_box mt10 cl">
<h4><!--{if $_GET['item'] == 'new'}-->{lang task_nonew}<!--{elseif $_GET['item'] == 'doing'}-->{lang task_nodoing}<!--{else}-->{lang data_nonexistence}<!--{/if}--></h4>
</div>
<!--{/if}-->

View File

@@ -0,0 +1,106 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!--{if $diymode}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<span><!--{if $_GET['type'] == 'reply'}-->{$space[username]}&nbsp;的回复<!--{else}-->{$space[username]}&nbsp;的主题<!--{/if}--></span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<!--{if $space['uid']}-->
<!--{template home/space_menu}-->
<!--{/if}-->
<!--{else}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<span><!--{if $_GET['type'] == 'reply'}-->我的回复<!--{else}-->我的主题<!--{/if}--></span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<div class="forumdisplay_tab">
<a href="home.php?mod=space&do=thread&view=me&type=thread" {if $_GET['type'] != 'reply'}class="on"{/if}><h2>主题</h2></a>
<a href="home.php?mod=space&do=thread&view=me&type=reply" {if $_GET['type'] == 'reply'}class="on"{/if}><h2>回复</h2></a>
</div>
<!--{/if}-->
<!-- main threadlist start -->
<div class="threadlist my_threadlist">
<!--{if $list}-->
<style>
.viewtype_reply{ padding: .1rem;}
.my_threadlist.threadlist .viewtype_reply a{ padding: 0;}
.my_threadlist.threadlist .viewtype_reply .viewtype_reply_t{ padding-bottom: .05rem;}
.my_threadlist.threadlist .viewtype_reply .viewtype_reply_b{ margin-top: .05rem; padding: .04rem .06rem; line-height: .22rem; border: 1px dashed #eee; font-size: .15rem; background: #ffe; border-radius: .02rem; color: #666;}
.my_threadlist.threadlist{ margin: .1rem .08rem;}
.my_threadlist.threadlist li{ margin: .06rem 0; padding: 0; border-radius: 0.08rem;}
.my_threadlist.threadlist li a { padding: .1rem; line-height: .26rem; font-size: .16rem;}
.threadlist .icon_top, .threadlist .icon_tu{ top: 0;}
</style>
<ul>
<!--{loop $list $stid $thread}-->
<li>
<!--{if $viewtype == 'reply'}-->
<div class="viewtype_reply">
<a href="forum.php?mod=redirect&goto=findpost&ptid=$thread[tid]&pid=$thread[pid]" class="viewtype_reply_t">$thread[subject]</a>
<!--{loop $tids[$stid] $pid}-->
<!--{eval $post = $posts[$pid];}-->
<a href="forum.php?mod=redirect&goto=findpost&ptid=$thread[tid]&pid=$pid" class="viewtype_reply_b"><!--{if $post[message]}-->{$post[message]}<!--{else}-->......<!--{/if}--></a>
<!--{/loop}-->
</div>
<!--{elseif $viewtype == 'postcomment'}-->
<a href="forum.php?mod=redirect&goto=findpost&ptid=$thread[tid]&pid=$thread[pid]">$thread[subject]</a>
<!--{else}-->
<a href="forum.php?mod=viewthread&tid=$thread[tid]" {if $thread['displayorder'] == -1}class="grey"{/if}>$thread[subject]</a>
<!--{/if}-->
<!--{if in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
<span class="icon_top"><img src="{STATICURL}image/mobile/images/icon_top.png" alt="置顶"/></span>
<!--{elseif $thread['attachment'] == 2}-->
<span class="icon_tu"><img src="{STATICURL}image/mobile/images/icon_tu.png" alt="有图"/></span>
<!--{/if}-->
</li>
<!--{/loop}-->
</ul>
<!--{else}-->
<div class="home_no_data">{lang no_related_posts}</div>
<!--{/if}-->
$multi
</div>
<!-- main threadlist end -->
<!--{template common/footer}-->

View File

@@ -0,0 +1,209 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<link rel="stylesheet" href="{$_G['style']['styleimgdir']}/avatar/cropper.min.css">
<link rel="stylesheet" href="{$_G['style']['styleimgdir']}/avatar/ImgCropping.css">
<style type="text/css">
.l-btn{ background-color: $_G['style']['zhuti']; border-color: $_G['style']['zhuti']; vertical-align: top;}
</style>
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<span>修改头像</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!-- header end -->
<style>
.avatar_pop{ display: none; position: fixed; top: 2rem; left: .2rem; z-index: 1006; width: 3.15rem; padding: .2rem .1rem; border-radius: .1rem; background: #fff; text-align: center;}
.avatar_pop p{ line-height: .26rem; font-size: .17rem;}
.avatar_pop p img{ height: .16rem; padding: .05rem .02rem; vertical-align: top;}
.avatar_pop a{ display: none; font-size: .14rem; color: #06f;}
</style>
<div class="avatar_pop">
<p><img src="{$_G['style']['styleimgdir']}/lanjiazai.gif" alt="等待"/>图片上传中,预计时间:<span>*</span>s</p>
<a href="home.php?mod=space&do=profile&mycenter=1">如果没有自动返回,请点击这里</a>
</div>
<div class="cover_div avatar_pop_cover" style="z-index:1005;"></div>
<div class="tailoring-container">
<div class="black-cloth" onclick="closeTailor(this)"></div>
<div class="tailoring-content">
<div class="tailoring-content-one">
<label title="上传图片" for="chooseImg" class="l-btn choose-btn">
<input type="file" name="file" accept="image/*" id="chooseImg" class="hidden" onchange="selectImg(this)">
上传图片
</label>
<div class="close-tailoring" onclick="closeTailor(this)">&times;</div>
</div>
<div class="tailoring-content-two">
<div class="tailoring-box-parcel">
<img id="tailoringImg">
</div>
<div class="preview-box-parcel">
<div class="square previewImg"></div>
<div class="circular previewImg"></div>
</div>
</div>
<div class="tailoring-content-three">
<button class="l-btn cropper-reset-btn">复位</button>
<button class="l-btn cropper-rotate-btn">旋转</button>
<button class="l-btn cropper-scaleX-btn">镜像</button>
<button class="l-btn sureCut" id="sureCut">确定</button>
</div>
</div>
</div>
<form id="avatarform" enctype="multipart/form-data" method="post" autocomplete="off" action="home.php?mod=spacecp&ac=avatar">
<input type="hidden" id="avatar1" name="avatar1" />
<input type="hidden" id="avatar2" name="avatar2" />
<input type="hidden" id="avatar3" name="avatar3" />
<input type="hidden" name="formhash" value="{FORMHASH}" />
</form>
<iframe name="rectframe" id="rectframe" style="display: none;"></iframe>
<script src="{$_G['style']['styleimgdir']}/avatar/cropper.min.js"></script>
<script>
function bygsjw(id) {
return !id ? null : document.getElementById(id);
}
var data = "{echo implode(",", $uc_avatarflash);}".split(',');
var src = bygsjw('avatarform').action;
<!--{if isset($_G['setting']['mobile']['forum'])}-->
bygsjw('avatarform').action = data[data.indexOf('stl_src')+1];
<!--{else}-->
bygsjw('avatarform').action = data[data.indexOf('src')+1].replace('images/camera.swf?inajax=1', 'index.php?m=user&a=rectavatar&base64=yes');
<!--{/if}-->
bygsjw('avatarform').target='rectframe';
(window.onresize = function () {
var win_height = jQuery(window).height();
var win_width = jQuery(window).width();
if (win_width <= 768){
jQuery(".tailoring-content").css({
"top": (win_height - jQuery(".tailoring-content").outerHeight())/3,
"left": 0
});
}else{
jQuery(".tailoring-content").css({
"top": (win_height - jQuery(".tailoring-content").outerHeight())/3,
"left": (win_width - jQuery(".tailoring-content").outerWidth())/2
});
}
})();
function selectImg(file) {
if (!file.files || !file.files[0]){
return;
}
var reader = new FileReader();
reader.onload = function (evt) {
var replaceSrc = evt.target.result;
jQuery('#tailoringImg').cropper('replace', replaceSrc,false);
}
reader.readAsDataURL(file.files[0]);
}
jQuery('#tailoringImg').cropper({
aspectRatio: 1/1,
preview: '.previewImg',
guides: false,
autoCropArea: 0.5,
movable: false,
dragCrop: true,
movable: true,
resizable: true,
zoomable: false,
mouseWheelZoom: false,
touchDragZoom: true,
rotatable: true,
crop: function(e) {
}
});
jQuery(".cropper-rotate-btn").on("click",function () {
jQuery('#tailoringImg').cropper("rotate", 45);
});
jQuery(".cropper-reset-btn").on("click",function () {
jQuery('#tailoringImg').cropper("reset");
});
var flagX = true;
jQuery(".cropper-scaleX-btn").on("click",function () {
if(flagX){
jQuery('#tailoringImg').cropper("scaleX", -1);
flagX = false;
}else{
jQuery('#tailoringImg').cropper("scaleX", 1);
flagX = true;
}
flagX != flagX;
});
jQuery("#sureCut").on("click",function () {
if (jQuery("#tailoringImg").attr("src") == null ) {
return false;
} else {
var canvas = jQuery('#tailoringImg').cropper('getCroppedCanvas',{width: 200,height: 200});
var dataURL = canvas.toDataURL("image/jpeg");
jQuery('#avatar1').val(dataURL.substr(dataURL.indexOf(",") + 1));
canvas = jQuery('#tailoringImg').cropper('getCroppedCanvas',{width: 120,height: 120});
dataURL = canvas.toDataURL("image/jpeg");
jQuery('#avatar2').val(dataURL.substr(dataURL.indexOf(",") + 1));
canvas = jQuery('#tailoringImg').cropper('getCroppedCanvas',{width: 48,height: 48});
dataURL = canvas.toDataURL("image/jpeg");
jQuery('#avatar3').val(dataURL.substr(dataURL.indexOf(",") + 1));
jQuery.ajax({
type: "POST",
url: jQuery("#avatarform").attr('action'),
data: jQuery('#avatarform').serialize(),
beforeSend: function() {
jQuery(".avatar_pop, .avatar_pop_cover").show();
},
complete: function() {
var avatar_pop_num = 4;
var avatar_pop_time = setInterval(function() {
if(avatar_pop_num == 0) {
clearInterval(avatar_pop_time);
jQuery(".avatar_pop p").html("上传完成");
jQuery(".avatar_pop a").show();
} else {
avatar_pop_num--;
jQuery(".avatar_pop p span").html(avatar_pop_num);
}
}, 1000);
setTimeout(function(){
jQuery.ajax({
url: 'home.php?mod=spacecp&ac=avatar',
type: 'GET',
dataType: 'html',
success: function(s){}
});
}, 5000);
setTimeout(function(){closeTailor();}, 6000);
}
});
}
});
function closeTailor() {
window.location.href="{$_G[siteurl]}home.php?mod=space&do=profile&mycenter=1&mobile=2";
}
</script>
<!--{template common/footer}-->

View File

@@ -0,0 +1,211 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!--{if $_GET[op] == 'delete'}-->
<div class="tip">
<dt>{lang delete_blog}</dt>
<dt>{lang sure_delete_blog}?</dt>
<form method="post" autocomplete="off" action="home.php?mod=spacecp&ac=blog&op=delete&blogid=$blogid">
<input type="hidden" name="referer" value="{echo dreferer()}" />
<input type="hidden" name="deletesubmit" value="true" />
<input type="hidden" name="formhash" value="{FORMHASH}" />
<dd class="x35_tip_dd">
<button type="submit" name="btnsubmit" value="true" class="formdialog button"><strong>{lang determine}</strong></button>
<a href="javascript:;" onclick="popup.close();return false;" class="button" title="{lang close}">{lang close}</a>
</dd>
</form>
</div>
<!--{elseif $_GET[op] == 'stick'}-->
<div class="tip">
<dt><!--{if $stickflag}-->{lang stick_blog}<!--{else}-->{lang cancel_stick_blog}<!--{/if}--></dt>
<dt><!--{if $stickflag}-->{lang sure_stick_blog}<!--{else}-->{lang sure_cancel_stick_blog}<!--{/if}-->?</dt>
<form method="post" autocomplete="off" action="home.php?mod=spacecp&ac=blog&op=stick&blogid=$blogid">
<input type="hidden" name="referer" value="{echo dreferer()}" />
<input type="hidden" name="sticksubmit" value="true" />
<input type="hidden" name="stickflag" value="$stickflag" />
<input type="hidden" name="formhash" value="{FORMHASH}" />
<dd class="x35_tip_dd">
<button type="submit" name="btnsubmit" value="true" class="formdialog button"><strong>{lang determine}</strong></button>
<a href="javascript:;" onclick="popup.close();return false;" class="button" title="{lang close}">{lang close}</a>
</dd>
</form>
</div>
<!--{elseif $_GET[op] == 'addoption'}-->
<h3 class="flb">
<em>{lang create_category}</em>
<!--{if $_G[inajax]}--><span><a href="javascript:;" onclick="blogCancelAddOption('$_GET[oid]');hideWindow('$_GET[handlekey]');return false;" class="flbc" title="{lang close}">{lang close}</a></span><!--{/if}-->
</h3>
<div class="c">
<p class="mtm mbm"><label for="newsort">{lang name}: <input type="text" name="newsort" id="newsort" class="px" size="30" /></label></p>
</div>
<p class="o pns">
<button type="button" name="btnsubmit" value="true" class="pn pnc" onclick="if(blogAddOption('newsort', '$_GET[oid]'))hideWindow('$_GET[handlekey]');"><strong>{lang create}</strong></button>
</p>
<script type="text/javascript">
document.getElementById('newsort').focus();
</script>
<!--{elseif $_GET[op] == 'edithot'}-->
<h3 class="flb">
<em>{lang adjust_hot}</em>
<!--{if $_G[inajax]}--><span><a href="javascript:;" onclick="hideWindow('$_GET[handlekey]');return false;" class="flbc" title="{lang close}">{lang close}</a></span><!--{/if}-->
</h3>
<form method="post" autocomplete="off" action="home.php?mod=spacecp&ac=blog&op=edithot&blogid=$blogid">
<input type="hidden" name="referer" value="{echo dreferer()}" />
<input type="hidden" name="hotsubmit" value="true" />
<input type="hidden" name="formhash" value="{FORMHASH}" />
<div class="c">
{lang new_hot}:<input type="text" name="hot" value="$blog[hot]" size="10" class="px" />
</div>
<p class="o pns">
<button type="submit" name="btnsubmit" value="true" class="pn pnc"><strong>{lang determine}</strong></button>
</p>
</form>
<!--{else}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid={$_G['uid']}&do=blog&view=me" title="{lang blog}">{lang blog}</a>
<em>&rsaquo;</em>
<span><!--{if $blog[blogid]}-->{lang edit_blog}<!--{else}-->{lang memcp_blog}<!--{/if}--></span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<form method="post" id="postform" autocomplete="off" action="home.php?mod=spacecp&ac=blog&blogid=$blog[blogid]{if $_GET[modblogkey]}&modblogkey=$_GET[modblogkey]{/if}" onsubmit="validate(this);" enctype="multipart/form-data">
<input type="hidden" name="formhash" id="formhash" value="{FORMHASH}" />
<input type="hidden" name="blogsubmit" value="true" />
<div class="post_from post_box">
<!--{hook/spacecp_blog_top_mobile}-->
<ul class="cl">
<li class="mli">
<input type="text" tabindex="1" class="px" id="subject" autocomplete="off" value="$blog[subject]" name="subject" placeholder="{lang memcp_blog}" fwin="login">
</li>
<li class="mtext">
<textarea class="pt" id="message" name="message" tabindex="3" autocomplete="off" name="$editor['textarea']" placeholder="{lang thread_content}" fwin="reply">$blog['message']</textarea>
</li>
<!--{hook/spacecp_blog_middle_mobile}-->
<div class="discuz_x cl"></div>
<!--{if $_G['setting']['blogcategorystat'] && $categoryselect}-->
<li class="mtit p10 cl">
{lang select_site_blog_categories}
</li>
<li class="mli">
$categoryselect
</li>
<!--{/if}-->
<li class="mli">
<select name="classid" id="classid" class="sort_sel" >
<option value="0">{lang personal_category}</option>
<!--{loop $classarr $value}-->
<!--{if $value['classid'] == $blog['classid']}-->
<option value="$value[classid]" selected>$value[classname]</option>
<!--{else}-->
<option value="$value[classid]">$value[classname]</option>
<!--{/if}-->
<!--{/loop}-->
</select>
</li>
<li class="mli">
<input type="text" class="px vm" size="40" id="tag" name="tag" value="$blog[tag]" placeholder="{lang label}" />
</li>
<!--{if checkperm('manageblog')}-->
<li class="mli">
<input type="text" class="px" name="hot" id="hot" value="$blog[hot]" size="5" placeholder="{lang hot}" />
</li>
<!--{/if}-->
<!--{if helper_access::check_module('feed')}-->
<li class="mli" style="display: none;">
<label for="makefeed"><input type="checkbox" name="makefeed" id="makefeed" value="1" class="pc"{if ckprivacy('blog', 'feed')} checked="checked"{/if}>{lang make_feed} (<a href="home.php?mod=spacecp&ac=privacy&op=feed" target="_blank">{lang change_default_settings}</a>)</label>
</li>
<!--{/if}-->
<!--{if $secqaacheck || $seccodecheck}-->
<!--{eval $sectpl = '<table cellspacing="0" cellpadding="0" width="100%" class="tfm"><tr><th><sec></th><td class="pns"><sec><div class="d"><sec></div></td></tr></table>';}-->
<!--{template common/seccheck}-->
<!--{/if}-->
</ul>
<div class="x35_post_btn">
<button type="submit" id="issuance" class="pn"><strong>{lang save_publish}</strong></button>
</div>
</div>
</form>
<div id="ct" class="wp cl">
<div class="mn">
<div class="bm cl">
<div class="bm_c">
<script type="text/javascript">
function validate(obj) {
<!--{if $_G['setting']['blogcategorystat'] && $_G['setting']['blogcategoryrequired']}-->
var catObj = document.getElementById("catid");
if(catObj) {
if (catObj.value < 1) {
alert("{lang select_system_cat}");
catObj.focus();
return false;
}
}
<!--{/if}-->
var makefeed = document.getElementById('makefeed');
if(makefeed) {
if(makefeed.checked == false) {
if(!confirm("{lang no_feed_notice}")) {
return false;
}
}
}
if(document.getElementById('seccode')) {
var code = document.getElementById('seccode').value;
var x = new Ajax();
x.get('home.php?mod=spacecp&ac=common&op=seccode&inajax=1&code=' + code, function(s){
s = trim(s);
if(s.indexOf('succeed') == -1) {
alert(s);
document.getElementById('seccode').focus();
return false;
} else {
edit_save();
return true;
}
});
} else {
edit_save();
return true;
}
}
function edit_save() {
jQuery("#message").val(jQuery("#message").val().replace(/\r\n|\n/g,"<br>"));
}
</script>
<!--{hook/spacecp_blog_bottom_mobile}-->
</div>
</div>
</div>
</div>
<script type="text/javascript">
if(document.getElementById('subject')) {
document.getElementById('subject').focus();
}
</script>
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,84 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!--{if $_GET['op'] == 'edit'}-->
<div class="tip">
<div class="moodfm_post">
<form id="editcommentform_{$cid}" name="editcommentform_{$cid}" method="post" autocomplete="off" action="home.php?mod=spacecp&ac=comment&op=edit&cid=$cid{if $_GET['modcommentkey']}&modcommentkey=$_GET['modcommentkey']{/if}">
<input type="hidden" name="referer" value="{echo dreferer()}" />
<input type="hidden" name="editsubmit" value="true" />
<!--{if $_G['inajax']}--><input type="hidden" name="handlekey" value="$_GET['handlekey']" /><!--{/if}-->
<input type="hidden" name="formhash" value="{FORMHASH}" />
<div class="moodfm_text task_viewnr" style="padding: .12rem .12rem 0;">
<textarea id="message_{$cid}" name="message" cols="70" rows="3" class="pts">$comment['message']</textarea>
</div>
<dd class="x35_tip_dd">
<button type="submit" name="editsubmit_btn" id="editsubmit_btn" value="true" class="button">{lang submit}</button>
<a href="javascript:;" onclick="popup.close();" class="button">{lang cancel}</a>
</dd>
</form>
</div>
</div>
<script type="text/javascript">
function succeedhandle_$_GET['handlekey'] (url, message, values) {
comment_edit(values['cid']);
}
</script>
<!--{elseif $_GET['op'] == 'delete'}-->
<div class="tip">
<form id="deletecommentform_{$cid}" name="deletecommentform_{$cid}" method="post" autocomplete="off" action="home.php?mod=spacecp&ac=comment&op=delete&cid=$cid">
<input type="hidden" name="referer" value="{echo dreferer()}" />
<input type="hidden" name="deletesubmit" value="true" />
<input type="hidden" name="formhash" value="{FORMHASH}" />
<!--{if $_G['inajax']}--><input type="hidden" name="handlekey" value="$_GET['handlekey']" /><!--{/if}-->
<dt>
<p>{lang delete_reply_message}</p>
</dt>
<dd class="x35_tip_dd">
<button type="submit" name="deletesubmitbtn" value="true" class="button">{lang determine}</button>
<a href="javascript:;" onclick="popup.close();" class="button">{lang cancel}</a>
</dd>
</form>
</div>
<script type="text/javascript">
function succeedhandle_$_GET['handlekey'] (url, message, values) {
comment_delete(values['cid']);
}
</script>
<!--{elseif $_GET['op'] == 'reply'}-->
<div class="tip">
<form id="replycommentform_{$comment['cid']}" name="replycommentform_{$comment['cid']}" method="post" autocomplete="off" action="home.php?mod=spacecp&ac=comment">
<input type="hidden" name="referer" value="{echo dreferer()}" />
<input type="hidden" name="id" value="$cmt[id]" />
<input type="hidden" name="idtype" value="$cmt[idtype]" />
<input type="hidden" name="cid" value="$cmt['cid']" />
<input type="hidden" name="commentsubmit" value="true" />
<!--{if $_G['inajax']}--><input type="hidden" name="handlekey" value="$_GET['handlekey']" /><!--{/if}-->
<input type="hidden" name="formhash" value="{FORMHASH}" />
<div class="moodfm_text task_viewnr" style="padding: .12rem .1rem 0;">
<textarea id="message_pop_{$comment['cid']}" name="message" class="pts" rows="3" cols="70"></textarea>
</div>
<!--{template common/seccheck}-->
<dd class="x35_tip_dd">
<button type="submit" name="commentsubmit_btn" id="commentsubmit_btn" value="true" class="button">{lang reply}</button>
<a href="javascript:;" onclick="popup.close();" class="button">{lang cancel}</a>
</dd>
</form>
</div>
<script type="text/javascript">
function succeedhandle_$_GET['handlekey'] (url, message, values) {
<!--{if $comment['idtype']!='uid'}-->
<!--{if $_GET['feedid']}-->
feedcomment_add(values['cid'], $_GET['feedid']);
<!--{else}-->
comment_add(values['cid']);
<!--{/if}-->
<!--{/if}-->
}
</script>
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,458 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<!--{if $_GET['op'] == 'base'}-->
<span class="header_font">我的积分</span>
<!--{elseif $_GET['op'] == 'buy'}-->
<span class="header_font">充值</span>
<!--{elseif $_GET['op'] == 'transfer'}-->
<span class="header_font">转账</span>
<!--{elseif $_GET['op'] == 'exchange'}-->
<span class="header_font">兑换</span>
<!--{elseif $_GET['op'] == 'rule'}-->
<span class="header_font">积分规则</span>
<!--{/if}-->
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<style>
table{ width: 100%;}
.creditl{ margin-bottom: .1rem; padding: .1rem; background: #fff; font-size: .16rem;}
.creditl li{ margin: .06rem 0;}
.creditl em{ font-weight: 700;}
.creditl .xi2{ color: #06f;}
.creditl .xg1{ vertical-align: top;}
.creditl u{ text-decoration: none;}
.byg_base_b{ background: #fff;}
.byg_base_b caption{ padding: .08rem .1rem; border-bottom: 1px solid #eee;}
.byg_base_b caption h2{ font-weight: 700;}
.byg_base_b td, .byg_base_b th{ padding: .06rem .1rem; border-bottom: 1px solid #eee; border-right: 1px solid #eee; font-size: .14rem;}
.byg_base_b th{ background: #fafafa; font-size: .15rem;}
.byg_buy{ padding: 0 .1rem; background: #fff; font-size: .16rem;}
.byg_buy tr{ line-height: .46rem; border-bottom: 1px dashed #eaeaea;}
.byg_buy th{ width: 25%;}
.byg_buy .px{ padding: .02rem .04rem; line-height: .18rem; border: 1px solid #eee; font-size: .14rem;}
.byg_buy .sec_code{ padding: .1rem 0; border-bottom: 1px dashed #eaeaea;}
.byg_buy .sec_code .px{ vertical-align: top;}
.byg_buy .sec_code img{ float: left; margin-right: .1rem; height: .23rem; vertical-align: top;}
.byg_buy button{ margin: .12rem 0; width: 100%; height: .36rem; line-height: .36rem; font-size: .15rem;}
.byg_buy a{ display: block; margin-bottom: .12rem; line-height: .34rem; border: 1px solid #eaeaea; background: #fafafa; font-size: .15rem; color: #06f; text-align: center; border-radius: .02rem;}
.byg_buy .post_box{ padding-top: .1rem;}
.byg_buy .text-muted{ margin-top: .12rem; padding: .1rem; border: 1px dashed #eee; font-size: .14rem; color: #999; background: #ffe; border-radius: .02rem;}
.byg_box_x35{ padding: 0 .1rem; background: #fff;}
.byg_box_x35 .post_box li.mli{ height: .3rem; line-height: .3rem; padding: .1rem 0; font-size: .16rem; border-bottom: 1px solid #eee; position: relative;}
.byg_box_x35 .flex-2{ -webkit-box-flex: 2; -webkit-flex: 2; -ms-flex: 2; flex: 2;}
.byg_box_x35 .flex-3{ -webkit-box-flex: 3; -webkit-flex: 3; -ms-flex: 3; flex: 3;}
.byg_box_x35 .px{ width: 94%; border: 0; line-height: 28px; padding: 0 3%; font-size: .15rem; border-radius: .05rem; box-shadow: 0 0 0 1px #f5f5f5;}
.byg_box_x35 .post_box li.mli .input-append{ position: absolute; right: .06rem; font-size: .15rem;}
.byg_box_x35 select{ margin-left: .1rem; height: .3rem; line-height: .3rem; border-color: #eee; border-radius: .05rem; background: #f9f9f9; color: #666;}
.byg_box_x35 .text-muted{ margin-top: .1rem; padding: .05rem .1rem; color: #999; font-size: .14rem; background: #ffe; border-radius: .05rem; border: 1px dashed #eee;}
.byg_box_x35 .post_btn button{ margin: .12rem 0; width: 100%; height: .36rem; line-height: .36rem; font-size: .15rem;}
.byg_box_x35 table{ margin-top: .1rem; border-top: 1px solid #eee; border-left: 1px solid #eee;}
.byg_box_x35 td, .byg_box_x35 th{ padding: .08rem .05rem; border-bottom: 1px solid #eee; border-right: 1px solid #eee; font-size: .14rem;}
.byg_box_x35 th{ background: #f9f9f9; font-size: .15rem; font-weight: 700;}
.byg_box_x35 .alt td{ background-color: #f9f9f9;}
</style>
<!--{template home/spacecp_credit_header}-->
<!--{hook/spacecp_credit_top}-->
<!--{if in_array($_GET['op'], array('base', 'buy', 'transfer', 'exchange'))}-->
<ul class="creditl cl">
<!--{eval $creditid=0;}-->
<!--{if $_GET['op'] == 'base' && $_G['setting']['creditstrans']}-->
<!--{eval $creditid=$_G['setting']['creditstrans'];}-->
<!--{if $_G['setting']['extcredits'][$creditid]}-->
<!--{eval $credit=$_G['setting']['extcredits'][$creditid]; }-->
<li class="xi1 cl"><em>{$credit[title]}&nbsp;: </em><!--{echo getuserprofile('extcredits'.$creditid);}-->{$credit[unit]}</li>
<!--{/if}-->
<!--{/if}-->
<!--{loop $_G['setting']['extcredits'] $id $credit}-->
<!--{if $id!=$creditid}-->
<li><em>{$credit[title]}&nbsp;: </em><!--{echo getuserprofile('extcredits'.$id);}--> {$credit[unit]}</li>
<!--{/if}-->
<!--{/loop}-->
<!--{if $_GET['op'] == 'base'}-->
<li class="cl"><em>{lang credits}&nbsp;: </em>$_G['member']['credits'] <span class="xg1">( $creditsformulaexp )</span></li>
<!--{/if}-->
</ul>
<!--{/if}-->
<!--{if $_GET['op'] == 'base'}-->
<div class="byg_base_b">
<table summary="{lang memcp_credits_log_transaction}" cellspacing="0" cellpadding="0" class="">
<caption>
<h2 class="xs2">
近期记录
</h2>
</caption>
<tr>
<th width="70">{lang operation}</th>
<th width="70">{lang logs_credit}</th>
<th>{lang detail}</th>
<th width="70">{lang changedateline}</th>
</tr>
<!--{if $loglist}-->
<!--{loop $loglist $value}-->
<!--{eval $value = makecreditlog($value, $otherinfo);}-->
<tr>
<td><!--{if $value['operation']}--><a href="home.php?mod=spacecp&ac=credit&op=log&optype=$value['operation']">$value['optype']</a><!--{else}-->$value['title']<!--{/if}--></td>
<td>$value['credit']</td>
<td><!--{if $value['operation']}-->$value['opinfo']<!--{else}-->$value['text']<!--{/if}--></td>
<td>$value['dateline']</td>
</tr>
<!--{/loop}-->
<!--{else}-->
<tr><td colspan="4"><p class="emp">{lang memcp_credits_log_none}</p></td></tr>
<!--{/if}-->
</table>
</div>
<!--{elseif $_GET['op'] == 'buy'}-->
<!--{if (isset($_G['setting']['mobile']['forum']) && $_G['setting']['ec_ratio'] && $is_enable_pay) && $_G['setting']['card']['open']}-->
<div id="buy_tabs" class="dhnv flex-box mb10 cl">
<a href="javascript:void(0)" class="flex mon" data-id="#byg_buy_rmb">{lang home_credit_buy_rmb}</a>
<a href="javascript:void(0)" class="flex" data-id="#byg_buy_card">{lang home_credit_buy_card}</a>
</div>
<!--{/if}-->
<!--{if isset($_G['setting']['mobile']['forum']) && $_G['setting']['ec_ratio'] && $is_enable_pay}-->
<div class="byg_buy cl" id="byg_buy_rmb" <!--{if !$active['rmb']}-->style="display:none"<!--{/if}-->>
<form id="addfundsbuyform" name="addfundsbuyform" method="post" autocomplete="off" action="home.php?mod=spacecp&ac=credit&op=buy">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="addfundsbuyform" value="true" />
<input type="hidden" name="handlekey" value="buycredit" />
<div class="post_box">
<ul>
<li class="mli">
<span>&nbsp;充值的{$_G[setting][extcredits][$_G[setting][creditstrans]][title]}数量&nbsp;:&nbsp;</span>
<input type="number" value="" tabindex="1" class="px" autocomplete="off" id="addfundamount" name="addfundamount">
</li>
</ul>
</div>
<div class="text-muted">
{lang memcp_credits_addfunds_rules_ratio} = <strong>$_G[setting][ec_ratio]</strong> {$_G[setting][extcredits][$_G[setting][creditstrans]][unit]}{$_G[setting][extcredits][$_G[setting][creditstrans]][title]}
<!--{if $_G[setting][ec_mincredits]}--><br />{lang memcp_credits_addfunds_rules_min} <strong>$_G[setting][ec_mincredits]</strong> {$_G[setting][extcredits][$_G[setting][creditstrans]][unit]}{$_G[setting][extcredits][$_G[setting][creditstrans]][title]}<!--{/if}-->
<!--{if $_G[setting][ec_maxcredits]}--><br />{lang memcp_credits_addfunds_rules_max} <strong>$_G[setting][ec_maxcredits]</strong> {$_G[setting][extcredits][$_G[setting][creditstrans]][unit]}{$_G[setting][extcredits][$_G[setting][creditstrans]][title]}<!--{/if}-->
<!--{if $_G[setting][ec_maxcreditspermonth]}--><br />{lang memcp_credits_addfunds_rules_month} <strong>$_G[setting][ec_maxcreditspermonth]</strong> {$_G[setting][extcredits][$_G[setting][creditstrans]][unit]}{$_G[setting][extcredits][$_G[setting][creditstrans]][title]}<!--{/if}-->
</div>
<div class="post_btn">
<button id="pmsubmit_btn" class="pn btn_pn mgrey" disable="true">
{lang home_credit_buy}
{lang memcp_credits_addfunds_caculate_radio}
</button>
</div>
</form>
</div>
<!--{/if}-->
<!--{if $_G['setting']['card']['open']}-->
<div class="byg_buy cl" id="byg_buy_card" {if !$active['card'] && isset($_G['setting']['mobile']['forum'])}style="display:none"{/if}>
<!--{if isset($_G['setting']['mobile']['forum'])}-->
<form id="addfundscardform" name="addfundscardform" method="post" autocomplete="off" action="home.php?mod=spacecp&ac=credit&op=buy">
<input type="hidden" name="addfundscardsubmit" value="true" />
<!--{else}-->
<form id="addfundsform" name="addfundsform" method="post" autocomplete="off" action="home.php?mod=spacecp&ac=credit&op=buy">
<input type="hidden" name="addfundssubmit" value="true" />
<!--{/if}-->
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="handlekey" value="buycredit" />
<table cellspacing="0" cellpadding="0" class="tfm">
<tr>
<th>{lang mode_of_payment}&nbsp;:</th>
<td colspan="2">
<div class="long-logo">
<ul>
<!--{if $_G[setting][card][open]}-->
<li>
<input name="bank_type" type="radio" value="card" checked="checked" id="apitype_card" class="vm" $ecchecked /><label><span class="xs2">{lang card_credit}</span></label>
</li>
<!--{/if}-->
</ul>
</div>
</td>
</tr>
<!--{if $_G[setting][card][open]}-->
<tr id="cardbox">
<th>{lang card}&nbsp;:</th>
<td colspan="2">
<input type="text" class="px" id="cardid" name="cardid" />
</td>
</tr>
<!--{if $seccodecheck}-->
</table>
<!--{block sectpl}--><table id="card_box_sec" cellspacing="0" cellpadding="0" class="tfm mtn"><tr><th><sec></th><td colspan="2"><span id="sec<hash>" onclick="showMenu({'ctrlid':this.id,'win':'{$_GET[handlekey]}'})"><sec></span><div id="sec<hash>_menu" class="p_pop p_opt" style="display:none"><sec></div></td></tr></table><!--{/block}-->
<!--{subtemplate common/seccheck}-->
<table cellspacing="0" cellpadding="0" class="tfm">
<!--{/if}-->
<!--{/if}-->
<tr style="border: 0;">
<td colspan="3">
<!--{if isset($_G['setting']['mobile']['forum'])}-->
<button id="addfundscardsubmit_btn" name="addfundscardsubmit_btn" class="pn" disable="true"><em>{lang memcp_credits_addfunds}</em></button>
<!--{else}-->
<button type="submit" name="addfundssubmit_btn" class="pn" id="addfundssubmit_btn" value="true"><em>{lang memcp_credits_addfunds}</em></button>
<!--{/if}-->
</td>
</tr>
</table>
</form>
<!--{eval $buy_card = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版购买充值卡密','param');}-->
<!--{if $buy_card}-->
<a href="{$buy_card['url']}" target="{$buy_card['atarget']}">{$buy_card['text']}</a>
<!--{/if}-->
</div>
<!--{/if}-->
<script type="text/javascript">
(function() {
$('#addfundamount').on('input',function() {
var addfundamount = parseInt($(this).val().replace(/^0/,''));
$('#desamount').html(!isNaN(addfundamount) ? Math.ceil(((addfundamount / $_G['setting']['ec_ratio']) * 100)) / 100 : 0);
});
$('#buy_tabs a').click(function() {
if($(this).hasClass('mon')) return;
var current = $(this).siblings('.mon');
current.removeClass('mon')
$(current.data('id')).hide();
$(this).addClass('mon');
$($(this).data('id')).show();
});
})();
</script>
<!--{elseif $_GET['op'] == 'transfer'}-->
<!--{if $_G[setting][transferstatus] && $_G['group']['allowtransfer']}-->
<form id="transferform" name="transferform" method="post" autocomplete="off" action="home.php?mod=spacecp&ac=credit&op=transfer" class="byg_box_x35">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="transfersubmit" value="true" />
<input type="hidden" name="handlekey" value="transfercredit" />
<div class="post_box">
<ul class="cl">
<li class="flex-box mli">
<div class="tit flex">{lang memcp_credits_transfer}&nbsp;</div>
<div class="flex-3"><input type="text" name="transferamount" id="transferamount" class="px" size="5" value="0" /></div>
<span class="input-append">{$_G[setting][extcredits][$_G[setting][creditstransextra][9]][title]}</span>
</li>
<li class="flex-box mli">
<div class="tit flex">{lang credits_give}&nbsp;</div>
<div class="flex-3"><input type="text" name="to" id="to" class="px" size="15" /></div>
</li>
<li class="mli">
<input type="password" name="password" class="px" value="" placeholder="{lang transfer_login_password}" />
</li>
<li class="mli">
<input type="text" name="transfermessage" class="px" size="40" placeholder="{lang credits_transfer_message}" />
</li>
</ul>
</div>
<div class="text-muted">
{lang memcp_credits_transfer_min_balance} $_G[setting][transfermincredits] {$_G[setting][extcredits][$_G[setting][creditstransextra][9]][unit]}<br />
<!--{if intval($taxpercent) > 0}-->{lang credits_tax} $taxpercent<!--{/if}-->
</div>
<div class="post_btn">
<button type="submit" name="transfersubmit_btn" id="transfersubmit_btn" class="pn btn_pn" value="true"><em>{lang memcp_credits_transfer}</em></button>
<span style="display: none" id="return_transfercredit"></span>
</div>
</form>
<!--{/if}-->
<!--{elseif $_GET['op'] == 'exchange'}-->
<!--{if $_G[setting][exchangestatus] && ($_G[setting][extcredits] || $_CACHE['creditsettings'])}-->
<form id="exchangeform" name="exchangeform" method="post" autocomplete="off" action="home.php?mod=spacecp&ac=credit&op=exchange&handlekey=credit" onsubmit="showWindow('credit', 'exchangeform', 'post');" class="byg_box_x35">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="operation" value="exchange" />
<input type="hidden" name="exchangesubmit" value="true" />
<input type="hidden" name="outi" value="" />
<div class="post_box">
<ul class="cl">
<li class="flex-box mli">
<div class="tit flex">{lang memcp_credits_exchange}&nbsp;</div>
<div class="flex-2"><input type="text" id="exchangeamount" name="exchangeamount" class="px" size="5" value="0" onkeyup="exchangecalcredit()" /></div>
<div class="flex input">
<select name="tocredits" id="tocredits" class="sort_sel" onChange="exchangecalcredit()">
<!--{loop $_G[setting][extcredits] $id $ecredits}-->
<!--{if $ecredits[allowexchangein] && $ecredits[ratio]}-->
<option value="$id" unit="$ecredits['unit']" title="$ecredits['title']" ratio="$ecredits['ratio']">$ecredits['title']</option>
<!--{/if}-->
<!--{/loop}-->
<!--{eval $i=0;}-->
<!--{loop $_CACHE['creditsettings'] $id $data}--><!--{eval $i++;}-->
<!--{if $data['title']}-->
<option value="$id" outi="$i">{$data['title']}</option>
<!--{/if}-->
<!--{/loop}-->
</select>
</div>
</li>
<li class="flex-box mli">
<div class="tit flex">{lang credits_need}&nbsp;</div>
<div class="flex-2"><input type="text" id="exchangedesamount" class="px" size="5" value="0" disabled="disabled" /></div>
<div class="flex input">
<select name="fromcredits" id="fromcredits_0" class="sort_sel" style="display: none" onChange="exchangecalcredit();">
<!--{loop $_G[setting][extcredits] $id $credit}-->
<!--{if $credit[allowexchangeout] && $credit[ratio]}-->
<option value="$id" unit="$credit['unit']" title="$credit['title']" ratio="$credit['ratio']">$credit['title']</option>
<!--{/if}-->
<!--{/loop}-->
</select>
<!--{eval $i=0;}-->
<!--{loop $_CACHE['creditsettings'] $id $data}--><!--{eval $i++;}-->
<select name="fromcredits_$i" id="fromcredits_$i" class="sort_sel" style="display: none" onChange="exchangecalcredit()">
<!--{loop $data['creditsrc'] $id $ratio}-->
<option value="$id" unit="$_G['setting']['extcredits'][$id]['unit']" title="$_G['setting']['extcredits'][$id]['title']" ratiosrc="$data['ratiosrc'][$id]" ratiodesc="$data['ratiodesc'][$id]">$_G['setting']['extcredits'][$id]['title']</option>
<!--{/loop}-->
</select>
<!--{/loop}-->
<script type="text/javascript">
function getID(id) {
return !id ? null : document.getElementById(id);
}
var tocredits = getID('tocredits');
var fromcredits = getID('fromcredits_0');
if(fromcredits.length > 1 && tocredits.value == fromcredits.value) {
fromcredits.selectedIndex = tocredits.selectedIndex + 1;
}
</script>
</div>
</li>
<li class="mli">
<input type="password" name="password" class="px" value="" placeholder="{lang transfer_login_password}" />
</li>
</ul>
</div>
<div class="text-muted">
<!--{if $_G[setting][exchangemincredits]}-->
{lang memcp_credits_exchange_min_balance} $_G[setting][exchangemincredits]<br />
<!--{/if}-->
<span id="taxpercent">
<!--{if intval($taxpercent) > 0}-->
{lang credits_tax} $taxpercent
<!--{/if}-->
</span>
</div>
<div class="post_btn">
<button type="submit" name="exchangesubmit_btn" id="exchangesubmit_btn" class="pn" value="true"><em>{lang memcp_credits_exchange}</em></button>
</div>
</form>
<script type="text/javascript">
function exchangecalcredit() {
with(getID('exchangeform')) {
tocredit = tocredits[tocredits.selectedIndex];
if(!tocredit) {
return;
}
<!--{eval $i=0;}-->
<!--{loop $_CACHE['creditsettings'] $id $data}--><!--{eval $i++;}-->
getID('fromcredits_$i').style.display = 'none';
<!--{/loop}-->
if(tocredit.getAttribute('outi')) {
outi.value = tocredit.getAttribute('outi');
fromcredit = getID('fromcredits_' + tocredit.getAttribute('outi'));
getID('taxpercent').style.display = getID('fromcredits_0').style.display = 'none';
fromcredit.style.display = '';
fromcredit = fromcredit[fromcredit.selectedIndex];
getID('exchangeamount').value = getID('exchangeamount').value.toInt();
if(getID('exchangeamount').value != 0) {
getID('exchangedesamount').value = Math.floor( fromcredit.getAttribute('ratiosrc') / fromcredit.getAttribute('ratiodesc') * $('exchangeamount').value);
} else {
getID('exchangedesamount').value = '';
}
} else {
outi.value = 0;
getID('taxpercent').style.display = getID('fromcredits_0').style.display = '';
fromcredit = fromcredits[fromcredits.selectedIndex];
getID('exchangeamount').value = getID('exchangeamount').value.toInt();
if(fromcredit.getAttribute('title') != tocredit.getAttribute('title') && getID('exchangeamount').value != 0) {
if(tocredit.getAttribute('ratio') < fromcredit.getAttribute('ratio')) {
getID('exchangedesamount').value = Math.ceil( tocredit.getAttribute('ratio') / fromcredit.getAttribute('ratio') * getID('exchangeamount').value * (1 + $_G[setting][creditstax]));
} else {
getID('exchangedesamount').value = Math.floor( tocredit.getAttribute('ratio') / fromcredit.getAttribute('ratio') * getID('exchangeamount').value * (1 + $_G[setting][creditstax]));
}
} else {
getID('exchangedesamount').value = '';
}
}
}
}
String.prototype.toInt = function() {
var s = parseInt(this);
return isNaN(s) ? 0 : s;
}
exchangecalcredit();
</script>
<!--{/if}-->
<!--{elseif $_GET['op'] == 'rule'}-->
{eval
$_TPL['cycletype'] = array(
'0' => '{lang one_time}',
'1' => '{lang everyday}',
'2' => '{lang the_time}',
'3' => '{lang interval_minutes}',
'4' => '{lang open_cycle}'
);
}
<div class="byg_box_x35" style="padding-bottom:.1rem;">
<div class="post_box setbox">
<ul class="c">
<li class="mli">
<select onchange="location.href='home.php?mod=spacecp&ac=credit&op=rule&fid='+this.value" class="sort_sel" style="margin:0;"><option value="">{lang credit_rule_global}</option>$select</select>
</li>
</ul>
</div>
<div class="text-muted">
<p>{lang activity_award_message}</p>
</div>
<table cellspacing="0" cellpadding="0" class="dt valt">
<tr>
<th class="xw1">{lang action_name}</th>
<th class="xw1">{lang cycle_range}</th>
<th class="xw1">{lang max_award_per_week}</th>
<!--{loop $_G['setting']['extcredits'] $key $value}-->
<th class="xw1">$value[title]</th>
<!--{/loop}-->
</tr>
<!--{eval $i = 0;}-->
<!--{loop $list $key $value}-->
<!--{eval $i++;}-->
<tr{if $i % 2 == 0} class="alt"{/if}>
<td>$value[rulename]</td>
<td>$_TPL[cycletype][$value[cycletype]]</td>
<td><!--{if $value[rewardnum]}-->$value[rewardnum]<!--{else}-->{lang unlimited_time}<!--{/if}--></td>
<!--{loop $_G['setting']['extcredits'] $key $credit}-->
<!--{eval $creditkey = 'extcredits'.$key;}-->
<td><!--{if $value[$creditkey] > 0}-->+$value[$creditkey]<!--{elseif $value[$creditkey] < 0}-->$value[$creditkey]<!--{else}-->0<!--{/if}--></td>
<!--{/loop}-->
</tr>
<!--{/loop}-->
</table>
</div>
<!--{/if}-->
<!--{hook/spacecp_credit_bottom}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,28 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<div class="forumdisplay_tab forumdisplay_tab_op">
<div class="swiper-wrapper">
<a href="home.php?mod=spacecp&ac=credit&op=base" class="swiper-slide {if $_GET['op'] == 'base'}on{/if}"><h2>我的积分</h2></a>
<!--{if (isset($_G['setting']['mobile']['forum']) && $_G['setting']['ec_ratio'] && $is_enable_pay) || $_G['setting']['card']['open']}-->
<a href="home.php?mod=spacecp&ac=credit&op=buy" class="swiper-slide {if $_GET['op'] == 'buy'}on{/if}"><h2>充值</h2></a>
<!--{/if}-->
<!--{if $_G[setting][transferstatus] && $_G['group']['allowtransfer']}-->
<a href="home.php?mod=spacecp&ac=credit&op=transfer" class="swiper-slide {if $_GET['op'] == 'transfer'}on{/if}"><h2>转账</h2></a>
<!--{/if}-->
<!--{if $_G[setting][exchangestatus]}-->
<a href="home.php?mod=spacecp&ac=credit&op=exchange" class="swiper-slide {if $_GET['op'] == 'exchange'}on{/if}"><h2>兑换</h2></a>
<!--{/if}-->
<a href="home.php?mod=spacecp&ac=credit&op=log" class="swiper-slide {if $_GET['op'] == 'log'}on{/if}"><h2>积分记录</h2></a>
<a href="home.php?mod=spacecp&ac=credit&op=rule" class="swiper-slide {if $_GET['op'] == 'rule'}on{/if}"><h2>积分规则</h2></a>
</div>
</div>
<link rel="stylesheet" href="{$_G['style']['styleimgdir']}/swiper.min.css" type="text/css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<script type="text/javascript">
var tab_initial = jQuery(".forumdisplay_tab_op .on").length > 0 ? jQuery(".forumdisplay_tab_op .on").index() : 0;
var forumdisplay_tab_op = new Swiper('.forumdisplay_tab_op', {
initialSlide : tab_initial,
slidesPerView : 'auto',
freeMode : true,
});
</script>

View File

@@ -0,0 +1,124 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<span class="header_font">积分记录</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<!--{template home/spacecp_credit_header}-->
<!--{hook/spacecp_credit_top}-->
<style>
.credit_log_tab{ height: .24rem; padding: .1rem; border-bottom: 1px solid #eee; overflow-y: hidden; overflow-x: auto; white-space: nowrap; background: #fff;}
.credit_log_tab a{ width: auto; height: .22rem; line-height: .22rem; margin-right: .1rem; padding: 0 .06rem; border: 1px solid #ddd; border-radius: .02rem; font-size: .13rem; color: #888; display: inline-block;}
.credit_log_tab .on{ background-color: $_G['style']['zhuti']; color: #fff;}
.byg_credit_log_box{ background: #fff; padding: 0 .1rem; font-size: .14rem;}
.byg_credit_log_box li{ padding: .1rem 0; border-bottom: 1px solid #eee;}
.byg_credit_log_box li .txt{ color: #999; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .13rem;}
.byg_credit_log_box li .txt a{ color: #666;}
.byg_credit_log_box li .mtime{ color: #999; text-align: right; min-width: 1.2rem; font-size: .12rem;}
.byg_credit_log_box .byg_fs_12{ font-size: .12rem;}
.byg_credit_log_box .xi1{ color: #ff5656;}
.byg_credit_log_box .xg1{ vertical-align: baseline;}
.byg_rule_log_box{ padding: .1rem; background: #fff;}
.byg_rule_log_box table{ border-top: 1px solid #eee; border-left: 1px solid #eee;}
.byg_rule_log_box td, .byg_rule_log_box th{ padding: .08rem .05rem; border-bottom: 1px solid #eee; border-right: 1px solid #eee; font-size: .14rem;}
.byg_rule_log_box th{ background: #f9f9f9; font-size: .14rem; font-weight: 700;}
.byg_rule_log_box .alt td{ background-color: #f9f9f9;}
</style>
<div class="credit_log_tab byg_box_x35">
<a href="home.php?mod=spacecp&ac=credit&op=log" {if $_GET[suboperation] != 'creditrulelog' && !$_GET['income']}class="on"{/if}>全部</a>
<a href="home.php?mod=spacecp&ac=credit&op=log&income=1" {if $_GET['income'] == 1}class="on"{/if}>收入</a>
<a href="home.php?mod=spacecp&ac=credit&op=log&income=-1" {if $_GET['income'] == -1}class="on"{/if}>支出</a>
<a href="home.php?mod=spacecp&ac=credit&op=log&suboperation=creditrulelog" {if $_GET[suboperation] == 'creditrulelog'} class="on"{/if}>系统奖励</a>
</div>
<!--{if $_GET[suboperation] != 'creditrulelog'}-->
<!--{if $loglist}-->
<div class="byg_credit_log_box cl byg_box_x35">
<ul>
<!--{loop $loglist $value}-->
<!--{eval $value = makecreditlog($value, $otherinfo);}-->
<li class="cl">
<p class="flex-box align-items-center justify-content-between">
<span>
<!--{if $value['operation']}-->
<a href="home.php?mod=spacecp&ac=credit&op=log&optype=$value['operation']">$value['optype']</a>
<!--{else}-->
$value['title']
<!--{/if}-->
</span>
<span class="byg_fs_12">{$value['credit']}</span>
</p>
<p class="flex-box align-items-center justify-content-between mt5">
<span class="txt">
<!--{if $value['operation']}-->
$value['opinfo']
<!--{else}-->
$value['text']
<!--{/if}-->
</span>
<span class="mtime">$value['dateline']</span>
</p>
</li>
<!--{/loop}-->
</ul>
</div>
<!--{else}-->
<div class="home_no_data">{lang doing_no_replay}</div>
<!--{/if}-->
<!--{elseif $_GET[suboperation] == 'creditrulelog'}-->
<div class="byg_rule_log_box cl byg_box_x35">
<table summary="{lang get_credit_histroy}" cellspacing="0" cellpadding="0" class="dt">
<tr>
<th class="xw1" width="80">{lang action_name}</th>
<th class="xw1" width="60">{lang total_time}</th>
<th class="xw1" width="60">{lang cycles_num}</th>
<!--{loop $_G['setting']['extcredits'] $key $value}-->
<th class="xw1">$value[title]</th>
<!--{/loop}-->
<th class="xw1" width="100">{lang last_award_time}</th>
</tr>
<!--{eval $i = 0;}-->
<!--{loop $list $key $log}-->
<!--{eval $i++;}-->
<tr{if $i % 2 == 0} class="alt"{/if}>
<td><a href="home.php?mod=spacecp&ac=credit&op=rule&rid=$log[rid]">$log[rulename]</a></td>
<td>$log[total]</td>
<td>$log[cyclenum]</td>
<!--{loop $_G['setting']['extcredits'] $key $value}-->
<!--{eval $creditkey = 'extcredits'.$key;}-->
<td>$log[$creditkey]</td>
<!--{/loop}-->
<td><!--{date($log['dateline'], 'Y-m-d H:i')}--></td>
</tr>
<!--{/loop}-->
</table>
</div>
<!--{/if}-->
<!--{if $multi}-->$multi<!--{/if}-->
<!--{hook/spacecp_credit_bottom}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,52 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!--{if $_G['inajax'] != 1}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<span>管理收藏</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<!--{/if}-->
<div class="tip">
<!--{if $_GET['op'] == 'delete'}-->
<form id="favoriteform_{$favid}" name="favoriteform_{$favid}" method="post" autocomplete="off" action="home.php?mod=spacecp&ac=favorite&op=delete&favid=$favid&type=$_GET[type]&mobile=2">
<input type="hidden" name="referer" value="{eval echo dreferer();}" />
<input type="hidden" name="deletesubmit" value="true" />
<input type="hidden" name="formhash" value="{FORMHASH}" />
<dt>{lang delete_favorite_message}</dt>
<dd><input type="submit" name="deletesubmitbtn" value="{lang determine}" class="formdialog button2"><a href="javascript:;" onclick="popup.close();">{lang cancel}</a></dd>
</form>
<!--{else}-->
<form method="post" autocomplete="off" id="favoriteform_{$id}" name="favoriteform_{$id}" action="home.php?mod=spacecp&ac=favorite&type=$type&id=$id&spaceuid=$spaceuid&mobile=2" >
<input type="hidden" name="favoritesubmit" value="true" />
<input type="hidden" name="referer" value="{eval echo dreferer();}" />
<input type="hidden" name="formhash" value="{FORMHASH}" />
<dt>
<p><!--{if $_GET[type] == 'forum'}-->{lang favorite_forum_confirm}<!--{elseif $_GET[type] == 'thread'}--> {lang favorite_thread_confirm}<!--{/if}--><strong>{$title}</strong></p>
<p>{lang favorite_description}:</p>
<textarea id="general_{$id}" name="description" rows="1" class="txt mtn" ><!--{if $description}-->$description<!--{else}-->{lang favorite_description_default}<!--{/if}--></textarea>
</dt>
<dd><input type="submit" name="favoritesubmit_btn" id="favoritesubmit_btn" value="{lang determine}" class="formdialog button2"><a href="javascript:;" onclick="popup.close();">{lang cancel}</a></dd>
</form>
<!--{/if}-->
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,129 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!--{if $op == 'bkname'}-->
<h3 class="flb">
<em id="return_$_GET[handlekey]">{lang follow_for}$followuser['fusername']{lang follow_add_bkname}</em>
<!--{if $_G[inajax]}--><span><a href="javascript:;" onclick="hideWindow('$_GET[handlekey]');" class="flbc" title="{lang close}">{lang close}</a></span><!--{/if}-->
</h3>
<!--{if !submitcheck('editbkname')}-->
<form method="post" autocomplete="off" id="bknameform_{$_GET[handlekey]}" name="bknameform_{$_GET[handlekey]}" action="home.php?mod=spacecp&ac=follow&op=bkname&fuid=$followuser['followuid']" {if $_G[inajax]}onsubmit="ajaxpost(this.id, 'return_$_GET[handlekey]');"{/if}>
<input type="hidden" name="referer" value="{echo dreferer()}" />
<input type="hidden" name="editbkname" value="true" />
<!--{if $_G[inajax]}--><input type="hidden" name="handlekey" value="$_GET[handlekey]" /><!--{/if}-->
<input type="hidden" name="formhash" value="{FORMHASH}" />
<div class="c">
<table>
<tr>
<th valign="top" width="60" class="avt"><a href="home.php?mod=space&uid=$followuser['followuid']"><!--{avatar($followuser['followuid'], 'small')}--></a></th>
<td valign="top">{lang follow_editnote}: <input type="text" name="bkname" value="$followuser['bkname']" size="35" class="px" onkeydown="ctrlEnter(event, 'editsubmit_btn');" />
</td>
</tr>
</table>
</div>
<p class="o pns">
<button type="submit" name="editsubmit_btn" id="editsubmit_btn" value="true" class="pn pnc"><strong>{lang save}</strong></button>
</p>
</form>
<!--{/if}-->
<script type="text/javascript" reload="1">
function succeedhandle_$_GET[handlekey](url, msg, values) {
$('$_GET[handlekey]').innerHTML = values['bkname'];
$('fbkname_$followuser[followuid]').innerHTML = values['btnstr'];
}
</script>
<!--{elseif $op == 'relay'}-->
<!--{if $_GET['from'] == 'forum'}-->
<div class="tip loginbox loginpop p5" id="floatlayout_follow">
<h2 class="log_tit" id="return_rate"><a href="javascript:;" onclick="popup.close();"><span class="icon_close y">&nbsp;</span></a>{lang follow_reply}</h2>
<form method="post" autocomplete="off" id="relayform_{$tid}" name="relayform_{$tid}" action="home.php?mod=spacecp&ac=follow&op=relay&tid=$tid">
<input type="hidden" name="relaysubmit" value="true">
<input type="hidden" name="referer" value="{echo dreferer()}">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="tid" value="$tid" />
<!--{if $_G[inajax]}--><input type="hidden" name="handlekey" value="$_GET[handlekey]" /><!--{/if}-->
<ul class="post_box cl">
<dt class="mpt">
<textarea id="note_{$tid}" name="note" cols="50" rows="5" class="pt mtn" placeholder="{lang follow_add_note}"></textarea>
</dt>
<!--{if $secqaacheck || $seccodecheck}-->
<li class="flex-box mli">
<div class="flex"><!--{block sectpl}--><sec> <span id="sec<hash>" onclick="showMenu({'ctrlid':this.id,'win':'{$_GET[handlekey]}'})"><sec></span><div id="sec<hash>_menu" class="p_pop p_opt" style="display:none"><sec></div><!--{/block}--></div>
<div class="flex"><div class="mtm sec"><!--{subtemplate common/seccheck}--></div></div>
</li>
<!--{/if}-->
<label>
<li class="flex-box mli">
<div class="flex">{lang post_add_inonetime}</div>
<div class="flex"></div>
<div class="flex"><input type="checkbox" name="addnewreply" checked="checked" class="pc" value="1" /></div>
</li>
</label>
</ul>
<button type="submit" name="relaysubmit_btn" id="relaysubmit_btn" class="pn pnc formdialog" value="true"><strong>{lang determine}</strong></button>
</form>
</div>
<!--{else}-->
<div class="moodfm">
<div class="moodfm_post">
<form method="post" autocomplete="off" id="postform_{$tid}" action="home.php?mod=spacecp&ac=follow&op=relay&tid=$tid">
<input type="hidden" name="relaysubmit" value="true">
<input type="hidden" name="referer" value="{echo dreferer()}">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="tid" value="$tid" />
<div class="moodfm_text">
<textarea id="note_{$tid}" name="note" cols="80" rows="4" class="pts" placeholder="{lang follow_can_enter}140{lang follow_word}">{$comment['message']}</textarea>
</div>
<!--{if $secqaacheck || $seccodecheck}-->
<!--{block sectpl}--><sec> <span id="sec<hash>" onclick="showMenu({'ctrlid':this.id,'win':'{$_GET[handlekey]}'})"><sec></span><div id="sec<hash>_menu" class="p_pop p_opt" style="display:none"><sec></div><!--{/block}-->
<div class="mtm sec post_box"><ul class="cl"><!--{subtemplate common/seccheck}--></ul></div>
<!--{/if}-->
<div class="moodfm_f">
<div class="moodfm_btn">
<button type="submit" name="relaysubmit_btn" id="relaysubmit_btn" class="pgsbtn button" value="true" name="{if $_GET[action] == 'newthread'}topicsubmit{elseif $_GET[action] == 'reply'}replysubmit{/if}">{lang follow_reply}</button>
</div>
<!--{if $_G['group']['maxsigsize']}-->
<div class="moodfm_signature">
<label>
<input type="checkbox" name="to_signhtml" class="pc" value="1" checked="checked" />
<span>{lang post_add_inonetime}</span>
</label>
</div>
<!--{/if}-->
</div>
<div id="return_$_GET[handlekey]"></div>
</form>
</div>
</div>
<div class="cl">
<a href="javascript:;" onclick="replybox_close('relaybox_{$_GET['feedid']}')" class="replybox_close">{lang close}</a>
</div>
<!--{/if}-->
<!--{elseif $op == 'getfeed'}-->
<!--{if !empty($list)}-->
<!--{subtemplate home/follow_feed_li}-->
<!--{else}-->
false
<!--{/if}-->
<!--{elseif $op == 'delete'}-->
<div class="tip">
<form method="post" autocomplete="off" id="deletefeed_{$_GET['feedid']}" name="deletefeed_{$_GET['feedid']}" action="home.php?mod=spacecp&ac=follow&op=delete&feedid=$_GET['feedid']">
<input type="hidden" name="referer" value="{echo dreferer()}" />
<input type="hidden" name="deletesubmit" value="true" />
<input type="hidden" name="formhash" value="{FORMHASH}" />
<!--{if $_G[inajax]}--><input type="hidden" name="handlekey" value="$_GET[handlekey]" /><!--{/if}-->
<dt>
<p>{lang follow_del_feed_confirm}</p>
</dt>
<dd>
<button type="submit" name="btnsubmit" value="true" class="button z">{lang determine}</button>
<a href="javascript:;" onclick="popup.close();" class="button y">{lang cancel}</a>
</dd>
</form>
</div>
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,16 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<li class="swiper-slide{if $actives[privacy] or ''} mon{/if}"><a href="home.php?mod=spacecp&ac=privacy">{lang memcp_privacy}</a></li>
<li class="swiper-slide{if $actives[password] or ''} mon{/if}"><a href="home.php?mod=spacecp&ac=profile&op=password">{lang password_security}</a></li>
<!--{if $_G['setting']['creditspolicy']['promotion_visit'] || $_G['setting']['creditspolicy']['promotion_register']}-->
<li class="swiper-slide{if $actives[promotion] or ''} mon{/if}"><a href="home.php?mod=spacecp&ac=promotion">{lang memcp_promotion}</a></li>
<!--{/if}-->
<!--{if !empty($_G['setting']['plugins']['spacecp'])}-->
<!--{loop $_G['setting']['plugins']['spacecp'] $id $module}-->
<!--{if in_array($module['adminid'], array(0, -1)) || ($module['adminid'] && $_G['adminid'] > 0 && $module['adminid'] >= $_G['adminid'])}-->
<!--{if $id != 'myrepeats:memcp' && $id != 'wechat:spacecp' && $id != 'qqconnect:spacecp'}-->
<li class="swiper-slide{if $_GET[id] == $id} mon{/if}"><a href="home.php?mod=spacecp&ac=plugin&id=$id">$module[name]</a></li>
<!--{/if}-->
<!--{/if}-->
<!--{/loop}-->
<!--{/if}-->

View File

@@ -0,0 +1,169 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!--{if !$_G[inajax]}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<span>我的好友</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<style type="text/css">
.forumdisplay_tab .a{ color: $_G['style']['zhuti'];}
.forumdisplay_tab .a:after{ content: "."; position: absolute; top: .26rem; left: 50%; display: block; width: .16rem; height: .04rem; margin-left: -.08rem; line-height: 999em; background: $_G['style']['zhuti']; color: #fff; border-radius: .02rem;}
.byg_friend_count{ padding: 0 .1rem; font-size: .14rem; color: #666; line-height: .16rem;}
.byg_friend_count .y{ color: #06c;}
.byg_friend_list{ background: #fff; margin: .1rem 0;}
.byg_friend_list li{ padding: .1rem; border-bottom: 1px solid #eee; line-height: .25rem;}
.byg_friend_list .z_img{ width: .5rem; height: .5rem; vertical-align: top;}
.byg_friend_list_y{ width: 2.95rem;}
.byg_friend_list_hot{ font-size: .14rem; color: #888;}
.byg_friend_list_note{ font-size: .14rem;}
.byg_friend_list .byg_friend_list_delete{ margin: .03rem 0 0 .1rem; padding: 0 .08rem; line-height: .21rem; background: #aaa; color: #fff; border-radius: .04rem; font-size: .12rem;}
.tip .button2{ font-size: 15px;}
</style>
<div class="forumdisplay_tab">
<a href="home.php?mod=space&do=friend" {$a_actives[me]}><h2>{lang friend_list}</h2></a>
<a href="home.php?mod=spacecp&ac=friend&op=request" {if $_GET['op'] == 'request'}class="a"{/if}><h2>{lang friend_request}</h2></a>
</div>
<!--{/if}-->
<!--{if $op =='ignore'}-->
<dl class="tip">
<form method="post" autocomplete="off" id="friendform_{$uid}" name="friendform_{$uid}" action="home.php?mod=spacecp&ac=friend&op=ignore&uid=$uid&confirm=1">
<input type="hidden" name="referer" value="{echo dreferer()}">
<input type="hidden" name="friendsubmit" value="true" />
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="from" value="$_GET[from]" />
<!--{if $_G[inajax]}--><input type="hidden" name="handlekey" value="$_GET[handlekey]" /><!--{/if}-->
<dt>{lang determine_lgnore_friend}</dt>
<dd>
<button type="submit" name="friendsubmit_btn" class="button2" value="true">{lang determine}</button>
<a href="javascript:;" onclick="popup.close();">{lang cancel}</a>
</dd>
</form>
</dl>
<!--{elseif $op=='editnote'}-->
<dl class="tip">
<form method="post" autocomplete="off" id="editnoteform_{$uid}" name="editnoteform_{$uid}" action="home.php?mod=spacecp&ac=friend&op=editnote&uid=$uid">
<input type="hidden" name="referer" value="{echo dreferer()}">
<input type="hidden" name="editnotesubmit" value="true" />
<!--{if $_G[inajax]}--><input type="hidden" name="handlekey" value="$_GET[handlekey]" /><!--{/if}-->
<input type="hidden" name="formhash" value="{FORMHASH}" />
<dt>
<p>{lang friend_note_message}</p>
<input type="text" name="note" class="px mtn" value="$friend[note]" size="30" />
</dt>
<dd>
<button type="submit" name="editnotesubmit_btn" class="button2" value="true">{lang determine}</button>
<a href="javascript:;" onclick="popup.close();">{lang cancel}</a>
</dd>
</form>
</dl>
<!--{elseif $op=='request'}-->
<!--{if $list}-->
<div class="cl byg_friend_count">
<span class="z">{lang select_friend_application_do}</span>
<a href="home.php?mod=spacecp&ac=friend&op=addconfirm&key=$space[key]" class="y">{lang confirm_all_applications}</a>
</div>
<div class="byg_friend_list">
<ul>
<!--{loop $list $key $value}-->
<li class="cl">
<a href="home.php?mod=space&uid=$value[fuid]&do=profile" class="z"><img src="<!--{avatar($value['fuid'], 'middle', true)}-->" alt="$value[fusername]" class="z_img" /></a>
<div class="y byg_friend_list_y">
<a href="home.php?mod=space&uid=$value[fuid]&do=profile" class="z">$value[fusername]</a>
<span class="y byg_friend_list_hot"><!--{date($value['dateline'], 'n-j H:i')}--></span>
</div>
<div class="y byg_friend_list_y">
<a href="home.php?mod=spacecp&ac=friend&op=add&uid=$value[fuid]&handlekey=afrfriendhk_{$value[uid]}" id="afr_$value[fuid]" class="dialog y byg_friend_list_delete">{lang confirm_applications}</a>
<a href="home.php?mod=spacecp&ac=friend&op=ignore&uid=$value[fuid]&confirm=1&handlekey=afifriendhk_{$value[uid]}" id="afi_$value[fuid]" class="dialog y byg_friend_list_delete">{lang ignore}</a>
</div>
</li>
<!--{/loop}-->
</ul>
</div>
<!--{if $multi}-->$multi<!--{/if}-->
<!--{else}-->
<div class="home_no_data">{lang no_new_friend_application}</div>
<!--{/if}-->
<!--{elseif $op=='add'}-->
<dl class="tip">
<form method="post" autocomplete="off" id="addform_{$tospace[uid]}" name="addform_{$tospace[uid]}" action="home.php?mod=spacecp&ac=friend&op=add&uid=$tospace[uid]">
<input type="hidden" name="referer" value="{echo dreferer()}" />
<input type="hidden" name="addsubmit" value="true" />
<!--{if $_G[inajax]}--><input type="hidden" name="handlekey" value="$_GET[handlekey]" /><!--{/if}-->
<input type="hidden" name="formhash" value="{FORMHASH}" />
<dt>
<p>{lang add_friend}</p>
<div style="display: none !important;">
<table>
<tr>
<td valign="top">{lang add} <strong>{$tospace[username]}</strong> {lang add_friend_note}:<br />
<input type="text" name="note" value="" size="35" class="px" onkeydown="ctrlEnter(event, 'addsubmit_btn', 1);" />
<p class="mtn xg1">({lang view_note_message})</p>
<p class="mtm">
{lang friend_group}: <select name="gid" class="ps">
<!--{loop $groups $key $value}-->
<option value="$key" {if empty($space['privacy']['groupname']) && $key==1} selected="selected"{/if}>$value</option>
<!--{/loop}-->
</select>
</p>
</td>
</tr>
</table>
</div>
</dt>
<dd>
<button type="submit" name="addsubmit_btn" id="addsubmit_btn" value="true" class="button2">{lang determine}</button>
<a href="javascript:;" onclick="popup.close();">{lang cancel}</a>
</dd>
</form>
</dl>
<!--{elseif $op=='add2'}-->
<dl class="tip">
<form method="post" autocomplete="off" id="addratifyform_{$tospace[uid]}" name="addratifyform_{$tospace[uid]}" action="home.php?mod=spacecp&ac=friend&op=add&uid=$tospace[uid]">
<input type="hidden" name="referer" value="{echo dreferer()}" />
<input type="hidden" name="add2submit" value="true" />
<input type="hidden" name="from" value="$_GET[from]" />
<!--{if $_G[inajax]}--><input type="hidden" name="handlekey" value="$_GET[handlekey]" /><!--{/if}-->
<input type="hidden" name="formhash" value="{FORMHASH}" />
<dt>
<p>{lang approval_the_request}</p>
<table style="display: none !important;"><tr>
<!--{eval $i=0;}-->
<!--{loop $groups $key $value}-->
<td style="padding:8px 8px 0 0;"><label for="group_$key"><input type="radio" name="gid" id="group_$key" value="$key"$groupselect[$key] />$value</label></td>
<!--{if $i%2==1}--></tr><tr><!--{/if}-->
<!--{eval $i++;}-->
<!--{/loop}-->
</tr></table>
</dt>
<dd>
<button type="submit" name="add2submit_btn" value="true" class="button2">{lang approval}</button>
<a href="javascript:;" onclick="popup.close();">{lang cancel}</a>
</dd>
</form>
</dl>
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,30 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<style type="text/css">
.dhnav_box{ margin-bottom: .1rem; width: 100%; height: .4rem; padding: .02rem 0; overflow:hidden; background-color: #fff; border-bottom: 1px solid #eee;}
#dhnav_li{ width: 100%; height: .4rem; text-align: center; white-space: nowrap;}
#dhnav_li li{ float: left; width: auto; height: .4rem; text-align: center; overflow: hidden; color: #999; position: relative;}
#dhnav_li li a{ display: inline-block; font-size: .16rem; line-height: .4rem; margin: 0 .15rem;}
#dhnav_li li.mon{ height: .4rem; border-bottom: none;}
#dhnav_li li.mon a{ color: $_G['style']['zhuti']; font-weight: 400;}
#dhnav_li li.mon:after{ content: "."; position: absolute; top: .3rem; left: 50%; display: block; width: .16rem; height: .04rem; margin-left: -.08rem; line-height: 999em; background: $_G['style']['zhuti']; color: #fff; border-radius: .02rem;}
</style>
<div class="dhnav_box">
<div id="dhnav">
<div id="dhnav_li">
<ul class="swiper-wrapper">
<!--{template home/spacecp_footer}-->
</ul>
</div>
</div>
</div>
<link rel="stylesheet" type="text/css" href="{$_G['style']['styleimgdir']}/swiper.min.css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<script>
if($("#dhnav_li .mon").length>0){
var discuz_nav=$("#dhnav_li .mon").offset().left+$("#dhnav_li .mon").width()>=$(window).width()?$("#dhnav_li .mon").index():0;
}else{
var discuz_nav=0;
}
new Swiper('#dhnav_li',{freeMode:true,slidesPerView:'auto',initialSlide:discuz_nav,onTouchMove:function(swiper){Discuz_Touch_on=0},onTouchEnd:function(swiper){Discuz_Touch_on=1},});
</script>

View File

@@ -0,0 +1,90 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<a href="home.php?mod=spacecp&ac=credit&op=buy" title="充值">充值</a>
<em>&rsaquo;</em>
<span class="header_font">{lang payment_pay}</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<form id="addfundsbuyform" name="addfundsbuyform" method="post" autocomplete="off" action="home.php?mod=spacecp&ac=payment&op=pay">
<style>
div b{ font-size: .14rem; font-weight: 700;}
</style>
<input type="hidden" name="order_id" value="{$order['id']}">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="paysubmit" value="true" />
<input type="hidden" name="handlekey" value="payment" />
<div class="m15 pl5"><b>{lang payment_pay_order_info}</b></div>
<div class="dzcell-group dzcell-group-inset">
<div class="dzcell-item">
<div class="dzcell-title">{lang payment_pay_order_id}</div>
<div class="dzcell-value">{$order['out_biz_no']}</div>
</div>
<div class="dzcell-item">
<div class="dzcell-title">{lang payment_pay_subject}</div>
<div class="dzcell-value">{$order['subject']}</div>
</div>
<!--{if $order['description']}-->
<div class="dzcell-item">
<div class="dzcell-title">{lang payment_pay_description}</div>
<div class="dzcell-value">{$order['description']}</div>
</div>
<!--{/if}-->
<div class="dzcell-item">
<div class="dzcell-title">{lang payment_pay_amount}</div>
<div class="dzcell-value">
<span style="color: #ff3548;">{lang payment_unit_yang}<em style="font-size: 20px;">{$order['amount']}</em></span>
<!--{if $order['total_amount']}-->
<span style="color: #ff3548; text-decoration: line-through; margin-left: 5px; font-size: 20px;">({$order['total_amount']})</span>
<!--{/if}-->
</div>
</div>
</div>
<div class="m15 pl5"><b>{lang payment_pay_type}</b></div>
<div class="dzcell-group dzcell-group-inset pay-channel-list">
<!--{loop $pay_channel_list $index $channel}-->
<div class="dzcell-item">
<div class="dzcell-title flex-box align-items-center">
<img src="$channel['logo']" />
</div>
<div class="dzcell-value flex-box align-items-center justify-content-end">
<input <!--{if !$index}-->checked<!--{/if}--> name="pay_channel" type="radio" value="{$channel['id']}">
</div>
</div>
<!--{/loop}-->
</div>
<div class="x35_post_btn">
<button id="pmsubmit_btn" class="pn btn_pn mgrey">{lang payment_pay_btn}</button>
</div>
</form>
<script type="text/javascript">
(function() {
$('.pay-channel-list .dzcell-item').click(function() {
$(this).find('input').prop('checked', true);
});
})();
</script>
<!--{template common/footer}-->

View File

@@ -0,0 +1,92 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!--{if $op != ''}-->
<div class="bm_c">{lang user_mobile_pm_error}</div>
<!--{else}-->
<form id="pmform_{$pmid}" name="pmform_{$pmid}" method="post" autocomplete="off" action="home.php?mod=spacecp&ac=pm&op=send&touid=$touid&pmid=$pmid&mobile=2" >
<input type="hidden" name="referer" value="{echo dreferer();}" />
<input type="hidden" name="pmsubmit" value="true" />
<input type="hidden" name="formhash" value="{FORMHASH}" />
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&do=pm" title="我的消息">我的消息</a>
<em>&rsaquo;</em>
<span>{lang send_pm}</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<!-- main post_msg_box start -->
<div class="wp">
<div class="post_msg_from">
<ul>
<!--{if !$touid}-->
<li class="bl_line"><input type="text" value="" tabindex="1" class="px" size="30" autocomplete="off" id="username" name="username" placeholder="{lang addressee}"></li>
<!--{/if}-->
<li class="bl_none area">
<textarea class="pt" tabindex="2" autocomplete="off" value="" id="sendmessage" name="message" cols="80" rows="7" placeholder="{lang thread_content}"></textarea>
</li>
</ul>
<div class="publish publish_t">
<span><button id="pmsubmit_btn" class="btn_pn btn_pn_grey" disable="true"><span>{lang sendpm}</span></button></span>
<input type="hidden" name="pmsubmit_btn" value="yes" />
</div>
</div>
</div>
<!-- main postbox start -->
</form>
<script type="text/javascript">
(function() {
jQuery('#sendmessage').on('keyup input', function() {
var obj = jQuery(this);
if(obj.val()) {
jQuery('.btn_pn').removeClass('btn_pn_grey').addClass('btn_pn_blue');
jQuery('.btn_pn').attr('disable', 'false');
} else {
jQuery('.btn_pn').removeClass('btn_pn_blue').addClass('btn_pn_grey');
jQuery('.btn_pn').attr('disable', 'true');
}
});
var form = jQuery('#pmform_{$pmid}');
jQuery('#pmsubmit_btn').on('click', function() {
var obj = jQuery(this);
if(obj.attr('disable') == 'true') {
return false;
}
jQuery.ajax({
type:'POST',
url:form.attr('action') + '&handlekey='+form.attr('id')+'&inajax=1',
data:form.serialize(),
dataType:'xml'
})
.success(function(s) {
popup.open(s.lastChild.firstChild.nodeValue);
})
.error(function() {
popup.open('{lang networkerror}', 'alert');
});
return false;
});
})();
</script>
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,359 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<span>{lang memcp_privacy}</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<!--{subtemplate home/spacecp_header}-->
<!--{hook/spacecp_privacy_top}-->
<style type="text/css">
.dhnavs_box{ width: 100%; height: .4rem; padding: .05rem 0; border-bottom: 1px solid #eee; background: #fff; overflow: hidden;}
#dhnavs_li{ width: 100%; height: .4rem; text-align: center; white-space: nowrap;}
#dhnavs_li li{ float: left; width: auto; text-align: center; overflow: hidden; position: relative;}
#dhnavs_li li a{ display: inline-block; font-size: .14rem; height: .24rem; line-height: .24rem; margin: .08rem .1rem; padding: 0 .06rem; color: #666; border-radius: .04rem; border: 1px solid #eee;}
#dhnavs_li li.mon a{ background-color: $_G['style']['zhuti']; color: #fff;}
.byg_privacy{ padding: .1rem; background: #fff;}
.byg_privacy .tbmu{ font-size: .14rem;}
.byg_privacy .tfm{ table-layout: fixed; width: 100%; margin: .1rem 0 0; border: 1px solid #eee; font-size: .15rem; background: #fff;}
.byg_privacy .tfm tr{ width: 100%; line-height: .2rem; border: 1px solid #eee;}
.byg_privacy .tfm th{ width: .9rem; padding: .1rem 0 .1rem .1rem; background: #fafafa; border: 1px solid #eee;}
.byg_privacy .tfm td{ padding: .05rem 0 .05rem .05rem;}
.byg_privacy .tfm td label{ display: block; margin: .05rem;}
.byg_privacy .tfm td input{ vertical-align: top; margin: .04rem; font-size: .14rem;}
.byg_privacy .tfm td select{ padding: .01rem 0 .02rem; font-size: .14rem; border: .01rem solid #ddd;}
.byg_privacy .tfm td p{ font-size: .125rem; line-height: .18rem; margin-top: .03rem; color: #888;}
.byg_privacy .tfm td a{ color: #06c;}
.byg_privacy .tfm button{ margin: .05rem; padding: .08rem 0; width: 96%;}
.byg_privacy .tfm .xg1{ font-size: .14rem; margin-bottom: .05rem;}
</style>
<div class="dhnavs_box">
<div id="dhnavs">
<div id="dhnavs_li">
<ul class="swiper-wrapper">
<li class="swiper-slide{if $opactives[base]} mon{/if}"><a href="home.php?mod=spacecp&ac=privacy&op=base">{lang personal_privacy_settings}</a></li>
<!--{if helper_access::check_module('feed')}-->
<li class="swiper-slide{if $opactives[feed]} mon{/if}"><a href="home.php?mod=spacecp&ac=privacy&op=feed">{lang personal_feed_settings}</a></li>
<li class="swiper-slide{if $opactives[filter]} mon{/if}"><a href="home.php?mod=spacecp&ac=privacy&op=filter">{lang feed_filter}</a></li>
<!--{/if}-->
<!--{if isset($_G['setting']['mobile']['forum'])}-->
<!--{if helper_access::check_module('friend') || helper_access::check_module('follow')}-->
<li class="swiper-slide{if $opactives[other]} mon{/if}"><a href="home.php?mod=spacecp&ac=privacy&op=other">{lang personal_other_settings}</a></li>
<!--{/if}-->
<!--{/if}-->
</ul>
</div>
</div>
</div>
<link rel="stylesheet" type="text/css" href="{$_G['style']['styleimgdir']}/swiper.min.css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<script>
if($("#dhnavs_li .mon").length>0){
var discuz_nav=$("#dhnavs_li .mon").offset().left+$("#dhnavs_li .mon").width()>=$(window).width()?$("#dhnavs_li .mon").index():0;
}else{
var discuz_nav=0;
}
new Swiper('#dhnavs_li',{freeMode:true,slidesPerView:'auto',initialSlide:discuz_nav,onTouchMove:function(swiper){Discuz_Touch_on=0},onTouchEnd:function(swiper){Discuz_Touch_on=1},});
</script>
<form method="post" autocomplete="off" action="home.php?mod=spacecp&ac=privacy&op=$operation" class="byg_privacy">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<!--{if $operation == 'base'}-->
<p class="tbmu">{lang you_control_see_content}</p>
<table cellspacing="0" cellpadding="0" class="tfm">
<!--{if helper_access::check_module('friend')}-->
<tr>
<th>{lang friend_list}</th>
<td>
<select name="privacy[view][friend]">
<option value="0"$sels[view][friend][0]>{lang open_privacy}</option>
<option value="1"$sels[view][friend][1]>{lang friend_privacy}</option>
<option value="2"$sels[view][friend][2]>{lang secrecy}</option>
<option value="3"$sels[view][friend][3]>{lang privacy_register}</option>
</select>
</td>
</tr>
<!--{/if}-->
<!--{if helper_access::check_module('wall')}-->
<tr>
<th>{lang message_board}</th>
<td>
<select name="privacy[view][wall]">
<option value="0"$sels[view][wall][0]>{lang open_privacy}</option>
<option value="1"$sels[view][wall][1]>{lang friend_privacy}</option>
<option value="2"$sels[view][wall][2]>{lang secrecy}</option>
<option value="3"$sels[view][wall][3]>{lang privacy_register}</option>
</select>
</td>
</tr>
<!--{/if}-->
<!--{if helper_access::check_module('feed')}-->
<tr>
<th>{lang personal_feed}</th>
<td>
<select name="privacy[view][home]">
<option value="0"$sels[view][home][0]>{lang open_privacy}</option>
<option value="1"$sels[view][home][1]>{lang friend_privacy}</option>
<option value="3"$sels[view][home][3]>{lang privacy_register}</option>
</select>
</td>
</tr>
<!--{/if}-->
<!--{if helper_access::check_module('doing')}-->
<tr>
<th>{lang doing}</th>
<td>
<select name="privacy[view][doing]">
<option value="0"$sels[view][doing][0]>{lang open_privacy}</option>
<option value="1"$sels[view][doing][1]>{lang friend_privacy}</option>
<option value="3"$sels[view][doing][3]>{lang privacy_register}</option>
</select>
<p class="d">{lang privacy_setting_message}<br />{lang site_might_your_log}</p>
</td>
</tr>
<!--{/if}-->
<!--{if helper_access::check_module('blog')}-->
<tr>
<th>{lang blog}</th>
<td>
<select name="privacy[view][blog]">
<option value="0"$sels[view][blog][0]>{lang open_privacy}</option>
<option value="1"$sels[view][blog][1]>{lang friend_privacy}</option>
<option value="3"$sels[view][blog][3]>{lang privacy_register}</option>
</select>
<p class="d">{lang privacy_setting_message}<br />{lang view_right_setting_effective}</p>
</td>
</tr>
<!--{/if}-->
<!--{if helper_access::check_module('album')}-->
<tr>
<th>{lang album}</th>
<td>
<select name="privacy[view][album]">
<option value="0"$sels[view][album][0]>{lang open_privacy}</option>
<option value="1"$sels[view][album][1]>{lang friend_privacy}</option>
<option value="3"$sels[view][album][3]>{lang privacy_register}</option>
</select>
<p class="d">{lang privacy_setting_message}<br />{lang view_right_setting_effective}</p>
</td>
</tr>
<!--{/if}-->
<!--{if helper_access::check_module('share')}-->
<tr>
<th>{lang share}</th>
<td>
<select name="privacy[view][share]">
<option value="0"$sels[view][share][0]>{lang open_privacy}</option>
<option value="1"$sels[view][share][1]>{lang friend_privacy}</option>
<option value="3"$sels[view][share][3]>{lang privacy_register}</option>
</select>
<p class="d">{lang privacy_setting_message}<br />{lang view_right_setting_effective}</p>
</td>
</tr>
<!--{/if}-->
<!--{hook/spacecp_privacy_base_extra}-->
<tr>
<td colspan="2"><button type="submit" name="privacysubmit" value="true" class="pn pnc" /><strong>{lang save}</strong></button></td>
</tr>
</table>
<!--{elseif $operation == 'feed'}-->
<p class="tbmu">{lang system_depend_action_message}</p>
<table cellspacing="0" cellpadding="0" id="feed" class="tfm">
<tr>
<th>&nbsp;</th>
<td class="pcl">
<label><input type="checkbox" class="pc" name="privacy[feed][doing]" value="1"$sels[feed][doing] />{lang doing}</label>
<label><input type="checkbox" class="pc" name="privacy[feed][blog]" value="1"$sels[feed][blog] />{lang write_blog}</label>
<label><input type="checkbox" class="pc" name="privacy[feed][upload]" value="1"$sels[feed][upload] />{lang upload_pic}</label>
<label><input type="checkbox" class="pc" name="privacy[feed][share]" value="1"$sels[feed][share] />{lang add_share}</label>
<label><input type="checkbox" class="pc" name="privacy[feed][friend]" value="1"$sels[feed][friend] />{lang friend_add}</label>
<label><input type="checkbox" class="pc" name="privacy[feed][comment]" value="1"$sels[feed][comment] />{lang publish_comment_reply}</label>
<label><input type="checkbox" class="pc" name="privacy[feed][show]" value="1"$sels[feed][show] />{lang bidding_rank}</label>
<label><input type="checkbox" class="pc" name="privacy[feed][credit]" value="1"$sels[feed][credit] />{lang credit_consumption}</label>
<label><input type="checkbox" class="pc" name="privacy[feed][invite]" value="1"$sels[feed][invite] />{lang invite_friend}</label>
<label><input type="checkbox" class="pc" name="privacy[feed][task]" value="1"$sels[feed][task] />{lang complete_task}</label>
<label><input type="checkbox" class="pc" name="privacy[feed][profile]" value="1"$sels[feed][profile] />{lang update_presonal_profile}</label>
<label><input type="checkbox" class="pc" name="privacy[feed][click]" value="1"$sels[feed][click] />{lang pic_blog_position}</label>
<label><input type="checkbox" class="pc" name="privacy[feed][newthread]" value="1"$sels[feed][newthread] />{lang forum_post}</label>
<label><input type="checkbox" class="pc" name="privacy[feed][newreply]" value="1"$sels[feed][newreply] />{lang forum_reply}</label>
</td>
</tr>
<!--{hook/spacecp_privacy_feed_extra}-->
<tr>
<td colspan="2"><button type="submit" name="privacysubmit" value="true" class="pn pnc" /><strong>{lang save}</strong></button></td>
</tr>
</table>
<!--{elseif $operation == 'other'}-->
<p class="tbmu">{lang you_control_other_operation}</p>
<table cellspacing="0" cellpadding="0" class="tfm">
<!--{if helper_access::check_module('friend')}-->
<tr>
<th>{lang add_friends}</th>
<td>
<select name="allowasfriend">
<option value="0"$arr['allowasfriend'][0]>{lang no}</option>
<option value="1"$arr['allowasfriend'][1]>{lang yes}</option>
</select>
</td>
</tr>
<!--{/if}-->
<!--{if helper_access::check_module('follow')}-->
<tr>
<th>{lang add_follow}</th>
<td>
<select name="allowasfollow">
<option value="0"$arr['allowasfollow'][0]>{lang no}</option>
<option value="1"$arr['allowasfollow'][1]>{lang yes}</option>
</select>
</td>
</tr>
<!--{/if}-->
<!--{hook/spacecp_privacy_other_extra}-->
<tr>
<td colspan="2"><button type="submit" name="privacy3submit" value="true" class="pn pnc" /><strong>{lang save}</strong></button></td>
</tr>
</table>
<!--{else}-->
{eval
$iconnames['wall'] = '{lang message}';
$iconnames['piccomment'] = '{lang pic_comment}';
$iconnames['blogcomment'] = '{lang blog_comment}';
$iconnames['sharecomment'] = '{lang share_comment}';
$iconnames['magic'] = '{lang magics_title}';
$iconnames['sharenotice'] = '{lang share_notification}';
$iconnames['clickblog'] = '{lang blog_position}';
$iconnames['clickpic'] = '{lang pic_position}';
$iconnames['credit'] = '{lang credits}';
$iconnames['doing'] = '{lang doing}';
$iconnames['pcomment'] = '{lang topic_comment}';
$iconnames['post'] = '{lang topic_reply}';
$iconnames['show'] = '{lang friend_top}';
$iconnames['task'] = '{lang task}';
$iconnames['goods'] = '{lang trade}';
$iconnames['group'] = $_G['setting']['navs'][3]['navname'];
$iconnames['thread'] = '{lang theme}';
$iconnames['system'] = '{lang system}';
$iconnames['friend'] = '{lang friends}';
$iconnames['debate'] = '{lang debate}';
$iconnames['album'] = '{lang album}';
$iconnames['blog'] = '{lang blog}';
$iconnames['poll'] = '{lang poll}';
$iconnames['activity'] = '{lang activity}';
$iconnames['reward'] = '{lang reward}';
$iconnames['share'] = '{lang share}';
$iconnames['profile'] = '{lang update_presonal_profile}';
$iconnames['pusearticle'] = '{lang article_push}';
}
<table cellspacing="0" cellpadding="0" class="tfm b_b" style="margin: 0;">
<caption>
<h2 class="">{lang filtering_rules_title_1}</h2>
<p class="xg1">{lang filtering_rules_message_1}</p>
</caption>
<tr>
<th>&nbsp;</th>
<td class="pcl">
<!--{loop $groups $key $value}-->
<label><input type="checkbox" class="pc" name="privacy[filter_gid][$key]" value="$key"{if isset($space['privacy']['filter_gid'][$key])} checked="checked"{/if} />$value</label>
<!--{/loop}-->
</td>
</tr>
<tr>
<td colspan="2">
<button type="submit" name="privacy2submit" value="true" class="pn pnc" /><strong>{lang save}</strong></button>
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" class="tfm b_b">
<caption>
<h2 class="">{lang filtering_rules_title_2}</h2>
<p class="xg1">{lang filtering_rules_message_2}</p>
</caption>
<!--{if $icons}-->
<tr>
<th>&nbsp;</th>
<td class="pcl">
<!--{loop $icons $key $icon}-->
<!--{eval $uid = $uids[$key];$icon_uid="$icon|$uid";}-->
<label>
<!--{if is_numeric($icon)}-->
<img src="{STATICURL}image/feed/{$icon}.gif" alt="" class="vm" />
<!--{/if}-->
<input type="checkbox" class="pc" name="privacy[filter_icon][$icon_uid]" value="1" checked="checked" />
<!--{if isset($iconnames[$icon])}-->$iconnames[$icon]<!--{else}-->$icon<!--{/if}--> (<!--{if $users[$uid]}--><a href="home.php?mod=space&uid=$uid" target="_blank">$users[$uid]</a><!--{else}-->{lang all_friends}<!--{/if}-->)
</label>
<!--{/loop}-->
</td>
</tr>
<tr>
<td colspan="2"><button type="submit" name="privacy2submit" value="true" class="pn pnc" /><strong>{lang save}</strong></button></td>
</tr>
<!--{else}-->
<tr>
<th>&nbsp;</th>
<td class="d">{lang no_shield_feed_cat}</td>
</tr>
<!--{/if}-->
</table>
<table cellspacing="0" cellpadding="0" class="tfm">
<caption>
<h2 class="">{lang filtering_rules_title_3}</h2>
<p class="xg1">{lang filtering_rules_message_3}</p>
</caption>
<!--{if $types}-->
<tr>
<th>&nbsp;</th>
<td>
<!--{loop $types $key $type}-->
<!--{eval $uid = $uids[$key];$type_uid="$type|$uid";}-->
<label>
<input type="checkbox" class="pc" name="privacy[filter_note][$type_uid]" value="1" checked="checked" />
<!--{if isset($iconnames[$type])}-->$iconnames[$type]<!--{else}-->$type<!--{/if}--> (<!--{if $users[$uid]}--><a href="home.php?mod=space&uid=$uid" target="_blank">$users[$uid]</a><!--{else}-->{lang all_friends}<!--{/if}-->)
</label>
<!--{/loop}-->
</td>
</tr>
<tr>
<td colspan="2"><button type="submit" name="privacy2submit" value="true" class="pn pnc" /><strong>{lang save}</strong></button></td>
</tr>
<!--{else}-->
<tr>
<th>&nbsp;</th>
<td class="d">{lang no_shield_feed_cat}</td>
</tr>
<!--{/if}-->
</table>
<!--{/if}-->
</form>
<!--{hook/spacecp_privacy_bottom}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,369 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<span><!--{if $operation == 'password'}-->密码安全<!--{else}-->修改资料<!--{/if}--></span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<!--{if $validate}-->
<!--{else}-->
<!--{if $operation == 'password'}-->
<!--{subtemplate home/spacecp_header}-->
<style type="text/css">
.new_password_p{ margin: .1rem; padding: .08rem; border: 1px dashed #eee; background: #ffe; border-radius: .02rem; font-size: .14rem;}
.new_password{ table-layout: fixed; width: 100%; margin: .1rem 0; border: 1px solid #eee; font-size: .15rem; background: #fff;}
.new_password tr{ width: 100%; line-height: .2rem; border: 1px solid #eee;}
.new_password th{ width: .9rem; padding: .1rem 0 .1rem .1rem; background: #fafafa; border: 1px solid #eee;}
.new_password td{ padding: .05rem 0 .05rem .05rem;}
.new_password td input, .new_password td textarea{ width: 2.48rem; padding: .04rem; line-height: .16rem; border: .01rem solid #ddd; font-size: .14rem;}
.new_password td select{ padding: .01rem 0 .02rem; font-size: .14rem; border: .01rem solid #ddd;}
.new_password td p{ font-size: .13rem; width: 2.58rem; line-height: .18rem; margin-top: .03rem; color: #888;}
.new_password td a{ color: #06c;}
.bg_xin .sec_code{ background: #fff;}
.bg_xin .sec_code .px{ padding: 4px; line-height: 20px;}
.new_password_sub{ display: block; margin: .1rem; width: 3.55rem; line-height: .36rem; font-size: .16rem;}
</style>
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/jq_register.js?{VERHASH}"></script>
<p class="new_password_p">
<!--{if !$_G['member']['freeze']}-->
<!--{if !$_G['setting']['connect']['allow'] || !$conisregister}-->{lang old_password_comment}<!--{elseif $wechatuser}-->{lang wechat_config_newpassword_comment}<!--{else}-->{lang connect_config_newpassword_comment}<!--{/if}-->
<!--{elseif $_G['member']['freeze'] == 1}-->
<strong class="xi1">{lang freeze_pw_tips}</strong>
<!--{elseif $_G['member']['freeze'] == 2}-->
<strong class="xi1">{lang freeze_email_tips}</strong>
<!--{elseif $_G['member']['freeze'] == -1}-->
<strong class="xi1">{lang freeze_admincp_tips}</strong>
<!--{/if}-->
</p>
<form action="home.php?mod=spacecp&ac=profile" method="post" autocomplete="off">
<input type="hidden" value="{FORMHASH}" name="formhash" />
<table summary="{lang memcp_profile}" cellspacing="0" cellpadding="0" class="new_password">
<!--{if !$_G['setting']['connect']['allow'] || !$conisregister}-->
<tr>
<th><span class="rq" title="{lang required}">*</span>{lang old_password}</th>
<td><input type="password" name="oldpassword" id="oldpassword" class="px" /></td>
</tr>
<!--{/if}-->
<tr>
<th>{lang new_password}</th>
<td>
<input type="password" name="newpassword" id="newpassword" class="px" />
<p class="d" id="chk_newpassword">{lang memcp_profile_passwd_comment}</p>
</td>
</tr>
<tr>
<th>{lang new_password_confirm}</th>
<td>
<input type="password" name="newpassword2" id="newpassword2"class="px" />
<p class="d" id="chk_newpassword2">{lang memcp_profile_passwd_comment}</p>
</td>
</tr>
<tr id="contact"{if $_GET[from] == 'contact'} style="background-color: {$_G['style']['specialbg']};"{/if}>
<th>{lang email}</th>
<td>
<input type="text" name="emailnew" id="emailnew" value="$space[email]" class="px" />
<p class="d">
<!--{if $_G['member']['freeze'] == 2}-->
{lang freeze_email_tips}
<!--{elseif empty($space['newemail'])}-->
{lang email_been_active}
<!--{else}-->
$acitvemessage
<!--{/if}-->
</p>
<!--{if $_G['setting']['regverify'] == 1 && (($_G['group']['grouptype'] == 'member' && in_array($_G['adminid'], array(0, -1))) || $_G['groupid'] == 8) || $_G['member']['freeze']}--><p class="d">{lang memcp_profile_email_comment}</p><!--{/if}-->
</td>
</tr>
<!--{if isset($_G['setting']['mobile']['forum'])}-->
<tr>
<th>{lang secmobile}</th>
<td>
<input type="text" name="secmobiccnew" id="secmobiccnew" value="$space[secmobicc]" class="px" style="width: 30px;" />
<input type="text" name="secmobilenew" id="secmobilenew" value="$space[secmobile]" class="px" style="width: 60%;" />
<p class="d">{lang memcp_profile_secmobile_comment}</p>
</td>
</tr>
<!--{if $_G['setting']['smsstatus']}-->
<tr>
<th>{lang secmobseccode}</th>
<td>
<input type="text" name="secmobseccodenew" id="secmobseccodenew" value="" class="px" />
<button type="button" name="secmobseccodesendnew" id="secmobseccodesendnew" value="true" class="pn pnc" onclick="memcp_sendsecmobseccode();" /><strong>{lang send}</strong></button>
<p class="d">{lang memcp_profile_secmobseccode_comment}</p>
</td>
</tr>
<script type="text/javascript">
function memcp_sendsecmobseccode() {
memcp_svctype = 1;
memcp_secmobicc = getID("secmobiccnew").value;
memcp_secmobile = getID("secmobilenew").value;
return sendsecmobseccode(memcp_svctype, memcp_secmobicc, memcp_secmobile);
}
</script>
<!--{/if}-->
<!--{/if}-->
<!--{if $_G['member']['freeze'] == 2 || $_G['member']['freeze'] == -1}-->
<tr>
<th>{lang freeze_reason}</th>
<td>
<textarea rows="3" name="freezereson" class="pt">$space[freezereson]</textarea>
<!--{if $_G['member']['freeze'] == 2}--><p class="d" id="chk_newpassword2">{lang freeze_reason_comment}</p><!--{/if}-->
<!--{if $_G['member']['freeze'] == -1}--><p class="d" id="chk_newpassword2">{lang freeze_reason_admincp_comment}</p><!--{/if}-->
</td>
</tr>
<!--{/if}-->
<!--{if ($_G['member']['freeze'] == 2 || $_G['member']['freeze'] == -1) && !empty($space[freezemodremark])}-->
<tr>
<th>{lang freeze_remark}</th>
<td>
<textarea rows="3" name="freezemodremark" class="pt" disabled="disabled">$space[freezemodremark]</textarea>
<p class="d" id="chk_newpassword2">{lang freeze_remark_comment}</p>
</td>
</tr>
<!--{/if}-->
<tr>
<th>{lang security_question}</th>
<td>
<select name="questionidnew" id="questionidnew">
<option value="" selected>{lang memcp_profile_security_keep}</option>
<option value="0">{lang security_question_0}</option>
<option value="1">{lang security_question_1}</option>
<option value="2">{lang security_question_2}</option>
<option value="3">{lang security_question_3}</option>
<option value="4">{lang security_question_4}</option>
<option value="5">{lang security_question_5}</option>
<option value="6">{lang security_question_6}</option>
<option value="7">{lang security_question_7}</option>
</select>
<p class="d">{lang memcp_profile_security_comment}</p>
</td>
</tr>
<tr>
<th>{lang security_answer}</th>
<td>
<input type="text" name="answernew" id="answernew" class="px" />
<p class="d">{lang memcp_profile_security_answer_comment}</p>
</td>
</tr>
</table>
<!--{if $secqaacheck || $seccodecheck}-->
<!--{subtemplate common/seccheck}-->
<!--{/if}-->
<button type="submit" name="pwdsubmit" value="true" class="new_password_sub" />{lang save}</button>
<input type="hidden" name="passwordsubmit" value="true" />
</form>
<script type="text/javascript">
var strongpw = new Array();
<!--{if $_G['setting']['strongpw']}-->
<!--{loop $_G['setting']['strongpw'] $key $val}-->
strongpw[$key] = $val;
<!--{/loop}-->
<!--{/if}-->
var pwlength = <!--{if $_G['setting']['pwlength']}-->$_G['setting']['pwlength']<!--{else}-->0<!--{/if}-->;
checkPwdComplexity(document.getElementById('newpassword'), document.getElementById('newpassword2'), true);
</script>
<!--{else}-->
<style>
#uhd{ position: relative; background: $_G['style']['zhuti']; width: 3.75rem; overflow: hidden;}
#uhd_bg{ position: relative; z-index: 1; width: 4.75rem; height: 1.55rem; overflow: hidden; margin-top: -.2rem; margin-left: -1rem;}
.home_forum_header_js{ background: #fff !important; opacity: 0.15 !important;}
.byg_vid_show{ margin: .1rem 0 -.1rem; padding: .1rem; background: #ffe; border-radius: .02rem; font-size: .12rem; color: #f26c4f; text-align: center;}
.byg_profilelist{ table-layout: fixed; width: 100%; margin: .1rem 0; border: 1px solid #eee; font-size: .14rem; background: #fff;}
.byg_profilelist tr{ width: 100%; line-height: .2rem; border: 1px solid #eee;}
.byg_profilelist th{ width: .9rem; padding: .1rem 0 .1rem .1rem; background: #fafafa; border: 1px solid #eee; }
.byg_profilelist td{ padding: .05rem 0 .05rem .05rem;}
.byg_profilelist_y{ width: .9rem;}
.byg_profilelist td > input, .byg_profilelist td textarea{ width: 1.6rem; padding: .04rem; line-height: .16rem; border: .01rem solid #ddd; font-size: .14rem;}
.byg_profilelist td select{ padding: .01rem 0 .02rem; font-size: .14rem; border: .01rem solid #ddd;}
.byg_profilelist #tr_birthcity, .byg_profilelist #tr_residecity{ display: none;}
.byg_profilelist td img{ max-width: 100% !important;}
.byg_profilelist td .mtn{ margin: 0 !important;}
.byg_profilelist td .xi2{ font-size: .12rem;}
#profilesubmitbtn{ display: block; margin: .1rem; width: 3.55rem; line-height: .36rem; font-size: .16rem;}
.tip dd a{ display: none;}
</style>
<div id="uhd">
<div id="uhd_bg"></div>
<div class="user_avatar">
<div class="avatar_m"><a href="home.php?mod=spacecp&ac=avatar"><img src="<!--{avatar($_G['uid'], 'big', true)}-->" alt="头像" /><span>修改头像</span></a></div>
<h2 class="name">{$_G[username]}</h2>
</div>
</div>
<!--{subtemplate home/spacecp_profile_nav}-->
<!--{hook/spacecp_profile_top}-->
<!--{if $vid}-->
<p class="byg_vid_show"><!--{if $showbtn}-->{lang spacecp_profile_message1}<!--{else}-->{lang spacecp_profile_message2}<!--{/if}--></p>
<!--{/if}-->
<iframe id="frame_profile" name="frame_profile" style="display: none"></iframe>
<form action="{if $operation != 'plugin'}home.php?mod=spacecp&ac=profile&op=$operation{else}home.php?mod=spacecp&ac=plugin&op=profile&id=$_GET[id]{/if}" method="post" enctype="multipart/form-data" autocomplete="off"{if $operation != 'plugin'} target="frame_profile"{/if}>
<input type="hidden" value="{FORMHASH}" name="formhash" />
<!--{if $_GET[vid]}-->
<input type="hidden" value="$_GET[vid]" name="vid" />
<!--{/if}-->
<table cellspacing="0" cellpadding="0" class="byg_profilelist" id="profilelist">
<tr>
<th>{lang username}</th>
<td>$_G[member][username]</td>
<td class="byg_profilelist_y">&nbsp;</td>
</tr>
<!--{loop $settings $key $value}-->
<!--{if $value[available]}-->
<tr id="tr_$key">
<th id="th_$key"><!--{if $value[required]}--><span class="rq" title="{lang required}">*</span><!--{/if}-->$value[title]</th>
<td id="td_$key">
$htmls[$key]
</td>
<td class="byg_profilelist_y">
<!--{if $vid}-->
<input type="hidden" name="privacy[$key]" value="3" />
<!--{else}-->
<select name="privacy[$key]">
<option value="0"{if $privacy[$key] == "0"} selected="selected"{/if}>{lang open_privacy}</option>
<option value="1"{if $privacy[$key] == "1"} selected="selected"{/if}>{lang friend_privacy}</option>
<option value="3"{if $privacy[$key] == "3"} selected="selected"{/if}>{lang secrecy}</option>
</select>
<!--{/if}-->
</td>
</tr>
<!--{/if}-->
<!--{/loop}-->
<!--{if $allowcstatus && in_array('customstatus', $allowitems)}-->
<tr>
<th id="th_customstatus">{lang permission_basic_status}</th>
<td id="td_customstatus">
<input type="text" value="$space[customstatus]" name="customstatus" id="customstatus" class="" />
<div class="" id="showerror_customstatus"></div>
</td>
<td>&nbsp;</td>
</tr>
<!--{/if}-->
<!--{if $_G['group']['maxsigsize'] && in_array('sightml', $allowitems)}-->
<tr>
<th id="th_sightml">{lang personal_signature}</th>
<td id="td_sightml">
<div class="">
<div class="">
<textarea rows="3" name="sightml" id="sightmlmessage" class="">$space[sightml]</textarea>
</div>
</div>
</td>
<td>&nbsp;</td>
</tr>
<!--{/if}-->
<!--{if in_array('timeoffset', $allowitems)}-->
<tr>
<th id="th_timeoffset">{lang time_zone}</th>
<td id="td_timeoffset">
<!--{eval $timeoffset = array({lang timezone});}-->
<select name="timeoffset">
<!--{loop $timeoffset $key $desc}-->
<option value="$key"{if $key==$space[timeoffset]} selected="selected"{/if}>$desc</option>
<!--{/loop}-->
</select>
<p class="xg1 xi2">{lang current_time} : <!--{date($_G['timestamp'])}--></p>
<p class="xg1 xi2">{lang time_zone_message}</p>
</td>
<td>&nbsp;</td>
</tr>
<!--{/if}-->
<!--{if $operation == 'contact'}-->
<tr>
<th id="th_sightml">Email</th>
<td id="td_sightml">$space[email]</td>
<td>&nbsp;</td>
</tr>
<!--{/if}-->
<!--{hook/spacecp_profile_extra}-->
</table>
<!--{if $showbtn}-->
<div>
<input type="hidden" name="profilesubmit" value="true" />
<button type="submit" name="profilesubmitbtn" id="profilesubmitbtn" value="true">{lang save}</button>
</div>
<!--{/if}-->
<!--{hook/spacecp_profile_bottom}-->
</form>
<link rel="stylesheet" type="text/css" href="{$_G['style']['styleimgdir']}/swiper.min.css">
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/swiper.jquery.min.js"></script>
<script type="text/javascript" src="{$_G['style']['styleimgdir']}/home_forum_header.js"></script>
<script type="text/javascript">
jQuery.firefly({
minPixel: 300,
maxPixel: 500,
total : 3,
on: '#uhd_bg',
namespace: 'home_forum_header_js'
});
if(jQuery(".portal_font_nav .on").length > 0) {
var font_nav_initial = jQuery(".portal_font_nav .on").offset().left + jQuery(".portal_font_nav .on").width() + 10 >= jQuery(window).width() ? jQuery(".portal_font_nav .on").index() : 0;
}else{
var font_nav_initial = 0;
}
var portal_font_nav = new Swiper('.portal_font_nav', {
initialSlide : font_nav_initial,
freeMode: true,
slidesPerView: 'auto',
});
function bygsjw_id(id) {
return !id ? null : document.getElementById(id);
}
function show_error(fieldid, extrainfo) {
var elem = bygsjw_id('th_'+fieldid);
if(elem) {
elem.className = "rq";
fieldname = elem.innerHTML;
extrainfo = (typeof extrainfo == "string") ? extrainfo : "";
bygsjw_id('showerror_'+fieldid).innerHTML = "{lang check_date_item} " + extrainfo;
bygsjw_id(fieldid).focus();
}
}
function show_success(message) {
message = message == '' ? '{lang update_date_success}' : message;
popup.open(message, 'confirm','home.php?mod=spacecp&ac=profile&op=$_GET[op]');
}
function clearErrorInfo() {
var spanObj = bygsjw_id('profilelist').getElementsByTagName("div");
for(var i in spanObj) {
if(typeof spanObj[i].id != "undefined" && spanObj[i].id.indexOf("_")) {
var ids = explode('_', spanObj[i].id);
if(ids[0] == "showerror") {
spanObj[i].innerHTML = '';
bygsjw_id('th_'+ids[1]).className = '';
}
}
}
}
</script>
<!--{/if}-->
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,20 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<div class="portal_font_nav">
<div class="swiper-wrapper">
<!--{if $operation != 'verify'}-->
<!--{loop $profilegroup $key $value}-->
<!--{if $value[available]}-->
<a href="home.php?mod=spacecp&ac=profile&op=$key" class="swiper-slide {if $opactives[$key]}on{/if}">$value[title]</a>
<!--{/if}-->
<!--{/loop}-->
<!--{/if}-->
<!--{if $op != 'verify' && !empty($_G['setting']['plugins']['spacecp_profile'])}-->
<!--{loop $_G['setting']['plugins']['spacecp_profile'] $id $module}-->
<!--{if in_array($module['adminid'], array(0, -1)) || ($module['adminid'] && $_G['adminid'] > 0 && $module['adminid'] >= $_G['adminid'])}-->
<a href="home.php?mod=spacecp&ac=plugin&op=profile&id=$id" class="swiper-slide {if $_GET[id] == $id}on{/if}">$module[name]</a>
<!--{/if}-->
<!--{/loop}-->
<!--{/if}-->
</div>
</div>

View File

@@ -0,0 +1,75 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<span>{lang memcp_promotion}</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<!--{subtemplate home/spacecp_header}-->
<!--{hook/spacecp_promotion_top}-->
<!--{if $_G['setting']['creditspolicy']['promotion_visit'] || $_G['setting']['creditspolicy']['promotion_register']}-->
<div id="append_parent"></div>
<style type="text/css">
.post_promotion_t{ margin: .1rem; padding: .08rem; border: 1px dashed #eee; background: #ffe; border-radius: .02rem; font-size: .14rem;}
.post_promotion_t .xi1{ color: red;}
.post_promotion_c{ padding: .15rem .1rem; background: #fff;}
.post_promotion_c .z{ font-size: .15rem; line-height: .28rem;}
.post_promotion_c .y{ width: 2.7rem;}
.post_promotion_c .px{ width: 2.58rem; padding: .04rem; line-height: .18rem; font-size: .15rem; border: 1px solid #eee;}
.post_promotion_c .pn{ isplay: block; width: 1rem; line-height: .28rem; margin-top: .1rem;}
</style>
<div class="post_promotion_t">
<!--{if $_G['setting']['creditspolicy']['promotion_visit']}--><p>
{lang post_promotion_url}
</p><!--{/if}-->
<!--{if $_G['setting']['creditspolicy']['promotion_register']}-->
<p>
<!--{if $_G['setting']['creditspolicy']['promotion_visit']}-->
{lang post_promotion_reg}
<!--{else}-->
{lang post_promotion}
<!--{/if}-->
</p>
<!--{/if}-->
</div>
<ul class="post_promotion_c">
<li class="cl">
<div class="z">{lang post_promotion_url1} :</div>
<div class="y">
<input type="text" class="px" onclick="this.select();setCopy('{$copystr}'+'\n'+this.value, '{lang promotion_url_copied}');" value="$_G[siteurl]?fromuid=$_G[uid]" />
<button type="submit" class="pn" onclick="setCopy('{$copystr}'+'\n'+'$_G[siteurl]?fromuid=$_G[uid]', '{lang promotion_url_copied}');">{lang copy}</button>
</div>
</li>
<li class="cl" style="margin-top: .2rem;">
<div class="z">{lang post_promotion_url2} :</div>
<div class="y">
<input type="text" class="px" onclick="this.select();setCopy('{$copystr}'+'\n'+this.value, '{lang promotion_url_copied}');" value="$_G[siteurl]?fromuser={echo rawurlencode($_G[username])}" size="50" />
<button type="submit" class="pn" onclick="setCopy('{$copystr}'+'\n'+'$_G[siteurl]?fromuser={echo rawurlencode($_G[username])}', '{lang promotion_url_copied}');">{lang copy}</button>
</div>
</li>
</ul>
<!--{/if}-->
<!--{hook/spacecp_promotion_bottom}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,469 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!--{if in_array($do, array('buy', 'exit'))}-->
<div class="x35_f_c">
<!--{hook/spacecp_usergroup_top}-->
<h3 class="flb">
<em id="return_$_GET[handlekey]"><!--{if $join}-->{lang memcp_usergroups_joinbuy}<!--{else}-->{lang memcp_usergroups_joinexit}<!--{/if}--></em>
<!--{if $_G[inajax]}--><span><a href="javascript:;" onclick="popup.close();return false;" class="flbc" title="{lang close}">{lang close}</a></span><!--{/if}-->
</h3>
<form id="buygroupform_{$groupid}" name="buygroupform_{$groupid}" method="post" autocomplete="off" action="home.php?mod=spacecp&ac=usergroup&do=$do&groupid=$groupid"{if !empty($_GET['inajax'])} onsubmit="ajaxpost('buygroupform_{$groupid}', 'return_$_GET['handlekey']', 'return_$_GET['handlekey']', 'onerror');return false;"{/if}>
<input type="hidden" name="referer" value="{echo dreferer()}" />
<input type="hidden" name="buysubmit" value="true" />
<input type="hidden" name="gid" value="$_GET[gid]" />
<!--{if $_G[inajax]}--><input type="hidden" name="handlekey" value="$_GET[handlekey]" /><!--{/if}-->
<input type="hidden" name="formhash" value="{FORMHASH}" />
<div class="c">
<table class="list" cellspacing="0" cellpadding="0">
<!--{if $join}-->
<!--{if $group['dailyprice']}-->
<tr>
<td>{lang memcp_usergroups_dailyprice}</td><td> $group[dailyprice] {$_G[setting][extcredits][$_G[setting][creditstrans]][unit]}{$_G[setting][extcredits][$_G[setting][creditstrans]][title]}</td>
</tr>
<tr>
<td>{lang memcp_usergroups_credit}</td><td>$usermaxdays {lang days}</td>
</tr>
<tr>
<td>{lang memcp_usergroups_span}</td><td><input type="text" size="2" name="days" value="$group[minspan]" class="px" onkeyup="change_credits_need(this.value)" /> {lang days}</td>
</tr>
<tr>
<td>{lang credits_need}{$_G[setting][extcredits][$_G[setting][creditstrans]][title]}</td>
<td>
<span id="credits_need"></span> {$_G[setting][extcredits][$_G[setting][creditstrans]][unit]}
<script language="javascript">
var dailyprice = $group[dailyprice];
function change_credits_need(daynum) {
if(!isNaN(parseInt(daynum))) {
document.getElementById('credits_need').innerHTML = parseInt(daynum) * dailyprice;
} else {
document.getElementById('credits_need').innerHTML = '0';
}
}
change_credits_need($group[minspan]);
</script>
</td>
</tr>
<tr>
<td colspan="2" class="x35_td2">{lang memcp_usergroups_explain}:
<!--{if $join}-->
{lang memcp_usergroups_join_comment}
<!--{else}-->
{lang memcp_usergroups_exit_comment}
<!--{/if}-->
</td>
</tr>
<!--{else}-->
<tr>
<td colspan="2" class="x35_td2">{lang memcp_usergroups_explain}: {lang memcp_usergroups_free_comment}</td>
</tr>
<!--{/if}-->
<!--{else}-->
<tr>
<td colspan="2" class="x35_td2">{lang memcp_usergroups_explain}:
<!--{if $group[type] != 'special' || $group[system]=='private'}-->
{lang memcp_usergroups_admin_exit_comment}
<!--{elseif $group['dailyprice']}-->
{lang memcp_usergroups_exit_comment}
<!--{else}-->
{lang memcp_usergroups_open_exit_comment}
<!--{/if}-->
</td>
</tr>
<!--{/if}-->
</table>
</div>
<p class="o x35_pns">
<button type="submit" name="editsubmit_btn" id="editsubmit_btn" value="true" class="pn pnc formdialog"><strong>{lang submit}</strong></button>
</p>
</form>
<!--{hook/spacecp_usergroup_bottom}-->
</div>
<!--{elseif $do == 'switch'}-->
<div class="x35_f_c">
<!--{hook/spacecp_usergroup_top}-->
<h3 class="flb">
<em id="return_$_GET[handlekey]">{lang memcp_usergroups_switch}</em>
<!--{if $_G[inajax]}--><span><a href="javascript:;" onclick="popup.close();return false;" class="flbc" title="{lang close}">{lang close}</a></span><!--{/if}-->
</h3>
<form id="switchgroupform_{$groupid}" name="switchgroupform_{$groupid}" method="post" autocomplete="off" action="home.php?mod=spacecp&ac=usergroup&do=switch&groupid=$groupid"{if !empty($_GET['inajax'])} onsubmit="ajaxpost('switchgroupform_{$groupid}', 'return_$_GET['handlekey']', 'return_$_GET['handlekey']', 'onerror');return false;"{/if}>
<input type="hidden" name="referer" value="{echo dreferer()}" />
<input type="hidden" name="groupsubmit" value="true" />
<input type="hidden" name="gid" value="$_GET[gid]" />
<!--{if $_G[inajax]}--><input type="hidden" name="handlekey" value="$_GET[handlekey]" /><!--{/if}-->
<input type="hidden" name="formhash" value="{FORMHASH}" />
<div class="c">
<table class="list" cellspacing="0" cellpadding="0">
<tr>
<td>{lang memcp_usergroups_main_old}</td><td>$_G[group][grouptitle]</td>
</tr>
<tr>
<td>{lang memcp_usergroups_main_new}</td><td>$group[grouptitle]</td>
</tr>
</table>
</div>
<p class="o x35_pns">
<button type="submit" name="editsubmit_btn" id="editsubmit_btn" value="true" class="pn pnc formdialog"><strong>{lang submit}</strong></button>
</p>
</form>
<!--{hook/spacecp_usergroup_bottom}-->
</div>
<!--{elseif $do == 'forum'}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<span>用户组</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<div class="bodybox p10 cl" style="padding-top: 0 !important;">
<!--{hook/spacecp_usergroup_top}-->
<!--{template home/spacecp_usergroup_header}-->
<table cellpadding="0" cellspacing="0" class="x35_tdat ftb mt10 mb10">
<tr class="alt">
<th class="xw1">{lang forum_name}</th>
<!--{loop $perms $perm}-->
<td class="xw1">$permlang['perms_'.$perm]</td>
<!--{/loop}-->
</tr>
<!--{eval $key = 1;}-->
<!--{loop $_G['cache']['forums'] $fid $forum}-->
<!--{if $forum['status']}-->
<tr {if $key++%2==0}class="alt"{/if}>
<th{if $forum['type'] == 'forum'} style="padding-left:15px"{elseif $forum['type'] == 'sub'} style="padding-left:25px"{else} style="font-weight:700;"{/if}><a href="forum.php?mod=forumdisplay&fid=$forum[fid]">$forum[name]</a></th>
<!--{loop $perms $perm}-->
<td>
<!--{if !empty($verifyperm[$fid][$perm])}-->
<!--{if $myverifyperm[$fid][$perm] || $forumperm[$fid][$perm]}-->
<i class="fico-valid fc-v" title="data_valid"></i>
<!--{else}-->
<i class="fico-invalid fc-i" title="data_invalid"></i>
<!--{/if}-->
&nbsp;$verifyperm[$fid][$perm]
<!--{else}-->
<!--{if $forumperm[$fid][$perm]}--><i class="fico-valid fc-v" title="data_valid"></i><!--{else}--><i class="fico-invalid fc-i" title="data_invalid"></i><!--{/if}-->
<!--{/if}-->
</td>
<!--{/loop}-->
</tr>
<!--{/if}-->
<!--{/loop}-->
</table>
<i class="fico-valid fc-v" title="data_valid"></i> {lang usergroup_right_message1}&nbsp;
<i class="fico-invalid fc-i" title="data_invalid"></i> {lang usergroup_right_message2}&nbsp;
<!--{if $_G['setting']['verify']['enabled']}-->
<!--{echo implode('', $verifyicon)}--> {lang usergroup_right_message3}
<!--{/if}-->
<!--{hook/spacecp_usergroup_bottom}-->
</div>
<!--{elseif $do == 'expiry' || $do == 'list'}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<span>用户组</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<div class="bodybox p10 cl" style="padding-top: 0 !important;">
<!--{hook/spacecp_usergroup_top}-->
<!--{template home/spacecp_usergroup_header}-->
<p class="x35_tbmu"><span class="y">
{lang youhave} <span class="xi1" style="color: #ff5656;"> $usermoney {$_G[setting][extcredits][$_G[setting][creditstrans]][unit]}{$_G[setting][extcredits][$_G[setting][creditstrans]][title]}</span></span>
{lang yourusergroup}: {$_G['cache']['usergroups'][$_G[groupid]]['grouptitle']}
</p>
<!--{if $do == 'expiry'}-->
<div class="notice">{lang usergroup_expired}</div>
<!--{/if}-->
<!--{if $expirylist}-->
<table cellspacing="0" cellpadding="0" class="mt10 x35_expirylist">
<tbody class="th">
<tr>
<th>{lang usergroup}</th>
<th>{lang memcp_usergroups_dailyprice}</th>
<th>{lang group_expiry_time}</th>
<th></th>
</tr>
</tbody>
<tbody>
<!--{loop $expirylist $groupid $group}-->
<tr class="">
<td><a href="home.php?mod=spacecp&ac=usergroup&gid=$groupid" class="xi2" target="">$group[grouptitle]</a></td>
<td>
<!--{if $_G['cache']['usergroups'][$groupid]['pubtype'] == 'buy' && $group[dailyprice]}-->
$group[dailyprice] {$_G[setting][extcredits][$_G[setting][creditstrans]][unit]}{$_G[setting][extcredits][$_G[setting][creditstrans]][title]}
<!--{elseif $_G['cache']['usergroups'][$groupid]['pubtype'] == 'free'}-->
{lang free}
<!--{/if}-->
</td>
<td>$group[time]</td>
<td>
<!--{if (is_array($extgroupids) && in_array($groupid, $extgroupids)) || $groupid == $_G['groupid']}-->
<!--{if $groupid != $_G['groupid']}-->
<!--{if !$group[noswitch]}-->
<a href="home.php?mod=spacecp&ac=usergroup&do=switch&groupid=$groupid&handlekey=switchgrouphk" class="xw1 xi2 dialog">{lang memcp_usergroups_set_main}</a>
<!--{/if}-->
<!--{if !$group['maingroup']}-->
<!--{if $_G['cache']['usergroups'][$groupid]['pubtype'] == 'buy'}-->
<a href="home.php?mod=spacecp&ac=usergroup&do=buy&groupid=$groupid&handlekey=buygrouphk" class="xw1 xi2 dialog">{lang renew}</a>
<!--{/if}-->
<a href="home.php?mod=spacecp&ac=usergroup&do=exit&groupid=$groupid&handlekey=exitgrouphk" class="xw1 xi2 dialog">{lang memcp_usergroups_exit}</a>
<!--{/if}-->
<!--{else}-->
<!--{if $_G['cache']['usergroups'][$groupid]['pubtype'] == 'buy'}-->
<a href="home.php?mod=spacecp&ac=usergroup&do=buy&groupid=$groupid&handlekey=buygrouphk" class="xw1 xi2 dialog">{lang renew}</a>
<!--{/if}-->
{lang main_usergroup}
<!--{/if}-->
<!--{elseif $_G['cache']['usergroups'][$groupid]['pubtype'] == 'free'}-->
<a href="home.php?mod=spacecp&ac=usergroup&do=buy&groupid=$groupid&handlekey=buygrouphk" class="xw1 xi2 dialog">{lang free_buy}</a>
<!--{elseif $_G['cache']['usergroups'][$groupid]['pubtype'] == 'buy'}-->
<a href="home.php?mod=spacecp&ac=usergroup&do=buy&groupid=$groupid&handlekey=buygrouphk" class="xw1 xi2 dialog">{lang memcp_usergroups_buy}</a>
<!--{/if}-->
</td>
</tr>
<!--{/loop}-->
</tbody>
</table>
<!--{else}-->
<p class="emp mt10">{lang memcp_usergroup_unallow}</p>
<!--{/if}-->
<!--{hook/spacecp_usergroup_bottom}-->
</div>
<!--{else}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
<em>&rsaquo;</em>
<span>用户组</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<div class="bodybox p10 cl" style="padding-top: 0 !important;{if $group} width: 130%;{/if}">
<!--{hook/spacecp_usergroup_top}-->
<!--{template home/spacecp_usergroup_header}-->
<!--{eval
$permtype = array(0 => '{lang permission_menu_normaloptions}', 1 => '{lang permission_modoptions_name}');
}-->
<div class="tdats{if $group} tdats_group{/if}">
<table cellpadding="0" cellspacing="0" class="tdat">
<tr><th class="c0">&nbsp;</th></tr>
<tr><th class="alt">&nbsp;</th></tr>
<tbody class="ca">
<tr><td>{lang user_level}</td></tr>
<!--{loop $bperms $key $perm}-->
<tr {if $key%2==0}class="alt"{/if}>
<td>$permlang['perms_'.$perm]</td>
</tr>
<!--{/loop}-->
</tbody>
<tr class="alt h">
<th>{lang permission_menu_post}</th>
</tr>
<tbody class="cb">
<!--{loop $pperms $key $perm}-->
<tr {if $key%2==0}class="alt"{/if}>
<td>$permlang['perms_'.$perm]</td>
</tr>
<!--{/loop}-->
</tbody>
<tr class="alt h">
<th>{lang about_space}</th>
</tr>
<tbody class="cc">
<!--{loop $sperms $key $perm}-->
<tr {if $key%2==0}class="alt"{/if}>
<td>$permlang['perms_'.$perm]</td>
</tr>
<!--{/loop}-->
</tbody>
<tr class="alt h">
<th>{lang permission_menu_attachment}</th>
</tr>
<tbody class="cd">
<!--{loop $aperms $key $perm}-->
<tr {if $key%2==0}class="alt"{/if}>
<td>$permlang['perms_'.$perm]</td>
</tr>
<!--{/loop}-->
</tbody>
</table>
<table cellpadding="0" cellspacing="0" class="tdat tfx{if !$group}f{/if}">
<tr>
<th class="c0"><h4>{lang my_main_usergroup} - $maingroup[grouptitle]</h4></th>
</tr>
<tr>
<th class="alt"><span class="notice">{lang credits}: $space[credits]</span></th>
</tr>
<!--{echo permtbody($maingroup)}-->
</table>
<!--{if $group}-->
<!--{if $switchtype == 'user'}--><!--{eval $cid = 1;$tlang = '{lang usergroup_group1}';}--><!--{/if}-->
<!--{if $switchtype == 'upgrade'}--><!--{eval $cid = 2;$tlang = '{lang usergroup_group2}';}--><!--{/if}-->
<!--{if $switchtype == 'admin'}--><!--{eval $cid = 3;$tlang = '{lang usergroup_group3}';}--><!--{/if}-->
<ul id="tba" class="tb c$cid">
<li id="c$cid">$tlang - $currentgrouptitle</li>
</ul>
<div class="tscr">
<table cellpadding="0" cellspacing="0" class="tdat">
<tr>
<th class="alt h">
<!--{if $group['grouptype'] == 'member'}-->
<!--{eval $v = $group['groupcreditshigher'] - $_G['member']['credits'];}-->
<!--{if $_G['group']['grouptype'] == 'member' && $v > 0}-->
<span class="notice">升级还需积分 $v</span>
<!--{else}-->
<span class="notice">{lang spacecp_usergroup_message2} $group[groupcreditshigher]</span>
<!--{/if}-->
<!--{/if}-->
<!--{if isset($groupterms['ext']) && is_array($groupterms['ext']) && array_key_exists($group['groupid'], $groupterms['ext'])}-->
<span class="">到期:<!--{date($groupterms['ext'][$group['groupid']])}--></span>
<!--{/if}-->
</th>
</tr>
<!--{echo permtbody($group)}-->
</table>
</div>
<!--{/if}-->
</div>
<i class="fico-valid fc-v" title="data_valid"></i> {lang usergroup_right_message1}&nbsp;
<i class="fico-invalid fc-i" title="data_invalid"></i> {lang usergroup_right_message2}
<div id="gmy_menu" class="p_pop" style="display:none">$usergroups[my]</div>
<div id="gupgrade_menu" class="p_pop" style="display:none">$usergroups[upgrade]</div>
<div id="guser_menu" class="p_pop" style="display:none">$usergroups[user]</div>
<div id="gadmin_menu" class="p_pop" style="display:none">$usergroups[admin]</div>
<!--{hook/spacecp_usergroup_bottom}-->
</div>
<!--{/if}-->
{eval
function permtbody($maingroup) {
global $_G, $bperms, $pperms, $sperms, $aperms;
}
<tr><td><!--{echo showstars($_G['cache']['usergroups'][$maingroup['groupid']]['stars']);}--></td></tr>
<tbody class="ca">
<!--{loop $bperms $key $groupbperm}-->
<tr {if $key%2==0}class="alt"{/if}>
<td>
<!--{if $groupbperm == 'creditshigher' || $groupbperm == 'readaccess' || $groupbperm == 'maxpmnum'}-->
$maingroup[$groupbperm]
<!--{elseif $groupbperm == 'allowsearch'}-->
<!--{if $maingroup['allowsearch'] == '0'}-->{lang permission_basic_disable_sarch}<!--{elseif $maingroup['allowsearch'] == '1'}-->{lang permission_basic_search_title}<!--{else}-->{lang permission_basic_search_content}<!--{/if}-->
<!--{else}-->
<!--{if $maingroup[$groupbperm] >= 1}--><i class="fico-valid fc-v" title="data_valid"></i><!--{else}--><i class="fico-invalid fc-i" title="data_invalid"></i><!--{/if}-->
<!--{/if}-->
</td>
</tr>
<!--{/loop}-->
</tbody>
<tr class="alt h">
<th>$maingroup[grouptitle]</th>
</tr>
<tbody class="cb">
<!--{loop $pperms $key $grouppperm}-->
<tr {if $key%2==0}class="alt"{/if}>
<td>
<!--{if in_array($grouppperm, array('maxsigsize', 'maxbiosize'))}-->
$maingroup[$grouppperm] {lang bytes}
<!--{elseif $grouppperm == 'allowrecommend'}-->
<!--{if $maingroup[allowrecommend] > 0}-->+$maingroup[allowrecommend]<!--{else}--><i class="fico-invalid fc-i" title="data_invalid"></i><!--{/if}-->
<!--{elseif in_array($grouppperm, array('allowat', 'allowcreatecollection'))}-->
<!--{echo intval($maingroup[$grouppperm])}-->
<!--{else}-->
<!--{if $maingroup[$grouppperm] == 1 || (in_array($grouppperm, array('raterange', 'allowcommentpost')) && !empty($maingroup[$grouppperm]))}--><i class="fico-valid fc-v" title="data_valid"></i><!--{else}--><i class="fico-invalid fc-i" title="data_invalid"></i><!--{/if}-->
<!--{/if}-->
</td>
</tr>
<!--{/loop}-->
</tbody>
<tr class="alt h">
<th>$maingroup[grouptitle]</th>
</tr>
<tbody class="cc">
<!--{loop $sperms $key $perm}-->
<tr {if $key%2==0}class="alt"{/if}>
<td>
<!--{if in_array($perm, array('maxspacesize', 'maximagesize'))}-->
<!--{if $maingroup[$perm]}-->$maingroup[$perm]<!--{else}-->{lang permission_attachment_nopermission}<!--{/if}-->
<!--{else}-->
<!--{if $maingroup[$perm] == 1}--><i class="fico-valid fc-v" title="data_valid"></i><!--{else}--><i class="fico-invalid fc-i" title="data_invalid"></i><!--{/if}-->
<!--{/if}-->
</td>
</tr>
<!--{/loop}-->
</tbody>
<tr class="alt h">
<th>$maingroup[grouptitle]</th>
</tr>
<tbody class="cd">
<!--{loop $aperms $key $groupaperm}-->
<tr {if $key%2==0}class="alt"{/if}>
<td>
<!--{if in_array($groupaperm, array('maxattachsize', 'maxsizeperday', 'maxattachnum'))}-->
<!--{if $maingroup[$groupaperm]}-->$maingroup[$groupaperm]<!--{else}-->{lang permission_attachment_nopermission}<!--{/if}-->
<!--{elseif $groupaperm == 'attachextensions'}-->
<!--{if $maingroup[allowpostattach] == 1}--><!--{if $maingroup[attachextensions]}--><p class="nwp" title="$maingroup[attachextensions]">$maingroup[attachextensions]</p><!--{else}-->{lang permission_attachment_nopermission}<!--{/if}--><!--{else}--><i class="fico-invalid fc-i" title="data_invalid"></i><!--{/if}-->
<!--{else}-->
<!--{if $maingroup[$groupaperm] == 1}--><i class="fico-valid fc-v" title="data_valid"></i><!--{else}--><i class="fico-invalid fc-i" title="data_invalid"></i><!--{/if}-->
<!--{/if}-->
</td>
</tr>
<!--{/loop}-->
</tbody>
<!--{eval}-->
<!--}-->
<!--{/eval}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,7 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<div class="dhnv flex-box cl" style="border-top: 0;">
<a href="home.php?mod=spacecp&ac=usergroup" class="flex{if $activeus[usergroup] or ''} mon{/if}">{lang my_usergroups}</a>
<a href="home.php?mod=spacecp&ac=usergroup&do=list" class="flex{if $activeus[list] or '' || $activeus[expiry] or ''} mon{/if}">{lang usergroups_joinbuy}</a>
<a href="home.php?mod=spacecp&ac=usergroup&do=forum" class="flex{if $activeus[forum] or ''} mon{/if}">{lang my}论坛{lang rights}</a>
</div>

View File

@@ -0,0 +1,47 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<span>{lang getpassword}</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<div class="byg_getpasswd">
<style>
.byg_getpasswd{ margin: .1rem; padding: .1rem; border-radius: .1rem;}
.byg_getpasswd .px, .byg_getpasswd_p1{ display: block; width: 3.15rem; line-height: .25rem; margin-bottom: .1rem; padding: .1rem; border: 0; font-size: .16rem; background: #fff;}
.byg_getpasswd_p1 em{ color: #999;}
.byg_getpasswd_p2{ margin: .1rem; font-size: .14rem; color: #888;}
.byg_getpasswd button{ width: 100%; height: .45rem; line-height: .45rem; font-size: .18rem; font-weight: 400;}
</style>
<form method="post" autocomplete="off" action="member.php?mod=getpasswd&uid=$uid&id=$hashid&sign=$_GET[sign]">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<div class="c cl">
<p class="byg_getpasswd_p1"><em>{lang username} : </em>$member[username]</p>
<p class="byg_getpasswd_p2">
<i class="d" id="chk_newpasswd1">{lang register_password_tips}<!--{if $_G['setting']['pwlength']}-->, {lang register_password_length_tips1} $_G['setting']['pwlength'] {lang register_password_length_tips2}<!--{/if}--></i>
</p>
<input type="password" id="newpasswd1" name="newpasswd1" class="px" placeholder="{lang new_password}"/>
<input type="password" id="newpasswd2" name="newpasswd2" class="px" placeholder="{lang new_password_confirm}"/>
</div>
<button class="pn pnc" type="submit" name="getpwsubmit" value="true"><span>{lang submit}</span></button>
</form>
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,134 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!--{if !$_GET['infloat']}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<span>登录</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<!--{/if}-->
<!--{hook/logging_top_mobile}-->
<!--{eval $loginhash = 'L'.random(4);}-->
<!-- userinfo start -->
<div class="loginbox <!--{if $_GET[infloat]}-->login_pop<!--{/if}-->">
<!--{if $_GET[infloat]}-->
<h2 class="log_tit"><a href="javascript:;" onclick="popup.close();"><span class="icon_close y">&nbsp;</span></a>{lang login}</h2>
<!--{/if}-->
<form id="loginform" method="post" action="member.php?mod=logging&action=login&loginsubmit=yes&loginhash=$loginhash&mobile=2" onsubmit="{if $_G['setting']['pwdsafety']}pwmd5('password3_$loginhash');{/if}" >
<input type="hidden" name="formhash" id="formhash" value='{FORMHASH}' />
<input type="hidden" name="referer" id="referer" value="<!--{if dreferer()}-->{echo dreferer()}<!--{else}-->forum.php?mobile=2<!--{/if}-->" />
<input type="hidden" name="fastloginfield" value="username">
<input type="hidden" name="cookietime" value="2592000">
<!--{if $auth}-->
<input type="hidden" name="auth" value="$auth" />
<!--{/if}-->
<div class="login_from">
<ul>
<li><input type="text" value="" tabindex="1" class="px p_fre" size="30" autocomplete="off" value="" name="username" placeholder="{lang inputyourname}" fwin="login"></li>
<li><input type="password" tabindex="2" class="px p_fre" size="30" value="" name="password" placeholder="密码区分大小写" fwin="login"></li>
<li class="questionli">
<div class="login_select">
<span class="login-btn-inner">
<span class="login-btn-text">
<span class="span_question">{lang security_question}</span>
</span>
<span class="icon-arrow">&nbsp;</span>
</span>
<select id="questionid_{$loginhash}" name="questionid" class="sel_list">
<option value="0" selected="selected">{lang security_question}</option>
<option value="1">{lang security_question_1}</option>
<option value="2">{lang security_question_2}</option>
<option value="3">{lang security_question_3}</option>
<option value="4">{lang security_question_4}</option>
<option value="5">{lang security_question_5}</option>
<option value="6">{lang security_question_6}</option>
<option value="7">{lang security_question_7}</option>
</select>
</div>
</li>
<li class="bl_none answerli" style="display:none;"><input type="text" name="answer" id="answer_{$loginhash}" class="px p_fre" size="30" placeholder="{lang security_a}"></li>
</ul>
<!--{if $seccodecheck}-->
<!--{subtemplate common/seccheck}-->
<!--{/if}-->
</div>
<div class="byg_reg_getpassword cl">
<!--{if $_G['setting']['regstatus']}-->
<a href="member.php?mod={$_G[setting][regname]}" class="z">{lang noregister}</a>
<!--{else}-->
<a href="javascript:;" class="z" style="color: #bbb;">手机版注册未开启</a>
<!--{/if}-->
<a href="javascript:;" class="y byg_getpassword_a">{lang getpassword}</a>
</div>
<div class="btn_login"><button tabindex="3" value="true" name="submit" type="submit" class="formdialog pn pnc"><span>{lang login}</span></button></div>
</form>
<!--{if $_G['setting']['connect']['allow'] && !$_G['setting']['bbclosed']}-->
<div class="btn_qqlogin"><a href="$_G[connect][login_url]&statfrom=login_simple">{lang qqconnect:connect_mobile_login}</a></div>
<!--{/if}-->
<div class="byg_getpassword_pop">
<div style="padding: .1rem 0; font-size: .18rem; text-align: center; background: $_G['style']['zhuti']; color: #fff; border-radius: .1rem .1rem 0 0;">{lang getpassword}</div>
<form method="post" autocomplete="off" id="lostpwform_$loginhash" action="member.php?mod=lostpasswd&lostpwsubmit=yes&infloat=yes">
<div class="byg_getpassword_c cl">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="handlekey" value="lostpwform" />
<div>
<span class="rq">*</span><input type="text" name="email" id="lostpw_email" value="" placeholder="{lang email}" class="px" />
</div>
<div>
<span style="color: transparent;">*</span><input type="text" name="username" id="lostpw_username" value="" placeholder="{lang username}" class="px" />
</div>
<button type="submit" name="lostpwsubmit" value="true" class="pn pnc"><span>{lang submit}</span></button>
</div>
</form>
</div>
<div class="byg_getpassword_cover"></div>
<script type="text/javascript">
jQuery(".byg_getpassword_a,.byg_getpassword_cover").click(function(){jQuery(".byg_getpassword_pop,.byg_getpassword_cover").slideToggle(0);});
</script>
<!--{hook/logging_bottom_mobile}-->
</div>
<!-- userinfo end -->
<!--{if $_G['setting']['pwdsafety']}-->
<script type="text/javascript" src="{$_G['setting']['jspath']}md5.js?{VERHASH}" reload="1"></script>
<!--{/if}-->
<!--{eval updatesession();}-->
<script type="text/javascript">
(function() {
jQuery(document).on('change', '.sel_list', function() {
var obj = jQuery(this);
jQuery('.span_question').text(obj.find('option:selected').text());
if(obj.val() == 0) {
jQuery('.answerli').css('display', 'none');
jQuery('.questionli').addClass('bl_none');
} else {
jQuery('.answerli').css('display', 'block');
jQuery('.questionli').removeClass('bl_none');
}
});
})();
</script>
<!--{template common/footer}-->

View File

@@ -0,0 +1,108 @@
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
<!--{template common/header}-->
<!-- header start -->
<header class="header_xin">
<div class="hdc_xin cl" id="byg_header">
<div class="header_z cl">
<a href="javascript:;" class="shouye">
<img src="<!--{avatar($_G['uid'], 'middle', true)}-->" alt="头像"/>
<!--{if $_G[member][newpm] || $post_notice_new}-->
<img src="{$_G['style']['styleimgdir']}/new_pm.png" alt="提醒" class="new_pm"/>
<!--{/if}-->
</a>
<em>&rsaquo;</em>
<span>注册</span>
</div>
<a href="javascript:history.back();" title="返回上一页" class="header_y">
<img src="{$_G['style']['styleimgdir']}/houtui.png" alt="返回"/></a>
</div>
</header>
<!--{hook/global_header_mobile}-->
<!-- header end -->
<!--{hook/register_top_mobile}-->
<!-- registerbox start -->
<div class="loginbox registerbox">
<form method="post" autocomplete="off" name="register" id="registerform" action="member.php?mod={$_G[setting][regname]}&mobile=2">
<input type="hidden" name="regsubmit" value="yes" />
<input type="hidden" name="formhash" value="{FORMHASH}" />
<!--{eval $dreferer = str_replace('&amp;', '&', dreferer());}-->
<input type="hidden" name="referer" value="$dreferer" />
<input type="hidden" name="activationauth" value="{if $_GET[action] == 'activation'}$activationauth{/if}" />
<!--{if $_G['setting']['sendregisterurl']}-->
<input type="hidden" name="hash" value="$_GET[hash]" />
<!--{/if}-->
<div class="login_from">
<ul>
<!--{if $sendurl}-->
<li class="bl_none"><input type="email" tabindex="1" class="px p_fre" size="30" autocomplete="off" value="" name="{$_G['setting']['reginput']['email']}" placeholder="{lang registeremail}" fwin="login"></li>
<!--{else}-->
<!--{if empty($invite) && $_G['setting']['regstatus'] == 2 && !$invitestatus}-->
<li><input type="text" tabindex="1" class="px p_fre" size="30" autocomplete="off" value="" name="invitecode" placeholder="{lang invite_code}" fwin="login">
<!--{if isset($_G['setting']['mobile']['forum'])}-->
<!--{if $this->setting['inviteconfig']['buyinvitecode'] && $this->setting['inviteconfig']['invitecodeprice'] && payment::enable()}-->
<a href="misc.php?mod=buyinvitecode" style="display: block; height: .25rem; line-height: .3rem; padding-left: .1rem; font-size: .14rem; color: #06c; background: #f1f1f1;">{lang register_buyinvitecode}</a>
<!--{/if}-->
<!--{/if}-->
</li>
<!--{/if}-->
<li><input type="text" tabindex="2" class="px p_fre" size="30" autocomplete="off" value="" name="{$_G['setting']['reginput']['username']}" placeholder="{lang registerinputtip}" fwin="login"></li>
<li><input type="password" tabindex="3" class="px p_fre" size="30" value="" name="{$_G['setting']['reginput']['password']}" placeholder="{lang login_password}" fwin="login"></li>
<li><input type="password" tabindex="4" class="px p_fre" size="30" value="" name="{$_G['setting']['reginput']['password2']}" placeholder="{lang registerpassword2}" fwin="login"></li>
<li><input type="email" tabindex="5" class="px p_fre" size="30" autocomplete="off" value="$hash[0]" name="{$_G['setting']['reginput']['email']}" placeholder="{lang registeremail}" fwin="login"></li>
<!--{if $_G['setting']['regverify'] == 2}-->
<li><input type="text" tabindex="6" class="px p_fre" size="30" autocomplete="off" value="" name="regmessage" placeholder="{lang register_message}" fwin="login"></li>
<!--{/if}-->
<!--{if empty($invite) && $_G['setting']['regstatus'] == 3}-->
<li><input type="text" tabindex="7" class="px p_fre" size="30" autocomplete="off" value="" name="invitecode" placeholder="{lang invite_code}" fwin="login"></li>
<!--{/if}-->
<!--{loop $_G['cache']['fields_register'] $field}-->
<!--{if $htmls[$field['fieldid']]}-->
<li style="padding: .1rem; line-height: .25rem; color: #999;"><span>{$field[title]}&nbsp;</span>{$htmls[$field['fieldid']]}</li>
<!--{/if}-->
<!--{/loop}-->
<!--{/if}-->
<!--{hook/register_input_mobile}-->
</ul>
<!--{if $secqaacheck || $seccodecheck}-->
<!--{subtemplate common/seccheck}-->
<!--{/if}-->
<!--{if $bbrules}-->
<label for="agreebbrule"><li class="mli" style="padding:0 0.1rem;font-size:.15rem;"><input type="checkbox" class="pc" name="agreebbrule" value="{$bbrulehash}" id="agreebbrule" checked="checked" />{lang agree}&nbsp;<a href="javascript:;" onclick="showBBRule()" style="color:#06c;">{lang rulemessage}</a></li></label>
<div id="layer_bbruletxt" popup="true" class="tip login_pop" style="display:none;">
<div style="max-height:2rem;display:block;overflow-y:scroll;">
<div class="log_tit"><!--{echo addslashes($this->setting['bbname']);}--> {lang rulemessage}</div>
<div>{$bbrulestxt}</div>
</div>
</div>
<!--{/if}-->
</div>
<div class="btn_register"><button tabindex="7" value="true" name="regsubmit" type="submit" class="formdialog pn pnc"><span>{lang quickregister}</span></button></div>
</form>
<p class="reg_link"><a href="member.php?mod=logging&action=login">已有账号,现在登录?</a></p>
</div>
<!-- registerbox end -->
<!--{hook/register_bottom_mobile}-->
<script type="text/javascript">
<!--{if $sendurl}-->
function succeedhandle_registerform(url, message, extra) {
popup.open(message, 'confirm', url)
}
<!--{/if}-->
<!--{if $bbrules && $bbrulesforce}-->
jQuery(function() {
showBBRule();
});
<!--{/if}-->
<!--{if $this->showregisterform}-->
function showBBRule() {
var bbruletxt = document.getElementById("layer_bbruletxt").innerHTML;
popup.open(bbruletxt, 'alert');
}
<!--{/if}-->
</script>
<!--{eval updatesession();}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,29 @@
<?php
/**
* This is NOT a freeware, use is subject to license terms
* Ӧ<><D3A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><>Լ_ͨ<5F><CDA8>_<EFBFBD>ֻ<EFBFBD>ͬ<EFBFBD><CDAC> <20>ֻ<EFBFBD><D6BB><EFBFBD>UTF8
* <20><><EFBFBD>ص<EFBFBD>ַ: https://addon.dismall.com/templates/bygsjw_sj.html
* Ӧ<>ÿ<EFBFBD><C3BF><EFBFBD><EFBFBD><EFBFBD>: <20><>Լ<EFBFBD><D4BC><EFBFBD><EFBFBD>
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>QQ: 1219927497
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: 202505310150
* <20><>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD>: www.shitangsweet.com
* <20><>Ȩ<EFBFBD><C8A8>: 2025053101j8SoNw1Hr9
* δ<><CEB4>Ӧ<EFBFBD>ó<EFBFBD><C3B3>򿪷<EFBFBD><F2BFAAB7><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD>ߵ<EFBFBD><DFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɣ<EFBFBD><C9A3><EFBFBD><EFBFBD>ý<EFBFBD><C3BD>з<EFBFBD><D0B7>򹤳̡<F2B9A4B3><CCA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E0A1A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ը<EFBFBD><D4B8>ơ<EFBFBD><C6A1>޸ġ<DEB8><C4A1><EFBFBD><EFBFBD>ӡ<EFBFBD>ת<EFBFBD>ء<EFBFBD><D8A1><EFBFBD><EFBFBD><EFBFBD><E0A1A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6A1A2>չ<EFBFBD><D5B9>֮<EFBFBD>йص<D0B9><D8B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7>
*/
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
$bid = intval($_GET['bid']);
if($bid){
include_once libfile('function/block');
block_get_batch($bid);
block_updatecache($bid);
}
?>

View File

@@ -0,0 +1,31 @@
<?php
/**
* This is NOT a freeware, use is subject to license terms
* 应用名称: 简约_通用_手机同步 手机版UTF8
* 下载地址: https://addon.dismall.com/templates/bygsjw_sj.html
* 应用开发者: 简约设计
* 开发者QQ: 1219927497
* 更新日期: 202505310150
* 授权域名: www.shitangsweet.com
* 授权码: 2025053101j8SoNw1Hr9
* 未经应用程序开发者/所有者的书面许可,不得进行反向工程、反向汇编、反向编译等,不得擅自复制、修改、链接、转载、汇编、发表、出版、发展与之有关的衍生产品、作品等
*/
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
//更新url
$havedomain = implode('', $_G['setting']['domain']['app']);
if($_G['setting']['rewritestatus'] || !empty($havedomain)) {
$content = ob_get_contents();
$content = str_replace('&mobile=2', '', $content);
$content = output_replace($content);
ob_end_clean();
$_G['gzipcompress'] ? ob_start('ob_gzhandler') : ob_start();
echo $content;
}
?>

View File

@@ -0,0 +1,26 @@
<?php
/**
* This is NOT a freeware, use is subject to license terms
* 应用名称: 简约_通用_手机同步 手机版UTF8
* 下载地址: https://addon.dismall.com/templates/bygsjw_sj.html
* 应用开发者: 简约设计
* 开发者QQ: 1219927497
* 更新日期: 202505310150
* 授权域名: www.shitangsweet.com
* 授权码: 2025053101j8SoNw1Hr9
* 未经应用程序开发者/所有者的书面许可,不得进行反向工程、反向汇编、反向编译等,不得擅自复制、修改、链接、转载、汇编、发表、出版、发展与之有关的衍生产品、作品等
*/
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
$bygsjw_logo = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版LOGO','param');
$forum_gg1 = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版论坛首页广告','summary');
$forum_gg2 = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版论坛首页广告2','summary');
$forum_gg3 = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版论坛首页广告3','summary');
?>

View File

@@ -0,0 +1,31 @@
<?php
/**
* This is NOT a freeware, use is subject to license terms
* 应用名称: 简约_通用_手机同步 手机版UTF8
* 下载地址: https://addon.dismall.com/templates/bygsjw_sj.html
* 应用开发者: 简约设计
* 开发者QQ: 1219927497
* 更新日期: 202505310150
* 授权域名: www.shitangsweet.com
* 授权码: 2025053101j8SoNw1Hr9
* 未经应用程序开发者/所有者的书面许可,不得进行反向工程、反向汇编、反向编译等,不得擅自复制、修改、链接、转载、汇编、发表、出版、发展与之有关的衍生产品、作品等
*/
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
$forum_list_gg = byg_block_fetch_value($bygsjw_blocks,'简约通用手机版论坛列表页广告','summary');
if($_G['style']['gonggao'] == 'on') {
$forum_an = DB::fetch_all("SELECT * FROM ".DB::table('forum_announcement')." WHERE type = '0' OR type = '1' ORDER BY displayorder ASC LIMIT 1");
foreach ($forum_an as $k => $v) {
if ($v['endtime'] < time()) {
unset($forum_an[$k]);
}
}
}
?>

View File

@@ -0,0 +1,46 @@
<?php
/**
* This is NOT a freeware, use is subject to license terms
* 应用名称: 简约_通用_手机同步 手机版UTF8
* 下载地址: https://addon.dismall.com/templates/bygsjw_sj.html
* 应用开发者: 简约设计
* 开发者QQ: 1219927497
* 更新日期: 202505310150
* 授权域名: www.shitangsweet.com
* 授权码: 2025053101j8SoNw1Hr9
* 未经应用程序开发者/所有者的书面许可,不得进行反向工程、反向汇编、反向编译等,不得擅自复制、修改、链接、转载、汇编、发表、出版、发展与之有关的衍生产品、作品等
*/
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
//废弃
//统计主题图片
function byg_threadlist_img_num($tid, $uid, $biaoid) {
$img_number = DB::result(DB::query("SELECT count(*) FROM ".DB::table('forum_attachment_'.$biaoid.'')." WHERE tid = '$tid' AND uid = '$uid' AND isimage = '1'"));
return $img_number;
}
//获取主题图片
function byg_threadlist_img($tid, $uid, $num, $biaoid) {
$list_img = DB::fetch_all("SELECT * FROM ".DB::table('forum_attachment_'.$biaoid.'')." WHERE tid = '$tid' AND uid = '$uid' AND isimage = '1' ORDER BY dateline ASC LIMIT $num");
return $list_img;
}
//主题是否精华
function byg_thread_digest($tid) {
$thread_digest = DB::result(DB::query("SELECT digest FROM ".DB::table('forum_thread')." WHERE tid = '$tid'"));
return $thread_digest;
}
//获取楼主ID
function byg_thread_authorid($tid) {
$thread_authorid = DB::result(DB::query("SELECT authorid FROM ".DB::table('forum_thread')." WHERE tid = '$tid'"));
return $thread_authorid;
}
?>

Some files were not shown because too many files have changed in this diff Show More