You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
516 B
PHTML
24 lines
516 B
PHTML
5 years ago
|
<?php
|
||
|
namespace Admin\Event;
|
||
|
use Think\Controller;
|
||
|
/**
|
||
|
* 后台事件控制器
|
||
|
* @author 王贺
|
||
|
*/
|
||
|
class AdvPosEvent extends BaseEvent {
|
||
|
|
||
|
/**
|
||
|
*广告位显示
|
||
|
*/
|
||
|
public function BaseAdv($module="",$extend=array()){
|
||
|
$map['module'] = $module;
|
||
|
$map['status'] = 1;
|
||
|
$adv = D("AdvPos");
|
||
|
$list = $adv->where($map)->select();
|
||
|
$this->assign("list_data",$list);
|
||
|
$this->assign("model",$extend);
|
||
|
$this->display($extend["tem_lists"]);
|
||
|
}
|
||
|
|
||
|
}
|