...
|
...
|
@@ -45,13 +45,13 @@ class AboutController extends HomeBaseController{ |
|
|
//显示核心团队
|
|
|
public function team(){
|
|
|
|
|
|
$data = Db::name('portal_category_post') -> alias('a') -> join('portal_post b','a.post_id = b.id','LEFT') -> where('a.category_id',34) -> select();
|
|
|
$data = Db::name('portal_category_post') -> alias('a') -> join('portal_post b','a.post_id = b.id','LEFT') -> where('a.category_id=34 and b.delete_time=0') -> select();
|
|
|
/* foreach ($data as $key => $value){
|
|
|
$value['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($value['post_content']));
|
|
|
}*/
|
|
|
$this -> assign('data',$data);
|
|
|
|
|
|
$data1 = Db::name('portal_category_post') -> alias('a') -> join('portal_post b','a.post_id = b.id','LEFT') -> where('a.category_id',35) -> select();
|
|
|
$data1 = Db::name('portal_category_post') -> alias('a') -> join('portal_post b','a.post_id = b.id','LEFT') -> where('a.category_id=35 and b.delete_time=0') -> select();
|
|
|
$this -> assign('data1',$data1);
|
|
|
return $this -> fetch();
|
|
|
|
...
|
...
|
|