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

📄 account_list.jsp

📁 电信的网厅的整站代码
💻 JSP
📖 第 1 页 / 共 2 页
字号:
    if(week.equals("4")){out.print("第四周");}
    }
    if(!rq.equals("")){out.print(rq.substring(0,4));out.print("年");out.print(rq.substring(5,7));out.print("月");out.print(rq.substring(8,10));out.print("日");}
    if(!start.equals("")){out.print(start);out.print("--");}
    if(!end.equals("")){out.print(end);}
   %></td>
      </tr>
     </table>
     <table style="font-size: 9pt; border-bottom: #efefef 1px outset" cellspacing="0"
					cellpadding="0" width="100%" border="0" class="OuterTable">
  <tr class="OuterHead">
    <td class="title_td" align="left" width="3%">帐号</td>
    <%if(_state.equals("E")){%>
    <td class="title_td" align="left" width="5%">注册时间</td>
    <%}%>
    <%if(_state.equals("D")){%>
    <td class="title_td" align="left" width="5%">注销时间</td>
    <%}%>
    <td class="title_td" align="left" width="3%">状态</td>
    <td class="title_td" align="left" width="3%">用户名</td>
    <td class="title_td" align="left" width="6%">电子邮件</td>
    <td class="title_td" align="left" width="6%">密码问题</td>
    <td class="title_td" align="left" width="6%">答案</td>
   </tr>
   </table>
   	               	<table id="prodfunList" border=0 width=100% cellspacing=0 cellpadding=1
					style="behavior:url(../../common/table.htc)"
					DefaultClass="DefaltRow" 
					SelectedClass="SelectedRow" 
					keyName="key" 
					multiple="true" 
				    class="InnerTable">
     <% if(dt!=null){
    
  for(int i=0;i<dt.getRows().getCount();i++){
  %>
  <tr class="InnerMain" style="color: black" key="">
  <td class="body_td" align="left"  width="3%" nowrap><%=dt.getRow(i).getString("ACCOUNTID")%></td>
  <%if(_state.equals("E")){%>
  <td class="body_td" align="left"  width="5%" nowrap><%=dt.getRow(i).getString("CREATETIME").substring(0,19)%></td>
  <%}%>
   <%if(_state.equals("D")){%>
  <td class="body_td" align="left"  width="5%" nowrap><%=dt.getRow(i).getString("CREATETIME").substring(0,19)%></td>
   <%}%>
  <td class="body_td" align="left"  width="3%" nowrap><%if(dt.getRow(i).getString("STATE").equals("E")){out.print("在用");}
                           else{out.print("禁用");}%></td>
  <td class="body_td" align="left"  width="3%" nowrap><%=dt.getRow(i).getString("NAME")%></td>
  <td class="body_td" align="left"  width="6%" nowrap><%=dt.getRow(i).getString("EMAIL")%></td>
  <td class="body_td" align="left"  width="6%" nowrap><%=dt.getRow(i).getString("PWDQUESTION")%></td>
  <td class="body_td" align="left"  width="6%" nowrap><%=dt.getRow(i).getString("PWDANSWER")%></td>
  </tr>
    <%}
  }%>

</table>

<table cellpadding="0" cellspacing="0" border="0" width="100%" class="OuterTable">
<tr  class="OuterFoot">
<td align="left" class="foot_td" nowrap width="5%">本页共<%=dt.getRows().getCount()%>条记录</td>
<td align="left" class="foot_td" nowrap width="5%">第<%=pageNo%>页 </td>
<td align="left" class="foot_td" nowrap width="5%">共<%=countstr%>页</td>
<td align="right" class="foot_td" nowrap width="70%">
<%             
                
							  int PageCount = Integer.parseInt(countstr);
							  int ShowPage = Integer.parseInt(pageNo);
							  //当记录数小于10*10的时候
								if(PageCount<=10){
								    out.print("分页:<font face=webdings>9</font>");
							 
								   for(int i=1;i<=PageCount;i++){
								       out.print("<a  href=\"Account_list.jsp?PageNo="+i+"&state="+_state+"&_state="+_state1+"&relationproduct="+relationproduct+"&areacode="+areacode+"&year="+year+"&citycode="+citycode+"&quarter="+quarter+"&month="+month+"&xun="+xun+"&week="+week+"&rq="+rq+"&starttime="+start+"&endtime="+end+"\">&nbsp;"+i+"</a>");
					
								   }
								    out.print(" <Font face=webdings>:</font>");
							
								}else{
							 
									//当记录数大于10*10
									int tempNum = (ShowPage-1)/10;
									if(tempNum==0){
									   tempNum=0;
									   //处于第一个10页的时候
									    out.print("分页:<font face=webdings>9</font>");
								
									}else{
											//处于中间页面位置
									  out.print("  分页:<a    href=\"Account_list.jsp?PageNo="+"1"+"&state="+_state+"&_state="+_state1+"&relationproduct="+relationproduct+"&areacode="+areacode+"&year="+year+"&citycode="+citycode+"&quarter="+quarter+"&month="+month+"&xun="+xun+"&week="+week+"&rq="+rq+"&starttime="+start+"&endtime="+end+"\" title=\"首页\"><font face=webdings>9</font></a> <a  href=\"Account_list.jsp?PageNo="+String.valueOf(tempNum*10)+"&state="+_state+"&_state="+_state1+"&relationproduct="+relationproduct+"&areacode="+areacode+"&year="+year+"&citycode="+citycode+"&quarter="+quarter+"&month="+month+"&xun="+xun+"&rq="+rq+"&starttime="+start+"&endtime="+end+"\" title=\"前十页\"><font face=webdings>7</font></a>");
							
									}
											//判断是否是最后一页

									if(PageCount/10!=tempNum){
												//当不是最后一页的时候
										for(int i=1;i<=10;i++){
										     int tempShowPage = tempNum*10+i;
										     out.print("<a  href=\"Account_list.jsp?PageNo="+tempShowPage+"&state="+_state+"&_state="+_state1+"&areacode="+areacode+"&relationproduct="+relationproduct+"&year="+year+"&citycode="+citycode+"&quarter="+quarter+"&month="+month+"&xun="+xun+"&week="+week+"&rq="+rq+"&starttime="+start+"&endtime="+end+"\">&nbsp;");
								 if(ShowPage==tempShowPage){
								        out.print(" <font color=\"#FF0000\">"+tempShowPage+"</font>");    
								 }else{
								      out.print(tempShowPage);
							     }
							       out.print("</a>");
							     }
								    int n=tempNum*10+10+1;
							        out.print("<a href=\"Account_list.jsp?PageNo="+String.valueOf(n)+"&state="+_state+"&_state="+_state1+"&relationproduct="+relationproduct+"&areacode="+areacode+"&year="+year+"&citycode="+citycode+"&quarter="+quarter+"&month="+month+"&xun="+xun+"&week="+week+"&rq="+rq+"&starttime="+start+"&endtime="+end+"\" title=\"后十页\"><font face=webdings>8</font></a> <a  href=\"Account_list.jsp?PageNo="+PageCount+"&state="+_state+"&_state="+_state1+"&relationproduct="+relationproduct+"&areacode="+areacode+"&year="+year+"&citycode="+citycode+"&quarter="+quarter+"&month="+month+"&xun="+xun+"&week="+week+"&rq="+rq+"&starttime="+start+"&endtime="+end+"\" title=\"尾页\"><Font face=webdings>:</font></a>");
							  
								}else{
									//取最后剩余的页数
									for(int i=1;i<=PageCount%10;i++){
								        int tempShowPage = tempNum*10+i;
							             out.print(" <a  href=\"Account_list.jsp?PageNo="+tempShowPage+"&state="+_state+"&_state="+_state1+"&relationproduct="+relationproduct+"&areacode="+areacode+"&year="+year+"&citycode="+citycode+"&quarter="+quarter+"&month="+month+"&xun="+xun+"&week="+week+"&rq="+rq+"&starttime="+start+"&endtime="+end+"\">&nbsp;");
										 if(ShowPage==tempShowPage){
											   out.print("  <font color=\"#FF0000\">"+tempShowPage+"</font>");
										  }else{
											 out.print(tempShowPage);
										 }
										 out.print("</a>");
							        }
							         out.print("<Font face=webdings>:</font>");
							  
							       }
								}
							   %>


</td>



</tr>
</table>
</div>
</div>
<iframe name="iframe1" style="" src="" frameborder=0 width="0" height="0" scrolling="no"></iframe>
</body>
</html>
<Script language="javascript">
function e()
{   
   
    var no=<%=pageNo%>;
    var sURL = "exportexcel_regist.jsp?PageNo=" + no+"&state=<%=_state%>&_state=<%=_state1%>&relationproduct=<%=relationproduct%>&citycode=<%=citycode%>&areacode=<%=areacode%>&year=<%=year%>&quarter=<%=quarter%>&month=<%=month%>&xun=<%=xun%>&week=<%=week%>&rq=<%=rq%>&start=<%=start%>&end=<%=end%>";
   
    window.open(sURL,'windowRef','width=800,height=600,top=20,left=60,screenX=10,screenY=20,status=yes',scrollbar='yes');
}
//function changePageNo(no)
	//{
		//var sURL="Account_list.jsp?PageNo=" + no+"&state=<%=_state%>&_state=<%=_state1%>&citycode=<%=citycode%>&start=<%=start%>&end=<%=end%>";
		//window.open(sURL,"_self");
//}

 //function switchPage(that, idx){
			//if ( that.tagName == "A" ) {
				//changePageNo(idx);
			//}
		//}

		//function changePageNo(no) {
			//var sURL="Account_list.jsp?PageNo=" + no+"&state=<%=_state%>&_state=<%=_state1%>&areacode=<%=areacode%>&citycode=<%=citycode%>&year=<%=year%>&quarter=<%=quarter%>&month=<%=month%>&xun=<%=xun%>&rq=<%=rq%>&start=<%=start%>&end=<%=end%>";
			
		   // window.open(sURL,"_self");
		//}
		
			function gotoinput(){
		            window.location.href="Account_Stat.jsp";
	         }

</script>


		

⌨️ 快捷键说明

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