示例#1
0
<?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>


		
  
示例#2
0
          <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>

						<?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>
        ?>
<br/><?php 
        if ($users[$one['user_id']]['city_id']) {
            echo $allcities[$users[$one['user_id']]['city_id']]['name'];
        } else {
            ?>
其他<?php 
        }
        ?>
</td>
						<td><span class="currency"></span><?php 
        echo moneyit($one['score']);
        ?>
</td>
						<td><?php 
        echo ZCredit::Explain($one);
        ?>
</td>
						<td>操作</td>
					</tr>
					<?php 
    }
}
?>
					<tr><td colspan="8"><?php 
echo $pagestring;
?>
</tr>
                    </table>
				</div>
            </div>
示例#4
0
                    <h2>兑换记录</h2>
                    <ul class="filter">
						<li><a href="/manage/credit/ajax.php?action=edit" class="ajaxlink">新建兑换商品</a></li>
						<li class="current"><a href="/manage/credit/records.php">兑换记录</a></li>
					</ul>
				</div>
                <div class="sect">
					<table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table">
					<tr><th width="50">ID</th><th width="200">Email/用户名</th><th width="100" nowrap>收货人</th><th width="40">电话</th><th width="400">详情</th><th width="200">操作</th></tr>
					<?php if(is_array($credits)){foreach($credits AS $index=>$one) { ?>
					<tr <?php echo $index%2?'':'class="alt"'; ?> id="team-list-id-<?php echo $one['id']; ?>">
						<td><?php echo $one['id']; ?></td>
						<td><?php echo $users[$one['user_id']]['email']; ?><br/><?php echo $users[$one['user_id']]['username']; ?><?php if(Utility::IsMobile($users[$one['user_id']]['mobile'])){?>&nbsp;&raquo;&nbsp;<a href="/ajax/misc.php?action=sms&v=<?php echo $users[$one['user_id']]['mobile']; ?>" class="ajaxlink">短信</a><?php }?></td>
						<td><?php echo $one['rname']; ?></td>
						<td><span class="currency"></span><?php echo $one['rmobile']; ?></td>
						<td><?php echo ZCredit::Explain($one); ?></td>
						<td><a href="/manage/credit/ajax.php?action=view&id=<?php echo $one['id']; ?>" class="ajaxlink">详情</a>&nbsp;|&nbsp;<?php if(($one['state']=='unpay')){?><a href="/manage/credit/ajax.php?action=checkexpress&id=<?php echo $one['id']; ?>" class="ajaxlink">未发货</a><?php } else { ?>已发货<?php }?></td>
					</tr>
					<?php }}?>
					<tr><td colspan="8"><?php echo $pagestring; ?></tr>
                    </table>
				</div>
            </div>
            <div class="box-bottom"></div>
        </div>
    </div>
</div>
</div> <!-- bd end -->
</div> <!-- bdw end -->

<?php include template("manage_footer");?>