dzadsod/admin/dzadsod.class.php

44 lines
1.0 KiB
PHP

<?php
defined('IN_MET') or exit('No permission');
load::own_class('appadmin');
//接口初始化
class dzadsod extends appadmin
{
public function __construct()
{
global $_M, $_YW;
parent::__construct();
parent::appnav();
parent::point('dzadsod', 'dodzadsod');
}
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 dodzadsod()
{
global $_M;
//统计总数
$this->input['num'] = $this->cloud->summary();
//到期数据
parent::point('table_off', 'doindex', 'table');
parent::appurl('noticeday');//endcontract
$this->input['table'] = load::own_class('table_theme', 'new')->start($this->tname)->send_all(1);
$this->appshow = 'app/dzadsod';
}
}
?>