...
|
...
|
@@ -45,11 +45,14 @@ 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',5) -> paginate(6);
|
|
|
$data = Db::name('portal_category_post') -> alias('a') -> join('portal_post b','a.post_id = b.id','LEFT') -> where('a.category_id',34) -> 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();
|
|
|
$this -> assign('data1',$data1);
|
|
|
return $this -> fetch();
|
|
|
|
|
|
}
|
...
|
...
|
|