Ejemplo n.º 1
0
                die($bo_cms_url);
            } else {
                die('error: saving');
            }
        } else {
            die('error: permissions');
        }
    } else {
        die('error: parameters');
    }
}
if (Tools::isSubmit('submitTrackClickOnHelp')) {
    $label = Tools::getValue('label');
    $version = Tools::getValue('version');
    if (!empty($label) && !empty($version)) {
        HelpAccess::trackClick($label, $version);
    }
}
if (Tools::isSubmit('saveImportMatchs')) {
    $match = implode('|', Tools::getValue('type_value'));
    Db::getInstance()->Execute('INSERT INTO  `' . _DB_PREFIX_ . 'import_match` (
								`id_import_match` ,
								`name` ,
								`match`,
								`skip`
								)
								VALUES (
								NULL ,
								\'' . pSQL(Tools::getValue('newImportMatchs')) . '\',
								\'' . pSQL($match) . '\',
								\'' . pSQL(Tools::getValue('skip')) . '\'
Ejemplo n.º 2
0
        } else {
            die("error: permissions");
        }
    } else {
        die("error: parameters");
    }
}
if (Tools::isSubmit("submitTrackClickOnHelp")) {
    ${"GLOBALS"}["cmcxjhxv"] = "version";
    ${"GLOBALS"}["bmwyejensn"] = "label";
    $gcmxwsq = "version";
    ${"GLOBALS"}["gddiunld"] = "version";
    ${${"GLOBALS"}["bmwyejensn"]} = Tools::getValue("label");
    ${${"GLOBALS"}["cmcxjhxv"]} = Tools::getValue("version");
    if (!empty(${${"GLOBALS"}["xbftjclhi"]}) && !empty(${$gcmxwsq})) {
        HelpAccess::trackClick(${${"GLOBALS"}["xbftjclhi"]}, ${${"GLOBALS"}["gddiunld"]});
    }
}
if (Tools::isSubmit("saveImportMatchs")) {
    $kihjnuhhb = "match";
    ${$kihjnuhhb} = implode("|", Tools::getValue("type_value"));
    Db::getInstance()->execute("INSERT INTO  `" . _DB_PREFIX_ . "import_match` (\n\t\t\t\t\t\t\t\t`id_import_match` ,\n\t\t\t\t\t\t\t\t`name` ,\n\t\t\t\t\t\t\t\t`match`,\n\t\t\t\t\t\t\t\t`skip`\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\tVALUES (\n\t\t\t\t\t\t\t\tNULL ,\n\t\t\t\t\t\t\t\t'" . pSQL(Tools::getValue("newImportMatchs")) . "',\n\t\t\t\t\t\t\t\t'" . pSQL(${${"GLOBALS"}["svuxne"]}) . "',\n\t\t\t\t\t\t\t\t'" . pSQL(Tools::getValue("skip")) . "'\n\t\t\t\t\t\t\t\t)");
    die("{\"id\" : \"" . Db::getInstance()->Insert_ID() . "\"}");
}
if (Tools::isSubmit("deleteImportMatchs")) {
    Db::getInstance()->execute("DELETE FROM `" . _DB_PREFIX_ . "import_match` WHERE `id_import_match` = " . (int) Tools::getValue("idImportMatchs"));
}
if (Tools::isSubmit("loadImportMatchs")) {
    ${"GLOBALS"}["umhcjseaxj"] = "return";
    ${"GLOBALS"}["qxmqncny"] = "return";
    ${"GLOBALS"}["chdckcitxk"] = "return";