⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 search_order.tpl

📁 渣渣网络商店系统ZZShop v1.0完整运行程序,MYSQL数据库,APACHE服务器
💻 TPL
字号:
	<link rel='stylesheet' href='templates/{Lang}/css/calendar-mos.css'>
	<script language='javascript' src=js/calendar/calendar.js></script>
	<script type="text/javascript" src="js/calendar/lang/calendar-en.js"></script>
	<script language='javascript'>
	var calendar = null;
	
	function selected(cal, date)
	{
		cal.sel.value = date; // just update the value of the input field
	}
	
	function closeHandler(cal)
	{
		cal.hide();			// hide the calendar
	
		// don't check mousedown on document anymore (used to be able to hide the
		// calendar when someone clicks outside it, see the showCalendar function).
		Calendar.removeEvent(document, "mousedown", checkCalendar);
	}

	function checkCalendar(ev)
	{
		var el = Calendar.is_ie ? Calendar.getElement(ev) : Calendar.getTargetElement(ev);
		for (; el != null; el = el.parentNode)
		// FIXME: allow end-user to click some link without closing the
		// calendar.  Good to see real-time stylesheet change :)
		if (el == calendar.element || el.tagName == "A") break;
		if (el == null) {
			// calls closeHandler which should hide the calendar.
			calendar.callCloseHandler(); Calendar.stopEvent(ev);
		}
	}
	
	function showCalendar(id)
	{
		var el = document.getElementById(id);
		
		var cal = new Calendar(true, null, selected, closeHandler);

		calendar = cal;		// remember the calendar in the global
		cal.setRange(1900, 2070);	// min/max year allowed
		calendar.create();		// create a popup calendar
		
		calendar.sel = el;		// inform it about the input field in use
		calendar.showAtElement(el);	// show the calendar next to the input field

		Calendar.addEvent(document, "mousedown", checkCalendar);
	}
</script>
<form name="form1" method="GET" action="{ACTION}">
<table width="100%"  border="0" cellspacing=0 cellpadding=5 class=adminform>
  <tr class="info_title">
    <td colspan="3"><strong>搜索订单</strong></td>
  </tr>
  <tr class='info_content'>
      <td width="100">订单编号:</td>
      <td>
          <input name="OrderID" type="text" id="OrderID" size="18">
      </td>
      <td width="150">订单编号中的一部分</td>
  </tr>
  <tr class='info_content'>
      <td width="100">客户名称:</td>
      <td>
          <input name="Customer" type="text" id="Customer" size="18">
      </td>
      <td width="150">客户名称中的一部分</td>
  </tr>
  <tr class='info_content'>
      <td width="100">提交时间:</td>
      <td>
    	<input name="StartTime" type="text" size=12 value=''>
    	<input type=button value='..' onClick='showCalendar("StartTime");'> -
    	<input name="Expire" type="text" size=12 value='{Today}'>
    	<input type=button value='..' onClick='showCalendar("Expire");'> 
      </td>
      <td width="150">订单提交的时间范围</td>
  </tr>
  <tr class='info_content'>
  	<td>货物总金额范围:</td>
  	<td>
  		<input name="StartPrice" type="text" size=8>
		-
		<input name="EndPrice" type="text" size=8>
  		</td>
  	<td>货物总金额范围</td>
  	</tr>
  <tr class='info_content'>
      <td width="100">订单总金额范围:</td>
      <td>
    	<input name="StartPrice2" type="text" id="StartPrice2" size=8>
    	-
    	<input name="EndPrice2" type="text" id="EndPrice2" size=8>
      </td>
      <td width="150">订单总金额范围</td>
  </tr>
  <tr class='info_content'>
  	<td>订单状态:</td>
  	<td>
  		<select name='State' id="State">
  			<option value=''></option>
			<option value='{ORDER_STATE_UNDISPOSE}'>未处理</option>
			<option value='{ORDER_STATE_WAIT_PAY}'>等待付款</option>
			<option value='{ORDER_STATE_WAIT_DELIVER}'>付款已确认,等待送货</option>
			<option value='{ORDER_STATE_DELIVERED}'>已经送货</option>
			<option value='{ORDER_STATE_REFUSE}'>订单被拒绝</option>
			<option value='{ORDER_STATE_OOS}'>缺货</option>
		</select>
  		</td>
  	<td>搜索指定状态的订单</td>
  	</tr>
  <tr class='info_content'>
  	<td>付款方式:</td>
  	<td>
  		<select name='PayMode' id="PayMode">
  			<option value=''></option>
			<option value='{PAYMODE_POSTCAL}'>邮政汇款</option>
			<option value='{PAYMODE_ATM}'>银行转帐</option>
			<option value='{PAYMODE_MYACCOUNT}'>本站帐户中扣除</option>
			<option value='{PAYMODE_PAYGATEWAY}'>在线支付</option>
			<option value='{PAYMODE_DROPIN}'>货到付款</option>
  			</select>
  		</td>
  	<td>搜索指定付款方式的订单</td>
  	</tr>
  <tr class='info_content'>
  	<td>送货方式:</td>
  	<td>
  		<select name='DeliverMode' id="DeliverMode">
  			<option value=''></option>
    		{DeliverModeList}
  			</select>
  		</td>
  	<td>搜索指定送货方式的订单</td>
  </tr>
  <tr class='info_bottom'>
    <td colspan="3" align="center">
        <input type="submit" id="btnSubmit" value="搜索">
        <input name="act" type="hidden" value="order">
	    <input type="button" value="取消(C)" onClick="doCancle();">	
	</td>
  </tr>
</table>
</form>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -