<%@ Page Language="C#" AutoEventWireup="true" Inherits="Kesion.NET.WebSite.Course.Course.BuyPeriod" Codebehind="BuyPeriod.aspx.cs" %>
<%@ Import Namespace="Kesion.Cache" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
	    <script src="<%=MyCache.GetCacheConfig(0) %>ks_inc/jquery.js"></script>
    <script src="<%=MyCache.GetCacheConfig(0) %>ks_inc/kesion.common.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
		 <table width="100%" border="0" align="left" >课程名称:
	<asp:label runat="server" text="" ID="Cname"></asp:label>
	 <tr class="tdbg">
		 <td align="right" class="lefttdbg"></td> 
		 <td ></td>
	 </tr>
	 <tr class="tdbg">
		 <td align="right" class="lefttdbg">购买课时：</td>
		 <td><asp:label runat="server" text="" ID="PeriodName"></asp:label></td>
	 </tr>
	 <tr class="tdbg">
		 <td align="right" class="lefttdbg">价格：</td>
        
        
		 <td> <input type="hidden" id="tl_money" value="<%=PayMoney %>"/> <span id="sf_money"><%=PayMoney %></span></td>
	 </tr>
	 <tr class="tdbg">
		 <td align="right" class="lefttdbg">支付：</td>
		 <td>             
             <%=new Kesion.APPCode.PayFormAPI().GetPaymentList() %>
          </td>
	 </tr>
	 <tr class="tdbg">
		 <td> <asp:Button ID="Button1" OnClientClick="return(checkmoney())" runat="server" Text="购买" OnClick="GoBuy" /></td>
		 <asp:label runat="server" text="0" Visible="false" ID="Channel"></asp:label>
		  <asp:label runat="server" text="0" Visible="false" ID="CourseID"></asp:label>
	 </tr>
	</table>
    </div>
    </form>
	<script>
		function checkmoney()
		{
					
			//if (parseFloat(mymoney) >= parseFloat(paymoney)) {
			//	return true;
			//}
			//else {
			//	alert("对不起，您的账户余额不足！");
			//	$.dialog.close();
			//	//window.open("/user/?mainurl=/user/payonline.aspx");
			//	return false;
			//}
		}


	</script>
</body>
</html>
