yezhuxinxi_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="huhao" type="text" id="huhao" style='border:solid 1px #000000; color:#666666;width:80px' /> 姓名:<input name="xingming" type="text" id="xingming" style='border:solid 1px #000000; color:#666666;width:80px' /> 出生年月:<input name="chushengnianyue1" type="text" id="chushengnianyue1"  value='' onclick="WdatePicker({'dateFmt':'yyyy-MM-dd'})"  style='border:solid 1px #000000; color:#666666; width:80px;' />-<input name="chushengnianyue2" type="text" id="chushengnianyue2"  value='' onclick="WdatePicker({'dateFmt':'yyyy-MM-dd'})"  style='border:solid 1px #000000; color:#666666; width:80px;' /> 单位号:<select name='danweihao' id='danweihao' style='border:solid 1px #000000; color:#666666;'><option value="">所有</option><?php getoption("danweixinxi","danweihao")?></select></select>
  <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 bgcolor='#CCFFFF'>邮箱</td>
    <td style="display:none"  bgcolor='#CCFFFF' width='80' align='center'>是否审核</td>
    <td width="120" align="center" bgcolor="#CCFFFF">添加时间</td>
    <td width="70" align="center" bgcolor="#CCFFFF">操作</td>
  </tr>
  <?php 
    $sql="select * from yezhuxinxi where huhao='".$_SESSION['username']."'";
  
if ($_POST["huhao"]!=""){$nreqhuhao=$_POST["huhao"];$sql=$sql." and huhao like '%$nreqhuhao%'";}
if ($_POST["xingming"]!=""){$nreqxingming=$_POST["xingming"];$sql=$sql." and xingming like '%$nreqxingming%'";}
if ($_POST["chushengnianyue1"]!=""){$nreqchushengnianyue1=$_POST["chushengnianyue1"];$sql=$sql." and chushengnianyue >= '$nreqchushengnianyue1'";}
if ($_POST["chushengnianyue2"]!=""){$nreqchushengnianyue2=$_POST["chushengnianyue2"];$sql=$sql." and chushengnianyue <= '$nreqchushengnianyue2'";}
if ($_POST["danweihao"]!=""){$nreqdanweihao=$_POST["danweihao"];$sql=$sql." and danweihao like '%$nreqdanweihao%'";}
  $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
  {
后面还有 59 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。