/** * table_mark function. * * @access private * @return void */ private function table_mark() { include_once BG_PATH_MODEL . "mark.class.php"; //载入管理帐号模型 $_mdl_mark = new MODEL_MARK(); $_arr_markTable = $_mdl_mark->mdl_create_table(); $this->tplData["db_alert"]["mark_table"] = array("alert" => $_arr_markTable["alert"], "status" => substr($_arr_markTable["alert"], 0, 1)); }
/** * table_mark function. * * @access private * @return void */ private function table_mark() { include_once BG_PATH_MODEL . "mark.class.php"; //载入管理帐号模型 $_mdl_mark = new MODEL_MARK(); $_arr_markRow = $_mdl_mark->mdl_create_table(); if ($_arr_markRow["alert"] != "y140105") { $this->obj_ajax->halt_alert($_arr_markRow["alert"]); } }
/** * table_mark function. * * @access private * @return void */ private function table_mark() { include_once BG_PATH_MODEL . "mark.class.php"; //载入管理帐号模型 $_mdl_mark = new MODEL_MARK(); $_arr_col = $_mdl_mark->mdl_column(); $_arr_alert = array(); if (in_array("mark_id", $_arr_col)) { $_arr_alert["mark_id"] = array("CHANGE", "smallint NOT NULL AUTO_INCREMENT COMMENT 'ID'", "mark_id"); } if ($_arr_alert) { $_reselt = $this->obj_db->alert_table(BG_DB_TABLE . "mark", $_arr_alert); if (!$_reselt) { $this->obj_ajax->halt_alert("x140106"); } } }