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

📄 itemzhai.php

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

<div align="center">
<TABLE cellSpacing=0 cellPadding=0 width=770 align=center bgColor=#ffffff 
border=0>
  <TR valign="middle"> 
    <TD> 
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        
        <TR>
		<script language=JavaScript>
var imgUrl=new Array();
var imgLink=new Array();
var adNum=0;
</script>
                                  
<SCRIPT language=JavaScript>
 
<?
 $sql="select * from zhai where   picname!='' and huandeng='1' $se order by isgood desc,rand() limit 10";
	$qr1=mysql_query($sql);
	while($data=mysql_fetch_array($qr1)){
	$o=$o+1;
	if($data[htm]=="y"){$data[url]="html/".$data[id]."/index.htm";}else{$data[url]="zhaishow.php?id=".$data[id]."";}
	 
	 $data[title]=sub($data[title],22); 
	 
	 
	 
 
 
	
	 
	 ?>
imgLink[$p]='<? echo $data[url];?>';
imgUrl[$p]='<? echo $data[picname];?>';
<?
}
?>
 
 

</SCRIPT> 
                                  <script language=JavaScript>

//imgLink[20]="http://mmei8.com";
//imgUrl[20]="bbs/UploadImage/2005020511.jpg";

var imgPre=new Array();
var j=0;
for (i=1;i<=5;i++) {
	//if( (imgUrl[i]!="") && (imgLink[i]!="") ) {
	if(imgUrl[i]!="") {
		if (imgLink[i]==""){
		 imgLink[i]="http://mmei8.com";	
		}	
		j++;
	} else {
		break;
	}
}


function playTran(){
	if (document.all)
		imgInit.filters.revealTrans.play();
}

var key=0;
var adNum=0;
function nextAd(){
	if(adNum<j)adNum++ ;
	else adNum=1;
	
	if( key==0 ){
		key=1;
	} else if (document.all){
		imgInit.filters.revealTrans.Transition=6;
		imgInit.filters.revealTrans.apply();
                   playTran();

	}
	document.images.imgInit.src=imgUrl[adNum];
	theTimer=setTimeout("nextAd()", 6000);
}


function goUrl(){
	jumpUrl=imgLink[adNum];
	jumpTarget='_blank';
	if (jumpUrl != ''){
		if (jumpTarget != '') 
			window.open(jumpUrl,jumpTarget);
		else
			location.href=jumpUrl;
	}
}
</script>
<!--今日焦点--> 
          <TD vAlign=top  > 
        <TABLE cellSpacing=0 cellPadding=2 width="99%" bgColor=#FFCC99 
            border=0>
              <TBODY> 
              <TR> 
                <TD> 
                  <div align="center">
                    <table cellspacing=1 cellpadding=3 width="100%" 
                  bgcolor=#cccccc border=0>
                      <tbody> 
                      <tr> 
                        <td bgcolor=#ffffff  > 
                          <table cellspacing=0 cellpadding=0 width="100%" border=0>
                            <tbody> 
                            <tr> 
                              <td  > 
                                <div align="center"> 
                                  <div align="center"><img src="javascript:nextAd()" name=imgInit width=200 height=150 vspace="1" border=1 class=a01 style="cursor:hand;FILTER: revealTrans(duration=2,transition=20);border-color:black;color:#000000" onClick="goUrl()">                                  </div>
                                </div>
                              </td>
                            </tr>
                            </tbody> 
                          </table>
                        </td>
                      </tr>
                      </tbody> 
                    </table>
                    <table height=2 cellspacing=0 cellpadding=0 width="100%" 
                  border=0>
                      <tbody> 
                      <tr> 
                        <td height="2"></td>
                      </tr>
                      </tbody> 
                    </table>
                    <table cellspacing=0 cellpadding=5 width="100%" 
                  bgcolor=#ffffff border=0>
                      <tbody> 
                      <tr valign="top"> 
                        <td height="140"> 
                           
						   
						   
						   
						                            </td>
                      </tr>
                      </tbody> 
                    </table>
                  </div>
                </TD>
              </TR>
              </TBODY> 
            </TABLE>
          </TD>
          <TD width=6></TD>
          <!--图片头条--> 
          <TD vAlign=top width="661"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td valign="top" width="50%"> 
                  <table height=24 cellspacing=0 cellpadding=0 width="100%" 
      background=images/bar_bg_3.gif border=0>
                    <tbody> 
                    <tr> 
                      <td width=100%><a class=white_12_b 
            href="#">今日图片推荐&gt;&gt;</a> </td>
                    </tr>
                    </tbody> 
                  </table>
                   <table cellspacing=1 cellpadding=1 width="100%" bgcolor=#a2c1e0 
        border=0>
                    <tbody> 
                    <tr valign="top"> 
                      <td bgcolor=#ffffff > 
                       <div id=mm1001> <table cellspacing=0 cellpadding=0 width="100%" border=0>
                            <tbody> 
 
                 <?
				  $sql="select * from zhai where  ispub='1' $se  order by id desc limit 12";
     $query=mysql_query($sql);
		while($zhai=mysql_fetch_array($query)){
		$zhai[title]=sub($zhai[title],38);
		        
				 if($zhai[htm]=="y"){$zhai[url]="html/".$zhai[id]."/index.htm";}else{$zhai[url]="zhaishow.php?id=".$zhai[id]."";}
				
		         
 
?>
 
 	 <tr bgcolor=#eeeeee> 
                              <td width=1 height=22></td>
                              <td bgcolor="#eeeeee"><span class=style6>·</span><a class=top1  title="<?=$zhai[title]?>"   href=<?=$zhai[url]?>  target=_self><? echo $zhai[title];?></a><? if($zhai[picname]!=""){echo("[<a href='$url' target='_blank'  ><font color='#ff0000' alt='<img src=".$zhai[picname]." width=130 border=0 height=80>'>图</font></a>]"); }?> 
                              </td>
                              
                            </tr>
                            <tr> 
                              <td bgcolor=#d1d1d1 colspan=2 height=1></td>
                            </tr>
	 
<?
}
?>	 
 
 
   
                       
   </tbody> 
                          </table></div>            
                      
                      </td>
                    </tr>
                    </tbody> 
                </table>                </td>
                <td valign="top" width="1%">&nbsp;</td>
                <td width="49%" valign="top"> 
                  <table height=24 cellspacing=0 cellpadding=0 width="100%" 
      background=images/bar_bg_3.gif border=0>
                    <tbody> 
                    <tr> 
                      <td width=100%><a class=white_12_b 
            href="#">今日热贴推荐&gt;&gt;</a> </td>
                    </tr>
                    </tbody> 
                  </table>
                  <table cellspacing=1 cellpadding=1 width="100%" bgcolor=#a2c1e0 
        border=0>
                    <tbody> 
                    <tr valign="top"> 
                      <td bgcolor=#ffffff > 
                       <div id=mm1001> <table cellspacing=0 cellpadding=0 width="100%" border=0>
                            <tbody> 
 
                 <?
				 $sql="select * from zhai where  ispub='1' $se order by incount desc,rand() limit 12";
     $query=mysql_query($sql);
		while($zhai=mysql_fetch_array($query)){
		$zhai[title]=sub($zhai[title],40);
		        
				 if($zhai[htm]=="y"){$zhai[url]="html/".$zhai[id]."/index.htm";}else{$zhai[url]="zhaishow.php?id=".$zhai[id]."";}
				
 
?>
 
 	 <tr bgcolor=#eeeeee> 
                              <td width=1 height=22></td>
                              <td bgcolor="#eeeeee"><span class=style6>·</span><a class=top1  title="<?=$zhai[title]?>"   href=<?=$zhai[url]?>  target=_self><?=$zhai[title]?></a> <? if($zhai[picname]!=""){echo("[<a href='$url' target='_blank'  ><font color='#ff0000' alt='<img src=".$zhai[picname]." width=130 border=0 height=80>'>图</font></a>]"); }?>
                              </td>
                              
                            </tr>
                            <tr> 
                              <td bgcolor=#d1d1d1 colspan=2 height=1></td>
                            </tr>
	 
<?
}
?>	 
 
 
   
                       
   </tbody> 
                          </table></div>            
                      
                      </td>
                    </tr>
                    </tbody> 
                </table>                </td>
              </tr>
            </table>        </TR>
      </TABLE>    </TD>
  </TR>
</TABLE>
</div>

<?
$bcolor=array("4d9c09","0b83af","00af8a","5b97b1","7c57b0","d93eb8","c43a84","4d9c09","#ff7e00","7c57b0","d93eb8","c43a84");	
?>
  
<div align="center">
  <table cellspacing=0 cellpadding=0 width=770 align=center bgcolor=#ffffff 
border=0>
    <tbody> 
    <tr> 
      <td width=4></td>
      <td> 
        <table height=8 cellspacing=0 cellpadding=0 width="100%" border=0>
          <tbody> 
          <tr> 
            <td></td>
          </tr>
          </tbody> 
        </table>
        <table height=26 cellspacing=0 cellpadding=0 width="100%" bgcolor=<?=$bcolor[0]?>
      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 align=middle width=100><a class=white2_14_b 
            href="unionzhai.php?sort=<? echo $sort;?>" 
            target=_self>联盟精选</a></td>
            <td bgcolor=#eaeaea>&nbsp; </td>
            <td align=middle width=70><a class=white_12_b 
            href="unionzhai.php?sort=<? echo $sort;?>" 
            target=_self>更多&gt;&gt;</a></td>
          </tr>
          </tbody> 
        </table>
        <table height=5 cellspacing=0 cellpadding=0 width="100%" border=0>
          <tbody> 
          <tr> 
            <td></td>
          </tr>
          </tbody> 
        </table>
      </td>
      <td width=4></td>
    </tr>
    </tbody> 
  </table>
  <table cellspacing=0 cellpadding=0 width=770 align=center bgcolor=#ffffff 
border=0>
    <tbody> 
    <tr> 
      <td width=2></td>
      <td> 
        <table cellspacing=0 cellpadding=0 width="100%" border=0>
          <tbody> 
          <tr> 
      
				
				<?
 $oo=0;
$sql="select * from zhai where   picname!='' $se order by isgood desc,rand() limit 12";
	$qr1=mysql_query($sql);
	while($zh=mysql_fetch_array($qr1)){
	if($zh[htm]=="y"){$zh[url]="html/".$zh[id]."/index.htm";}else{$zh[url]="zhaishow.php?id=".$zh[id]."";}
	$zh[picname]=$zh[picname]; 
	 $zh[title]=sub($zh[title],22); 
 
 

?>
      
		  
		  <td>  <table border=0 cellpadding=0 cellspacing=0>
                <tbody> 
                <tr> 
                  <td> 
				  
                    <table 
                  style="BORDER-RIGHT: #eeeeee 3px solid; BORDER-TOP: #eeeeee 3px solid; BORDER-LEFT: #eeeeee 3px solid; BORDER-BOTTOM: #eeeeee 3px solid" 
                  cellspacing=0 cellpadding=0 width=134 border=0>
                      <tbody> 
                      <tr> 
                        <td 
                      style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; BORDER-LEFT: #cccccc 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #cccccc 1px solid" 
                      bgcolor=#ffffff><a 
                              href="<?=$zh[url]?>"  target=_blank><img height=88 
                              src="<?=$zh[picname]?>" width=130 
                              border=0></a></td>

⌨️ 快捷键说明

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