tushuxinxi_list.php
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
include_once 'conn.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>图书信息</title><script language="javascript" src="js/Calendar.js"></script><link rel="stylesheet" href="css.css" type="text/css">
</head>
<body>
<p>已有图书信息列表:</p>
<form id="form1" name="form1" method="post" action="">
搜索: 图书代码:<input name="tushudaima" type="text" id="tushudaima" /> 图书名称:<input name="tushumingcheng" type="text" id="tushumingcheng" /> 图书分类:<select name='tushufenlei' id='tushufenlei'><option value="">所有</option><?php
getoption("shangpinleibie", "leibie");
?></select></select> 图书作者:<input name="tushuzuozhe" type="text" id="tushuzuozhe" /> 出版社:<input name="chubanshe" type="text" id="chubanshe" /> 出版日期:<input name="chubanriqi1" type="text" id="chubanriqi1" value='' onclick="getDate(form1.chubanriqi1,'2')" size="10" need="1" />-<input name="chubanriqi2" type="text" id="chubanriqi2" value='' onclick="getDate(form1.chubanriqi2,'2')" size="10" need="1" /> 合适年龄段:<select name='heshinianlingduan' id='heshinianlingduan'>
<option value="">所有</option>
<option value="1-7">1-7</option>
<option value="8-16">8-16</option>
<option value="17-40">17-40</option>
<option value="41以上">41以上</option>
</select>
<input type="submit" name="Submit" value="查找" style='border:solid 1px #000000; color:#666666' />
</form>
<table width="98%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="f0f0f0" style="border-collapse:collapse">
<tr>
<td bgcolor="#CCFFFF">序号</td>
<td bgcolor='#CCFFFF'>图书代码</td><td bgcolor='#CCFFFF'>图书名称</td><td bgcolor='#CCFFFF'>图书分类</td><td bgcolor='#CCFFFF'>图书作者</td><td bgcolor='#CCFFFF'>出版社</td><td bgcolor='#CCFFFF'>出版日期</td><td bgcolor='#CCFFFF'>页数</td><td bgcolor='#CCFFFF'>价格</td><td bgcolor='#CCFFFF'>图片</td><td bgcolor='#CCFFFF'>合适年龄段</td><td bgcolor='#CCFFFF'>库存</td>
<td align="center" bgcolor="#CCFFFF">操作</td>
</tr>
<?php
$sql = "select * from tushuxinxi where 1=1";
if ($_POST["tushudaima"] != "") {
$nreqtushudaima = $_POST["tushudaima"];
$sql = $sql . " and tushudaima like '%$nreqtushudaima%'";
}
if ($_POST["tushumingcheng"] != "") {
$nreqtushumingcheng = $_POST["tushumingcheng"];
$sql = $sql . " and tushumingcheng like '%$nreqtushumingcheng%'";
}
if ($_POST["tushufenlei"] != "") {
$nreqtushufenlei = $_POST["tushufenlei"];
$sql = $sql . " and tushufenlei like '%$nreqtushufenlei%'";
}
if ($_POST["tushuzuozhe"] != "") {
$nreqtushuzuozhe = $_POST["tushuzuozhe"];
$sql = $sql . " and tushuzuozhe like '%$nreqtushuzuozhe%'";
}
if ($_POST["chubanshe"] != "") {
$nreqchubanshe = $_POST["chubanshe"];
$sql = $sql . " and chubanshe like '%$nreqchubanshe%'";
}
if ($_POST["chubanriqi1"] != "") {
$nreqchubanriqi1 = $_POST["chubanriqi1"];
$sql = $sql . " and chubanriqi >= '$nreqchubanriqi1'";
}
if ($_POST["chubanriqi2"] != "") {
后面还有 103 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。