Esempio n. 1
0
 public function __construct()
 {
     parent::__construct();
     $this->db = M('article');
     $this->article_content = M('article_content');
     $this->article_cate = M('article_cate');
     $this->img_upload = M('upload');
     $cate = $this->article_cate->select();
     $this->assign('cate', $cate);
 }
 public function __construct()
 {
     parent::__construct();
     $this->link = M('friendlink');
 }