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

📄 default.asp

📁 动力商业广告Sql版本全方位的WEB开发学习应用交流共享服务
💻 ASP
字号:
<%@ LANGUAGE = VBScript.Encode %><!--#include file="../../inc/verify_user.inc" -->
<!--#include file="../../inc/conn.inc" -->

<%
Set rs = Server.CreateObject("ADODB.Recordset")

Set cmd = Server.CreateObject("ADODB.Command")
Set cmd.ActiveConnection=conn
cmd.CommandText="basic_report"
cmd.CommandType=&H0004

cmd.Parameters.Append cmd.CreateParameter("@userid",3)
cmd.Parameters.Append cmd.CreateParameter("@stat_date",135)
cmd.Parameters.Append cmd.CreateParameter("@today_show_stat",3,2)
cmd.Parameters.Append cmd.CreateParameter("@today_hit_stat",3,2)
cmd.Parameters.Append cmd.CreateParameter("@result",16,2)


cmd("@userid")=session("userid")
cmd("@stat_date")=cdate(formatdatetime(now,2))

cmd.execute


%>


<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../../css/ads.css" type="text/css">
</head>




<body bgcolor="#FFFFFF" text="#000000">
<!--#include file="../../inc/top.inc" -->
<p>&nbsp;</p>
<p><b><a name="basic"></a><img src="../../images/iico.gif" width="15" height="15" align="absmiddle"> 
<span class="px14">今日基本统计</span></b></p>
<blockquote> 
<table width="443" border="0" cellspacing="1" cellpadding="2" bgcolor="#666666">
<tr bgcolor="#FFFFFF"> 
<td width="437" bgcolor="#eeeeee"> 
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="pt9">
<tr> 
<td width="72%">今日所有组别的所有广告显示次数:</td>
<td width="28%" align="right"> 
<%
if cmd("@result")="1" then
	if isnull(cmd("@today_show_stat")) then
		response.write 0
			else
				response.write cmd("@today_show_stat")
	end if
		else
			response.write "权限不足"
end if
%>
</td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="#FFFFFF"> 
<td width="437" bgcolor="#eeeeee"> 
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="pt9">
<tr> 
<td width="72%">今日所有组别的所有广告点击次数: </td>
<td width="28%" align="right"> 
<%
if cmd("@result")="1" then
	if isnull(cmd("@today_hit_stat")) then
		response.write 0
			else
				response.write cmd("@today_hit_stat")
	end if
		else
			response.write "权限不足"
end if
%>
</td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="#FFFFFF"> 
<td width="437" bgcolor="#eeeeee"> 
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="pt9">
<tr> 
<td width="72%">今日所有组别的所有广告点击率:</td>
<td width="28%" align="right"> 
<%
if cmd("@result")="1" then
	if isnull(cmd("@today_show_stat")) then
		response.write ".00%"
			else
				response.write cstr(formatnumber(cmd("@today_hit_stat")/cmd("@today_show_stat")*100,2)) & "%"
	end if
		else
			response.write "权限不足"
end if
%>
</td>
</tr>
</table>
</td>
</tr>
</table>
<p><img src="../../images/exclaim.gif" width="16" height="15" align="absmiddle"> 
<span class="pt9">以上全部统计数据为实时数据</span> </p>
</blockquote> 
<p>&nbsp;</p>
<p><b><a name="detail"></a><img src="../../images/iico.gif" width="15" height="15" align="absmiddle"> 
<span class="px14">查看统计报表</span></b></p>
<blockquote> 
<p><img src="../../images/action.gif" width="13" height="13"> <span class="px14"><a href="group_report.asp">广告组时间统计报表</a></span></p>
<p class="pt9">以某选定的广告组为对象,分析该广告组在不同时段(包括小时、日期、月份)的总点击、显示、点击率等数据。</p>
<p><img src="../../images/action.gif" width="13" height="13"> <span class="px14"><a href="group_compare_report_select_group.asp">广告组对比统计报表</a></span></p>
<p class="pt9">指定在某一时段,对选定的多个不同广告组的数据进行对比的统计报表。</p>
<p><img src="../../images/dot_line.gif" width="154" height="3"><img src="../../images/dot_line.gif" width="154" height="3"><img src="../../images/dot_line.gif" width="154" height="3"><img src="../../images/dot_line.gif" width="154" height="3"></p>
<p><img src="../../images/action.gif" width="13" height="13"> <span class="px14"><a href="ad_report.asp">广告条时间统计报表</a></span></p>
<p class="pt9">以某选定的广告条为对象,分析该广告组在不同时段(包括小时、日期、月份)的总点击、显示、点击率等数据。</p>
<p><img src="../../images/action.gif" width="13" height="13"> <span class="px14"><a href="ad_compare_report_select_ad.asp">广告条对比统计报表</a></span></p>
<p class="pt9">指定在某一时段,对选定的多个不同广告条的数据进行对比的统计报表。</p>
<p>&nbsp;</p></blockquote>
<p><b><a name="search"></a><img src="../../images/iico.gif" width="15" height="15" align="absmiddle"> 
<span class="px14">搜索广告组或广告条,查看统计报表</span></b></p>
<form name="" method="post" action="get_group_search.asp">
<blockquote>
<p><img src="../../images/action.gif" width="13" height="13"> <span class="px14">搜索广告组:</span> 
<input type="text" name="group_name" maxlength="50" size="15">
<input type="submit" name="Submit" value="搜 索">
</p>
</blockquote>
</form>
<form name="" method="post" action="get_ad_search.asp">
<blockquote>
<p><img src="../../images/action.gif" width="13" height="13"> <span class="px14">搜索广告条:</span> 
<input type="text" name="title" maxlength="50" size="15">
<input type="submit" name="Submit" value="搜 索">
</p>
</blockquote>
</form>
<!--#include file="../../inc/bottom.inc" -->

</body>
</html>
<%
set cmd=nothing
set rs=nothing
conn.close
set conn=nothing
%>

⌨️ 快捷键说明

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