<!--#include file="conndb.asp"--> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <LINK href="images/AdsLater.css" mce_href="images/AdsLater.css" rel=stylesheet> <LINK href="images/fontfix.css" mce_href="images/fontfix.css" rel=stylesheet> <TITLE>adwordschina:流水账</title> </head> <body dir=ltr> <mce:style type="text/css"><!-- .tt { font-size: 24pt; color: #000000; font-weight: bold; } a:link { text-decoration: none; } a:visited { text-decoration: none; } a:hover { text-decoration: none; } a:active { text-decoration: none; } body { margin-top: 0px; margin-bottom: 0px; background:url(images/bulletin_ad_bg.jpg) top center no-repeat; } --></mce:style><style type="text/css" mce_bogus="1">.tt { font-size: 24pt; color: #000000; font-weight: bold; } a:link { text-decoration: none; } a:visited { text-decoration: none; } a:hover { text-decoration: none; } a:active { text-decoration: none; } body { margin-top: 0px; margin-bottom: 0px; background:url(images/bulletin_ad_bg.jpg) top center no-repeat; }</style> <mce:script language="JavaScript" type="text/JavaScript"><!-- function MM_jumpMenu(targ,selObj,restore){ window.location.href=selObj; } // --></mce:script> <table width="1028" height="848" align="center"> <tr> <td width="1020" valign="top" align="center"> <table width="1028" height="95" align="center"> <tr> <td height="89" valign="bottom"> <table width="1028" height="40" align="center"> <tr> <td valign="top" align="right"> <%=Request.Cookies("web_admin")%> <A href="guestbook.asp" mce_href="guestbook.asp">与我们联系</A> | <A href="help.asp" mce_href="help.asp">帮助</A> | <A href="logout.asp" mce_href="logout.asp">退出</A> </td> </tr> </table> <table width="1028" height="31" align="center"> <tr> <td width="11" height="25" align="left"></td> <td width="63" align="center"><a href="adinfo.asp" mce_href="adinfo.asp" style="text-decoration:none;color:#000;font-size:14px;" mce_style="text-decoration:none;color:#000;font-size:14px;">首页</a> </td> <td width="77" align="center"><a href="memberinfo.asp" mce_href="memberinfo.asp" style="text-decoration:none;color:#000;font-size:14px;" mce_style="text-decoration:none;color:#000;font-size:14px;">账户信息</a></td> <td width="66" align="center"><a href="bulletin_ad.asp" mce_href="bulletin_ad.asp" style="text-decoration:none;color:#fff;font-weight:bold;font-size:14px;" mce_style="text-decoration:none;color:#fff;font-weight:bold;font-size:14px;">财务</a></td> <td width="507" align="center"></td> <td width="276" align="center"></td> </tr> </table> </td> </tr> </table> <table width="1028" height="523" align="center"> <tr> <td width="484" height="18" align="left" valign="top"> <A href="bulletin_ad.asp" mce_href="bulletin_ad.asp" style="text-decoration:none;color:#fff;" mce_style="text-decoration:none;color:#fff;">按时间浏览</A><span class="STYLE2"> </td> </tr> <tr> <td width="1028" height="497" align="center" valign="top"> <!--start--> <DIV class=mainpagebody> <H4 class=pageHead>我的流水账--按时间浏览</H4> <BR> 您的预付款余额:<FONT color=#ff0000><b><FONT size=2>¥<%=clng(Request.Cookies("yue")-Request.Cookies("xiao"))%> </FONT></b></FONT> 元人民币 <FORM name=formx action="bulletin.asp" method="post"> <TABLE> <TBODY> <TR> <TD> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD width="1"><FONT face=宋体><FONT face=宋体><INPUT id=Radio1 οnclick=update_enabled_F1(true) type=radio CHECKED value=Radio1 name=RadioGroup> </FONT></FONT></TD> <TD noWrap colSpan=4 height=30><FONT face=宋体> <SELECT id=timeperiod_simpletimeperiod name=timeperiod_simpletimeperiod> <OPTION value=0 selected>所有时间</OPTION> <OPTION value=1>上一天</OPTION> <OPTION value=2>最近七天</OPTION> <OPTION value=3>本月</OPTION> <OPTION value=4>上个月</OPTION> </SELECT> </FONT></TD></TR> <TR> <TD><FONT face=宋体> <INPUT id=Radio2 οnclick=update_enabled_F1(true) type=radio value=Radio2 name=RadioGroup> </FONT></TD> <TD noWrap> <DIV class=errorbox-good><FONT face=宋体> <SELECT id=timeperiod_begin_year style="WIDTH: 61px; HEIGHT: 24px" name=timeperiod_begin_year> <% for i=2002 to 2011 %> <OPTION value=<%=i%> <% if year(now())=i then Response.Write " selected" %>><%=i%></OPTION> <% next %> </SELECT> </FONT> <FONT face=宋体> <SELECT id=timeperiod_begin_month style="WIDTH: 47px; HEIGHT: 24px" name=timeperiod_begin_month> <% for i=1 to 12 %> <OPTION value=<%=i%> <% if month(now())=i then Response.Write " selected" %>><%=i%></OPTION> <% next %> </SELECT> </FONT> <FONT face=宋体> <SELECT id=timeperiod_begin_day style="WIDTH: 40px; HEIGHT: 24px" name=timeperiod_begin_day> <% for j=1 to 31 %> <OPTION value=<%=j%> <% if j=1 then Response.Write " selected" %>><%=j%></OPTION> <% next %> </SELECT> </FONT></DIV></TD> <TD> - </TD> <TD noWrap> <DIV class=errorbox-good><FONT face=宋体> <SELECT id=timeperiod_end_year style="WIDTH: 61px; HEIGHT: 24px" name=timeperiod_end_year> <% for i=2002 to 2011 %> <OPTION value=<%=i%> <% if year(now())=i then Response.Write " selected" %>><%=i%></OPTION> <% next %> </SELECT> </FONT> <FONT face=宋体> <SELECT id=timeperiod_end_month style="WIDTH: 40px; HEIGHT: 24px" name=timeperiod_end_month> <% for i=1 to 12 %> <OPTION value=<%=i%> <% if month(now())=i then Response.Write " selected" %>><%=i%></OPTION> <% next %> </SELECT> </FONT> <FONT face=宋体><SELECT id=timeperiod_end_day style="WIDTH: 40px; HEIGHT: 24px" name=timeperiod_end_day> <% for j=1 to 31 %> <OPTION value=<%=j%> <% if day(now())=j then Response.Write " selected" %>><%=j%></OPTION> <% next %> </SELECT> </FONT></DIV></TD> <TD> <INPUT type=submit value=开始 name=timeperiod> </TD></TR> <TR> <TD vAlign=bottom colSpan=5> </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></FORM> <TABLE borderColor=#006600 cellSpacing=1 borderColorDark=#ffffff cellPadding=1 width="97%" border=1 class=report> <TBODY> <TR bgColor=#cccccc> <TD width="17%" height="25" noWrap bgcolor="#cccccc"><DIV align=center>广告计划</DIV></TD> <TD width="15%" noWrap><DIV align=center>摘要</DIV></TD> <TD noWrap><DIV align=center>Google广告点击费</DIV></TD> <TD width="19%" noWrap><DIV align=center>到款金额</DIV></TD> <TD width="23%" noWrap><DIV align=center>记账时间</DIV></TD> </TR> <% set ptr1=server.CreateObject("adodb.recordset") sql="select * from jilu where admin='"&Request.Cookies("web_admin")&"' " if request("RadioGroup")="Radio1" then '全部时间搜索 if request("timeperiod_simpletimeperiod")=0 then sql=sql elseif request("timeperiod_simpletimeperiod")=1 then sql=sql&" and datediff(""d"",shijian,"""&dateadd("d","-1",now())&""")=0 " elseif request("timeperiod_simpletimeperiod")=2 then sql=sql&" and datediff(""d"","""&dateadd("d","-7",now())&""",shijian)<=7 and datediff(""d"","""&dateadd("d","-7",now())&""",shijian)>=0" elseif request("timeperiod_simpletimeperiod")=3 then sql=sql&" and datediff(""m"",shijian,"""&now()&""")=0 " elseif request("timeperiod_simpletimeperiod")=4 then sql=sql&" and datediff(""m"",shijian,"""&now()&""")=1 " end if elseif request("RadioGroup")="Radio2" then '时间段搜索 times1=request("timeperiod_begin_year")&"-"&request("timeperiod_begin_month")&"-"&request("timeperiod_begin_day") times2=request("timeperiod_end_year")&"-"&request("timeperiod_end_month")&"-"&request("timeperiod_end_day") sql=sql&" and datediff(""d"","""×1&""",shijian)>=0 and datediff(""d"",shijian,"""×2&""")>=0" end if sql=sql&" order by shijian desc" ptr1.open sql,conn,1,1 if ptr1.recordcount<>0 then ptr1.pagesize=20 page=clng(request.QueryString("page")) if page<1 then page=1 if page>ptr1.pagecount then page=ptr1.pagecount ptr1.absolutepage=page j=1 for i = 1 to ptr1.pagesize %> <TR bgColor=#dbe6de> <TD noWrap><DIV align=left><%=Request.Cookies("company")%> </DIV></TD> <TD align="center" noWrap bgcolor="#dbe6de"><% if ptr1("site")=1 then %>点击费用<% else %>入账 <% end if %> </TD> <TD align="center" noWrap><div align="center"> <% if ptr1("site")=1 then %> ¥<%=ptr1("price")%><% end if %> </div></TD> <TD align="center" noWrap><div align="center"> <% if ptr1("site")=0 then %>¥<%=ptr1("price")%><% end if %> </div></TD> <TD align="center" noWrap><%=datevalue(ptr1("shijian"))%></TD> </TR> <% ptr1.movenext if ptr1.eof then exit for next %> </TBODY> </TABLE> <br> <BLOCKQUOTE> <P align=left> <table width="96%" border="0" align="center" cellpadding="0" cellspacing="6"> <tr> <td width="709" align="center" valign="top"> <% if page=1 then response.Write("首页") else response.Write("<a href="?page=1&type=" mce_href="?page=1&type=""&request("type")&"&class="&request("class")&"&keys="&keys&"&keys_title="&request("keys_title")&">首页</a>") end if if page=1 then response.Write(" 上一页") else response.Write(" <a href="?page=" mce_href="?page="" & page-1 & "&type="&request("type")&"&class="&request("class")&"&keys="&keys&"&keys_title="&request("keys_title")&">上一页</a>") end if if page=ptr1.pagecount then response.Write(" 下一页") else response.Write(" <a href="?page=" mce_href="?page="" & page+1 & "&type="&request("type")&"&class="&request("class")&"&keys="&keys&"&keys_title="&request("keys_title")&">下一页</a>") end if if page=ptr1.pagecount then response.Write(" 末页") else response.Write(" <a href="?page=" mce_href="?page="" & ptr1.pagecount & "&type="&request("type")&"&class="&request("class")&"&keys="&keys&"&keys_title="&request("keys_title")&">末页</a>") end if %> <%=page%>/<%=ptr1.pagecount%>页 共<%=ptr1.recordcount%>条记录! 第 <select name="menu1" onChange="MM_jumpMenu('parent',value,0)"> <% for i = 1 to ptr1.pagecount %> <option value="?page=<%=i%>&type=<%=request("type")%>&class=<%=request("class")%>&keys=<%=keys%>&keys_title=<%=request("keys_title")%>" <%if page=i then%> selected<%end if%>><%=i%></option> <% next%> </select> 页<%if n=1 then%><INPUT type=hidden name=slt><%end if%><%end if%></td> </tr> </table></P> </BLOCKQUOTE> </DIV> <!--end--> </td> </tr> </table> <SCRIPT type=text/javascript><!-- function showadv(){ other.style.display = ""; } function showadv1(){ other.style.display = "none"; window.location="#keywords"; } function CheckNum(){ if((event.keyCode<48||event.keyCode>57)&&event.keyCode!=46) event.returnValue=false; } function update_enabled_F1(simple) { var f = document.getElementById("formx"); if(f["Radio1"].checked) { f["timeperiod_simpletimeperiod"].disabled = !simple; f["timeperiod_begin_year"].disabled = simple; f["timeperiod_begin_month"].disabled = simple; f["timeperiod_begin_day"].disabled = simple; f["timeperiod_end_year"].disabled = simple; f["timeperiod_end_month"].disabled = simple; f["timeperiod_end_day"].disabled = simple; //f["Button1"].disabled = simple; } else if(f["Radio2"].checked) { f["timeperiod_simpletimeperiod"].disabled = simple; f["timeperiod_begin_year"].disabled = !simple; f["timeperiod_begin_month"].disabled = !simple; f["timeperiod_begin_day"].disabled = !simple; f["timeperiod_end_year"].disabled = !simple; f["timeperiod_end_month"].disabled = !simple; f["timeperiod_end_day"].disabled = !simple; //f["Button1"].disabled = !simple; } else { f["timeperiod_simpletimeperiod"].disabled = false; f["timeperiod_begin_year"].disabled = true; f["timeperiod_begin_month"].disabled = true; f["timeperiod_begin_day"].disabled = true; f["timeperiod_end_year"].disabled = true; f["timeperiod_end_month"].disabled = true; f["timeperiod_end_day"].disabled = true; //f["Button1"].disabled = true; f["Radio1"].checked = true; } } //--> </SCRIPT> </td> </tr> </table> </body> </html>