public function __construct()
 {
     $admintpl_path = C("SP_ADMIN_TMPL_PATH") . C("SP_ADMIN_DEFAULT_THEME") . "/";
     C("TMPL_ACTION_SUCCESS", $admintpl_path . C("SP_ADMIN_TMPL_ACTION_SUCCESS"));
     C("TMPL_ACTION_ERROR", $admintpl_path . C("SP_ADMIN_TMPL_ACTION_ERROR"));
     parent::__construct();
     $time = time();
     $this->assign("js_debug", APP_DEBUG ? "?v={$time}" : "");
 }
 public function __construct()
 {
     $this->set_action_success_error_tpl();
     parent::__construct();
 }