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

📄 index4008.jsp

📁 电信的网厅的整站代码
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK" %>

<%@ page import="com.doone.uurm.WebAuth"%>
<%@ page import="com.doone.data.DataTable"%>
<%@ page import="com.doone.fj1w.common.TD_Area"%>
<%@ page import="com.doone.fj1w.common.CityBean"%>
<%@ page import="com.doone.fj1w.common.ProductBean"%>
<%@ page import="com.doone.fj1w.fjmgr.order.OrderService"%>
<%@ page import="com.doone.fj1w.fjmgr.sysmgr.ForgetCihper"%>

<%@ taglib uri="/WEB-INF/curstom-tags.tld" prefix="custom" %>

<%          
            request.setCharacterEncoding("GBK");
            
			String sPurvICode = "NGB005005";
		    WebAuth auth = WebAuth.getInstance(request);
		    
		    if ( ! auth.IsAuthed() ) {  
			    out.write("<script language=\"javascript\">self.parent.location.replace(\"" + request.getContextPath() + "/view/login/login.jsp" + "\");</script>");
			    return;  
		    }else if ( ! auth.CheckPurv(sPurvICode) ) {
			    out.write("<script language=javascript src=\"../../common/script/RightForbidden.js\"></script>");
			    return;
			}     
			
			String cityCode = auth.getCityCode();
			DataTable oArea = null;
			
			if (cityCode == null || cityCode.equals("") ) cityCode = "0590";
			if (! cityCode.equals("0590") ) {
				java.util.Map map = new java.util.HashMap();
				map.put("CITYCODE", cityCode);
				oArea = OrderService.getAreaList(request, response, map);
		
				pageContext.setAttribute("AREA", oArea);
			 }
			 
			 DataTable oCity = CityBean.getCityList();
			 pageContext.setAttribute("CITY",oCity);
%>

<html>
<head>
	<title>四川4008用户帐号管理</title>
	<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
	<link href="../../common/style/main.css" type="text/css" rel="stylesheet" />
	<script language="JavaScript" src="../../common/script/ChangeStyle.js"></script>
	<script language="JavaScript" src="../../common/mainTool.js"></script>
	<script language="JavaScript" src="../../common/XMLHttpClient.js"></script>
	<link rel="stylesheet" type="text/css" media="all" href="../calendar/calendar-blue2.css"/>
	<script type="text/javascript" src="../calendar/calendar.js"></script>
	<script type="text/javascript" src="../calendar/calendar-zh.js"></script>
	<script type="text/javascript" src="../calendar/calendar-action.js"></script>
	<script type="text/javascript" src="../netstore/js/cityandarea.js"></script>
	<script type="text/javascript" src="../netstore/js/submitform.js"></script>	
	<script type="text/javascript" src="index4008.js"></script>
	<script language="JavaScript">
		setCityCode('<%=cityCode%>');
	</script>

<meta name="Microsoft Theme" content="compass 1011, default">
<meta name="Microsoft Border" content="tlb, default">
</head>
<body onload="fn_on4008load()">
    <script id="event_id"></script>
	<form id="Default" method="post" action="index.jsp" onsubmit="return fn_On4008Submit(this);">
		<div onresize="cltScript_Toolbar();" style="width: 100%">
			<div id="divTop" style="overflow: hidden">
				<table id="ibtnPanel" style="font-size: 9pt; border-bottom: #efefef 1px outset" cellspacing="0"
					cellpadding="0" width="100%" border="0">
					<tr bgcolor="#efefef" height="33">
						<td valign="middle" align="center" id="ibtnOrderAccept"></td>
						<td valign="middle" align="center" id="ibtnSendMail"></td>
						<td valign="middle" align="center" id="ibtnActiveAccount"></td>
					    <td valign="middle" align="center" id="ibtnSendALLOverDue"></td>						
						<td valign="middle" align="center" width="80" 
							onclick="return fnAddAccount();" 
							id="ibtnAddAccount" 
							style="behavior:url(../../common/button.htc)" 
							DefaultClass="btnDefault" 
							OverClass="btnOver" 
							DownClass="btnDown" 
							title="">增加账号</td>
						
					    <td valign="middle" align="center" width="80" 
							onclick="return fnUpadateAccount();" 
							id="ibtnUpdateAccount" 
							style="behavior:url(../../common/button.htc)" 
							DefaultClass="btnDefault" 
							OverClass="btnOver" 
							DownClass="btnDown" 
							title="">修改账号</td>
							
						<td>&nbsp;</td>	
					</tr>
				</table>
				<jsp:include page="../../common/inc_top.jsp" >
					<jsp:param name="purvCode" value="<%=sPurvICode%>"/>
				</jsp:include>
				<table width="100%" border="0" cellpadding="0" cellspacing="0" class="OuterTable">
				  <tr> 
				    <td width="100%" colspan="2" class="OuterHead" align="left">
				    	<span id="ItemTitle"><font face="webdings">8</font>查询订单:</span>
				    	<input type="radio" id="SIMPLEQUERY" name="querymode" checked="checked" value="simple" onclick="fnShowSimple();"><label for="SIMPLEQUERY" id="ItemTitle">简单查询</label>&nbsp;
				    	<input type="radio" id="QUERYALL" name="querymode" value="all" onclick="fnShowAll();"><label for="QUERYALL" id="ItemTitle">复杂查询</label>
				    </td>
				  </tr>
				  <tr> 
				  	<td width="100%" colspan="2" class="InnerMain" align="left">
				  		<table id="QueryTable" border="0" cellspacing="0" cellpadding="0" width="100%">
				  			<caption style="display:none;">
				  			</caption>
				  			<tbody>
				  				<!--常用简单的查询条件-->
					  			<tr>
					  				<td width="8%" class="Caption_Td" align="right" nowrap="nowrap">客户帐号:</td>
					  				<td width="15%" class="body_td"    align="left" nowrap="nowrap">
					  					<input type="text" id="USERID" name="USERID" style="width: 100%;">
					  					</td>
					  				<td width="8%" class="Caption_Td" align="right" nowrap="nowrap">客户名称:</td>
					  				<td width="15%" class="body_td" nowrap="nowrap">
					  					<input type="text" id="NAME" name="NAME" style="width: 100%;"></td>
					  				<td width="10%" class="Caption_Td" align="right" nowrap="nowrap">客户Email:</td>
					  				<td width="15%" class="body_td" nowrap="nowrap">
					  					<input type="text" id="EMAIL" name="EMAIL" style="width: 100%;">
					  				</td>
					  				<td width="5%" class="Caption_Td" align="right" nowrap="nowrap">选择区域:</td>
					  				<td width="8%" class="body_td" nowrap="nowrap">
					  					<custom:HtmlSelect dataSource="AREA" 
					  					                   styleId="AREA" 
					  					                   name="AREA" 
					  					                   style="width: 100%" 
					  					                   textFieldName="AREANAME" 
					  					                   valueFieldName="AREACODE">
					  						<custom:HtmlOption value="" disabled='<%= (oArea != null)?! oArea.getTableName().equalsIgnoreCase("TD_AREA"):false%>'>全部</custom:HtmlOption>
					  					</custom:HtmlSelect>
					  				</td>
					  			</tr>
				  			</tbody>
				  			<tbody style="display:none;">
				  				<!--其它查询条件-->
					  			<tr>
					  			    <td class="Caption_Td" align="right" nowrap="nowrap">业务号码:</td>
					  			    <td class="body_td" align="left" nowrap="nowrap">
					  			    	<input type="text" id="ORDERNBR" name="ORDERNBR" style="width: 100%;"> 
					  			    </td>
					  			    <td class="Caption_Td" align="right" nowrap="nowrap">开始时间:</td>
					  			    <td class="body_td" align="left" nowrap="nowrap">
					  			    <input type="text" name="STARTTIME" id="STARTTIME" title="双击清空。" 
					  					       ondblclick="this.value='';" 
					  					       size="19" readonly="readonly" /><span style="cursor:hand" 
					  						   onclick="return showCalendar('STARTTIME', '%Y-%m-%d', '24', true);">
					  					<img border="0" src="../calendar/date_botton.gif" width="20" height="14"></span>
					  			    </td>
					  				<td class="Caption_Td" align="right" nowrap="nowrap">结束时间:</td>
					  				<td class="body_td"   align="left" nowrap="nowrap">
					  				    <input type="text" name="ENDTIME" id="ENDTIME" title="双击清空。" 
					  					       ondblclick="this.value='';"  
					  					       size="19" readonly="readonly" /><span style="cursor:hand" 
					  						   onclick="return showCalendar('ENDTIME', '%Y-%m-%d', '24', true);">
					  					<img border="0" src="../calendar/date_botton.gif" width="20" height="14"></span>
					  				</td>
					  				<td class="Caption_Td" align="right" nowrap="nowrap">选择地区:</td>
					  				<td class="body_td" nowrap="nowrap">
					  					<custom:HtmlSelect name="CITY" style="width:100%" styleId="CITY" dataSource="CITY"
						  								  textFieldName="CITYNAME" valueFieldName="CITYCODE"
						  				                  onChange="loadArea(this);"
						  				                  disabled='<%= (!cityCode.equals("0590"))?"true":"false"%>'
						  				                  value='<%= cityCode%>'>
					  						<custom:HtmlOption value="0590">全省</custom:HtmlOption>
					  					</custom:HtmlSelect>
					  				</td>
					  			</tr>
					  			<tr>
					  				<td class="Caption_Td" align="right" nowrap="nowrap">账号状态:</td>
					  				<td class="body_td" nowrap="nowrap" colspan="8">
					  					<select name="USERSTATE" style="width: 100%;">
					  						<option value="0">全部</option>
					  						<option value="A">激活</option>
					  						<option value="N">待激活</option>
					  						<option value="L">过期</option>
					  						<option value="D">注销</option>
					  					</select>
					  				</td>
					  			</tr>
				  			</tbody>
				  		</table>
				    </td>
				  </tr>
				  <tr class="OuterFoot"> 
					<td width="15%" align="left" class="Caption_Td">
						<input type="submit" class="button" value="查询">
						<input type="reset" class="button" value="重填">
					</td>
				  	<td width="85%" align="left" class="Caption_td">
						<table id="QueryResult" border="0" width="100%" cellspacing="0" 
							   cellpadding="1" 
							   style="behavior:url(../../common/table.htc)" 
							   ontableload="return onQueryResultLoad();"
							   serviceURL="<%= request.getContextPath() + "/XmlHttpService"%>"
							   service="RegisterService"
							   dataService="getOrderMethod"
							   rcService="getOrderMethodCount"
							   autoLoad="False"
							   locked="true">
							   <caption style="display:none;"></caption>
							   <tr>
							     <td></td>
							   </tr>
		      			</table>
					</td>
				  </tr>
				  <tr height="5"><td colspan="2"><img src="../../common/images/spacer.gif"></td></tr>
				</table>
			</div>
			<div id="divMain" style="overflow: auto">
			     <!--service表的服务名--><!--dataService表的内容--><!--rcService表的行数-->
				<table id="Result" border="0" width="100%" cellspacing="0" 
					   cellpadding="1" 
					   style="behavior:url(../../common/table.htc)" 
					   DefaultClass="DefaltRow" 
					   keyName="key" 
					   SelectedClass="SelectedRow" 
					   multiple="true" 
					   onselected="return onChoosed();" 
					   onunselected="return onUnChoosed();"
					   ontableload="return onContentLoad();"
					   ondblclick="return fn_dblClick();"
					   serviceURL="<%=request.getContextPath()+"/XmlHttpService"%>"
					   service="RegisterService"
					   dataService="getOrderList" 
					   rcService="getOrderCount"
					   pageStyle="0"
					   autoLoad="false"
					   class="OuterTable">
					   <thead>
						<tr class="OuterHead" style="cursor: none;">
							<TD class="title_td" align="center" width="15%" nowrap><b>帐号</b></TD>
							<TD class="title_td" align="center" width="15%"><b>姓名</b></TD>
							<TD class="title_td" align="center" width="10%"><b>地市编码</b></TD>
							<TD class="title_td" align="center" width="15%"><b>注册时间</b></TD>
							<TD class="title_td" align="center" width="15%"><b>邮件地址</b></TD>
							<TD class="title_td" align="center" width="15%"><b>状态</b></TD>							
							<TD style="display:none" width="1%"></TD>							
						</tr>
					   </thead>
					   <caption style="display:none;"></caption>
					   <tr key="-1" type=""><td class="InnerHead" colspan="7" style="cursor: default;" onclick="">没有任何记录信息</td></tr>
					   <tfoot>
		      				<tr class="OuterFoot">
		      					<td align="right" class="foot_td" nowrap width="100%" colspan="7">
		      					  分页:<span id="pageSet"></span>&nbsp;&nbsp;
		      					</td>
		      				</tr>
					   </tfoot>
      			</table>
      			<table cellpadding="0" cellspacing="0" border="0" width="100%" class="OuterTable">
      			</table>
			</div>
		</div>
	</form>
	<IFRAME id="orderAccept" style="display:none;"></IFRAME>
	</body>
</html>

⌨️ 快捷键说明

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