十大精典PHP项目开发全程案例+代码
源代码在线查看: show.php
session_start();
include "conn/conn.php";
?>
include "top.php"; //banner
?>
include "left.php"; //登录、搜索框
?>
查询结果
if($_POST[action] == "l_found"){
?>
类别
下载
介绍
$l_sqlstr = "select id,style,name,actor,remark,address from tb_".$_POST[m_type]." where name like '%".$_POST[k_word]."%'";
$l_rst = $conn->execute($l_sqlstr);
while(!$l_rst->EOF){
?>
if(isset($_SESSION[name])){
?>
}
?>
if($_SESSION[grades] == "高级会员"){
if($_POST[m_type] == "audio"){
?>
}else if($_POST[m_type] == "video"){
?>
}}
?>
$l_rst->movenext();
}
?>
}else if($_GET[action] == "high"){
?>
if($_SESSION[seltype]=="Audio"){
?>
类别
视频数据名称
主要演员
在线观看
下载
详细
}else{
?>
类别
音乐数据名称
歌手姓名
在线观看
下载
详细
}
$h_sql=$_SESSION[sql];
$h_rst = $conn->execute($h_sql);
while(!$h_rst->EOF){
?>
if(isset($_SESSION[name])){
?>
}
?>
if($_SESSION[grades] == "高级会员"){
if($_GET[type] == "audio"){
?>
}else if($_GET[type] == "video"){
?>
}}
?>
$h_rst->movenext();
}
?>
}
?>