/ltd/ccs/ccs_gz/ccs_gscxy_bmldcx_main.asp
http://github.com/zhaowe/bc · ASP · 631 lines · 489 code · 105 blank · 37 comment · 33 complexity · 1810ef7731557d36e8a4db94f1d98428 MD5 · raw file
- <%@ Language=VBScript %>
-
- <%
-
- if trim(session("UID"))<>"" then
- dim objD
- set ObjD=server.CreateObject ("Com_UserManage.ClsUserManage")
- VerifyOk_gsld=objD.VerifyUserFunction (session("UID"),"ccs_gscxy")
- VerifyOk_gsfz=objD.VerifyUserFunction (session("UID"),"ccs_gsfzcx")
- 'if VerifyOk_gsld=false then
- 'session("errorNo")="000002"
- 'Response.Redirect "../../sorry/sorry.asp"
- 'else
- ' bm=Request.QueryString ("bm")
- 'end if
- else
- session("errorNo")="000001"
- Response.Redirect "../sorry/sorry.asp"
- end if
-
- 'dep=Request.QueryString ("dep")
-
-
-
-
- Set objConn = Server.CreateObject("ADODB.Connection")
- objConn.Open Application("OledbStr")
-
- Set objRst=server.CreateObject ("ADODB.Recordset")
- objRst.LockType=3
- objRst.CursorType=3
- set objRst.activeConnection=objConn
-
- Set objRst1=server.CreateObject ("ADODB.Recordset")
- objRst1.LockType=3
- objRst1.CursorType=3
- set objRst1.activeConnection=objConn
-
- Set objRst2=server.CreateObject ("ADODB.Recordset")
- objRst2.LockType=3
- objRst2.CursorType=3
- set objRst2.activeConnection=objConn
-
-
-
-
-
- emid=trim(session("emid"))
- loginid=trim(session("loginid"))
-
- sql="SELECT loginid,name,a.companyid,companyname FROM logininfo as a,companylocale as b "
- sql=sql+" where a.companyid=b.companyid and loginid='"& trim(session("loginid")) &"'"
- objrst.open sql
-
- if objrst.eof and objrst.bof then
- Response.Write "Êý¾Ý±í³ö´í£¬µÇ¼ÈËÕÒ²»µ½²¿ÃÅ"
- else
- depart=trim(objrst("companyname"))
- end if
- objrst.Close
-
- bm=trim(Request.QueryString ("bm"))
-
- 'if VerifyOk_gsld=true and bm<>"" then
- session("dep")=bm
- ' else
- ' bm=depart
- ' session("dep")=depart
- ' end if
-
- 'if bm="¹«Ë¾Áìµ¼" then
- ' bm=Request.QueryString ("bm")
- 'else
- ' session("dep")=bm
- 'end if
-
- 'bm="ÐÅÏ¢¹¤³Ì²¿"
-
- bm=session("dep")
-
-
-
-
-
- 'year1=year(date)
- 'date1=cdate(year1 & "-" & "1" & "-"&"1")
- 'date2=cdate(year1 & "-" & "3" & "-"&"1")
- 'date3=cdate(year1 & "-" & "6" & "-"&"1")
- 'date4=cdate(year1 & "-" & "9" & "-"&"1")
- 'date5=cdate(year1 & "-" & "12" & "-"&"1")
- 'riqi=cdate(year1 & "-" & "1" & "-"&"1")
- 'riqi1=cdate(year1 & "-" & "12" & "-"&"1")
-
- 'km=Request.QueryString ("km")
- 'session("km")=km
-
- lb=Request.QueryString ("month")
- 'Response.Write lb
- syear=trim(Request.QueryString ("syear"))
-
- if syear="" then syear=year(date)
-
- %>
- <html>
- <head>
- <title>Ô¤Ëã¹ÜÀíϵͳ--<%=bm%></title>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
-
- <style type="text/css">
- .px10 { font-size: 10px; line-height: 150%}
- .px12 { font-size: 12px; line-height: 150%}
- .px14 { font-size: 14px; line-height: 150%}
- .px16 { font-size: 16px; line-height: 150%}
- .px18 { font-size: 18px; line-height: 150%}
- .px24 { font-size: 24px; line-height: 150%}
- .px36 { font-size: 36px; line-height: 150%}
- .px48 { font-size: 48px; line-height: 150%}
- .px72 { font-size: 72px; line-height: 150%}
- body { font-size: 12px; line-height: 150%}
- p { font-size: 12px; line-height: 150%}
- td { font-size: 9px; line-height: 150%}
- input { font-size: 12px; line-height: 150%}
- select { font-size: 12px; line-height: 150%}
- .content4{FONT-SIZE:10PT; LINE-HEIGHT:9PT;}
- .contentindex{font-family: "ËÎÌå";FONT-SIZE:9pt; LINE-HEIGHT:11pt;}
- .enter {COLOR: #FFAF02; FONT-FAMILY: "ËÎÌå", "Arial", "Times New Roman"; FONT-SIZE: 11pt; TEXT-DECORATION: none ;font-weight: bold}
- .head1{FONT-SIZE:11pt; LINE-HEIGHT:18pt; font-weight: bold; }
- .head2{FONT-SIZE:10pt; LINE-HEIGHT:14pt; font-weight: bold; }
- .contentsmall{FONT-SIZE:9pt; LINE-HEIGHT:12pt;}
- .nav{FONT-SIZE:9pt; LINE-HEIGHT:10pt; color: #999999}
- .content{FONT-SIZE:10pt; LINE-HEIGHT:14pt;color: #000000:#000000}
- .news{FONT-SIZE:10pt; LINE-HEIGHT:14pt; color; color: #000000:#000000}
- .contentbig{FONT-SIZE:11pt; LINE-HEIGHT:14pt;}
- .info{ font-size: 9pt; line-height: 9pt; color: #FFFFFF}
- .footer{ font-size: 9pt; line-height: 12pt; font-weight: normal}
- .search { font-size: 10pt; line-height: 14pt; color: #ffffff; background-color: #75AEE3}
- .whitehead { font-size: 12pt; line-height: 15pt; color: #FFFFFF}
- .whitecontent { font-size: 10pt; line-height: 14pt; color: #ffffff}
- .bgcolor { background-color: #006797}
- .leftline { background-color: #FD7D04}
- a:active { color: #000000;; text-decoration: none}
- a:visited { color: #000000; font-weight: normal;; text-decoration: none}
- a:link { color: #000000; font-weight: normal; ; text-decoration: none}
- a.homepage:link { color: #000000; font-weight: normal;}
- a.homepage:visited { color: #000000; font-weight: normal;}
- a.homepage:active { color: #000000; font-weight: normal;}
- a.homepage:hover { color: #000000; font-weight: normal;}
- </style>
- <script language="JavaScript">
- <!--
- function MM_preloadimagess() { //v3.0
- var d=document; if(d.imagess){ if(!d.MM_p) d.MM_p=new Array();
- var i,j=d.MM_p.length,a=MM_preloadimagess.arguments; for(i=0; i<a.length; i++)
- if (a[i].indexOf("#")!=0){ d.MM_p[j]=new images; d.MM_p[j++].src=a[i];}}
- }
-
- function MM_swapImgRestore() { //v3.0
- var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
- }
-
- function MM_findObj(n, d) { //v4.01
- var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
- d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
- if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
- for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
- if(!x && d.getElementById) x=d.getElementById(n); return x;
- }
-
- function MM_swapimages() { //v3.0
- var i,j=0,x,a=MM_swapimages.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
- if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
- }
-
- function year1_onchange() {
- //sbm=selbm.value ;
- sbm='<%=bm%>';
- syear=year1.value ;
- surl='ccs_gscxy_bmldcx_main.asp?syear='+syear+'&bm='+sbm;
- window.document.location.href(surl);
- }
-
-
-
- function selbm_onchange() {
- sbm=selbm.value ;
- syear=year1.value ;
- if (sbm=="ËùÓв¿ÃÅ")
- surl='ccs_gsldcx_main.asp?syear='+syear
- else
- surl='ccs_gscxy_bmldcx_main.asp?syear='+syear+'&bm='+sbm;
- window.document.location.href(surl);
- }
-
-
- //-->
- </script>
-
- </head>
-
- <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" text="#000000" link="#3333FF" >
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td background="images/obj_hed1.gif">
- <table border="0" cellspacing="0" cellpadding="0" width="800">
- <tr>
- <td width="10"><img src="images/spacer.gif" width="10" height="35"></td>
- <td width="171"><img src="images/obj_maintitle.gif" width="171" height="30" border="0"></td>
- <td width="10"><img src="images/spacer.gif" width="10" height="35"></td>
- <td width="605">
- <table border="0" cellspacing="0" cellpadding="3" name="menubutton">
- <tr>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td><a href="ccs_gscxy_main.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapimages('images1','','images/bmcx.gif',1)"><img src="images/bmcx_1.gif" width="100" height="20" border="0" name="images1"></a></td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td><a href="ccs_gscxy_index.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapimages('images4','','images/fycx.gif',1)"><img src="images/fycx_1.gif" width="100" height="20" border="0" name="images4"></a></td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td><a href="ccs_gscxy_mxcx.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapimages('images4','','images/flcx_cf.jpg',1)"><img src="images/flcx_cf.jpg" width="100" height="20" border="0" name="images4"></a></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td bgcolor="#FF6600"><img src="images/spacer.gif" width="10" height="2"></td>
- </tr>
- </table>
- <table border="0" cellspacing="0" cellpadding="0" width="700">
- <tr>
- <td width="140"><img src="images/obj_hed2_left.jpg" width="140" height="98"></td>
- <td width="30"><img src="images/obj_hed2_center2.jpg" width="30" height="98"></td>
- <td width="470" valign="top" background="images/obj_hed2_right.jpg">
- <table width="300" border="0" cellspacing="0" cellpadding="0" background>
- <tr>
- <td><img src="images/spacer.gif" width="330" height="5"></td>
- <td><img src="images/spacer.gif" width="130" height="5"></td>
- </tr>
- <tr>
- <td valign="top">
- <table border="0" cellspacing="0" cellpadding="0" name="banner">
- <tr>
- <td colspan="2"><img src="images/spacer.gif" width="10" height="24"></td>
- </tr>
- <tr>
- <td><img src="images/ba1_point.gif" width="35" height="39"></td>
- <td><img src="images/lizztp1.gif" width="205" height="39"></td>
- </tr>
- </table>
- </td>
- <td align="right">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="images/spacer.gif" width="20" height="53"></td>
- </tr>
- <tr>
- <td><a href><img src="images/lizztp5.gif" width="138" height="28" border="0"></a></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
-
- </td>
- <td width="470" valign="top"><img src="images/obj_hed2_right-.jpg" width="60" height="73">
- </td>
- </tr>
- </table>
- <table width="740" border="0" cellspacing="0" cellpadding="0" height="90%">
- <tr>
- <td bgcolor="#000033" width="140" valign="top">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td background="images/obj_left.jpg">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="images/spacer.gif" width="140" height="45"></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <table border="0" cellspacing="5" cellpadding="0" width="140">
- <tr>
- <td>
- <hr width="130">
- </td>
- </tr>
-
- <tr>
- <td>
- <table width="130" border="0" cellspacing="0" cellpadding="1">
- <%objrst.Source ="select distinct sx=fkmcode,kem=fkmshuom,depar from cwys_km where depar='"& bm &"' and nian='"& syear &"' order by sx"
- 'objrst.Source ="select distinct kem,sx from shenzhencwys_dep where dep='"& session("dep") &"' order by sx"
- 'Response.Write "select distinct sx=fkmcode,kem=fkmshuom,depar from cwys_km where depar='"& bm &"' and nian='"& syear &"' order by sx"
- objrst.Open
- if objrst.EOF and objrst.BOF then
- else
- objrst.MoveFirst
- k=objrst("kem")
-
-
- while not objrst.EOF %>
- <tr>
- <td width="6" valign="top"><img src="images/a.gif" WIDTH="28" HEIGHT="28"></td>
- <td width="116"><a href="ccs_gscxy_bmldcx_index.asp?syear=<%=syear%>&bm=<%=bm%>&km=<%=objrst("kem")%>"><font class="px14" color="#FFFFFF"><%=objrst("kem")%></font></a></td>
- </tr>
- <%objrst.MoveNext %>
- <% wend
- end if
- %>
- <%objrst.Close%>
-
-
- </table>
- </td>
- </tr>
- <tr>
- <td>
- <hr width="130">
- </td>
- </tr>
-
- <tr>
-
- <td align=center><a href="ccs_gscxy_bmldcx_main.asp?syear=<%=year(date)%>&bm=<% =bm%>"><font class="px14" color="#FFFFFF">¸÷Ïîͳ¼Æ</font></a></td>
-
- </tr>
- </table>
- </td>
- <td width="5"><img src="images/spacer.gif" width="10" height="5"></td>
- <td width="595" valign="top">
-
- <table align="center" style="BORDER-RIGHT: #4983a0 1px solid; BORDER-TOP: #4983a0 1px solid; BORDER-LEFT: #4983a0 1px solid; BORDER-BOTTOM: #4983a0 1px solid" height="20" cellSpacing="0" cellPadding="0" width="775" border="0">
- <tbody>
-
-
- <%
- sql_ze="ze=a.niandu,"
- sql_fy=""
- cxsj=cstr(syear)+"È«Äê"
-
- select case cstr(lb)
- case "1":
- sql_ze="ze=a.jan,"
- sql_fy=" and month(mnytime)=1 "
- cxsj="Ò»Ô·Ý"
- case "2":
- sql_ze="ze=a.feb,"
- sql_fy=" and month(mnytime)=2 "
- cxsj="¶þÔ·Ý"
- case "3":
- sql_ze="ze=a.mar,"
- sql_fy=" and month(mnytime)=3 "
- cxsj="ÈýÔ·Ý"
- case "4":
- sql_ze="ze=a.apr,"
- sql_fy=" and month(mnytime)=4 "
- cxsj="ËÄÔ·Ý"
- case "5":
- sql_ze="ze=a.may,"
- sql_fy=" and month(mnytime)=5 "
- cxsj="ÎåÔ·Ý"
- case "6":
- sql_ze="ze=a.jun,"
- sql_fy=" and month(mnytime)=6 "
- cxsj="ÁùÔ·Ý"
- case "7":
- sql_ze="ze=a.jul,"
- sql_fy=" and month(mnytime)=7 "
- cxsj="ÆßÔ·Ý"
- case "8":
- sql_ze="ze=a.aug,"
- sql_fy=" and month(mnytime)=8 "
- cxsj="°ËÔ·Ý"
- case "9":
- sql_ze="ze=a.sep,"
- sql_fy=" and month(mnytime)=9 "
- cxsj="¾ÅÔ·Ý"
- case "10":
- sql_ze="ze=a.oct,"
- sql_fy=" and month(mnytime)=10 "
- cxsj="ʮԷÝ"
- case "11":
- sql_ze="ze=a.nov,"
- sql_fy=" and month(mnytime)=11 "
- cxsj="ʮһÔ·Ý"
- case "12":
- sql_ze="ze=a.dece,"
- sql_fy=" and month(mnytime)=12 "
- cxsj="Ê®¶þÔ·Ý"
-
- case "jd1":
- sql_ze="ze=a.jan+a.feb+a.mar,"
- sql_fy=" and (month(mnytime)>=1 and month(mnytime)<=3 ) "
- cxsj="½ØÖ¹Ò»¼¾¶È"
- case "jd2":
- sql_ze="ze=a.jan+a.feb+a.mar+a.apr+a.may+a.jun,"
- sql_fy=" and (month(mnytime)>=1 and month(mnytime)<=6 ) "
- cxsj="½ØÖ¹¶þ¼¾¶È"
- case "jd3":
- sql_ze="ze=a.jan+a.feb+a.mar+a.apr+a.may+a.jun+a.jul+a.aug+a.sep,"
- sql_fy=" and (month(mnytime)>=1 and month(mnytime)<=9 ) "
- cxsj="½ØÖ¹Èý¼¾¶È"
- case "jd4":
- sql_ze="ze=a.jan+a.feb+a.mar+a.apr+a.may+a.jun+a.jul+a.aug+a.sep+a.oct+a.nov+a.dece,"
- sql_fy=" and (month(mnytime)>=1 and month(mnytime)<=12 ) "
- cxsj="½ØÖ¹Ëļ¾¶È"
- case "È«Äê":
- sql_ze="ze=a.niandu,"
- sql_fy=""
- cxsj=cstr(syear)+"È«Äê"
-
- end select
-
-
- %>
-
- <tr>
- <td align="right" > </td></tr>
- <tr>
- <td align="center" ><font class="px12" color="black">ÄúĿǰ½øÈëµÄÊÇ<font color=red><font color=blue><%=bm%></font><%=cxsj%></font>¸÷¿ÆÄ¿Ô¤ËãÍê³ÉÇé¿öÒ³Ãæ</td></tr>
- <tr>
- <td align="right" > </td></tr>
- <tr>
- <td align="right" >
-
- <table>
-
- <tr><td>
-
- <% if VerifyOk_gsld=true then %>
- <font class="px12" color="red">ÇëÑ¡Ôñ²¿ÃÅ</font>
-
- <select name="selbm" LANGUAGE=javascript onchange="return selbm_onchange()">
- <option selected value="<%=bm%>"><%=bm%></option>
- <option value="ËùÓв¿ÃÅ">ËùÓв¿ÃÅ</option>
- <%
- 'sql="select distinct depart=companyname from companylocale order by companyname"
- sql="select distinct depart=companyname from cwysglbm where ysxs='1' order by companyname"
- objrst.Source =sql
- objrst.Open
- while not objrst.EOF
-
- %>
-
- <option value="<%=trim(objrst("depart"))%>"><%=trim(objrst("depart"))%></option>
- <%objrst.MoveNext
- wend
- objrst.Close
- %>
- </select>
- <% end if %>
-
- <% if VerifyOk_gsfz=true then %>
- <font class="px12" color="red">ÇëÑ¡Ôñ²¿ÃÅ</font>
-
- <select name="selbm" LANGUAGE=javascript onchange="return selbm_onchange()">
- <option selected value="<%=bm%>"><%=bm%></option>
- <option value="ËùÓв¿ÃÅ">ËùÓв¿ÃÅ</option>
- <%
- 'sql="select distinct depart=companyname from companylocale order by companyname"
- 'sql="select distinct depart=companyname from cwysglbm where ysxs='1' order by companyname"
- sql="select distinct depart=companyname from cwysglbm where ysxs='1' and ysfgld='"& emid &"' order by companyname"
- objrst.Source =sql
- objrst.Open
- while not objrst.EOF
-
- %>
-
- <option value="<%=trim(objrst("depart"))%>"><%=trim(objrst("depart"))%></option>
- <%objrst.MoveNext
- wend
- objrst.Close
- %>
- </select>
- <% end if %>
-
-
-
-
-
-
-
-
-
-
- <font class="px12" color="red"> ÇëÑ¡Ôñ²ÆÎñÔ¤ËãÄê·Ý</font>
- <select name="year1" style="HEIGHT: 22px; WIDTH: 57px" LANGUAGE=javascript onchange="return year1_onchange()">
- <option selected value="<%=syear%>"><%=syear%></option>
- <option value="<%=year(date)-1%>"><%=year(date)-1%></option>
- <option value="<%=year(date)%>"><%=year(date)%></option>
- <option value="<%=year(date)+1%>"><%=year(date)+1%></option>
- </select>
- <font color="#ff0000"></font>
-
- </td>
-
- </tr>
- </table>
- </td></tr>
- </tbody></table>
-
-
- <%
-
-
-
-
-
-
-
- sql="select ys_year,fkmshuom,ze,je=sum(je),bl=sum(je)/ze from "
- sql=sql+"( "
- sql=sql+"select a.*,je=isnull(b.price,0) from "
- sql=sql+"( "
- sql=sql+"select a.depar,a.ys_year,a.fkmcode,"
- 'sql=sql+"a.niandu,"
- sql=sql+sql_ze
- sql=sql+"b.fkmshuom from cwys_ed as a,cwys_km as b "
- sql=sql+"where a.depar='"& bm &"' and a.ys_year='"& syear &"' and a.fkmcode=b.fkmcode and a.ys_year=b.nian and a.depar=b.depar"
- sql=sql+") as a "
- sql=sql+"left join cwys_infoin b on a.depar=b.mnydepm and a.fkmcode=b.mnykmcode and a.ys_year=b.mnyyear and ifhandin='ÊÇ' and cz<>'ɾ³ý' "
- sql=sql+sql_fy
- sql=sql+") as c "
- sql=sql+"group by ys_year,fkmshuom,fkmshuom,ze "
-
- 'Response.Write sql
- sql_sort=" order by fkmshuom "
- sql_lb="select * from ( "+sql+" ) as taball "+sql_sort
-
- objrst.Source = sql_lb
- 'Response.Write sql
- objRst.Open
- if objrst.EOF and objrst.BOF then %>
- <P>
- <P align=center><font class="px12" color="black"><FONT color=crimson><STRONG><%=syear%>ÄêÎÞ¿ÆÄ¿Ô¤ËãÊý¾Ý
- <%else%>
-
- <table align="center" cellSpacing="0" cellPadding="0" width="777" border="0">
- <tbody>
- <tr>
- <td colSpan="2" height="3"></td></tr>
- <tr>
- <td vAlign="top" width="73%">
- <table style="BORDER-RIGHT: #4983a0 1px solid; BORDER-TOP: #4983a0 1px solid; BORDER-LEFT: #4983a0 1px solid; BORDER-BOTTOM: #4983a0 1px solid" height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
- <tbody>
- <tr>
- <td style="PADDING-LEFT: 10px; PADDING-TOP: 2px" bgColor="#4983a0" height="20"><font style="COLOR: #ffffff; FONT-FAMILY: Webdings">4</font><font color="#ffffff"><b></b></font> <font color=white><a href="ccs_gscxy_bmldcx_main.asp?syear=<%=syear%>&bm=<%=bm%>&month=1"><font class="px12" color=white>1ÔÂ</a> <a href="ccs_gscxy_bmldcx_main.asp?syear=<%=syear%>&bm=<%=bm%>&month=2"><font class="px12" color=white>2ÔÂ</a> <a href="ccs_gscxy_bmldcx_main.asp?syear=<%=syear%>&bm=<%=bm%>&month=3"><font class="px12" color=white>3ÔÂ</a> <a href="ccs_gscxy_bmldcx_main.asp?syear=<%=syear%>&bm=<%=bm%>&month=4"><font class="px12" color=white>4ÔÂ</a> <a href="ccs_gscxy_bmldcx_main.asp?syear=<%=syear%>&bm=<%=bm%>&month=5"><font class="px12" color=white>5ÔÂ</a> <a href="ccs_gscxy_bmldcx_main.asp?syear=<%=syear%>&bm=<%=bm%>&month=6"><font class="px12" color=white>6ÔÂ</a> <a href="ccs_gscxy_bmldcx_main.asp?syear=<%=syear%>&bm=<%=bm%>&month=7"><font class="px12" color=white>7ÔÂ</a> <a href="ccs_gscxy_bmldcx_main.asp?syear=<%=syear%>&bm=<%=bm%>&month=8"><font class="px12" color=white>8ÔÂ</a> <a href="ccs_gscxy_bmldcx_main.asp?syear=<%=syear%>&bm=<%=bm%>&month=9"><font class="px12" color=white>9ÔÂ</a> <a href="ccs_gscxy_bmldcx_main.asp?syear=<%=syear%>&bm=<%=bm%>&month=10"><font class="px12" color=white>10ÔÂ</a> <a href="ccs_gscxy_bmldcx_main.asp?syear=<%=syear%>&bm=<%=bm%>&month=11"><font class="px12" color=white>11ÔÂ</a> <a href="ccs_gscxy_bmldcx_main.asp?syear=<%=syear%>&bm=<%=bm%>&month=12"><font class="px12" color=white>12ÔÂ </a>
- <a href="ccs_gscxy_bmldcx_main.asp?syear=<%=syear%>&bm=<%=bm%>&month=jd1"><font class="px12" color=white> µÚÒ»¼¾¶È </a><a href="ccs_gscxy_bmldcx_main.asp?syear=<%=syear%>&bm=<%=bm%>&month=jd2"><font class="px12" color=white>µÚ¶þ¼¾¶È </a><a href="ccs_gscxy_bmldcx_main.asp?syear=<%=syear%>&bm=<%=bm%>&month=jd3"><font class="px12" color=white>µÚÈý¼¾¶È </a><a href="ccs_gscxy_bmldcx_main.asp?syear=<%=syear%>&bm=<%=bm%>&month=jd4"><font class="px12" color=white>µÚËļ¾¶È </a></font><a href="ccs_gscxy_bmldcx_main.asp?syear=<%=syear%>&bm=<%=bm%>"><font class="px12" color=white>È«Äê </a></font></td></tr>
- <tr>
- <td vAlign="top">
- <table cellSpacing="1" cellPadding="0" width="100%">
- <tbody>
- <tr bgColor="#7dadc4" height="20">
- <td align="middle" ><font class="px12" color="black">ÕÊĿʱ¼ä</td>
- <td align="middle" ><font class="px12" color="black">·ÑÓÿÆÄ¿</td>
- <td align="middle" ><font class="px12" color="black">Ö¸±ê</td>
- <td align="middle" ><font class="px12" color="black">Íê³ÉÇé¿ö</td>
- <td align="middle" ><font class="px12" color="black">Ê£ÓàÇé¿ö</td>
- <td align="middle" ><font class="px12" color="black">Íê³ÉÂÊ</td>
- </tr>
- <%
-
- while not objrst.EOF
- cbys="#ecf7fd"
- if objrst("bl")>1 and not isnumeric(lb) then cbys="#ef867a"
-
- %>
- <tr bgColor="<%=cbys%>" height="20">
- <td align="middle" ><font class="px12" color="black"><%=cxsj%></td>
- <td align="middle" ><font class="px12" color="black"><a href="ccs_gscxy_bmldcx_index.asp?syear=<%=syear%>&bm=<%=bm%>&km=<%=trim(objrst("fkmshuom"))%>&smonth=<%=lb%>"><%=objrst("fkmshuom")%></A></td>
- <td align="middle" ><font class="px12" color="black"><%=objrst("ze")%></td>
- <td align="middle" ><font class="px12" color="black"><%=objrst("je")%></td>
- <td align="middle" ><font class="px12" color="black"><%=objrst("ze")-objrst("je")%></td>
- <td align="middle" ><font class="px12" color="black"><%=formatpercent(objrst("bl"),2,-1)%></td>
-
- </tr>
- <%
- objrst.MoveNext
- wend%>
- <%objrst.Close %>
-
- <%
- sql_hj="select ze=sum(ze),je=isnull(sum(je),0),bl=isnull(sum(je)/sum(ze),0) from ( "
- sql_hj=sql_hj+sql
- sql_hj=sql_hj+" ) as sy "
-
- objrst.Source =sql_hj
- objrst.Open
- %>
-
- <tr bgColor="#ecf7fd" height="20">
- <td align="middle" ><font class="px12" color="blue"><%=cxsj%>ºÏ¼Æ</td>
- <td align="middle" ><font class="px12" color="blue"><a href="ccs_gscxy_bmldcx_main.asp?syear=<%=syear%>&bm=<% =bm%>">ËùÓпÆÄ¿</A></td>
- <td align="middle" ><font class="px12" color="blue"><%=objrst("ze")%></td>
- <td align="middle" ><font class="px12" color="blue"><%=objrst("je")%></td>
- <td align="middle" ><font class="px12" color="black"><%=objrst("ze")-objrst("je")%></td>
- <td align="middle" ><font class="px12" color="blue"><%=formatpercent(objrst("bl"),2,-1)%></td>
-
- </tr>
- <%objrst.Close %>
-
-
- </tbody></table></td></tr></tbody></table>
-
-
-
- <%end if%>
-
-
- <br>
-
- <table border="0" cellspacing="0" cellpadding="0" align="center">
- <tr>
- <td><font class="px12">Copyright 2006, ÖйúÄÏ·½º½¿ÕÉîÛÚ¹«Ë¾ÐÅÏ¢¹¤³Ì²¿</font></td>
- </tr>
- </table>
- <p>¡¡</p>
- </td>
- </tr>
- </table>
- </body>
- </html>