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

📄 view_daydata.php

📁 VIP信息处理系统源码
💻 PHP
📖 第 1 页 / 共 2 页
字号:
<?session_start();?><link href="../public/index.css" rel="stylesheet" type="text/css"><script src="../public/check.js"></script><title>数据明细</title><style type="text/css"><!--body {        font-size: 12px;}td {        font-size: 12px;}a:link {	font-size: 12px;	text-decoration: none;	color: #000088;}a:hover {	font-size: 12px;	text-decoration: none;	color: #ff6600;}a:visited {	font-size: 12px;	text-decoration: none;	color: #000088;}.fontcol {	color: #FFFFFF;}--></style><?/***********************************	本日广告数据详细*	建立:2004-12-14 qinsy *	最后修改:2004-12-14 qinsy***********************************/include_once("../public/db_conn.php");if(!empty($_REQUEST["adsid"]) && $_REQUEST["adsid"]!="all"){	$sqla="select link_tit,username from ads where id='$_REQUEST[adsid]'";	$rsa=mysql_query($sqla);	$rowa=mysql_fetch_array($rsa);	$link_tit=$rowa["link_tit"];}$cuday=(empty($_REQUEST["viewday"]))?date("Y-m-d"):$_REQUEST["viewday"];if(empty($_REQUEST["viewday"])){	$filename_date=date("Y_m_d");}else{	$filename_date=eregi_replace("-","_",$_REQUEST["viewday"]);}$str_info=($_REQUEST["op"]=="click")?"点击":"弹出";if((!empty($_SESSION["admin_username"]) || !empty($_SESSION["adser_username"]))&& !empty($_REQUEST["webname"])){	$filename="../data/$rowa[username]/$_REQUEST[op]_$_REQUEST[adsid]/$filename_date";	$str_charge="如果发现数据异常,您可以<a href='../adser/charge.php?user=$_REQUEST[webname]&adsid=$_REQUEST[adsid]&viewdate=$_REQUEST[viewday]' target='_blank'>举报网站主</a>。";	$str_weber="$_REQUEST[webname]";}elseif(!empty($_SESSION["web_username"])){	$filename="../data/$rowa[username]/$_REQUEST[op]_$_REQUEST[adsid]/$filename_date";	$str_charge="";	$str_weber="$_SESSION[web_username]";}else{	echo "请重新登陆查看!";	exit();}$flag_exist=0;$sum_count=0;$str_countnum="";for($i=0;$i<24;$i++){	if($i<10){		$si="0".$i;	}else{		$si=$i;	}	$s_filename=$filename."/$si/$str_weber.txt";	if(file_exists($s_filename)){		$flag_exist=1;		$data=file($s_filename);		$count=count($data);		$arr_count["$si"]=$count;		$sum_count=$sum_count+$count;				$str_countnum.=$count."|";	}else{		$str_countnum.="0|";	}}$str_countnum=substr($str_countnum,0,strlen($str_countnum)-1);$str_basenum=base64_encode($str_countnum);if($flag_exist==0){	echo "暂无"."$cuday"."日记录!";	exit();}$w=$cfg_gdwidth;$h=$cfg_gdheight+50;echo "<table width=\"780\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" class=\"listtable\">  <tr class=\"listbody\">    <td height=30 bgcolor=f0f0f0 align=center class=listtbhd>网站主"."$str_weber [$link_tit] $cuday"."日 $str_info"."明细图示</td>  </tr>  <tr class=\"listbody\">    <td>	<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"listtable\">	  <tr class=\"listbody\">		<td height=10 colspan=2></td>	  </tr>	  <tr class=\"listbody\">		<td valign=top align=right width=40><img src=../image/logo_netad.gif></td>		<td valign=top><iframe src=view_datapic.php?str=$str_basenum&viewday=$_REQUEST[viewday] width=$w height=$h marginheight=0 marginwidth=0 frameborder=0 scrolling=no></iframe></td>	  </tr>	  <tr class=\"listbody\">		<td height=10 colspan=2></td>	  </tr>	</table>	</td>  </tr></table>";?>  <table width="780" border="0" cellspacing="0" cellpadding="0" class="listtable">	<tr class="listbody">	  <td height=20></td>	</tr>	<tr class="listbody">	  <td ><? echo "<strong>[$link_tit] $str_info"."明细记录</strong> <font color=red>$cuday"."</font>日 共<font color=red>".$sum_count."</font>条记录。$str_charge <br><br>注:默认显示当前小时时段内明细记录。点击下列各时间值查看该小时时段内明细记录:";?></td>	</tr>	<tr class="listbody">

⌨️ 快捷键说明

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