<!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" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>会员升级 - {aspmps:global.cfg_sitename} - Powered by Aspmps</title>
<meta name="generator" content="aspmps v{aspmps:global.cfg_version}" />
<meta name="author" content="www.aspmps.com" />
<link rel="stylesheet" href="{aspmps:global.cfg_skinurl}/style/common.css" type="text/css" media="screen" />
<link rel="stylesheet" href="{aspmps:global.cfg_skinurl}/style/member.css" type="text/css" media="screen" />
<script type="text/javascript" src="{aspmps:global.cfg_baseurl}/file/js/config.js"></script>
<script type="text/javascript" src="{aspmps:global.cfg_baseurl}/file/js/jquery.js"></script>
<script type="text/javascript" src="{aspmps:global.cfg_baseurl}/file/js/jquery.thickbox.js"></script>
<script type="text/javascript" src="{aspmps:global.cfg_skinurl}/js/common.js"></script>
<script type="text/javascript">
var usermoney = {aspmps:global.c_usermoney};
$(document).ready(function() {
	$("#monthid").change(function(){
		var money = parseInt($(this).find("option:selected").attr("money"));
		$("#money").html(money);
		if (money<=usermoney && money>0){
			$("#sub").attr("disabled","");	
		}else{
			$("#sub").attr("disabled","disabled");	
		}
	});
	if(usermoney <= 0){
		$("#pay").css("display","");
	}
});
</script>
</head>

<body>
<div id="aspmps_layout">

<!--#include file="head.tpl"-->

<div id="aspmps_body">
<div class="memberbox">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="left">
<!--#include file="member_menu.tpl"-->
</td>
<td class="center"></td>
<td class="right">
<div class="title"><h3 class="current">会员升级</h3></div>
<div class="memberupdate">
<form action="?action=upgrade" method="post" name="form" onsubmit="return checkform()">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <th>用户名：</th>
    <td style="color:#CC3300">{aspmps:global.c_username}</td>
  </tr>
  <tr>
    <th>周期：</th>
    <td>{aspmps:field.price}</td>
  </tr>
  <tr>
    <th>所需费用：</th>
    <td><span id="money" style="color:#c30;font-weight:bold;padding:0 4px">0</span>元</td>
  </tr>
  <tr>
    <th>帐户余额：</th>
    <td><span id="money" style="color:#c30;font-weight:bold;padding:0 4px">{aspmps:global.c_usermoney}</span>元<span id="pay" style="padding-left:20px;display:none"><a href="user_payment.asp" target="_blank">[在线充值]</a></span></td>
  </tr> 
  <tr>
    <th></th>
    <td><input type="submit" value="确定升级会员" class="submit" id="sub" disabled="disabled" /></td>
  </tr>
</table>
</form>

</div>
</td>
</tr>
</table>
</div>
</div>
<!--#include file="foot.TPL"-->
</div>
</body>
</html>
