source/admin/tixian.ctrl.php
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
class tixianControl extends skymvc{
public $sw=" 1 ";
private $admin;
public function __construct(){
parent::__construct();
}
public function onInit(){
$this->admin=M("login")->getAdmin();
}
public function onDefault(){
$limit=20;
$where= $this->sw;
$url=APPADMIN."?m=tixian";
$start=get('per_page','i');
$type=get("type","h");
switch($type){
case "finish":
$where=" status=3 ";
break;
case "confirm":
$where=" status=1";
break;
case "all":
$where=" status<11";
break;
default:
$where=" status=0 ";
break;
}
$stime= get("stime",'h');
if($stime){
$stime=strtotime($stime." 00:00:01");
$where.=" AND dateline>='{$stime}' ";
}
$etime=get('etime','h');
if($etime){
$etime=strtotime($etime." 00:00:01");
$where.=" AND dateline<='{$etime}'";
}
$yhk_huming=get("yhk_huming",'h');
if($yhk_huming){
$where.=" AND yhk_huming='$yhk_huming' ";
}
$option=array(
"start"=>$start,
"limit"=>$limit,
"order"=>"id DESC",
"where"=>$where,
);
$rscount=true;
$data=M("tixian")->select($option,$rscount);
$statuslist=M("tixian")->status_list();
if($data){
foreach($data as $k=>$v){
$v['status_name']=$statuslist[$v['status']];
后面还有 209 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。