/** * Construct class */ public function __construct() { if (class_exists('backend_model_message')) { $this->message = new backend_model_message(); } if (magixcjquery_filter_request::isGet('action')) { $this->action = magixcjquery_form_helpersforms::inputClean($_GET['action']); } if (magixcjquery_filter_request::isGet('tab')) { $this->tab = magixcjquery_form_helpersforms::inputClean($_GET['tab']); } if (magixcjquery_filter_request::isGet('getlang')) { $this->getlang = magixcjquery_form_helpersforms::inputNumeric($_GET['getlang']); } if (magixcjquery_filter_request::isGet('edit')) { $this->edit = magixcjquery_form_helpersforms::inputNumeric($_GET['edit']); } # ADD PAGE if (magixcjquery_filter_request::isPost('title')) { $this->title = magixcjquery_form_helpersforms::inputClean($_POST['title']); } if (magixcjquery_filter_request::isPost('type')) { $this->ltype = magixcjquery_form_helpersforms::inputClean($_POST['type']); } if (magixcjquery_filter_request::isPost('content')) { $this->content = magixcjquery_form_helpersforms::inputClean($_POST['content']); } if (magixcjquery_filter_request::isPost('url')) { $this->url = magixcjquery_form_helpersforms::inputClean($_POST['url']); } if (magixcjquery_filter_request::isPost('blank')) { $this->blank = magixcjquery_form_helpersforms::inputClean($_POST['blank']); } # EDIT LINK if (magixcjquery_filter_request::isPOST('idlink')) { $this->idlink = magixcjquery_form_helpersforms::inputNumeric($_POST['idlink']); } # DELETE LINK if (magixcjquery_filter_request::isPOST('delete')) { $this->delete = magixcjquery_form_helpersforms::inputNumeric($_POST['delete']); } # ORDER LINK if (magixcjquery_filter_request::isPost('order')) { $this->order = magixcjquery_form_helpersforms::arrayClean($_POST['order']); } // Ajax search if (magixcjquery_filter_request::isGet('search_type')) { $this->type = magixcjquery_form_helpersforms::inputClean($_GET['search_type']); } if (magixcjquery_filter_request::isGet('q')) { $this->q = magixcjquery_form_helpersforms::inputClean($_GET['q']); } $this->template = new backend_controller_plugins(); }
/** * Construct class */ public function __construct() { if (class_exists('backend_model_message')) { $this->message = new backend_model_message(); } if (magixcjquery_filter_request::isGet('action')) { $this->action = magixcjquery_form_helpersforms::inputClean($_GET['action']); } if (magixcjquery_filter_request::isGet('tab')) { $this->tab = magixcjquery_form_helpersforms::inputClean($_GET['tab']); } if (magixcjquery_filter_request::isGet('getlang')) { $this->getlang = magixcjquery_form_helpersforms::inputNumeric($_GET['getlang']); } if (magixcjquery_filter_request::isGet('edit')) { $this->edit = magixcjquery_form_helpersforms::inputNumeric($_GET['edit']); } # ADD PAGE if (magixcjquery_filter_request::isPost('title')) { $this->title = magixcjquery_form_helpersforms::inputClean($_POST['title']); } if (magixcjquery_filter_request::isPost('content')) { $this->content = magixcjquery_form_helpersforms::inputCleanQuote($_POST['content']); } # EDIT PAGE if (magixcjquery_filter_request::isPOST('idqa')) { $this->idqa = magixcjquery_form_helpersforms::inputNumeric($_POST['idqa']); } # DELETE PAGE if (magixcjquery_filter_request::isPOST('delete')) { $this->delete = magixcjquery_form_helpersforms::inputNumeric($_POST['delete']); } # ORDER PAGE if (magixcjquery_filter_request::isPost('order')) { $this->order = magixcjquery_form_helpersforms::arrayClean($_POST['order']); } $this->template = new backend_controller_plugins(); }