示例#1
0
 private function view_article()
 {
     include_once BG_PATH_MODEL . "articlePub.class.php";
     //载入管理帐号模型
     $_mdl_articlePub = new MODEL_ARTICLE_PUB();
     $_arr_articlePubRow = $_mdl_articlePub->mdl_create_cate_view();
     if ($_arr_articlePubRow["alert"] != "y150108") {
         $this->obj_ajax->halt_alert($_arr_articlePubRow["alert"]);
     }
     $_arr_articlePubRow = $_mdl_articlePub->mdl_create_tag_view();
     if ($_arr_articlePubRow["alert"] != "y160108") {
         $this->obj_ajax->halt_alert($_arr_articlePubRow["alert"]);
     }
     /*$_arr_articlePubRow  = $_mdl_articlePub->mdl_create_custom_view();
     		if ($_arr_articlePubRow["alert"] != "y210108") {
     			$this->obj_ajax->halt_alert($_arr_articlePubRow["alert"]);
     		}*/
 }
示例#2
0
 private function view_article()
 {
     include_once BG_PATH_MODEL . "articlePub.class.php";
     //载入管理帐号模型
     $_mdl_articlePub = new MODEL_ARTICLE_PUB();
     $_arr_cateView = $_mdl_articlePub->mdl_create_cate_view();
     $_arr_tagView = $_mdl_articlePub->mdl_create_tag_view();
     $this->tplData["db_alert"]["cate_view"] = array("alert" => $_arr_cateView["alert"], "status" => substr($_arr_cateView["alert"], 0, 1));
     $this->tplData["db_alert"]["tag_view"] = array("alert" => $_arr_tagView["alert"], "status" => substr($_arr_tagView["alert"], 0, 1));
 }