📄 list.php
字号:
<?
include_once("globla.php");
require $movie_root.("/Connections/showmov.php");
include_once("online.php");
include_once("Config.php");
include_once("page.php");
$typeid=sql_cut($_GET['typeid']);
$title=$typeid;
$page=sql_cut($_GET['page']);
$action=sql_cut($_GET['action']);
$keyword=sql_cut($_GET['keyword']);
$maxperpage=12; //定义每页显示电影数目
if(!$page or $page==0)
{
$page=1;
}
if ($action!="")
{
$sql="select count(id) from jdzcnnet_movie where ".$action." like '%".$keyword."%' and hidden=0 and looklevel<=2 order by id desc";
}
elseif ($typeid!="")
{
$sql="select count(id) from jdzcnnet_movie where hidden=0 and class='".$typeid."' and looklevel<=2 order by id desc";
}
else
{
$sql="select count(id) from jdzcnnet_movie where hidden=0 and looklevel<=2 order by id desc";
}
//echo $sql;
$rs=mysql_fetch_array(mysql_query($sql));
$toltal=$rs[0]; //总电影数目
//echo $toltal;
//分页查询
if ($action!="")
{
$sql1="select * from jdzcnnet_movie where ".$action." like '%".$keyword."%' and hidden=0 and looklevel<=2 order by id desc limit ".($page-1)*$maxperpage.",".($maxperpage)."";
}
elseif ($typeid!="")
{
$sql1="select * from jdzcnnet_movie where hidden=0 and class='".$typeid."' and looklevel<=2 order by id desc limit ".($page-1)*$maxperpage.",".($maxperpage)."";
}
else
{
$sql1="select * from jdzcnnet_movie where hidden=0 and looklevel<=2 order by id desc limit ".($page-1)*$maxperpage.",".($maxperpage)."";
}
//echo $sql1;
$reslut=mysql_query($sql1);
include_once("webtop.php");
?><head>
<link href="img/Netbar_css.css" rel="stylesheet" type="text/css" />
</head>
<TABLE cellSpacing=0 cellPadding=0 width=778 align=center border=0>
<TBODY>
<TR bgColor=#ffffff>
<TD vAlign=top width=197>
<DIV align=center>
<TABLE width=190 height=218 border=0 align="center" cellPadding=0 cellSpacing=0 id=Table_01>
<TBODY>
<TR>
<TD height="40"><IMG height=40 alt="" src="img/left_1_dl_01.gif"
width=190></TD>
</TR>
<TR>
<TD height="169" align="center" background="img/left_1_dl_02.gif">
<iframe src="login.php" name="I2" width="181" align="center" scrolling="no" frameborder="0" class="STYLE1" border="0" height="167"> 浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe></TD>
</TR>
<TR>
<TD><IMG height=9 alt="" src="img/left_1_dl_03.gif"
width=190></TD>
</TR>
</TABLE>
<TABLE id=Table_01 height=249 cellSpacing=0 cellPadding=0 width=189
border=0>
<TBODY>
<TR>
<TD><IMG height=41 alt=""
src="img/left_4_zt_01.gif"
width=189></TD></TR>
<TR>
<TD height=197 valign="top" background="img/left_4_zt_02.gif"><table width="90%" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>
<td align="left"><script src="newfilm.php"></script></td>
</tr>
</table></TD>
</TR>
<TR>
<TD><IMG height=11 alt=""
src="../img/left_4_zt_03.gif"
width=189></TD></TR></TBODY></TABLE>
<TABLE id=Table_01 height=244 cellSpacing=0 cellPadding=0 width=189
border=0>
<TBODY>
<TR>
<TD height="42"><IMG height=42 alt=""
src="img/left_3_ph_01.gif"
width=189></TD>
</TR>
<TR>
<TD background="img/left_3_ph_03.gif" height=188 align="left">
<script src="hots.php?typeid=<?=$_GET['typeid']?>"></script></TD>
</TR>
<TR>
<TD><IMG height=14 alt=""
src="img/left_3_ph_04.gif"
width=189></TD>
</TR>
</TBODY>
</TABLE>
<TABLE id=Table_01 height=169 cellSpacing=0 cellPadding=0 width=189
border=0>
<TBODY>
<TR>
<TD><IMG
height=41 alt=""
src="img/left_5_wtjd_01.gif"
width=189 border=0></TD>
</TR>
<TR>
<TD
background="img/left_5_wtjd_02.gif"
height=117><TABLE cellSpacing=0 cellPadding=1 width="90%" align=center
border=0>
<TBODY>
<TR>
<TD vAlign=top width="9%"><DIV align=center><IMG height=11
src="img/icon_pc.gif"
width=8></DIV></TD>
<TD width=155 height="25" align="left" valign="top"><a href="help.php#9" target="_blank">什么是影币?</a></TD>
</TR>
</TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=1 width="90%" align=center
border=0>
<TBODY>
<TR>
<TD vAlign=top width="9%"><DIV align=center><IMG height=9
src="img/icon_pc.gif"
width=5></DIV></TD>
<TD width="91%" height="25" align="left" valign="top"><a href="help.php#4" target="_blank">如何安装播放器?</a> </TD>
</TR>
</TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=1 width="90%" align=center
border=0>
<TBODY>
<TR>
<TD vAlign=top width="9%"><DIV align=center><IMG height=9
src="img/icon_pc.gif"
width=5></DIV></TD>
<TD width="91%" height="25" align="left" valign="top"><a href="help.php#5" target="_blank">点播为什么会出现花屏?</a></TD>
</TR>
</TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=1 width="90%" align=center
border=0>
<TBODY>
<TR>
<TD vAlign=top width="9%"><DIV align=center><IMG height=9
src="img/icon_pc.gif"
width=5></DIV></TD>
<TD width="91%" height=35 align="left" valign="top">
<a target="_blank" href="help.php#5">播放时出现停顿,画面停止不动?</a></TD>
</TR>
</TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=1 width="90%" align=center
border=0 height="20">
<TBODY>
<TR>
<TD vAlign=top width="9%"><DIV align=center><IMG height=9
src="img/icon_pc.gif"
width=5></DIV></TD>
<TD width="91%" height=20 align="left" valign="top">
<a href="help.php#7">收看电影时经常缓冲?</a></TD>
</TR>
</TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=1 width="90%" align=center
border=0 height="42">
<TBODY>
<TR>
<TD vAlign=top width="9%"><DIV align=center><IMG height=9
src="img/icon_pc.gif"
width=5></DIV></TD>
<TD width="91%" height=20 align="left" valign="top">
<a target="_blank" href="help.php#9">如何付费续费?</a></TD>
</TR>
<TR>
<TD vAlign=top width="9%">
<p align="center"><IMG height=9
src="img/icon_pc.gif"
width=5></TD>
<TD width="91%" height=22 align="left" valign="top">
<font color="#666666">
<STRONG style="font-weight: 400">
<a href="help.php#8">有的电影能看有的不能看.</a></STRONG></font></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<TR>
<TD><IMG height=11 alt=""
src="img/left_5_wtjd_03.gif"
width=189></TD>
</TR>
</TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TH height=3></TH></TR></TBODY></TABLE>
<TABLE width=195 height=200
border=0 align="center" cellPadding=0 cellSpacing=0 id=Table_01>
<TBODY>
<TR>
<TD><IMG height=57 alt=""
src="img/left_7_xz_01.gif"
width=195 border=0></TD>
</TR>
<TR>
<TD
background="img/left_7_xz_02.gif"
height=121>
<TABLE height=121 cellSpacing=0 cellPadding=3 width="80%"
align=center border=0>
<TBODY>
<TR>
<TH scope=row><a target="_blank" href="soft/IE6.exe"><IMG height=33
src="img/ie6.gif"
width=143 border=0></a></TH></TR>
<TR>
<TH scope=row><a target="_blank" href="wmp9.exe"><IMG height=33
src="img/wmp9.gif"
width=143 border=0></a></TH></TR>
<TR>
<TH scope=row><a target="_blank" href="soft/realOne.exe"><IMG height=33
src="img/realoned.gif"
width=143 border=0></a></TH></TR></TBODY></TABLE></TD></TR>
<TR>
<TD><IMG height=22 alt=""
src="img/left_7_xz_03.gif"
width=195></TD>
</TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TH scope=row> </TH></TR></TBODY></TABLE>
</DIV></TD>
<TD vAlign=top width=581>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD background="img/movie_reorder_bei.gif" height=34>
<DIV align=center>
<!--分类-->
<?=listpage($maxperpage,$toltal,$page,$action,$keyword,$typeid)?>
</DIV></TD>
</TR>
</TABLE>
<TABLE width=100% height=2 border=0 align="center" cellPadding=0 cellSpacing=0 background="img/txwm_line_1.gif"><TBODY><TR><TD height=2></TD></TR></TBODY></TABLE>
<!--行-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<?
$i=0;
while($rs=mysql_fetch_object($reslut))
{
$i=$i+1;
?>
<td height="180">
<table width="50%" border="0" cellspacing="0" cellpadding="0">
<tr>
<!--列-->
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="22%" height="188" valign="top">
<table cellspacing=1 cellpadding=4 width=119 bgcolor=#cccccc border=0>
<tbody>
<tr bgcolor=#dbdbdb>
<td width=109 height="175" align="center" bgcolor=#ffffff><a href="show.php?id=<?=$rs->id?>"><img src="<?=$rs->pic?>" height=149 width=111 border=0 /></a> <img height=9 src="img/line_03.gif" width=100 /><a href="show.php?id=<?=$rs->id?>" title="">《<?=substr_cut($rs->title,7)?>》</a> </td>
</tr>
</tbody>
</table></td>
<td width="78%" valign="top">
<table width="161" border="0" cellpadding="4" cellspacing="1" bgcolor="#dfdfdf" style="border-collapse:collapse">
<tr>
<td width="151" bgcolor="#FFFFFF"><a href="show.php?id=<?=$rs->id?>"><strong><?=substr_cut($rs->title,20)?></strong></a></td>
</tr>
<tr>
<td bgcolor="#FFFFFF" >主演:<?=substr_cut($rs->name,15)?></td>
</tr>
<tr>
<td bgcolor="#FFFFFF" >导演:<?=substr_cut($rs->director,15)?></td>
</tr>
<tr>
<td bgcolor="#FFFFFF" >类别:<?=$rs->class?></td>
</tr>
<tr>
<td bgcolor="#FFFFFF">地区:<?=$rs->area?></td>
</tr>
<tr>
<td bgcolor="#FFFFFF">等级:<?=chklevel($rs->looklevel)?></td>
</tr>
<tr>
<td bgcolor="#FFFFFF">更新:<?=date("Y-m-d",$rs->addtime)?></td>
</tr>
<tr>
<td bgcolor="#FFFFFF">点播:<?=$rs->hits?>次</td>
</tr>
</table></td>
</tr>
</table>
<!--列--> </td>
<!--列-->
</tr>
<tr height="0">
<td width="99%" height="2"></td>
</tr>
</table>
</td>
<?
if ($i % 2 ==0)
{
echo "</tr>";
}
}?>
</table>
<!--行-->
<!--分页-->
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD background="img/movie_reorder_bei.gif" height=34>
<DIV align=center>
<?
listpage($maxperpage,$toltal,$page,$action,$keyword,$typeid);
?>
</DIV></TD>
</TR>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><TBODY><TR><TH height=3></TH></TR></TBODY></TABLE></TD>
</TR></TBODY></TABLE>
<?
mysql_free_result($reslut);
include_once("webend.php");
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -