dashboard/list_zj.php
(开头部分) 21KB这里只显示每个文件的开头 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 b.id as id, 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 b.id as id,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']."%'";
}
}
$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" />
<meta charset="utf-8" />
<title>{{SystemTitle}}</title>
<meta name="description" content="overview & stats" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<!-- bootstrap & fontawesome -->
<link rel="stylesheet" href="assets/css/bootstrap.min.css" />
<link rel="stylesheet" href="assets/font-awesome-4.5.0/css/font-awesome.min.css" /><!--
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" /> -->
后面还有 567 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。