Administrator(4); $this->header(); } public function __destruct() { $this->footer(); } function index($map = []) { $_var_0 = SafeRequest("page", "get"); $this->search = SafeRequest("search", "get"); $this->search && ($map[] = ["desc", "like", "%" . $this->search . "%"]); $this->type = SafeRequest("type", "get"); is_numeric($this->type) && ($map[] = ["type", "=", $this->type]); $this->mapTime("addtime", false, $map); $_var_1 = db("ticket")->where($map)->order("id desc")->paginate(["page" => $_var_0]); $_var_2 = $_var_1->items(); $_var_3 = $_var_1->total(); $_var_4 = getRender($_var_1, $_var_0); ?>