table_theme = load::own_class('table_theme', 'new'); } //输出模板内容 public function __destruct() { global $_M, $_YW; if ($this->destruct) { if (empty($this->appshow)) $this->appshow = 'app/' . $this->tname; require $this->show($this->appshow, $this->input); } } //广告位统计 public function doelevator() { global $_M, $_YW; parent::appurl(parent::tname()); $this->input['table'] = $this->table_theme->start($this->tname)->send_all(1); } //场所统计 public function dovillage() { global $_M, $_YW; parent::appurl(parent::tname()); $this->input['table'] = $this->table_theme->start($this->tname)->send_all(1); } //广告合同关联表 public function doschedule() { global $_M, $_YW; parent::appurl(parent::tname()); $this->input['table'] = $this->table_theme->start($this->tname)->send_all(); } //合同统计 public function docontract() { global $_M, $_YW; parent::appurl(parent::tname()); $this->input['table'] = $this->table_theme->start($this->tname)->send_all(); } //企业资料 public function docustomer() { global $_M, $_YW; parent::appurl(parent::tname()); $this->input['table'] = $this->table_theme->start($this->tname)->send_all(1); } //企业联系人 public function doworkers() { global $_M, $_YW; parent::appurl(parent::tname()); $this->input['table'] = $this->table_theme->start($this->tname)->send_all(1); } //投放计划单 public function dolaunch() { global $_M, $_YW; parent::appurl(parent::tname()); $this->input['table'] = $this->table_theme->start($this->tname)->send_all(1); } //参数配置 public function dopara() { global $_M, $_YW; parent::appurl(parent::tname()); $this->input['table'] = $this->table_theme->start($this->tname)->send_all(); } // 场所统计 public function dovillages() { global $_M, $_YW; parent::appurl(parent::tname()); $vs_daytime = date('Y-m-d', time()); $this->input['top']['tips'] = '

闲置个数、排期中的个数、到期个数、预排的个数计算说明

  1. 若选择时间区段,若两者缺少其中一个则自动补全为当天时间(' . $vs_daytime . '
  2. 闲置:默认计算当天(' . $vs_daytime . ')的广告位闲置个数,选择时间区段后,计算的可以满足时间区段的广告位个数。(仅计算启用的广告位)
  3. 排期中:默认计算当天(' . $vs_daytime . ')排期中的个数,选择时间区段后,计算的在时间区段内有排期的广告位个数。
  4. 到期:默认以当天(' . $vs_daytime . ')为准,计算7天后到期的个数,选择时间区段后,计算的在时间区段内到期的广告位个数。
  5. 预排:默认计算当天(' . $vs_daytime . ')以后才开始的排期广告位个数,选择时间区段后,计算的是时间区段内排期状态为预排的广告位个数。
'; $this->input['table'] = $this->table_theme->start($this->tname)->send_all(1); } // 场所统计 public function doelevators() { global $_M, $_YW; parent::appurl(parent::tname()); $this->input['table'] = $this->table_theme->start($this->tname)->send_all(1); } // 巡查密钥列表 public function dokeylist() { global $_M, $_YW; parent::appurl(parent::tname()); $this->input['table'] = $this->table_theme->start($this->tname)->send_all(); } } ?>