<?php include template("header");?> <div class="layout"> <div class="team_main" style="overflow:hidden"> <div class="box-content"> <div class="dashboard" id="dashboard"><ul><?php echo current_account('/credit/score.php'); ?></ul> </div> <div class="left"> <div class="head-mymlt"> <h2></h2> <ul><?php echo current_credit_index('records'); ?></ul> </div> <div class="credit-title size14-black">当前的账户积分是:<strong class="size24-red"><?php echo moneyit($login_user['score']); ?></strong>分</div> <div class="sect" style="border: 1px solid #E5E5E5;"> <table id="order-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table"> <tr><th width="150" height="36" align="left" bgcolor="#F8F7F7" class="b-bottom"><div class="left-10px">兑换时间</div></th><th width="398" align="center" bgcolor="#F8F7F7" class="b-bottom">详情</th><th width="150" align="center" bgcolor="#F8F7F7" class="b-bottom">状态</th></tr> <?php if(is_array($credits)){foreach($credits AS $index=>$one) { ?> <tr <?php echo $index%2?'':'class="alt"'; ?>><td height="32" style="text-align:left;" class="b-bottom"><div class="left-10px"><?php echo date('Y-m-d H:i', $one['create_time']); ?></div></td><td align="left" class="b-bottom"><?php echo ZCredit::Explain($one); ?></td><td align="center" class="b-bottom"><?php if(($one['state']=='unpay')){?>未发货<?php } else { ?>已发货<?php }?></td></tr> <?php }}?> <tr><td colspan="4"><div class="fanye"><?php echo $pagestring; ?></div></td></tr> </table> </div> </div> <div class="right"> <?php include template("block_side_score");?> </div> </div> </div> </div>
<div class="layout"> <div class="team_main" style="overflow:hidden"> <div class="box-content"> <div class="dashboard" id="dashboard"><ul><?php echo current_account('/credit/score.php'); ?></ul> </div> <div class="left"> <div class="head-mymlt"> <h2></h2> <ul><?php echo current_credit_index('score'); ?></ul> </div> <div class="credit-title size14-black">当前的账户U币是:<strong class="size24-red"><?php echo moneyit($login_user['score']); ?></strong>个</div> <div class="sect" style="border: 1px solid #E5E5E5;"> <table id="order-list" cellspacing="1" cellpadding="0" border="0" class="coupons-table"> <tr><th width="150" height="36" align="left" bgcolor="#F8F7F7" class="b-bottom"><div class="left-10px">时间</div></th><th width="378" align="center" bgcolor="#F8F7F7" class="b-bottom">详情</th><th width="80" align="center" bgcolor="#F8F7F7" class="b-bottom">收支</th> <th width="90" align="center" bgcolor="#F8F7F7" class="b-bottom">U币</th></tr> <?php if(is_array($credits)){foreach($credits AS $index=>$one) { ?> <tr <?php echo $index%2?'':'class="alt"'; ?>><td height="32" align="left" class="b-bottom" ><div class="left-10px"><?php echo date('Y-m-d H:i', $one['create_time']); ?></div></td><td class="b-bottom" ><?php echo ZCredit::Explain($one); ?></td> <td align="center" class="<?php echo $one['direction']; ?> b-bottom" ><?php echo $one['score']>0?'增加':'减少'; ?></td><td align="center" class="b-bottom" ><?php echo moneyit($one['score']); ?></td></tr>