124 lines
5.5 KiB
PHP
124 lines
5.5 KiB
PHP
<?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>›</em>
|
|
<a href="home.php?mod=space&uid=$_G[uid]&do=profile&mycenter=1" title="个人中心">个人中心</a>
|
|
<em>›</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}-->
|