dashboard/list_zjsearch.php

(开头部分) 23KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?php 

require_once('include/config.inc.php');
require_once('include/FenyePage.class.php');
$fenyePage=new FenyePage();
$pageno=$_GET['pageNow'];
if($pageno==''){
 
 $pageno="1";
}
$pagenoint=intval($pageno); 
$fenyePage->pageNow=$pagenoint;
$m=0; 
$n=$fenyePage->pageSize; 		
if ($pagenoint == 1) {
} else {
	$m = ($pagenoint - 1) * $n;
}

$sql='SELECT c.lxrname as no,b.moneys as moneys,b.btimes as btimes,b.etimes as etimes,b.descs as descs,b.states as states  from yh c,zj b where b.cid=c.id  ';
$sql2='SELECT count(*) FROM  yh c,zj b where b.cid=c.id ';

if($_POST){

	$sql='SELECT c.lxrname as no,b.moneys as moneys,b.btimes as btimes,b.etimes as etimes,b.descs as descs,b.states as states  from yh c,zj b where b.cid=c.id ';
	$sql2='SELECT count(*) FROM  yh c,zj b where b.cid=c.id   ';
 
	if(!empty($_POST['names'])){
		$sql=$sql." and c.lxrname like '%".$_POST['names']."%'";
		$sql2=$sql2." and c.lxrname like '%".$_POST['names']."%'";
	}
	if(!empty($_POST['btimes'])){
		$sql=$sql." and b.times>= '".$_POST['btimes']."'";
		$sql2=$sql2." and b.times>= '".$_POST['btimes']."'";
	
	}
	if(!empty($_POST['etimes'])){
		$sql=$sql." and b.times<= '".$_POST['etimes']."'";
		$sql2=$sql2." and b.times<= '".$_POST['etimes']."'";
	
	}
 	
}
$sql=$sql."    limit ".$m.",".$n.";";
$db->execute_dql_fenye($sql,$sql2,$fenyePage);
$data=$fenyePage->res_array;


if(isset($_GET['id'])){
	$db->execute_dml('DELETE FROM zj WHERE id='.$_GET['id']);
	 echo '<script>';
	 echo 'window.location.href="list_zj.php"';
	 echo '</script>';
}

?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
后面还有 626 行代码,购买后查看完整代码

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

AI 解读 AI

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

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