<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Pay.aspx.cs" Inherits="ETongJin.Search.UI.TuiGuang.Pay" %>
<!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 runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>E桶金行业搜索推广平台</title>
<script language="JavaScript">
<!--//校验输入框  -->
	function CheckForm() {
		if (document.getElementById("money").value.length == 0) {
			alert("请输入付款金额.");
			document.getElementById("money").focus();
			return false;
		}
		var reg = new RegExp(/^\d*\.?\d{0,2}$/);
		if (!reg.test(document.getElementById("money").value)) {
			alert("请正确输入付款金额");
			document.getElementById("money").focus();
			return false;
		}
		if (Number(document.getElementById("money").value) < 0.01) {
			alert("付款金额金额最小是0.01.");
			document.getElementById("money").focus();
			return false;
        }
	var orderdate=new Date();
	var ordernum=String(orderdate.getFullYear())+String(orderdate.getMonth()+1)+String(orderdate.getDate())+String(orderdate.getHours())+String(orderdate.getMinutes())+String(orderdate.getSeconds())+String(orderdate.getMilliseconds());
	ordernum=ordernum+String(Math.floor(Math.random()*99+1))
	document.getElementById("orderid").value = ordernum;
	return true;
	}  
</script>
<link rel="stylesheet" type="text/css" href="css/mainstyle.css"/>
</head>
<body>
<form id="alipayment" onsubmit="return CheckForm();" action="alipayto.aspx" method="post" target="_blank">
  <div class="weizhi"><input type="hidden" value="" name="orderid" id="orderid" />
    <div class="weizhi_bj" id="titlebt" runat="server"> 我要充值</div>
  </div>
  <table cellpadding="7" cellspacing="1" class="tb">
    <tr>
      <td class="tl"><span class="f_red">*</span>充值金额</td>
      <td class="tr"><input maxlength="10" id="money" name="alimoney" onfocus="if(Number(this.value)==0){this.value='';}" onkeyup="txtchange()" value="10.00" Class="ym12_input2" style="width:70px;text-align:right;" />
        元  <span style="color:#666">（请用小写，如：112.21）</span> <span id="jifen" style="color:Red;"></span>
        <textarea name="alibody" style="display:none;" rows="2" cols="40" wrap="physical"></textarea></td>
    </tr>
    <tr>
      <td class="tl"><span class="f_red">*</span>支付方式</td>
      <td class="tr f_gray"><table cellpadding="3">
          <tr>
            <td><input type="radio" name="pay_bank" value="directPay" checked>
              <img src="images/alipay_1.gif" border="0" /> </td>
          </tr>
          <tr>
            <td><input type="radio" name="pay_bank" value="ICBCB2C" />
              <img src="images/ICBC_OUT.gif" border="0" /> </td>
            <td><input type="radio" name="pay_bank" value="CMB" />
              <img src="images/CMB_OUT.gif" border="0" /> </td>
            <td><input type="radio" name="pay_bank" value="CCB" />
              <img src="images/CCB_OUT.gif" border="0" /> </td>
            <td><input type="radio" name="pay_bank" value="BOCB2C">
              <img src="images/BOC_OUT.gif"  border="0" /> </td>
          </tr>
          <tr>
            <td><input type="radio" name="pay_bank" value="ABC" />
              <img src="images/ABC_OUT.gif" border="0" /> </td>
            <td><input type="radio" name="pay_bank" value="COMM" />
              <img src="images/COMM_OUT.gif" border="0" /> </td>
            <td><input type="radio" name="pay_bank" value="SPDB" />
              <img src="images/SPDB_OUT.gif" border="0" /> </td>
            <td><input type="radio" name="pay_bank" value="GDB">
              <img src="images/GDB_OUT.gif" border="0" /> </td>
          </tr>
          <tr>
            <td><input type="radio" name="pay_bank" value="CITIC" />
              <img src="images/CITIC_OUT.gif" border="0" /> </td>
            <td><input type="radio" name="pay_bank" value="CEBBANK" />
              <img src="images/CEB_OUT.gif" border="0" /> </td>
            <td><input type="radio" name="pay_bank" value="CIB" />
              <img src="images/CIB_OUT.gif" border="0" /> </td>
            <td><input type="radio" name="pay_bank" value="SDB">
              <img src="images/SDB_OUT.gif" border="0" /> </td>
          </tr>
          <tr>
            <td><input type="radio" name="pay_bank" value="CMBC" />
              <img src="images/CMBC_OUT.gif" border="0" /> </td>
            <td><input type="radio" name="pay_bank" value="HZCBB2C" />
              <img src="images/HZCB_OUT.gif" border="0" /> </td>
            <td><input type="radio" name="pay_bank" value="SHBANK" />
              <img src="images/SHBANK_OUT.gif" border="0" /> </td>
            <td><input type="radio" name="pay_bank" value="NBBANK ">
              <img src="images/NBBANK_OUT.gif" border="0" /> </td>
          </tr>
          <tr>
            <td><input type="radio" name="pay_bank" value="SPABANK" />
              <img src="images/SPABANK_OUT.gif" border="0" /> </td>
            <td><input type="radio" name="pay_bank" value="BJRCB" />
              <img src="images/BJRCB_OUT.gif" border="0" /> </td>
            <td><input type="radio" name="pay_bank" value="ICBCBTB" />
              <img src="images/ENV_ICBC_OUT.gif" border="0" /> </td>
            <td><input type="radio" name="pay_bank" value="CCBBTB" />
              <img src="images/ENV_CCB_OUT.gif" border="0" /> </td>
          </tr>
          <tr>
            <td><input type="radio" name="pay_bank" value="SPDBB2B" />
              <img src="images/ENV_SPDB_OUT.gif" border="0" /> </td>
            <td><input type="radio" name="pay_bank" value="ABCBTB" />
              <img src="images/ENV_ABC_OUT.gif" border="0" /> </td>
            <td><input type="radio" name="pay_bank" value="fdb101" />
              <img src="images/FDB_OUT.gif" border="0" /> </td>
            <td><input type="radio" name="pay_bank" value="PSBC-DEBIT" />
              <img src="images/PSBC_OUT.gif" border="0" /> </td>
          </tr>
        </table></td>
    </tr>
    <tr>
      <td class="tl"><span class="f_red">*</span>提示</td>
      <td class="tr">如果您点击“<span class="f_red">确认订单</span>”按钮，即表示您已经接受“<a href="http://help.alipay.com/lab/help_detail.htm?help_id=211403&amp;keyword=%D6%A7%B8%B6%B1%A6%B7%FE%CE%F1%D0%AD%D2%E9" target="_blank" rel="nofollow">支付宝服务协议</a>”，同意向卖家购买此物品。 <br>
                您有责任查阅完整的物品登录资料，包括卖家的说明和接受的付款方式。卖家必须承担物品信息正确登录的责任！ <br />
                本站的每一积分相当于人民币1分钱，也就是说您1元钱可以给您的账户充值100个积分。<br />
                您也可以联系本站客服人员为您的账户进行充值，这样您的广告就不用担心因为欠费而被暂停了！<br />
      充值过程如果需要帮助请联系客服，欢迎联系我们为您的账户进行充值！<a href="tencent://message/?uin=178301967&amp;Site=12ym.com&amp;Menu=yes" rel="nofollow" target="blank" title="立即与他对话">QQ：<span class="f_green">178301967</span></a> 进行咨询！</td>
    </tr>
    <tr>
      <td class="tl">&nbsp;</td>
      <td class="tr"><input type="submit" value="确认订单" name="nextstep" class="pay_btn" />
        &nbsp;&nbsp;
        <input type="reset" value="取消操作" name="B12" class="pay_btn" /></td>
    </tr>
  </table>
</form>
</body>
<script>
function txtchange() {
	var i = document.getElementById("money").value;
	var s;
	if (Number(i)) {
		s = i + "元相当" + i * 100 + "积分"
	}
	else {
		s = "请正确输入金额";
	}
	document.getElementById("jifen").innerHTML = s;
}
</script>
</html>
<%=config.Statistics %>