📄 account_stat.jsp
字号:
<div id="succ_one" style="display:none">
<table width="1007">
<tr>
<td class="Caption_Td">
<select name="year1">
<option value="">-请选择-</option>
<%
java.util.Date date = new java.util.Date();
java.util.Calendar calender = new java.util.GregorianCalendar();
calender.setTime(date);
int mmcalender=calender.get(Calendar.MONTH)+1;
for(int t=0;t<10;t++){
int yy=calender.get(Calendar.YEAR)-t;
%>
<option value="<%=yy%>"><%=yy%></option>
<%}%>
</select>年
</td>
</tr>
</table>
</div>
<div id="succ_two" style="display:none">
<table width="1004">
<tr>
<td class="Caption_Td" width="98">
<select name="year2" >
<option value="">-请选择-</option>
<%
java.util.Date _date = new java.util.Date();
java.util.Calendar _calender = new java.util.GregorianCalendar();
calender.setTime(_date);
int _mmcalender=_calender.get(Calendar.MONTH)+1;
for(int t=0;t<10;t++){
int yy=calender.get(Calendar.YEAR)-t;
%>
<option value="<%=yy%>" ><%=yy%></option>
<%}%>
</select>年
</td>
<td class="Caption_Td">第
<select name="quarter">
<option value="">-请选择-</option>
<option value="1">一</option>
<option value="2">二</option>
<option value="3">三</option>
<option value="4">四</option>
</select>季度
</td>
</tr>
</table>
</div>
<div id="succ_three" style="display:none">
<table width="1005">
<tr>
<td class="Caption_Td" width="98">
<select name="year3" >
<option value="">-请选择-</option>
<%
java.util.Date date3 = new java.util.Date();
java.util.Calendar calender3 = new java.util.GregorianCalendar();
calender.setTime(date3);
int mmcalender3=calender3.get(Calendar.MONTH)+1;
for(int t=0;t<10;t++){
int yy=calender3.get(Calendar.YEAR)-t;
%>
<option value="<%=yy%>" ><%=yy%></option>
<%}%>
</select>年
</td>
<td class="Caption_Td">
<select name="month1">
<option value="">-请选择-</option>
<%
calender3.setTime(date3);
for(int t=1;t<13;t++){
int mmend=t;%>
<option value="<%=mmend%>"><%=mmend%></option>
<%
}
%>
</select>月
</td>
</tr>
</table>
</div>
<div id="succ_four" style="display:none">
<table width="1004">
<tr>
<td class="Caption_Td" width="99">
<select name="year4" >
<option value="">-请选择-</option>
<%
java.util.Date date4 = new java.util.Date();
java.util.Calendar calender4 = new java.util.GregorianCalendar();
calender.setTime(date4);
int mmcalender4=calender4.get(Calendar.MONTH)+1;
for(int t=0;t<10;t++){
int yy=calender4.get(Calendar.YEAR)-t;
%>
<option value="<%=yy%>" ><%=yy%></option>
<%}%>
</select>年
</td>
<td class="Caption_Td" width="109">
<select name="month2">
<option value="">-请选择-</option>
<%
calender3.setTime(date3);
for(int t=1;t<13;t++){
int mmend=t;%>
<option value="<%=mmend%>"><%=mmend%></option>
<%
}
%>
</select>月
</td>
<td class="Caption_Td">
<select name="xun">
<option value="">-请选择-</option>
<option value="1">上</option>
<option value="2">中</option>
<option value="3">下</option>
</select>旬
</td>
</tr>
</table>
</div>
<div id="succ_serven" style="display:none">
<table width="1006">
<tr>
<td class="Caption_Td" width="91">
<select name="year5" >
<option value="">-请选择-</option>
<%
java.util.Date date7 = new java.util.Date();
java.util.Calendar calender7 = new java.util.GregorianCalendar();
calender.setTime(date7);
int mmcalender7=calender7.get(Calendar.MONTH)+1;
for(int t=0;t<10;t++){
int yy=calender7.get(Calendar.YEAR)-t;
%>
<option value="<%=yy%>"><%=yy%></option>
<%}%>
</select>年
</td>
<td class="Caption_Td" width="121">第
<select name="month3" >
<option value="">-请选择-</option>
<%
calender3.setTime(date3);
for(int t=1;t<13;t++){
int mmend=t;%>
<option value="<%=mmend%>"><%=mmend%></option>
<%
}
%>
</select>月
</td>
<td class="Caption_Td">第
<select name="week">
<option value="">-请选择-</option>
<option value="1">一</option>
<option value="2">二</option>
<option value="3">三</option>
<option value="4">四</option>
</select>周
</td>
</tr>
</table>
</div>
<div id="succ_six" style="display:none">
<table width="1006">
<tr>
<td class="Caption_Td">
开始时间<input type="text" name="StartTIME" id="StartTIME" size="16" /><span style="cursor:hand" onClick="return showCalendar('StartTIME', '%Y-%m-%d %H:%M', '24', true);">
<img border="0" src="../calendar/date_botton.gif" width="20" height="14"></span>
</td>
<td class="Caption_Td" width="768">
结束时间<input type="text" name="EndTIME" id="EndTIME" size="16" /><span style="cursor:hand" onClick="return showCalendar('EndTIME', '%Y-%m-%d %H:%M', '24', true);">
<img border="0" src="../calendar/date_botton.gif" width="20" height="14"></span>
</td>
</tr>
</table>
</div>
</form>
</div>
<div id="divMain" style="overflow: auto">
<table style="font-size: 9pt; border-bottom: #efefef 1px outset" cellspacing="0"
cellpadding="0" width="100%" border="0" class="OuterTable">
<tr class="OuterHead">
<td nowrap="nowrap" style="text-align:left"> <span id="ItemTitle"><font face="webdings">8</font>注册帐号汇总表 您统计的方式为:
<% if(!year.equals("")){out.print(year);out.print("年");}
if(!quarter.equals("")){out.println("第");out.print(quarter);out.print("季度");}
if(!month.equals("")){out.println("第");out.print(month);out.print("月");}
if(!xun.equals("")){
if(xun.equals("1")){out.print("上旬");}
if(xun.equals("2")){out.print("中旬");}
if(xun.equals("3")){out.print("下旬");}
}
if(!week.equals("")){
if(week.equals("1")){out.print("第一周");}
if(week.equals("2")){out.print("第二周");}
if(week.equals("3")){out.print("第三周");}
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="center" width="5%" rowspan="2">地市</td>
<td class="title_td" align="center" width="5%" rowspan="2">总帐号数</td>
<% if(lx.equals("E")||lx.equals("")){%>
<td class="title_td" align="center" width="5%" colspan="2">在用</td>
<%}%>
<%if(lx.equals("D")||lx.equals("")){%>
<td class="title_td" align="center" width="5%" colspan="3">已注销</td>
<%}%>
</tr>
<tr class="OuterHead">
<%if(lx.equals("E")||lx.equals("")){%>
<td class="title_td" align="center" width="5%">未激活</td>
<td class="title_td" align="center" width="5%">已激活</td>
<!--<td class="title_td" align="center" width="5%">自动锁定</td>-->
<%}if(lx.equals("D")||lx.equals("")){%>
<td class="title_td" align="center" width="5%">未激活</td>
<td class="title_td" align="center" width="5%">已激活</td>
<td class="title_td" align="center" width="5%">自动锁定</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"
onselected="return onChoosed();"
onunselected="return onUnChoosed();"
ondblclick="return fn_dblClick();"
class="InnerTable"
locked="true">
<%
if(dataTable.getRows().getCount()>0)
{
for(int i=0;i<dataTable.getRows().getCount();i++)
{
%>
<tr class="InnerMain" style="color: black" key="">
<%if(auth.getCityCode()==null || auth.getCityCode().equals("")){%>
<td class="body_td" align="left" width="5%" nowrap><%=dataTable.getRow(i).getString("cityname")%></td>
<%}else{%>
<td class="body_td" align="left" width="5%" nowrap><%=dataTable.getRow(i).getString("areaname")%></td>
<%}%>
<%if(lx.equals("E")){%>
<td class="body_td" align="left" width="5%" nowrap><%=(int)Integer.parseInt(dataTable.getRow(i).getString("ne_cnt"))+(int)Integer.parseInt(dataTable.getRow(i).getString("ae_cnt"))+(int)Integer.parseInt(dataTable.getRow(i).getString("fl_cnt"))%></td>
<%}%>
<%if(lx.equals("D")){%>
<td class="body_td" align="left" width="5%" nowrap><%=(int)Integer.parseInt(dataTable.getRow(i).getString("nd_cnt"))+(int)Integer.parseInt(dataTable.getRow(i).getString("ad_cnt"))+(int)Integer.parseInt(dataTable.getRow(i).getString("gl_cnt"))%></td>
<%}%>
<%if(lx.equals("")){%>
<td class="body_td" align="left" width="5%" nowrap><%=(int)Integer.parseInt(dataTable.getRow(i).getString("ae_cnt"))+(int)Integer.parseInt(dataTable.getRow(i).getString("ne_cnt"))+(int)Integer.parseInt(dataTable.getRow(i).getString("nd_cnt"))+(int)Integer.parseInt(dataTable.getRow(i).getString("ad_cnt"))+(int)Integer.parseInt(dataTable.getRow(i).getString("fl_cnt"))+(int)Integer.parseInt(dataTable.getRow(i).getString("gl_cnt"))%></td>
<%}%>
<%
if(auth.getCityCode()==null || auth.getCityCode().equals("")){
if(lx.equals("E")||lx.equals("")){%>
<td class="body_td" align="left" width="5%" nowrap><a href="Account_list.jsp?state=E&_state=N&relationproduct=<%=relationproduct%>&citycode=<%=dataTable.getRow(i).getString("citycode")%>&year=<%=year%>&quarter=<%=quarter%>&month=<%=month%>&xun=<%=xun%>&week=<%=week%>&rq=<%=rq%>&start=<%=start%>&end=<%=end%>"><u><%=dataTable.getRow(i).getString("ne_cnt")%></u></a></td>
<td class="body_td" align="left" width="5%" nowrap><a href="Account_list.jsp?state=E&_state=A&relationproduct=<%=relationproduct%>&citycode=<%=dataTable.getRow(i).getString("citycode")%>&year=<%=year%>&quarter=<%=quarter%>&month=<%=month%>&xun=<%=xun%>&week=<%=week%>&rq=<%=rq%>&start=<%=start%>&end=<%=end%>"><u><%=dataTable.getRow(i).getString("ae_cnt")%></u></a></td>
<!--<td class="body_td" align="left" width="5%" nowrap><a href="Account_list.jsp?state=E&_state=L&relationproduct=<%=relationproduct%>&citycode=<%=dataTable.getRow(i).getString("citycode")%>&year=<%=year%>&quarter=<%=quarter%>&month=<%=month%>&xun=<%=xun%>&week=<%=week%>&rq=<%=rq%>&start=<%=start%>&end=<%=end%>"><u><%=dataTable.getRow(i).getString("fl_cnt")%></u></a></td>-->
<% } if(lx.equals("D")||lx.equals("")){%>
<td class="body_td" align="left" width="5%" nowrap><a href="Account_list.jsp?state=D&_state=N&relationproduct=<%=relationproduct%>&citycode=<%=dataTable.getRow(i).getString("citycode")%>&year=<%=year%>&quarter=<%=quarter%>&month=<%=month%>&xun=<%=xun%>&week=<%=week%>&rq=<%=rq%>&start=<%=start%>&end=<%=end%>"><u><%=dataTable.getRow(i).getString("nd_cnt")%></u></a></td>
<td class="body_td" align="left" width="5%" nowrap><a href="Account_list.jsp?state=D&_state=A&relationproduct=<%=relationproduct%>&citycode=<%=dataTable.getRow(i).getString("citycode")%>&year=<%=year%>&quarter=<%=quarter%>&month=<%=month%>&xun=<%=xun%>&week=<%=week%>&rq=<%=rq%>&start=<%=start%>&end=<%=end%>"><u><%=dataTable.getRow(i).getString("ad_cnt")%></u></a></td>
<td class="body_td" align="left" width="5%" nowrap><a href="Account_list.jsp?state=D&_state=L&relationproduct=<%=relationproduct%>&citycode=<%=dataTable.getRow(i).getString("citycode")%>&year=<%=year%>&quarter=<%=quarter%>&month=<%=month%>&xun=<%=xun%>&week=<%=week%>&rq=<%=rq%>&start=<%=start%>&end=<%=end%>"><u><%=dataTable.getRow(i).getString("gl_cnt")%></u></a></td>
<%}
}else{
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -