Commit c650bd65 by 冷斌

测试首页

parent 6ecbdf0a
...@@ -49,9 +49,6 @@ class IndexAction extends CommonAction ...@@ -49,9 +49,6 @@ class IndexAction extends CommonAction
$map['listingtime'] = ['LT', time()]; $map['listingtime'] = ['LT', time()];
OPEN_SCHOOL && $map['show_place'] = ['neq', 2]; OPEN_SCHOOL && $map['show_place'] = ['neq', 2];
var_dump($config['tpl'] );
die;
if ($config['tpl'] == 'theme_x4') { if ($config['tpl'] == 'theme_x4') {
$info_data = $this->get_index_one_data($config['item']); $info_data = $this->get_index_one_data($config['item']);
$this->assign('info_data', $info_data); $this->assign('info_data', $info_data);
...@@ -71,6 +68,10 @@ class IndexAction extends CommonAction ...@@ -71,6 +68,10 @@ class IndexAction extends CommonAction
} }
} }
var_dump($config['tpl'] );
die;
$this->assign("config_index", $config); $this->assign("config_index", $config);
$this->assign("ad_list", $ad_list); $this->assign("ad_list", $ad_list);
$this->assign('mid', $this->mid); $this->assign('mid', $this->mid);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment