<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<meta name="format-detection" content="telephone=no" />
<title>MEMBER CENTER</title>
<script src="<?= base_url() ?>assets/front/js/jquery-1.8.3.min.js"></script>  
<link href="<?= base_url() ?>assets/front/css/style.css" rel="stylesheet" type="text/css" /> 
<script src="<?= base_url() ?>assets/front/js/common.js"></script> 
</head>

<body class="bg_fa"> 
<!---->
<div class="placeholder-head"></div>
<div class="head"><a href="javascript:history.back(-1)" class="return"></a>会员中心</div>
<div class="warp"> 
	<div class="member_head"><img src="<?php if($user['logo'] =="" ) { ?><?= base_url() ?>assets/front/images/head.jpg<?php } else { ?><?= $user['logo']?><?php }?>" /><span class="name"><?= $user['name1'] ?></span></div>
    <dl class="menu">
    	<dd><a href="javascript:;"><span><?= number_format($user['dep_amt'],2) ?></span>余额</a></dd>
    	<dd><a href="javascript:;"><span><?= $user['bonus'] ?></span>积分</a></dd>
    	<dd><a href="javascript:;"><span><?php if($user['desc2_name'] == "") { ?>无<?php } else { ?><?= $user['desc2_name'] ?><?php } ?></span>折扣</a></dd>
    </dl>
    <div class="card"><a href="<?= site_url('index.php/member/card') ?>"><?= $user['tel1'] ?><br />点击查看会员卡，累计消费积分</a></div>
    <dl class="member_list">
    	<dd><span class="icon1">会员等级</span><i>普通会员</i></dd>
    	<dd><a href="<?= site_url('index.php/member/data') ?>"><span class="icon2">个人资料</span></a></dd>
    	<dd><a href="<?= site_url('index.php/member/consume') ?>"><span class="icon3">个人消费记录</span></a></dd>
    </dl>
</div>
<!----> 

</body>
</html>