<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Admin_Tickets.aspx.vb" Inherits="TourEx.Web.Admin_Tickets" %>
<%@ Import Namespace="TourEx.BLL" %>
<!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=utf-8" />
<title>无标题页</title>
<link rel="stylesheet" type="text/css" href="Css/Style.css"/>
<script type="text/javascript" src="../Sys/Js/jquery.js"></script>
<script type="text/javascript" src="../Sys/Js/jquery.validate.js"></script>
<script type="text/javascript" src="../Sys/Js/jquery.validate.check.js"></script>
</head>
<body>
<ul class="navLocation">
	<li>您当前位置：<a href="Admin_Main.aspx">首页</a> &gt; <a href="Admin_SceneryList.aspx">景区管理</a> &gt;
    <asp:HyperLink ID="ListUrl" runat="server">门票管理</asp:HyperLink> &gt;
	<asp:Label ID="navIgation" runat="server" Text=""></asp:Label></li>
</ul>
<form runat="server" id="TourExForm">
<div class="infoBox">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td class="infoBoxTd">门票名称：</td>
		<td>
			<asp:TextBox ID="T_Name" runat="server" MaxLength="30" CssClass="formTitle"></asp:TextBox>		</td>
	</tr>
	<tr>
		<td class="infoBoxTd">票面价：</td>
		<td><asp:TextBox ID="T_RackRate" runat="server" onkeyup="this.value=this.value.replace(/\D/g,'');" Width="50px" CssClass="formTitle"></asp:TextBox> 
			元/张</td>
	</tr>
	<tr>
		<td class="infoBoxTd">1-9人优惠格：</td>
		<td>
			<asp:TextBox ID="T_Price" runat="server" onkeyup="this.value=this.value.replace(/\D/g,'');" Width="50px" CssClass="formTitle"></asp:TextBox>
元/张 </td>
	</tr>
	<tr>
	  <td class="infoBoxTd">10人以上优惠价格：</td>
	  <td>
	    <asp:TextBox ID="T_DiscountPrice" runat="server" onkeyup="this.value=this.value.replace(/\D/g,'');" Width="50px" CssClass="formTitle"></asp:TextBox>
元/张
	  </td>
	</tr>
	<tr>
	  <td class="infoBoxTd">点评<%=WebSet.BonusName %>：</td>
	  <td>
	    <asp:TextBox ID="T_Bonus" runat="server" onkeyup="this.value=this.value.replace(/\D/g,'');" Width="50px" CssClass="formTitle"></asp:TextBox>
元
	  </td>
	</tr>
	<tr>
		<td class="infoBoxTd">排序：</td>
		<td>
			<asp:TextBox ID="T_OrderId" runat="server" onkeyup="this.value=this.value.replace(/\D/g,'');" Width="50px" CssClass="formTitle"></asp:TextBox>		</td>
	</tr>
	<tr>
		<td class="infoBoxTd">&nbsp;		</td>
		<td>
			<asp:Button ID="Button1" runat="server" Text="确定" CssClass="formInput01" />		</td>
	</tr>
</table>
</div>
</form>

<script language="javascript" type="text/javascript">
	<!--//
	$(function(){
		$("#TourExForm").validate({
			rules:{
				T_Name: {required: true},
				T_RackRate: {required: true,min:1},
				T_Price: {required: true,min:1},
				T_DiscountPrice: {required: true,min:1}		
			},
			messages: {
				T_Name: {required: '请填写门票名称'},
				T_RackRate: {required: '请填写门市价',min:'请填写门市价'},
				T_Price: {required: '请填写优惠价',min:'请填写优惠价'},
				T_DiscountPrice: {required: '请填写优惠价',min:'请填写优惠价'}
			}
		}); 
	}); 
	//-->
</script>
</body>
</html>
