rukuxinxi_list2.php
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
session_start();
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 type="text/javascript" src="js/My97DatePicker/WdatePicker.js" charset="gb2312"></script>
<link rel="stylesheet" href="css.css" type="text/css">
</head>
<!--hxsglxiangdxongjxs-->
<body>
<p>已有入库信息列表:</p>
<form id="form1" name="form1" method="post" action="">
搜索: 编号:<input name="bianhao" type="text" id="bianhao" style='border:solid 1px #000000; color:#666666;width:80px' /> 名称:<input name="mingcheng" type="text" id="mingcheng" style='border:solid 1px #000000; color:#666666;width:80px' /> 商品类别:<input name="shangpinleibie" type="text" id="shangpinleibie" style='border:solid 1px #000000; color:#666666;width:80px' /> 供应商名称:<select name='gongyingshangmingcheng' id='gongyingshangmingcheng' style='border:solid 1px #000000; color:#666666;'><option value="">所有</option><?php getoption("gongyingshangxinxi","gongyingshangmingcheng")?></select></select> 操作员:<input name="caozuoyuan" type="text" id="caozuoyuan" style='border:solid 1px #000000; color:#666666;width:80px' />
<input type="submit" name="Submit" value="查找" style='border:solid 1px #000000; color:#666666' />
</form>
<table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#00FFFF" style="border-collapse:collapse">
<tr>
<td width="25" 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 width="120" align="center" bgcolor="#CCFFFF">添加时间</td>
<td width="70" align="center" bgcolor="#CCFFFF">操作</td>
</tr>
<?php
$sql="select * from rukuxinxi where caozuoyuan='".$_SESSION['username']."'";
if ($_POST["bianhao"]!=""){$nreqbianhao=$_POST["bianhao"];$sql=$sql." and bianhao like '%$nreqbianhao%'";}
if ($_POST["mingcheng"]!=""){$nreqmingcheng=$_POST["mingcheng"];$sql=$sql." and mingcheng like '%$nreqmingcheng%'";}
if ($_POST["shangpinleibie"]!=""){$nreqshangpinleibie=$_POST["shangpinleibie"];$sql=$sql." and shangpinleibie like '%$nreqshangpinleibie%'";}
if ($_POST["gongyingshangmingcheng"]!=""){$nreqgongyingshangmingcheng=$_POST["gongyingshangmingcheng"];$sql=$sql." and gongyingshangmingcheng like '%$nreqgongyingshangmingcheng%'";}
if ($_POST["caozuoyuan"]!=""){$nreqcaozuoyuan=$_POST["caozuoyuan"];$sql=$sql." and caozuoyuan like '%$nreqcaozuoyuan%'";}
$sql=$sql." order by id desc";
$query=mysql_query($sql);
$rowscount=mysql_num_rows($query);
if($rowscount==0)
{}
else
{
$pagelarge=10;//每页行数;
$pagecurrent=$_GET["pagecurrent"];
if($rowscount%$pagelarge==0)
{
$pagecount=$rowscount/$pagelarge;
}
else
{
$pagecount=intval($rowscount/$pagelarge)+1;
后面还有 57 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。