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

📄 quickroll.php

📁 PHP免费网摘程序 详细说明: 安装说明: 1、把文件上穿上去以后
💻 PHP
字号:
<? include("conn.php");?>
<? include("include/function.php");?>
<? include("include/setup.php");?>
<? include("head.php");?>
<?
 
 $sort=$_GET['sort'];
 if($sort) $se=" and  typeid='$sort' "; 
?>

 <div>

<TABLE width=770 height="25" border=0 cellPadding=0 cellSpacing=0 bgcolor="#FFFFFF" align=center>
  <TBODY>
    <TR>
      <TD height=4 class=fontbig><IMG height=1 src="images/1.gif" 
width=1>&nbsp;&nbsp;您位于:<a href="index.htm"><font color="#FF0000"><b><? echo $sitename;?></b></FONT></a> &gt; <a href="quickroll.php"><b>最新收藏</b></a><? if($sort!=""){   echo " &gt; <font color=#ff0000><b>".$typename[$sort]."</b></font>";  }?></TD>
       <td width=107><a href="jsfeed.php?tag=<? echo $title;?>" target="_blank"><img src="images/icon-js.gif" alt="JS格式输出" width="26" height="14" border="0"></a> <a href="rss2feed.php?tag=<? echo $title;?>" target="_blank"><img src="images/icon-rss.gif" alt="RSS格式输出" width="26" height="14" border="0"></a> <a href="dtag.php?tag=<? echo $title;?>"><img src="images/icon-sub.gif" width="36" height="14" border="0"></a></td>      <td width=220><a href="help.php" title="网页添加收藏代码"><font color="#FF0000"><b>添加收藏代码</b></font></a> | 示例:<a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(zhai=window.open('http://mmei8.com/icollect.php#t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'zhai','scrollbars=no,width=480,height=430,left=75,top=50,status=no,resizable=yes'));zhai.focus();">收藏到妹妹网摘</a></td>    
    </TR>
  </TBODY>
</TABLE>
<table width="770" border="0" cellpadding="0" cellspacing="0" align="center">
  <tr>
    <td height="1" bgcolor="#0066CC"></td>
  </tr>
  <TR bgcolor="#ffffff">
      <TD height=4></TD>
  </TR>
</table>
 </div>
 
 <div>
<table width="770" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td width="173" valign="top" bgcolor="#FcFcFc">
	
	  <table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="173" height="22" bgcolor="#DCE8F3">
	<table height=20 cellspacing=0 cellpadding=0 width="100%" bgcolor=0b83af
      border=0>
          <tbody> 
          <tr> 
            <td width=8><img height=1 width=1></td>
            <td width=4 bgcolor=#ffffff><img height=1 width=1></td>
            <td width=4><img height=1 width=1></td>
            <td width=1 bgcolor=#ffffff><img height=1 width=1></td>
            <td   width=100><a 
            href="itemzhai.php?sort=4" 
            target=_blank class=white_12_b>最佳网摘提供者</a></td>
            </tr>
          </tbody> 
        </table></td>
  </tr>
  <tr>
    <td bgcolor="#FcFcFc">
	<?
   $sql="select userid,count(userid) as tt from zhai where  ispub='1' $se  group by userid  order by tt desc limit 10";
     $query=mysql_query($sql);
		while($zh=mysql_fetch_array($query)){
		 ?>
		 
      ·<a href=userzhai.php?zhaiuser=<? echo $zh[userid];?> target='_blank' ><? echo $zh[userid];?></a>(<? echo $zh[tt];?>)<br>
     <?
	 }
	 ?>
    </td>
  </tr>
  <tr>
    <td height="2"></td>
  </tr>
</table>
	
        <table width="100%"  border="0" cellspacing="0">
  <tr>
    <td height="22" bgcolor="#DCE8F3"><table height=20 cellspacing=0 cellpadding=0 width="100%" bgcolor=7c57b0
      border=0>
      <tbody>
        <tr>
          <td width=8><img height=1 width=1></td>
          <td width=4 bgcolor=#ffffff><img height=1 width=1></td>
          <td width=4><img height=1 width=1></td>
          <td width=1 bgcolor=#ffffff><img height=1 width=1></td>
          <td   width=100><a 
            href="itemzhai.php?sort=4" 
            target=_blank class=white_12_b>合作站点</a></td>
        </tr>
      </tbody>
    </table></td>
  </tr>
  <tr>
    <td><? 
	 
   $sql="select * from site where  id>0  $se order by incount desc limit 11";
	$qr1=mysql_query($sql);
	while($data=mysql_fetch_array($qr1)){
	;?>
	·<a href='out.php?user=<? echo $data[user];?>&url<? echo $data[url];?>' target='_blank'><? echo $data[web];?></a><br>
	<?
	} ;?> </td>
  </tr>
  <tr>
    <td align="right">   <a href="sitelist.php?typeid=<? echo $sort;?>">>>>更多</a></td>
  </tr>
  <tr>
    <td height="22" bgcolor="#DCE8F3" class="style2"><table height=20 cellspacing=0 cellpadding=0 width="100%" bgcolor=4d9c09
      border=0>
        <tbody>
          <tr>
            <td width=8><img height=1 width=1></td>
            <td width=4 bgcolor=#ffffff><img height=1 width=1></td>
            <td width=4><img height=1 width=1></td>
            <td width=1 bgcolor=#ffffff><img height=1 width=1></td>
            <td   width=100><a 
            href="itemzhai.php?sort=4" 
            target=_blank class=white_12_b>热门标签</a></td>
          </tr>
        </tbody>
      </table></td>
  </tr>
  <tr>
    <td>
	
 
	<table width="100%" >
      <tr>
       <?
 
$ii=0; 
 
	$sql="select  tag,sum(num) as n from tags  where tag!=''   group by tag order by n desc limit 20";
	$qr3=mysql_query($sql);
	while($tag=mysql_fetch_array($qr3)){
 
?><td>·<a href="searchzhai.php?title=<? echo $tag[tag];?>&typeid=<? echo $t[id];?>"><? echo $tag[tag];?></a></td>

<?
 
$ii=$ii+1;
if($ii%2==0 && $ii!=20){
?>
</tr><tr>
<?
 
 
}
 
?>

<?
}
?>
 
      </tr>
    </table>	</td>
  </tr>
  
  <tr>
    <td align="right">   <a href="tags.php">>>>更多</a></td>
  </tr>
</table>    </td>
    <td colspan="3" valign="top"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="4"  >
      
          <?
		$rcperpage=30;  
		 $page=$_GET[page];
		if(!$page){
			$page=1;
		}
 
			$sql="select * from zhai where  ispub='1' $se  order by id desc limit ".trim(($page-1)*$rcperpage).",$rcperpage";
		$tsql="select count(*) as c from zhai where   ispub='1' $se ";
 
		 
		 $pgcount=$_GET[pacount];
		 if(!$pgcount){
		 $tqr=mysql_query($tsql);
		 $total=mysql_fetch_array($tqr);
		 
		 
		 $pgcount=floor((chop($total[0])-1)/$rcperpage)+1; 
		 }
		 
		 
     $qr=mysql_query($sql);
	 $i=0;
		while($rs=mysql_fetch_array($qr)){
		  $i=$i+1;
		  if($rs[htm]=="y"){$url="html/".$rs[id]."/index.htm";}else{$url="zhaishow.php?id=".$rs[id]."";}
		 ?>
		 <tr>
        <td>
          <?
				echo("·<a href='$url' target='_blank' title='".$rs[intro]."' >".sub($rs[title],50)."</a>");
				if($rs[picname]!=""){echo("[<a href='$url' target='_blank'  ><font color='#ff0000' alt='<img src=".$rs[picname]." width=130 border=0 height=80>'>图</font></a>]"); }
				 $i=$i+1;
				 ?>
			
    </td><td>[<? echo "<a href='userzhai.php?zhaiuser=".$rs[userid]."'>".$rs[userid]."</a>"; ?>]</td>
      </tr>
	  <?
	  if($i%5==0){
				?>
				
				<tr><td colspan="2" height="1" bgcolor="#CCCCCC"></td></tr>
				<?
				  }
				?> 
	  
	  <?
	  }
	  ?>
		 
    </table>
	<table width="98%" border="0" align="center" cellpadding="3" cellspacing="0"  >
      <tr>
        <td valign="top"  >
         
      第 <? echo $page;?> 页 共 <? echo $pgcount;?> 页
      <?			
			if($page>1){
				echo(" <a href='?sort=".$sort."&title=$title&page=1&pgcount=$pgcount'>第一页</a>");
				echo(" <a href='?sort=".$sort."&title=$title&pgcount=$pgcount&page=".($page-1)."'>上一页</a>");
			}else{
				echo(" 第一页");
				echo(" 上一页");
			}
			if($page < $pgcount){
				echo(" <a href='?sort=".$sort."&title=$title&pgcount=$pgcount&page=".($page+1)."'>下一页</a>");
				echo(" <a href='?sort=".$sort."&title=$title&pgcount=$pgcount&page=".$pgcount."'>最末页</a>");
			}else{

				echo(" 下一页");
				echo(" 最末面");
			}			
			;?>        </td>
      </tr>
    </table>
	
	</td>
  </tr>
  <tr>
    <td height="2" colspan="4"></td>
  </tr>
</table>
</div>

<? include("bottom.php");?>

⌨️ 快捷键说明

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