{lib(../account.php)}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=gbk" />
<title>{cfg:(sys,site_name)}</title>
<link rel="shortcut icon" href="favicon.ico" />
<meta name="keywords" content="{cfg:(sys,site_keywords)}">
<meta name="description" content="{cfg:(sys,site_description)}">
<link rel="stylesheet" type="text/css" href="../img/css.css"/>
<script src="{$web_url}/plus/js/init.php?act=init_js"></script>
<script src="{$web_url}/images/js/common.js"></script>
<script src="{$web_url}/images/js/date.js"></script>
<script src="{$web_url}/images/js/ajax.js"></script>
<script src="{$web_url}/images/js/dialog.js"></script>
<style>
.me_table{float:left;width:700px;margin-left:20px}
.me_table td{text-align:left;height:20px}

.me_tit1{float:left;width:99%;border-bottom:1px #cccccc solid}
.me_tit1 li{float:left;padding:5px 0px 3px 10px;cursor:pointer}
.me_tit1 .x_sel{font-weight:bold}
.me_div1{float:left;width:700px;margin-top:10px;text-align:left;padding-left:20px}
.me_div1 img{width:300px;height:200px;border:0px}
.me_div1 li{float:left;width:100%;padding:10px 0px 10px 0px}
</style>
<script>
function me_pay(){
	dialog_show("paymethod","在线充值","{$web_url}/index.php?app=paymethod",1,500,300);
}
function me_exchange(){
	dialog_show("exchange","金币兑换积分","{$web_url}/index.php?app=exchange",1,500,300);
}

</script>
</head>
<body>
{include(header.html)}
<div class="sp_h10">&nbsp;</div>
<div class="cssx_left1">
	{include(sys_left.html)}
</div>
<div class="cssx_right">
	<div class="me_tit1">
	<li {if($get_step==1)}class="x_sel"{/if}><a href="?app=account&step=1">我的积分</a></li><li {if($get_step==2)}class="x_sel"{/if}><a href="?app=account&step=2">我的金币</a></li>
	</div>
	{if($get_step==1)}
		<div class="me_div1">
			<li style="font-size:14px;color:#ff8800;font-weight:bold">您的当前积分：{$this_account_score}</li>
		</div>
		<table class="me_table">
		<tr><td>时间</td><td>积分</td><td>说明</td></tr>
		{foreach($arr_score as $item)}
			<tr><td>{$item['addtime']}</td><td>{$item["score_val"]}</td><td>{$item["type"]}</td></tr>
		{/foreach}
		<tr><td colspan=3><div class="pPage">{$page_split_page}</div></td></tr>
		</table>
	{else if($get_step==2)}
		<div class="me_div1">
			<li style="font-size:14px;color:#ff8800;font-weight:bold">您的当前金币：{$this_account_gold}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" name="btn_pay" value="在线充值" class="btn_100" onclick="me_pay();">&nbsp;&nbsp;<input type="button" name="btn_pay" value="兑换积分" class="btn_100" onclick="me_exchange();"></li>
		</div>
		<table class="me_table">
		<tr><td>时间</td><td>金币</td><td>说明</td></tr>
		{foreach($arr_gold as $item)}
			<tr><td>{$item['addtime']}</td><td>{$item["gold_val"]}</td><td>{$item["type"]}</td></tr>
		{/foreach}
		<tr><td colspan=3><div class="pPage">{$page_split_page}</div></td></tr>
		</table>
	{/if}
</div>
{include(footer.html)}

</body>
</html>