Ejemplo n.º 1
0
* Toute utilisation, reproduction, modification ou distribution du present
* fichier source sans contrat de licence ecrit de la part de la SARL Ether Création est
* expressement interdite.
* Pour obtenir une licence, veuillez contacter la SARL Ether Création a l'adresse: contact@ethercreation.com
* ...........................................................................
* @package ec_ecopresto
* @copyright Copyright (c) 2010-2013 S.A.R.L Ether Création (http://www.ethercreation.com)
* @author Arthur R.
* @license Commercial license
*/
include_once dirname(__FILE__) . '/../../config/config.inc.php';
include_once dirname(__FILE__) . '/../../init.php';
include_once dirname(__FILE__) . '/class/send.class.php';
include_once dirname(__FILE__) . '/class/catalog.class.php';
$catalog = new catalog();
if (Tools::getValue('ec_token') != $catalog->getInfoEco('ECO_TOKEN')) {
    header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
    header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
    header("Cache-Control: no-store, no-cache, must-revalidate");
    header("Cache-Control: post-check=0, pre-check=0", false);
    header("Pragma: no-cache");
    header("Location: ../");
    exit;
}
if (isset($idcS) && $idcS != 0) {
    $idc = $idcS;
} else {
    $idc = Tools::getValue('idc') ? Tools::getValue('idc') : 0;
}
$server = $catalog->getInfoEco('ECO_URL_COM');
if ($catalog->tabConfig['IMPORT_AUTO'] == 1 || isset($idcS) && $idcS != 0) {
Ejemplo n.º 2
0
* expressement interdite.
* Pour obtenir une licence, veuillez contacter la SARL Ether Création a l'adresse: contact@ethercreation.com
* ...........................................................................
* @package ec_ecopresto
* @copyright Copyright (c) 2010-2013 S.A.R.L Ether Création (http://www.ethercreation.com)
* @author Arthur R.
* @license Commercial license
*/
include dirname(__FILE__) . '/../../config/config.inc.php';
include dirname(__FILE__) . '/../../init.php';
include dirname(__FILE__) . '/class/importProduct.class.php';
include dirname(__FILE__) . '/class/reference.class.php';
include dirname(__FILE__) . '/class/catalog.class.php';
$import = new importerProduct();
$catalog = new catalog();
if (Tools::getValue('ec_token') != $catalog->getInfoEco('ECO_TOKEN')) {
    header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
    header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
    header("Cache-Control: no-store, no-cache, must-revalidate");
    header("Cache-Control: post-check=0, pre-check=0", false);
    header("Pragma: no-cache");
    header("Location: ../");
    exit;
}
$time = time();
$etp = (int) Tools::getValue('etp');
$total = (int) Tools::getValue('total');
$typ = (int) Tools::getValue('typ');
$id_shop = (int) Tools::getValue('ids');
$maxR = $total - $etp > 20 ? 20 : $total - $etp;
$lstPdt = Db::getInstance()->ExecuteS('SELECT `reference`
Ejemplo n.º 3
0
* Pour obtenir une licence, veuillez contacter la SARL Ether Création a l'adresse: contact@ethercreation.com
* ...........................................................................
* @package ec_ecopresto
* @copyright Copyright (c) 2010-2013 S.A.R.L Ether Création (http://www.ethercreation.com)
* @author Arthur R.
* @license Commercial license
*/
include dirname(__FILE__) . '/../../config/config.inc.php';
include dirname(__FILE__) . '/../../init.php';
include dirname(__FILE__) . '/class/importProduct.class.php';
include dirname(__FILE__) . '/class/reference.class.php';
include dirname(__FILE__) . '/class/catalog.class.php';
include dirname(__FILE__) . '/class/log.class.php';
$import = new importerProduct();
$catalog = new catalog();
if (Tools::getValue('ec_token') != $catalog->getInfoEco('ECO_TOKEN')) {
    header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
    header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
    header("Cache-Control: no-store, no-cache, must-revalidate");
    header("Cache-Control: post-check=0, pre-check=0", false);
    header("Pragma: no-cache");
    header("Location: ../");
    exit;
}
$time = time();
$etp = (int) Tools::getValue('etp');
$total = (int) Tools::getValue('total');
$typ = (int) Tools::getValue('typ');
$id_shop = $catalog->getInfoEco('ID_SHOP');
$id_lang = $catalog->getInfoEco('ID_LANG');
if ($catalog->tabConfig['UPDATE_PRODUCT'] == 1) {