예제 #1
0
 /**
  * Construct class
  */
 public function __construct()
 {
     if (class_exists('backend_model_message')) {
         $this->message = new backend_model_message();
     }
     if (magixcjquery_filter_request::isGet('getlang')) {
         $this->getlang = magixcjquery_form_helpersforms::inputNumeric($_GET['getlang']);
     }
     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::isPost('idapi')) {
         $this->idapi = magixcjquery_form_helpersforms::inputClean($_POST['idapi']);
     }
     if (magixcjquery_filter_request::isPost('list_id')) {
         $this->list_id = magixcjquery_form_helpersforms::inputClean($_POST['list_id']);
     }
     if (magixcjquery_filter_request::isPost('idlist')) {
         $this->idlist = magixcjquery_form_helpersforms::inputNumeric($_POST['idlist']);
     }
     $this->template = new backend_controller_plugins();
 }
예제 #2
0
 /**
  *
  */
 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('section')) {
         $this->section = magixcjquery_form_helpersforms::inputClean($_GET['section']);
     }
     if (magixcjquery_filter_request::isGet('pluginame')) {
         $this->pluginame = magixcjquery_form_helpersforms::inputClean($_GET['pluginame']);
     }
     if (magixcjquery_filter_request::isGet('getlang')) {
         $this->getlang = (int) magixcjquery_filter_isVar::isPostNumeric($_GET['getlang']);
     }
     if (magixcjquery_filter_request::isPost('config_var')) {
         $this->config_var = magixcjquery_form_helpersforms::arrayClean($_POST['config_var']);
     }
     if (magixcjquery_filter_request::isPost('config_value')) {
         $this->config_value = $_POST['config_value'];
     }
 }
예제 #3
0
 /**
  *  @access public construct
  */
 public function __construct()
 {
     if (magixcjquery_filter_request::isGet('action')) {
         $this->action = magixcjquery_form_helpersforms::inputClean($_GET['action']);
     }
     if (magixcjquery_filter_request::isPost('version')) {
         $this->version = magixcjquery_form_helpersforms::inputClean($_POST['version']);
     }
 }
예제 #4
0
파일: ajax.php 프로젝트: biggtfish/magixcms
 /**
  * Constructor
  */
 public function __construct()
 {
     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 = (int) magixcjquery_filter_isVar::isPostNumeric($_GET['getlang']);
     }
 }
예제 #5
0
 /**
  * function construct
  */
 function __construct()
 {
     if (class_exists('backend_model_message')) {
         $this->message = new backend_model_message();
     }
     if (magixcjquery_filter_request::isPost('theme')) {
         $this->ptheme = magixcjquery_form_helpersforms::inputClean($_POST['theme']);
     }
     if (magixcjquery_filter_request::isGet('action')) {
         $this->action = magixcjquery_form_helpersforms::inputClean($_GET['action']);
     }
 }
예제 #6
0
 /**
  * Class constructor
  */
 public function __construct()
 {
     if (magixcjquery_filter_request::isGet('strLangue')) {
         $this->getlang = magixcjquery_form_helpersforms::inputClean($_GET['strLangue']);
     }
     if (magixcjquery_filter_request::isGet('pstring1')) {
         $this->pstring1 = magixcjquery_form_helpersforms::inputClean($_GET['pstring1']);
     }
     if (magixcjquery_filter_request::isGet('pnum1')) {
         $this->pnum1 = magixcjquery_form_helpersforms::inputNumeric($_GET['pnum1']);
     }
     $this->template = new frontend_controller_plugins();
 }
예제 #7
0
 /**
  * Class constructor
  */
 public function __construct()
 {
     if (magixcjquery_filter_request::isPost('email_chimp')) {
         $this->email_chimp = magixcjquery_form_helpersforms::inputClean($_POST['email_chimp']);
     }
     if (magixcjquery_filter_request::isPost('firstname_chimp')) {
         $this->firstname_chimp = magixcjquery_form_helpersforms::inputClean($_POST['firstname_chimp']);
     }
     if (magixcjquery_filter_request::isPost('lastname_chimp')) {
         $this->lastname_chimp = magixcjquery_form_helpersforms::inputClean($_POST['lastname_chimp']);
     }
     $this->template = new frontend_controller_plugins();
 }
예제 #8
0
 /**
  * @access public
  * Constructor
  */
 public function __construct()
 {
     if (class_exists('backend_model_message')) {
         $this->message = new backend_model_message();
     }
     if (magixcjquery_filter_request::isPost('xml_type')) {
         $this->xml_type = magixcjquery_form_helpersforms::inputClean($_POST['xml_type']);
     }
     if (magixcjquery_filter_request::isPost('tools_type')) {
         $this->tools_type = magixcjquery_form_helpersforms::inputClean($_POST['tools_type']);
     }
     if (magixcjquery_filter_request::isPost('idlang')) {
         $this->idlang = magixcjquery_filter_isVar::isPostNumeric($_POST['idlang']);
     }
 }
예제 #9
0
 /**
  * Constructeur
  */
 public function __construct()
 {
     if (class_exists('backend_model_message')) {
         $this->message = new backend_model_message();
     }
     if (magixcjquery_filter_request::isPost('width') and magixcjquery_filter_request::isPost('height')) {
         $this->width = magixcjquery_filter_isVar::isPostNumeric($_POST['width']);
         $this->height = magixcjquery_filter_isVar::isPostNumeric($_POST['height']);
     }
     if (magixcjquery_filter_request::isPost('img_resizing')) {
         $this->img_resizing = magixcjquery_form_helpersforms::inputClean($_POST['img_resizing']);
     }
     if (magixcjquery_filter_request::isPost('id_size_img')) {
         $this->id_size_img = magixcjquery_filter_isVar::isPostNumeric($_POST['id_size_img']);
     }
 }
예제 #10
0
/**
 * Smarty {static_metas} function plugin
 *
 * Type:     function
 * Name:     static_metas
 * Date:     January, 2010
 * Purpose:  Ajoute une métas statique
 * Examples: {static_metas param=""}
 * Output:   
 * @link 
 * @author   Gerits Aurelien
 * @version  1.1
 * @param array
 * @param Smarty
 * @return string
 */
function smarty_function_static_metas($params, $template)
{
    $param = !empty($params['param']) ? $params['param'] : "";
    $dynamic = $params['dynamic'];
    if (!isset($param)) {
        trigger_error("config: missing 'param' parameter");
        return;
    }
    if ($param == null) {
        if (empty($dynamic)) {
            $seo = magixglobal_model_system::extract_domain();
        } else {
            $seo = $dynamic;
        }
    } elseif ($param != null) {
        $seo = $param;
    }
    return magixcjquery_form_helpersforms::inputClean($seo);
}
예제 #11
0
 /**
  * Function construct
  */
 function __construct()
 {
     if (class_exists('backend_model_message')) {
         $this->message = new backend_model_message();
     }
     if (magixcjquery_filter_request::isPost('webmaster')) {
         $this->webmaster = magixcjquery_form_helpersforms::inputClean($_POST['webmaster']);
     }
     if (magixcjquery_filter_request::isPost('analytics')) {
         $this->analytics = magixcjquery_form_helpersforms::inputClean($_POST['analytics']);
     }
     if (magixcjquery_filter_request::isPost('googleplus')) {
         $this->googleplus = magixcjquery_form_helpersforms::inputClean($_POST['googleplus']);
     }
     if (magixcjquery_filter_request::isPost('robots')) {
         $this->robots = magixcjquery_form_helpersforms::inputClean($_POST['robots']);
     }
     if (magixcjquery_filter_request::isGet('action')) {
         $this->action = magixcjquery_form_helpersforms::inputClean($_GET['action']);
     }
 }
예제 #12
0
 /**
  * Constructor
  */
 function __construct()
 {
     if (magixcjquery_filter_request::isPost('lastname_admin')) {
         $this->lastname_admin = magixcjquery_form_helpersforms::inputClean($_POST['lastname_admin']);
     }
     if (magixcjquery_filter_request::isPost('firstname_admin')) {
         $this->firstname_admin = magixcjquery_form_helpersforms::inputClean($_POST['firstname_admin']);
     }
     if (magixcjquery_filter_request::isPost('pseudo_admin')) {
         $this->pseudo_admin = magixcjquery_form_helpersforms::inputClean($_POST['pseudo_admin']);
     }
     if (magixcjquery_filter_request::isPost('email_admin')) {
         $this->email_admin = magixcjquery_form_helpersforms::inputClean($_POST['email_admin']);
     }
     if (magixcjquery_filter_request::isPost('passwd_admin')) {
         $this->passwd_admin = magixcjquery_form_helpersforms::inputClean(sha1($_POST['passwd_admin']));
     }
     if (magixcjquery_filter_request::isGet('action')) {
         $this->action = magixcjquery_form_helpersforms::inputClean($_GET['action']);
     }
 }
예제 #13
0
 /**
  * protected var for dbLayer
  *
  * @var void
  */
 function __construct()
 {
     if (class_exists('backend_model_message')) {
         $this->message = new backend_model_message();
     }
     if (magixcjquery_filter_request::isPost('passwd_admin')) {
         $this->passwd_admin = sha1(magixcjquery_form_helpersforms::inputClean($_POST['passwd_admin']));
     }
     if (magixcjquery_filter_request::isPost('hashtoken')) {
         $this->hashtoken = magixcjquery_filter_var::escapeHTML($_POST['hashtoken']);
     }
     if (magixcjquery_filter_request::isGet('logout')) {
         $this->logout = magixcjquery_filter_isVar::isPostAlpha($_GET['logout']);
     }
     if (magixcjquery_filter_request::isPost('email_admin')) {
         $this->email_admin = magixcjquery_filter_isVar::isMail($_POST['email_admin']);
     }
     //LOSTPASSWORD
     if (magixcjquery_filter_request::isPost('lo_email_admin')) {
         $this->lo_email_admin = magixcjquery_filter_isVar::isMail($_POST['lo_email_admin']);
     }
 }
예제 #14
0
파일: admin.php 프로젝트: magix-cms/ogone
 /**
  * constructeur
  */
 public function __construct()
 {
     if (class_exists('backend_model_message')) {
         $this->message = new backend_model_message();
     }
     // Global
     if (magixcjquery_filter_request::isGet('getlang')) {
         $this->getlang = magixcjquery_filter_isVar::isPostNumeric($_GET['getlang']);
     }
     if (magixcjquery_filter_request::isGet('edit')) {
         $this->edit = magixcjquery_filter_isVar::isPostNumeric($_GET['edit']);
     }
     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']);
     }
     // Dédié
     if (magixcjquery_filter_request::isGet('plugin')) {
         $this->plugin = magixcjquery_form_helpersforms::inputClean($_GET['plugin']);
     }
     if (magixcjquery_filter_request::isGet('id')) {
         $this->id = (int) magixcjquery_filter_isVar::isPostNumeric($_GET['id']);
     }
     if (magixcjquery_filter_request::isPost('pspid_og')) {
         $this->pspid_og = magixcjquery_form_helpersforms::inputClean($_POST['pspid_og']);
     }
     if (magixcjquery_filter_request::isPost('passphrase_og')) {
         $this->passphrase_og = magixcjquery_form_helpersforms::inputClean($_POST['passphrase_og']);
     }
     if (magixcjquery_filter_request::isPost('formaction_og')) {
         $this->formaction_og = magixcjquery_form_helpersforms::inputClean($_POST['formaction_og']);
     }
     $this->header = new magixglobal_model_header();
     $this->template = new backend_controller_plugins();
 }
예제 #15
0
 /**
  * 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();
 }
예제 #16
0
 /**
  * Constructor
  */
 public function __construct()
 {
     if (magixcjquery_filter_request::isGet('name')) {
         $this->nameplugin = magixcjquery_form_helpersforms::inputClean($_GET['name']);
     }
     if (magixcjquery_filter_request::isGet('getlang')) {
         $this->getlang = (int) magixcjquery_filter_isVar::isPostNumeric($_GET['getlang']);
     }
     if (magixcjquery_filter_request::isGet('plugin')) {
         $this->plugin = magixcjquery_form_helpersforms::inputClean($_GET['plugin']);
     }
 }
예제 #17
0
파일: admin.php 프로젝트: magix-cms/cartpay
 /**
  * construct
  */
 public function __construct()
 {
     $this->country = new backend_controller_country();
     $this->translation = new backend_controller_template();
     if (class_exists('backend_model_message')) {
         $this->message = new backend_model_message();
     }
     if (magixcjquery_filter_request::isGet('tab')) {
         $this->tab = magixcjquery_form_helpersforms::inputClean($_GET['tab']);
     }
     if (magixcjquery_filter_request::isGet('edit')) {
         $this->edit = magixcjquery_filter_isVar::isPostNumeric($_GET['edit']);
     }
     if (magixcjquery_filter_request::isGet('action')) {
         $this->action = magixcjquery_form_helpersforms::inputClean($_GET['action']);
     }
     if (magixcjquery_filter_request::isGet('plugin')) {
         $this->plugin = magixcjquery_form_helpersforms::inputClean($_GET['plugin']);
     }
     //GET
     if (magixcjquery_filter_request::isGet('page')) {
         // si numéric
         if (is_numeric($_GET['page'])) {
             $this->getpage = intval($_GET['page']);
         } else {
             // Sinon retourne la première page
             $this->getpage = 1;
         }
     } else {
         $this->getpage = 1;
     }
     // POST
     /* ################# CONFIG ###################*/
     if (magixcjquery_filter_request::isPost('mail_order')) {
         $this->mail_order = magixcjquery_form_helpersforms::inputClean($_POST['mail_order']);
     }
     if (magixcjquery_filter_request::isPost('mail_order_from')) {
         $this->mail_order_from = magixcjquery_form_helpersforms::inputClean($_POST['mail_order_from']);
     }
     if (magixcjquery_filter_request::isPost('online_payment')) {
         $this->online_payment = 1;
     }
     if (magixcjquery_filter_request::isPost('profil')) {
         $this->profil = 1;
     }
     if (magixcjquery_filter_request::isPost('bank_wire')) {
         $this->bank_wire = 1;
     }
     if (magixcjquery_filter_request::isPost('hipay')) {
         $this->hipay = 1;
     }
     if (magixcjquery_filter_request::isPost('ogone')) {
         $this->ogone = 1;
     }
     if (magixcjquery_filter_request::isPost('shipping')) {
         $this->shipping = 1;
     }
     if (magixcjquery_filter_request::isPost('account_owner')) {
         $this->account_owner = magixcjquery_form_helpersforms::inputClean($_POST['account_owner']);
     }
     if (magixcjquery_filter_request::isPost('contact_details')) {
         $this->contact_details = magixcjquery_form_helpersforms::inputClean($_POST['contact_details']);
     }
     if (magixcjquery_filter_request::isPost('bank_address')) {
         $this->bank_address = magixcjquery_form_helpersforms::inputClean($_POST['bank_address']);
     }
     /* ################### TVA #####################*/
     // Config
     if (magixcjquery_filter_request::isPost('amount_tva_1')) {
         $this->amount_tva_1 = magixcjquery_form_helpersforms::inputClean($_POST['amount_tva_1']);
     }
     if (magixcjquery_filter_request::isPost('amount_tva_2')) {
         $this->amount_tva_2 = magixcjquery_form_helpersforms::inputClean($_POST['amount_tva_2']);
     }
     if (magixcjquery_filter_request::isPost('zone_tva_1')) {
         $this->zone_tva_1 = magixcjquery_form_helpersforms::inputClean($_POST['zone_tva_1']);
     }
     if (magixcjquery_filter_request::isPost('zone_tva_2')) {
         $this->zone_tva_2 = magixcjquery_form_helpersforms::inputClean($_POST['zone_tva_2']);
     }
     // TVA
     if (magixcjquery_filter_request::isPost('remove_tva')) {
         $this->remove_tva = magixcjquery_form_helpersforms::inputClean($_POST['remove_tva']);
     }
     if (magixcjquery_filter_request::isPost('iso')) {
         $this->iso = magixcjquery_form_helpersforms::inputClean($_POST['iso']);
     }
     if (magixcjquery_filter_request::isPost('country')) {
         $this->country = magixcjquery_form_helpersforms::inputClean($_POST['country']);
     }
     if (magixcjquery_filter_request::isPost('idtvac')) {
         $this->idtvac = magixcjquery_form_helpersforms::inputClean($_POST['idtvac']);
     }
     $this->header = new magixglobal_model_header();
     $this->template = new backend_controller_plugins();
     if (class_exists('plugins_cartpay_module')) {
         $this->module = new plugins_cartpay_module();
     }
 }
예제 #18
0
 /**
  * Construct class
  */
 public function __construct()
 {
     if (class_exists('backend_model_message')) {
         $this->message = new backend_model_message();
     }
     if (magixcjquery_filter_request::isPost('mail_contact')) {
         $this->mail_contact = magixcjquery_form_helpersforms::inputClean($_POST['mail_contact']);
     }
     if (magixcjquery_filter_request::isPost('delete_contact')) {
         $this->delete_contact = (int) magixcjquery_filter_isVar::isPostNumeric($_POST['delete_contact']);
     }
     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']);
     }
 }
예제 #19
0
 /**
  * Constructor
  */
 function __construct()
 {
     if (class_exists('backend_model_message')) {
         $this->message = new backend_model_message();
     }
     if (magixcjquery_filter_request::isPost('lastname_admin')) {
         $this->lastname_admin = magixcjquery_form_helpersforms::inputClean($_POST['lastname_admin']);
     }
     if (magixcjquery_filter_request::isPost('firstname_admin')) {
         $this->firstname_admin = magixcjquery_form_helpersforms::inputClean($_POST['firstname_admin']);
     }
     if (magixcjquery_filter_request::isPost('pseudo_admin')) {
         $this->pseudo_admin = magixcjquery_form_helpersforms::inputClean($_POST['pseudo_admin']);
     }
     if (magixcjquery_filter_request::isPost('email_admin')) {
         $this->email_admin = magixcjquery_form_helpersforms::inputClean($_POST['email_admin']);
     }
     if (magixcjquery_filter_request::isPost('passwd_admin')) {
         $this->passwd_admin = magixcjquery_form_helpersforms::inputClean(sha1($_POST['passwd_admin']));
     }
     if (magixcjquery_filter_request::isPost('id_role')) {
         $this->id_role = magixcjquery_filter_isVar::isPostNumeric($_POST['id_role']);
     }
     if (magixcjquery_filter_request::isPost('delete_employee')) {
         $this->delete_employee = magixcjquery_filter_isVar::isPostNumeric($_POST['delete_employee']);
     }
     if (magixcjquery_filter_request::isPost('active_admin')) {
         $this->active_admin = magixcjquery_filter_isVar::isPostNumeric($_POST['active_admin']);
     }
     if (magixcjquery_filter_request::isGet('edit')) {
         $this->edit = magixcjquery_filter_isVar::isPostNumeric($_GET['edit']);
     }
     if (magixcjquery_filter_request::isGet('action')) {
         $this->action = magixcjquery_form_helpersforms::inputClean($_GET['action']);
     }
 }
예제 #20
0
 /**
  * Validation des champs avant l'envoi et met a jour les données du client
  * @param $id_cart
  * @param $create
  */
 private function validate_cart($id_cart, $create)
 {
     if ($id_cart != 'null') {
         //Controle des champs obligatoire, arrêt du script si null ou = à ''
         $data_validate = array('lastname_cart', 'firstname_cart', 'email_cart', 'street_cart', 'city_cart', 'postal_cart', 'country_cart');
         foreach ($data_validate as $input) {
             if (!$_POST[$input] or $_POST[$input] == null or $_POST[$input] == '') {
                 $this->getNotify('empty', false);
                 return;
             }
         }
         //Nettoyage des variable $_POST et injection dans colonne du panier
         $id_cart = magixcjquery_form_helpersforms::inputNumeric($id_cart);
         $lastname = magixcjquery_form_helpersforms::inputClean($_POST['lastname_cart']);
         $firstname = magixcjquery_form_helpersforms::inputClean($_POST['firstname_cart']);
         $email = magixcjquery_form_helpersforms::inputClean($_POST['email_cart']);
         $phone = magixcjquery_form_helpersforms::inputClean($_POST['phone_cart']);
         $street = magixcjquery_form_helpersforms::inputClean($_POST['street_cart']);
         $city = magixcjquery_form_helpersforms::inputClean($_POST['city_cart']);
         $postal = magixcjquery_form_helpersforms::inputClean($_POST['postal_cart']);
         $country = magixcjquery_form_helpersforms::inputClean($_POST['country_cart']);
         $vat = magixcjquery_form_helpersforms::inputClean($_POST['vat_cart']);
         $company = magixcjquery_form_helpersforms::inputClean($_POST['company_cart']);
         $message = $_POST['message_cart'] != null ? magixcjquery_form_helpersforms::inputClean($_POST['message_cart']) : '';
         //$adressliv  =   $_POST['adressliv'] != null ? magixcjquery_form_helpersforms::inputClean($_POST['adressliv']) : '';
         $lastname_liv = magixcjquery_form_helpersforms::inputClean($_POST['lastname_liv_cart']);
         $firstname_liv = magixcjquery_form_helpersforms::inputClean($_POST['firstname_liv_cart']);
         $street_liv = magixcjquery_form_helpersforms::inputClean($_POST['street_liv_cart']);
         $city_liv = magixcjquery_form_helpersforms::inputClean($_POST['city_liv_cart']);
         $postal_liv = magixcjquery_form_helpersforms::inputClean($_POST['postal_liv_cart']);
         $country_liv = magixcjquery_form_helpersforms::inputClean($_POST['country_liv_cart']);
         if (magixcjquery_filter_request::isSession('idprofil')) {
             $idprofil = magixcjquery_form_helpersforms::inputNumeric($_SESSION['idprofil']);
         } else {
             $idprofil = null;
         }
         // Enregistrer les données du formulaire en DB
         parent::u_cart_customer_infos($id_cart, $idprofil, $firstname, $lastname, $email, $phone, $street, $city, $vat, $company, $postal, $country, $message, $street_liv, $city_liv, $postal_liv, $country_liv, $lastname_liv, $firstname_liv);
     }
 }
예제 #21
0
 /**
  * @access public
  * Constructor
  */
 public function __construct()
 {
     if (class_exists('backend_model_access')) {
         $this->model_access = new backend_model_access();
     }
     if (class_exists('backend_model_message')) {
         $this->message = new backend_model_message();
     }
     if (magixcjquery_filter_request::isSession('keyuniqid_admin')) {
         $this->idadmin = magixcjquery_filter_isVar::isPostNumeric($_SESSION['id_admin']);
     }
     //Catégories
     if (magixcjquery_filter_request::isPost('clibelle')) {
         $this->clibelle = magixcjquery_form_helpersforms::inputClean($_POST['clibelle']);
     }
     if (magixcjquery_filter_request::isPost('pathclibelle')) {
         $this->pathclibelle = magixcjquery_form_helpersforms::inputClean($_POST['pathclibelle']);
     }
     if (magixcjquery_filter_request::isPost('c_content')) {
         $this->c_content = magixcjquery_form_helpersforms::inputCleanQuote($_POST['c_content']);
     }
     //Sous catégories
     if (magixcjquery_filter_request::isPost('slibelle')) {
         $this->slibelle = magixcjquery_form_helpersforms::inputClean($_POST['slibelle']);
     }
     if (magixcjquery_filter_request::isPost('pathslibelle')) {
         $this->pathslibelle = magixcjquery_url_clean::rplMagixString($_POST['slibelle'], array('dot' => false, 'ampersand' => 'strict', 'cspec' => '', 'rspec' => ''));
     }
     if (magixcjquery_filter_request::isPost('order_pages')) {
         $this->order_pages = magixcjquery_form_helpersforms::arrayClean($_POST['order_pages']);
     }
     if (magixcjquery_filter_request::isPost('s_content')) {
         $this->s_content = magixcjquery_form_helpersforms::inputCleanQuote($_POST['s_content']);
     }
     if (magixcjquery_filter_request::isPost('idclc')) {
         $this->idclc = (int) magixcjquery_filter_isVar::isPostNumeric($_POST['idclc']);
     }
     if (magixcjquery_filter_request::isPost('idcls')) {
         $this->idcls = (int) magixcjquery_filter_isVar::isPostNumeric($_POST['idcls']);
     }
     if (magixcjquery_filter_request::isPost('idlang')) {
         $this->idlang = (int) magixcjquery_filter_isVar::isPostNumeric($_POST['idlang']);
     }
     if (magixcjquery_filter_request::isGet('getlang')) {
         $this->getlang = magixcjquery_filter_isVar::isPostNumeric($_GET['getlang']);
     }
     if (magixcjquery_filter_request::isGet('edit')) {
         $this->edit = magixcjquery_filter_isVar::isPostNumeric($_GET['edit']);
     }
     if (magixcjquery_filter_request::isPost('titlecatalog')) {
         $this->titlecatalog = (string) magixcjquery_form_helpersforms::inputClean($_POST['titlecatalog']);
     }
     if (magixcjquery_filter_request::isPost('urlcatalog')) {
         $this->urlcatalog = magixcjquery_form_helpersforms::inputClean($_POST['urlcatalog']);
     }
     if (magixcjquery_filter_request::isPost('desccatalog')) {
         $this->desccatalog = (string) magixcjquery_form_helpersforms::inputCleanQuote($_POST['desccatalog']);
     }
     if (magixcjquery_filter_request::isPost('price')) {
         $this->price = magixcjquery_form_helpersforms::inputClean($_POST['price']);
     }
     // Remove
     if (magixcjquery_filter_request::isPost('delete_catalog')) {
         $this->delete_catalog = magixcjquery_filter_isVar::isPostNumeric($_POST['delete_catalog']);
     }
     if (magixcjquery_filter_request::isPost('delete_image')) {
         $this->delete_image = magixcjquery_form_helpersforms::inputClean($_POST['delete_image']);
     }
     if (magixcjquery_filter_request::isPost('delete_product')) {
         $this->delete_product = magixcjquery_filter_isVar::isPostNumeric($_POST['delete_product']);
     }
     if (magixcjquery_filter_request::isPost('delete_galery')) {
         $this->delete_galery = magixcjquery_filter_isVar::isPostNumeric($_POST['delete_galery']);
     }
     if (magixcjquery_filter_request::isPost('delete_category')) {
         $this->delete_category = magixcjquery_filter_isVar::isPostNumeric($_POST['delete_category']);
     }
     if (magixcjquery_filter_request::isPost('delete_subcategory')) {
         $this->delete_subcategory = magixcjquery_filter_isVar::isPostNumeric($_POST['delete_subcategory']);
     }
     if (magixcjquery_filter_request::isGet('page')) {
         // si numéric
         if (magixcjquery_filter_isVar::isPostNumeric($_GET['page'])) {
             $this->getpage = (int) intval($_GET['page']);
         } else {
             // Sinon retourne la première page
             $this->getpage = 1;
         }
     } else {
         $this->getpage = 1;
     }
     if (isset($_FILES['imgcatalog']["name"])) {
         $this->imgcatalog = magixcjquery_url_clean::rplMagixString($_FILES['imgcatalog']["name"]);
     }
     if (isset($_FILES['img_c']["name"])) {
         $this->img_c = magixcjquery_url_clean::rplMagixString($_FILES['img_c']["name"]);
     }
     if (isset($_FILES['img_s']["name"])) {
         $this->img_s = magixcjquery_url_clean::rplMagixString($_FILES['img_s']["name"]);
     }
     if (magixcjquery_filter_request::isGet('idclc')) {
         $this->getidclc = (int) magixcjquery_filter_isVar::isPostNumeric($_GET['idclc']);
     }
     if (magixcjquery_filter_request::isPost('idproduct')) {
         $this->idproduct = (int) magixcjquery_filter_isVar::isPostNumeric($_POST['idproduct']);
     }
     /**
      * Recherche de fiche catalogue
      */
     if (isset($_POST['product_search'])) {
         $this->product_search = magixcjquery_form_helpersforms::inputClean($_POST['product_search']);
     }
     if (magixcjquery_filter_request::isGet('name_product')) {
         $this->name_product = magixcjquery_form_helpersforms::inputClean($_GET['name_product']);
     }
     if (magixcjquery_filter_request::isGet('name_category')) {
         $this->name_category = magixcjquery_form_helpersforms::inputClean($_GET['name_category']);
     }
     // galery
     if (magixcjquery_filter_request::isPost('img_order')) {
         $this->img_order = magixcjquery_form_helpersforms::arrayClean($_POST['img_order']);
     }
     //Global
     if (magixcjquery_filter_request::isGet('section')) {
         $this->section = magixcjquery_form_helpersforms::inputClean($_GET['section']);
     }
     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('plugin')) {
         $this->plugin = magixcjquery_form_helpersforms::inputClean($_GET['plugin']);
     }
     //JQUERY CALLBACK
     if (magixcjquery_filter_request::isGet('callback')) {
         $this->callback = (string) magixcjquery_form_helpersforms::inputClean($_GET['callback']);
     }
     if (magixcjquery_filter_request::isGet('title_search')) {
         $this->title_search = magixcjquery_form_helpersforms::inputClean($_GET['title_search']);
     }
     //Copy
     if (magixcjquery_filter_request::isPost('copy')) {
         $this->copy = magixcjquery_filter_isVar::isPostNumeric($_POST['copy']);
     }
     if (magixcjquery_filter_request::isPost('move')) {
         $this->move = magixcjquery_filter_isVar::isPostNumeric($_POST['move']);
     }
 }
예제 #22
0
 /**
  * function construct class
  *
  */
 public function __construct()
 {
     if (magixcjquery_filter_request::isGet('adminLanguage')) {
         self::$adminLanguage = magixcjquery_form_helpersforms::inputClean($_GET['adminLanguage']);
     }
 }
예제 #23
0
파일: home.php 프로젝트: biggtfish/magixcms
 /**
  * function construct
  *
  */
 function __construct()
 {
     if (class_exists('backend_model_access')) {
         $this->model_access = new backend_model_access();
     }
     if (class_exists('backend_model_message')) {
         $this->message = new backend_model_message();
     }
     if (magixcjquery_filter_request::isSession('keyuniqid_admin')) {
         $this->idadmin = magixcjquery_filter_isVar::isPostNumeric($_SESSION['id_admin']);
     }
     if (magixcjquery_filter_request::isGet('edit')) {
         $this->edit = magixcjquery_filter_isVar::isPostNumeric($_GET['edit']);
     }
     if (magixcjquery_filter_request::isPost('subject')) {
         $this->subject = magixcjquery_form_helpersforms::inputClean($_POST['subject']);
     }
     if (magixcjquery_filter_request::isPost('content')) {
         $this->content = magixcjquery_form_helpersforms::inputCleanQuote($_POST['content']);
     }
     if (magixcjquery_filter_request::isPost('idlang')) {
         $this->idlang = magixcjquery_filter_isVar::isPostNumeric($_POST['idlang']);
     }
     if (magixcjquery_filter_request::isPost('metatitle')) {
         $this->metatitle = magixcjquery_form_helpersforms::inputTagClean($_POST['metatitle']);
     }
     if (magixcjquery_filter_request::isPost('metadescription')) {
         $this->metadescription = magixcjquery_form_helpersforms::inputTagClean($_POST['metadescription']);
     }
     if (magixcjquery_filter_request::isPost('delete_home')) {
         $this->delete_home = magixcjquery_filter_isVar::isPostNumeric($_POST['delete_home']);
     }
     if (magixcjquery_filter_request::isGet('action')) {
         $this->action = magixcjquery_form_helpersforms::inputClean($_GET['action']);
     }
 }
예제 #24
0
파일: news.php 프로젝트: biggtfish/magixcms
 /**
  * 
  * 
  */
 public function __construct()
 {
     if (class_exists('backend_model_access')) {
         $this->model_access = new backend_model_access();
     }
     if (class_exists('backend_model_message')) {
         $this->message = new backend_model_message();
     }
     if (magixcjquery_filter_request::isSession('keyuniqid_admin')) {
         $this->idadmin = magixcjquery_filter_isVar::isPostNumeric($_SESSION['id_admin']);
     }
     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('edit')) {
         $this->edit = magixcjquery_filter_isVar::isPostNumeric($_GET['edit']);
     }
     if (magixcjquery_filter_request::isGet('getlang')) {
         $this->getlang = (int) magixcjquery_filter_isVar::isPostNumeric($_GET['getlang']);
     }
     if (magixcjquery_filter_request::isPost('idnews')) {
         $this->idnews = magixcjquery_filter_isVar::isPostNumeric($_POST['idnews']);
     }
     if (magixcjquery_filter_request::isPost('n_title')) {
         $this->n_title = magixcjquery_form_helpersforms::inputClean($_POST['n_title']);
     }
     if (magixcjquery_filter_request::isPost('n_uri')) {
         $this->n_uri = magixcjquery_url_clean::rplMagixString($_POST['n_uri']);
     }
     if (magixcjquery_filter_request::isPost('n_content')) {
         $this->n_content = $_POST['n_content'];
     }
     if (isset($_FILES['n_image']["name"])) {
         $this->n_image = magixcjquery_url_clean::rplMagixString($_FILES['n_image']["name"]);
     }
     if (magixcjquery_filter_request::isPost('idlang')) {
         $this->idlang = magixcjquery_filter_isVar::isPostNumeric($_POST['idlang']);
     }
     if (magixcjquery_filter_request::isGet('page')) {
         // si numéric
         if (is_numeric($_GET['page'])) {
             $this->getpage = intval($_GET['page']);
         } else {
             // Sinon retourne la première page
             $this->getpage = 1;
         }
     } else {
         $this->getpage = 1;
     }
     if (magixcjquery_filter_request::isPost('published')) {
         $this->published = magixcjquery_filter_isVar::isPostNumeric($_POST['published']);
     }
     if (magixcjquery_filter_request::isPost('delete_news')) {
         $this->delete_news = magixcjquery_filter_isVar::isPostNumeric($_POST['delete_news']);
     }
     if (magixcjquery_filter_request::isPost('delete_image')) {
         $this->delete_image = magixcjquery_filter_isVar::isPostNumeric($_POST['delete_image']);
     }
     /**
      * Système de tags
      */
     if (magixcjquery_filter_request::isPost('name_tag')) {
         $this->name_tag = (string) magixcjquery_url_clean::make2tagString($_POST['name_tag']);
     }
     if (magixcjquery_filter_request::isPost('delete_tag')) {
         $this->delete_tag = magixcjquery_form_helpersforms::inputClean($_POST['delete_tag']);
     }
     //SEARCH
     if (magixcjquery_filter_request::isGet('get_search_news')) {
         $this->get_search_news = magixcjquery_form_helpersforms::inputClean($_GET['get_search_news']);
     }
     if (magixcjquery_filter_request::isPost('news_search')) {
         $this->news_search = magixcjquery_form_helpersforms::inputClean($_POST['news_search']);
     }
     //plugin
     if (magixcjquery_filter_request::isGet('plugin')) {
         $this->plugin = magixcjquery_form_helpersforms::inputClean($_GET['plugin']);
     }
 }
예제 #25
0
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->message = new backend_model_message();
     if (class_exists('backend_model_access')) {
         $this->model_access = new backend_model_access();
     }
     if (magixcjquery_filter_request::isGet('action')) {
         $this->action = magixcjquery_form_helpersforms::inputClean($_GET['action']);
     }
     if (magixcjquery_filter_request::isGet('edit')) {
         $this->edit = magixcjquery_filter_isVar::isPostNumeric($_GET['edit']);
     }
     //profile
     if (magixcjquery_filter_request::isPost('role_name')) {
         $this->role_name = magixcjquery_form_helpersforms::inputClean($_POST['role_name']);
     }
     //access
     if (magixcjquery_filter_request::isPost('id_module')) {
         $this->id_module = magixcjquery_filter_isVar::isPostNumeric($_POST['id_module']);
     }
     if (magixcjquery_filter_request::isPost('plugins')) {
         $this->plugins = magixcjquery_form_helpersforms::inputClean($_POST['plugins']);
     }
     if (magixcjquery_filter_request::isPost('view_access')) {
         $this->view_access = magixcjquery_form_helpersforms::inputClean($_POST['view_access']);
     }
     if (magixcjquery_filter_request::isPost('add_access')) {
         $this->add_access = magixcjquery_form_helpersforms::inputClean($_POST['add_access']);
     }
     if (magixcjquery_filter_request::isPost('edit_access')) {
         $this->edit_access = magixcjquery_form_helpersforms::inputClean($_POST['edit_access']);
     }
     if (magixcjquery_filter_request::isPost('delete_access')) {
         $this->delete_access = magixcjquery_form_helpersforms::inputClean($_POST['delete_access']);
     }
     if (magixcjquery_filter_request::isPost('id_access')) {
         $this->id_access = magixcjquery_form_helpersforms::inputClean($_POST['id_access']);
     }
     if (magixcjquery_filter_request::isPost('delete_role')) {
         $this->delete_role = magixcjquery_form_helpersforms::inputClean($_POST['delete_role']);
     }
 }
예제 #26
0
 /**
  * Constructor
  */
 function __construct()
 {
     /**
      * path for reading file config.php.in
      */
     self::$config_in = self::dirConfig() . 'config.php.in';
     /*
      * path for create file config.php
      */
     self::$configfile = self::dirConfig() . 'config.php';
     //
     if (magixcjquery_filter_request::isPost('M_DBDRIVER')) {
         $this->M_DBDRIVER = $_POST['M_DBDRIVER'];
     }
     if (magixcjquery_filter_request::isPost('M_DBHOST')) {
         $this->M_DBHOST = $_POST['M_DBHOST'];
     }
     if (magixcjquery_filter_request::isPost('M_DBUSER')) {
         $this->M_DBUSER = $_POST['M_DBUSER'];
     }
     if (magixcjquery_filter_request::isPost('M_DBPASSWORD')) {
         $this->M_DBPASSWORD = $_POST['M_DBPASSWORD'];
     }
     if (magixcjquery_filter_request::isPost('M_DBNAME')) {
         $this->M_DBNAME = $_POST['M_DBNAME'];
     }
     if (magixcjquery_filter_request::isPost('M_LOG')) {
         $this->M_LOG = $_POST['M_LOG'];
     }
     if (magixcjquery_filter_request::isPost('M_FIREPHP')) {
         $this->M_FIREPHP = $_POST['M_FIREPHP'];
     }
     if (magixcjquery_filter_request::isGet('action')) {
         $this->action = magixcjquery_form_helpersforms::inputClean($_GET['action']);
     }
 }
예제 #27
0
 /**
  * Retourne un tableaux contenant les identifiant actif (int OR string)
  * @access public
  * @static
  * @return array
  */
 public static function setCurrentId()
 {
     $ModelTemplate = new frontend_model_template();
     $FilterRequest = new magixcjquery_filter_request();
     $HelperClean = new magixcjquery_form_helpersforms();
     $current = array();
     $current['news']['record']['id'] = null;
     if ($FilterRequest->isGet('getnews')) {
         $current['news']['record']['id'] = $HelperClean->inputAlphaNumeric($_GET['getnews']);
     }
     $current['news']['pagination']['id'] = 1;
     if ($FilterRequest->isGet('page')) {
         $current['news']['pagination']['id'] = $HelperClean->inputNumeric($_GET['page']);
     }
     $current['news']['tag']['id'] = null;
     if ($FilterRequest->isGet('tag')) {
         $current['news']['tag']['id'] = $HelperClean->inputClean($_GET['tag']);
     }
     $current['cms']['record']['id'] = null;
     if ($FilterRequest->isGet('getidpage')) {
         $current['cms']['record']['id'] = $HelperClean->inputNumeric($_GET['getidpage']);
     }
     $current['cms']['parent']['id'] = null;
     if ($FilterRequest->isGet('getidpage_p')) {
         $current['cms']['parent']['id'] = $HelperClean->inputNumeric($_GET['getidpage_p']);
     }
     $current['catalog']['category']['id'] = null;
     if ($FilterRequest->isGet('idclc')) {
         $current['catalog']['category']['id'] = $HelperClean->inputNumeric($_GET['idclc']);
     }
     $current['catalog']['subcategory']['id'] = null;
     if ($FilterRequest->isGet('idcls')) {
         $current['catalog']['subcategory']['id'] = $HelperClean->inputNumeric($_GET['idcls']);
     }
     $current['catalog']['product']['id'] = null;
     if ($FilterRequest->isGet('idproduct')) {
         $current['catalog']['product']['id'] = $HelperClean->inputNumeric($_GET['idproduct']);
     }
     $current['lang']['iso'] = $ModelTemplate->current_Language();
     return $current;
 }
예제 #28
0
파일: admin.php 프로젝트: magix-cms/faq
 /**
  * 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();
 }
예제 #29
0
파일: seo.php 프로젝트: biggtfish/magixcms
 public function __construct()
 {
     if (class_exists('backend_model_message')) {
         $this->message = new backend_model_message();
     }
     if (magixcjquery_filter_request::isPost('attribute')) {
         $this->attribute = magixcjquery_form_helpersforms::inputClean($_POST['attribute']);
     }
     if (magixcjquery_filter_request::isPost('idmetas')) {
         $this->idmetas = magixcjquery_filter_isVar::isPostNumeric($_POST['idmetas']);
     }
     if (magixcjquery_filter_request::isPost('strrewrite')) {
         $this->strrewrite = magixcjquery_form_helpersforms::inputClean($_POST['strrewrite']);
     }
     if (magixcjquery_filter_request::isPost('level')) {
         $this->level = magixcjquery_filter_isVar::isPostNumeric($_POST['level']);
     }
     if (magixcjquery_filter_request::isGet('edit')) {
         $this->edit = magixcjquery_filter_isVar::isPostNumeric($_GET['edit']);
     }
     if (magixcjquery_filter_request::isPost('delete_metas')) {
         $this->delete_metas = magixcjquery_filter_isVar::isPostNumeric($_POST['delete_metas']);
     }
     //Global
     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 = (int) magixcjquery_filter_isVar::isPostNumeric($_GET['getlang']);
     }
 }
예제 #30
0
파일: lang.php 프로젝트: biggtfish/magixcms
 /**
  * Constructor
  */
 function __construct()
 {
     if (class_exists('backend_model_message')) {
         $this->message = new backend_model_message();
     }
     if (magixcjquery_filter_request::isSession('keyuniqid_admin')) {
         $this->idadmin = magixcjquery_filter_isVar::isPostNumeric($_SESSION['keyuniqid_admin']);
     }
     if (magixcjquery_filter_request::isPost('iso')) {
         $this->iso = magixcjquery_form_helpersforms::inputCleanStrolower($_POST['iso']);
     }
     if (magixcjquery_filter_request::isPost('language')) {
         $this->language = magixcjquery_form_helpersforms::inputClean($_POST['language']);
     }
     if (magixcjquery_filter_request::isPost('default_lang')) {
         $this->default_lang = (int) magixcjquery_filter_isVar::isPostNumeric($_POST['default_lang']);
     }
     if (magixcjquery_filter_request::isPost('idlang')) {
         $this->idlang = (int) magixcjquery_filter_isVar::isPostNumeric($_POST['idlang']);
     }
     if (magixcjquery_filter_request::isPost('active_lang')) {
         $this->active_lang = (int) magixcjquery_filter_isVar::isPostNumeric($_POST['active_lang']);
     }
     if (magixcjquery_filter_request::isGet('action')) {
         $this->action = magixcjquery_form_helpersforms::inputClean($_GET['action']);
     }
     //DELETE
     if (magixcjquery_filter_request::isPost('delete_lang')) {
         $this->delete_lang = (int) magixcjquery_filter_isVar::isPostNumeric($_POST['delete_lang']);
     }
     //EDIT
     if (magixcjquery_filter_request::isGet('edit')) {
         $this->edit = (int) magixcjquery_filter_isVar::isPostNumeric($_GET['edit']);
     }
 }