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

📄 vip.php

📁 ∷源码简介∷ 简介: 本程序采用php+mysql构建。运行速度更快,更安全,运行程序目录中install.php进行安装 1、采用模块化后台管理。可轻松管理电影数据。实现影片等级制度。隐藏影
💻 PHP
字号:
<?
include_once("globla.php");
require $movie_root.("/Connections/showmov.php");
include_once("Config.php");
include_once("page.php");
include_once("webtop.php");
$uid=sql_cut($_COOKIE['uid']);
$sql="select uid,userlevel from jdzcnnet_members where uid=".$uid."";
$rs=mysql_fetch_array(mysql_query($sql));
if(!$rs['uid'])
	{
	echo "<script>alert('无法找到这个用户!');location.href='".$_SERVER['HTTP_REFERER']."';</script>";
	exit;
	}
elseif($rs[1]<3)
	{
	echo "<script>alert('您的用户等级不足请升级您的会员!');location.href='".$_SERVER['HTTP_REFERER']."';</script>";
	exit;
	}
$typeid=sql_cut($_GET['typeid']);
$page=sql_cut($_GET['page']);
$action=sql_cut($_GET['action']);
$keyword=sql_cut($_GET['keyword']);
$maxperpage=10;	//定义每页显示电影数目
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>=3 order by id desc";
	}
elseif ($typeid!="")
	{
	$sql="select count(id) from jdzcnnet_movie where hidden=0 and class='".$typeid."' and looklevel>=3 order by id desc";
	}
else
	{
	$sql="select count(id) from jdzcnnet_movie where  hidden=0 and looklevel>=3 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>=3 order by id desc limit ".($page-1)*$maxperpage.",".($maxperpage)."";
	}
elseif ($typeid!="")
	{
	$sql1="select * from jdzcnnet_movie where hidden=0 and class='".$typeid."' and looklevel>=3 order by id desc limit ".($page-1)*$maxperpage.",".($maxperpage)."";
	}
else
	{
	$sql1="select * from jdzcnnet_movie where  hidden=0 and looklevel>=3 order by id desc limit ".($page-1)*$maxperpage.",".($maxperpage)."";
	}
$reslut=mysql_query($sql1);
?>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<title>sdd</title>
<link href="img/Netbar_css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.STYLE1 {color: #7B869A}
-->
</style>
<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=150 border=0 align="center" cellPadding=0 cellSpacing=0 id=Table_01>
<TBODY>
<TR>
<TD><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 cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TH height=8></TH>
</TR>
</TBODY>
</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 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>&nbsp;</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">等级:<?=$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>
<div align="center">
<table width="778" border="0" cellspacing="0" cellpadding="0" height="86" background="../img/bottm.gif">
<tr>
<td width="265" rowspan="4"> </td>
<td width="513" align="center"> </td>
</tr>
<tr>
<td width="513" align="center">本站所有影片版权归原公司所有,本站只提供试看.如果你喜欢请购买正版!</td>
</tr>
<tr>
<td width="513" align="center">版权所有:服务器测试系统  联系邮箱:<a href="mailto:jdzcnnet@21cn.net?subject=业务联系">jdzcnnet@21cn.net</a></td>
</tr>
<tr>
<td width="513" align="center">页面执行时间:
<font color=#FF0000">0.125</font>毫秒 点播系统技术支持:<a href="http://www.jdzcn.net/"><font color="#FF0000">天天网络-专业VOD系统开发</font></a></td>
</tr>
</table>
</div>
</BODY></HTML>
<script language=javascript src="bg5.js"></script>

⌨️ 快捷键说明

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