<?php
	!defined('MEMBER_CENTER') && exit('Access Denied!');
?>
<!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=gb2312" />
<title>会员中心 - Powered by DirCMS</title>
<base href="<?php echo $DIRCMS['site_url'];?>" />
<link href="member/template/images/style.css" rel="stylesheet" type="text/css" />
<script src="images/js/jquery.min.js"></script>
<script src="images/js/check.func.js"></script>
<script language="javascript" type="text/javascript">
$(document).ready(function(){checkForm(0);});
</script>
</head>
<body>
<div id="warp">
<?php include member_tlp('header');?>
<div class="container clearfix">
<?php include member_tlp('sidebar');?>

<div id="content">
<div id="here">
<h2 class="title">支付中心</h2>
</div>
<div class="tabs_header">
<ul class="tabs clearfix">
	<li class="active"><a href="member/index.php?mod=pay&file=pay&action=online">在线充值</a></li>
	<li><a href="member/index.php?mod=pay&file=pay&action=card">点卡充值</a></li>
	<li><a href="member/index.php?mod=pay&file=pay&action=log">财务日志</a></li>
	<li><a href="member/index.php?mod=pay&file=pay&action=order">订单查询</a></li>
</ul>
</div>
<div class="display">
<div class="tdline">
<form action="member/index.php?mod=pay&file=pay&action=online" method="post" name="myform" >
<input type="hidden" name="do_submit" value="1" />
<input type="hidden" name="forward" value="<?php echo getcururl();?>" />
<table border="0" cellpadding="0" cellspacing="0" width="98%">
<tr>
<td colspan="2"><h3>在线充值
</h3></td>
</tr>
<tr>
<td class="left">点数余额：</td>
<td id="showbuyfen"> <?php echo $_point;?> 点</td>
</tr>
<tr>
<td class="left">资金余额：</td>
<td><?php echo $_amount;?> 元</td>
</tr>
<tr>
<td class="left">充值金额：</td>
<td id="showbuyfen"> <input type="text" name="amount" value="10" size="4" datatype="double" /> 元</td>
</tr>
<?php foreach($paymethod as $_r){?>
<?php if($_r['is_online']){?>
<tr>
<td class="left"><input type="radio" value="<?php echo $_r['id'];?>" name="paymentid" checked="checked" /><?php echo $_r['name'];?>：</td>
<td id="showbuyfen"><?php echo nl2br($_r['desc']);?></td>
</tr>
<?php }?>
<?php }?>
<tr>
<td class="left">备  &nbsp;&nbsp;&nbsp;&nbsp;注：</td>
<td id="showbuyfen"><textarea name="usernote" cols="50" rows="6"></textarea></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="button" value="充 值" name="dosubmit" onClick="doSubmit(this);this.disabled='disabled'" class="input_sub"/></td>
</tr>
</table>
</form>
</div>
</div>
</div>

</div>
<?php include member_tlp('footer');?>
</div>
</body>
</html>