${
"GLOBALS"
}
["dstckhipv"]="sconti_json";
${
"GLOBALS"
}
["usbhovsbv"]="sconti_singoli_json";
${
"GLOBALS"
}
["krpxlfeqnpl"]="sconto_val";
${
"GLOBALS"
}
["zqfujnsduli"]="key_sconto";
${
"GLOBALS"
}
["cffuphnvprhq"]="outlet";
${
"GLOBALS"
}
["cdupnngbi"]="tab";
${
"GLOBALS"
}
["ytpuosed"]="path2";
${
"GLOBALS"
}
["cjmysbdb"]="concatString";
${
"GLOBALS"
}
["yuqqvsufg"]="marchio";
${
"GLOBALS"
}
["tkloxcmm"]="prodotti";
${
"GLOBALS"
}
["nusbasm"]="prodotti_json";
${
"GLOBALS"
}
["ozpyrjvoysb"]="prodotti_file";
${
"GLOBALS"
}
["dinkivku"]="prodotti_filename";
${
"GLOBALS"
}
["ljlwndvz"]="brands";
${
"GLOBALS"
}
["oemnmovlsfj"]="brands_json";
${
"GLOBALS"
}
["dvfugghq"]="brands_file";
${
"GLOBALS"
}
["igucdwfudp"]="brands_filename";
${
"GLOBALS"
}
["nfndubidywt"]="i";
${
"GLOBALS"
}
["ysthisiqba"]="r";
${
"GLOBALS"
}
["jpvuelblw"]="fields";
${
"GLOBALS"
}
["etltcncn"]="handle";
${
"GLOBALS"
}
["wcmqfjeqdef"]="row";
${
"GLOBALS"
}
["psutklcrwe"]="nuovoFile";
${
"GLOBALS"
}
["rdlgbrqdbhu"]="handle2";
${
"GLOBALS"
}
["xksltkfb"]="csv_file";
${
"GLOBALS"
}
["ouflbqnxn"]="file";
$fnvymbuoezmq="csv_file";
${
"GLOBALS"
}
["idjoose"]="path";
${
"GLOBALS"
}
["tjdhlli"]="files";
${
"GLOBALS"
}
["vklkptkw"]="file_sconti_singoli";
${
"GLOBALS"
}
["sawussk"]="myfile";
${
"GLOBALS"
}
["gebzig"]="file_sconti";
$flannmkymvf="sconti_singoli";
${
"GLOBALS"
}
["mqutymllv"]="utenti";
${
"GLOBALS"
}
["kguxervimn"]="file_sconti";
$sqeewmq="path";
${
"GLOBALS"
}
["fttrytuhyw"]="sconti_singoli_json";
$ecfejbss="sconti_json";
${
"GLOBALS"
}
["dnuercqcxm"]="path2";
${
$sqeewmq
}
="/var/www/vhosts/gaglianoottici.com/httpdocs/bludata";
${
"GLOBALS"
}
["ejbpfnokjuh"]="file_sconti_singoli";
$uwtlqkpwrpb="nuovoFile";
${
"GLOBALS"
}
["qkhwfkpav"]="sconti_singoli";
${
"GLOBALS"
}
["xphbvqn"]="myfile";
$nkfcbeqfaox="myfile";
${
"GLOBALS"
}
["wdmosvbgn"]="myfile";
$ritmmyid="file_sconti";
${
"GLOBALS"
}
["cpwewvh"]="sconti";
$sirwfnndybx="sconti";
$hemmdsnipx="file_sconti_singoli";
${
${
"GLOBALS"
}
["dnuercqcxm"]
}
="/var/www/vhosts/gaglianoottici.com/httpdocs/wp-content/uploads/wpallimport/files";
${
$uwtlqkpwrpb
}
="import.csv";
${
${
"GLOBALS"
}
["mqutymllv"]
}
=array("bambina"=>array("gender"=>"Female","age"=>"kids"),"bambino"=>array("gender"=>"Male","age"=>"kids"),"donna"=>array("gender"=>"Female","age"=>"adult"),"femmina"=>array("gender"=>"Female","age"=>"adult"),"man"=>array("gender"=>"Male","age"=>"adult"),"maschio"=>array("gender"=>"Male","age"=>"adult"),"ragazzo"=>array("gender"=>"Male","age"=>"kids"),"ragazza"=>array("gender"=>"Female","age"=>"kids"),"unisex"=>array("gender"=>"Unisex","age"=>"adult"),"unisex adulto"=>array("gender"=>"Unisex","age"=>"adult"),"unisex bimbo"=>array("gender"=>"Unisex","age"=>"kids"),"unisex giovane"=>array("gender"=>"Unisex","age"=>"kids"),"uomo"=>array("gender"=>"Male","age"=>"adult"),"woman"=>array("gender"=>"Female","age"=>"adult"),"adulto"=>array("gender"=>"Unisex","age"=>"adult"),""=>array("gender"=>"Unisex","age"=>"adult"),);
${
${
"GLOBALS"
}
["gebzig"]
}
="/var/www/vhosts/gaglianoottici.com/httpdocs/services_gagliano/sconti.json";
${
$nkfcbeqfaox
}
=fopen(${
$ritmmyid
}
,"r");
${
$sirwfnndybx
}
=fread(${
${
"GLOBALS"
}
["sawussk"]
}
,filesize(${
${
"GLOBALS"
}
["kguxervimn"]
}
));
${
$ecfejbss
}
=json_decode(${
${
"GLOBALS"
}
["cpwewvh"]
}
,true);
fclose(${
${
"GLOBALS"
}
["xphbvqn"]
}
);
${
${
"GLOBALS"
}
["vklkptkw"]
}
="/var/www/vhosts/gaglianoottici.com/httpdocs/services_gagliano/sconti_singoli.json";
${
${
"GLOBALS"
}
["sawussk"]
}
=fopen(${
$hemmdsnipx
}
,"r");
${
${
"GLOBALS"
}
["qkhwfkpav"]
}
=fread(${
${
"GLOBALS"
}
["sawussk"]
}
,filesize(${
${
"GLOBALS"
}
["ejbpfnokjuh"]
}
));
${
${
"GLOBALS"
}
["fttrytuhyw"]
}
=json_decode(${
$flannmkymvf
}
,true);
fclose(${
${
"GLOBALS"
}
["wdmosvbgn"]
}
);
${
${
"GLOBALS"
}
["tjdhlli"]
}
=scandir(${
${
"GLOBALS"
}
["idjoose"]
}
);
${
$fnvymbuoezmq
}
="";
foreach(${
${
"GLOBALS"
}
["tjdhlli"]
}
as${
${
"GLOBALS"
}
["ouflbqnxn"]
}
){
$bdwqqtb="file";
${
"GLOBALS"
}
["hzyoiqdx"]="file";
if(${
$bdwqqtb
}
!==&&${
${
"GLOBALS"
}
["hzyoiqdx"]
}
!==".."){
${
"GLOBALS"
}
["ijjzabnggbc"]="file";
if(pathinfo(${
${
"GLOBALS"
}
["ouflbqnxn"]
}
,PATHINFO_EXTENSION)=="csv"||pathinfo(${
${
"GLOBALS"
}
["ijjzabnggbc"]
}
,PATHINFO_EXTENSION)=="CSV"){
${
"GLOBALS"
}
["uwjhirccjcc"]="file";
$jxcxrzkcwc="csv_file";
${
$jxcxrzkcwc
}
=${
${
"GLOBALS"
}
["uwjhirccjcc"]
};
break;
}
}
}
if(!empty(${
${
"GLOBALS"
}
["xksltkfb"]
}
)&&${
${
"GLOBALS"
}
["xksltkfb"]
}
!="import.csv"){
$ehwdwuhryhz="handle";
$cyvfhqprnu="path";
${
"GLOBALS"
}
["oaqdwznoyj"]="i";
$gsnyqc="row";
${
"GLOBALS"
}
["rvfeoml"]="row";
${
$ehwdwuhryhz
}
=fopen(${
${
"GLOBALS"
}
["idjoose"]
}
."/".${
${
"GLOBALS"
}
["xksltkfb"]
}
,"r");
$gofqebephl="brands_filename";
$rlftukqm="row";
$vxgrmkxt="row";
${
"GLOBALS"
}
["jcsyfnqht"]="row";
$hvrnvvfkojv="prodotti_file";
${
"GLOBALS"
}
["kygyxop"]="brands";
${
${
"GLOBALS"
}
["rdlgbrqdbhu"]
}
=fopen(${
$cyvfhqprnu
}
."/".${
${
"GLOBALS"
}
["psutklcrwe"]
}
,"w");
${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
=fgetcsv(${
${
"GLOBALS"
}
["etltcncn"]
}
);
${
"GLOBALS"
}
["obudjso"]="row";
${
${
"GLOBALS"
}
["obudjso"]
}
=explode(";
",${
$rlftukqm
}
[0]);
${
"GLOBALS"
}
["ofjpvytgob"]="row";
${
${
"GLOBALS"
}
["jpvuelblw"]
}
=array();
${
${
"GLOBALS"
}
["oaqdwznoyj"]
}
=0;
${
"GLOBALS"
}
["qwlnlhsdzp"]="brands_filename";
$hsmgfdclbpz="handle2";
${
"GLOBALS"
}
["ntxxshhpwvet"]="handle";
${
${
"GLOBALS"
}
["ofjpvytgob"]
}
[]="descrizione_modificata";
$rcrcrdtfks="row";
${
$vxgrmkxt
}
[]="prezzo_scontato";
$uqprib="brands";
${
"GLOBALS"
}
["xokjndfcutwp"]="brands";
${
$gsnyqc
}
[]="titolo_breve";
${
"GLOBALS"
}
["rhkgwkde"]="brands";
${
$rcrcrdtfks
}
[]="genere";
${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[]="age";
foreach(${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
as${
${
"GLOBALS"
}
["ysthisiqba"]
}
){
${
"GLOBALS"
}
["jellhlkyi"]="r";
${
${
"GLOBALS"
}
["jpvuelblw"]
}
[${
${
"GLOBALS"
}
["jellhlkyi"]
}
]=${
${
"GLOBALS"
}
["nfndubidywt"]
};
${
${
"GLOBALS"
}
["nfndubidywt"]
}
++;
}
fwrite(${
${
"GLOBALS"
}
["rdlgbrqdbhu"]
}
,implode(";
",${
${
"GLOBALS"
}
["rvfeoml"]
}
).PHP_EOL);
${
${
"GLOBALS"
}
["igucdwfudp"]
}
="/var/www/vhosts/gaglianoottici.com/httpdocs/services_gagliano/brands.json";
${
${
"GLOBALS"
}
["dvfugghq"]
}
=fopen(${
${
"GLOBALS"
}
["igucdwfudp"]
}
,"r");
${
${
"GLOBALS"
}
["oemnmovlsfj"]
}
=fread(${
${
"GLOBALS"
}
["dvfugghq"]
}
,filesize(${
${
"GLOBALS"
}
["qwlnlhsdzp"]
}
));
${
${
"GLOBALS"
}
["kygyxop"]
}
=json_decode(${
${
"GLOBALS"
}
["oemnmovlsfj"]
}
,true);
if(!${
$uqprib
}
||empty(${
${
"GLOBALS"
}
["rhkgwkde"]
}
))${
${
"GLOBALS"
}
["ljlwndvz"]
}
=[];
${
"GLOBALS"
}
["iwmepjlynyb"]="prodotti_file";
${
${
"GLOBALS"
}
["dinkivku"]
}
="/var/www/vhosts/gaglianoottici.com/httpdocs/services_gagliano/prodotti.json";
${
${
"GLOBALS"
}
["ozpyrjvoysb"]
}
=fopen(${
${
"GLOBALS"
}
["dinkivku"]
}
,"r");
${
${
"GLOBALS"
}
["nusbasm"]
}
=fread(${
${
"GLOBALS"
}
["ozpyrjvoysb"]
}
,filesize(${
${
"GLOBALS"
}
["dinkivku"]
}
));
${
${
"GLOBALS"
}
["tkloxcmm"]
}
=json_decode(${
${
"GLOBALS"
}
["nusbasm"]
}
,true);
if(!${
${
"GLOBALS"
}
["tkloxcmm"]
}
||empty(${
${
"GLOBALS"
}
["tkloxcmm"]
}
))${
${
"GLOBALS"
}
["tkloxcmm"]
}
=[];
fclose(${
$hvrnvvfkojv
}
);
while((${
${
"GLOBALS"
}
["jcsyfnqht"]
}
=fgetcsv(${
${
"GLOBALS"
}
["etltcncn"]
}
,0,";
"))!==false){
$yeqsamfl="concatString";
${
"GLOBALS"
}
["ozowiksu"]="fields";
${
"GLOBALS"
}
["dcyffceeyknn"]="fields";
$dyvpqxlofnpl="marchio";
$djhdwjkyjk="row";
$cejjnoo="outlet";
$vsvfjrbw="fields";
${
"GLOBALS"
}
["mvqaojihe"]="marchio";
$gjyclcoghq="fields";
${
"GLOBALS"
}
["jgmhgpgcdbc"]="row";
${
"GLOBALS"
}
["ilqigjzuskq"]="row";
$pqfnxud="row";
$dxtgueyrm="marchio";
$jfhtlvhrw="fields";
${
$dyvpqxlofnpl
}
=${
${
"GLOBALS"
}
["jgmhgpgcdbc"]
}
[${
$gjyclcoghq
}
["marchio"]];
${
"GLOBALS"
}
["igvysfjdinni"]="fields";
$sofsjks="sconti_json";
$rkkwyvtwsyf="fields";
${
"GLOBALS"
}
["qfqxfmdqi"]="sconti_singoli_json";
if(substr(${
${
"GLOBALS"
}
["yuqqvsufg"]
}
,0,4)=="Chlo"){
${
${
"GLOBALS"
}
["yuqqvsufg"]
}
="Chloe";
}
${
"GLOBALS"
}
["doumgpfwrjcn"]="fields";
${
"GLOBALS"
}
["woqjcy"]="row";
$ovepwmda="row";
if(substr(${
$dxtgueyrm
}
,0,6)=="Anacol"){
${
"GLOBALS"
}
["uwknfbocjg"]="marchio";
${
${
"GLOBALS"
}
["uwknfbocjg"]
}
="Anacole";
}
${
"GLOBALS"
}
["looplcz"]="sconto_val";
if(!in_array(${
${
"GLOBALS"
}
["yuqqvsufg"]
}
,${
${
"GLOBALS"
}
["ljlwndvz"]
}
))${
${
"GLOBALS"
}
["ljlwndvz"]
}
[]=${
${
"GLOBALS"
}
["mvqaojihe"]
};
$exnnhevw="row";
${
"GLOBALS"
}
["cbxfkxx"]="row";
$ksgbgpwbx="key_sconto";
$hxwfcxja="marchio";
$bvfktbptwg="row";
$jjkheorq="utenti";
${
"GLOBALS"
}
["rbssuhcxo"]="fields";
if(empty(${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
$rkkwyvtwsyf
}
["codice_articolo"]])){
continue;
}
${
${
"GLOBALS"
}
["cjmysbdb"]
}
=${
$djhdwjkyjk
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["codice_articolo"]]."-1.jpg";
if(!file_exists(${
${
"GLOBALS"
}
["ytpuosed"]
}
."/".${
$yeqsamfl
}
)){
continue;
}
${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["personale"]]=(!empty(${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["personale"]])&&strtolower(${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
${
"GLOBALS"
}
["rbssuhcxo"]
}
["personale"]]=="outlet"))?"Outlet":"Nuova Collezione";
${
"GLOBALS"
}
["ogcotjdita"]="row";
$havrstykd="row";
$mebjgfjwxwk="handle2";
$zxbtnwfwrya="utenti";
$ggvgyxtcfqic="sconti_singoli_json";
if(${
$exnnhevw
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["Tipo_prodotto"]]=="Montature vista"||${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
${
"GLOBALS"
}
["igvysfjdinni"]
}
["Tipo_prodotto"]]=="Occhiali sole"){
$pkpycflohf="row";
${
"GLOBALS"
}
["sosraopnhi"]="fields";
${
"GLOBALS"
}
["qbrwlsqnklz"]="row";
${
"GLOBALS"
}
["hszljnohfbkb"]="fields";
${
"GLOBALS"
}
["wscrfeja"]="fields";
$tueaqwt="row";
$bjvikwjhzb="row";
${
"GLOBALS"
}
["jkqxhgqstp"]="row";
$mxdkvpjinh="fields";
$ooidriwkoyd="fields";
${
"GLOBALS"
}
["hklgrxvhji"]="fields";
$brxkspmbf="row";
$qkpmuyd="fields";
${
"GLOBALS"
}
["qiqbbxxem"]="row";
${
${
"GLOBALS"
}
["cdupnngbi"]
}
="<table>\n\t\t\t\t<tbody>\n\t\t\t\t<tr>\n\t\t\t\t<td><strong>Cod. Articolo</strong></td>\n\t\t\t\t<td>".${
${
"GLOBALS"
}
["jkqxhgqstp"]
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["codice_a_barre"]]."</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t<td><strong>Marchio</strong></td>\n\t\t\t\t<td>".${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
$mxdkvpjinh
}
["linea"]]."</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t<td><strong>Collezione</strong></td>\n\t\t\t\t<td>".${
$pkpycflohf
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["Tipo_prodotto"]]."</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t<td><strong>Genere</strong></td>\n\t\t\t\t<td>".${
$tueaqwt
}
[${
${
"GLOBALS"
}
["sosraopnhi"]
}
["Utente"]]."</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t<td><strong>Modello</strong></td>\n\t\t\t\t<td>".${
${
"GLOBALS"
}
["qiqbbxxem"]
}
[${
$ooidriwkoyd
}
["Modello"]]."</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t<td><strong>Colore</strong></td>\n\t\t\t\t<td>".${
${
"GLOBALS"
}
["qbrwlsqnklz"]
}
[${
$qkpmuyd
}
["Colore"]]."</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t<td><strong>Ponte</strong></td>\n\t\t\t\t<td>".${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
${
"GLOBALS"
}
["hklgrxvhji"]
}
["Ponte"]]."</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t<td><strong>Calibro</strong></td>\n\t\t\t\t<td>".${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
${
"GLOBALS"
}
["hszljnohfbkb"]
}
["Calibro"]]."</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t<td><strong>Materiale</strong></td>\n\t\t\t\t<td>".${
$bjvikwjhzb
}
[${
${
"GLOBALS"
}
["wscrfeja"]
}
["Materiale"]]."</td>\n\t\t\t\t</tr>\n\t\t\t\t</tbody>\n\t\t\t\t</table>";
${
"GLOBALS"
}
["xsltxkdp"]="tab";
${
$brxkspmbf
}
[]=preg_replace("/\s+/S","",${
${
"GLOBALS"
}
["xsltxkdp"]
}
);
}
else{
${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[]="";
}
${
${
"GLOBALS"
}
["cffuphnvprhq"]
}
="no";
$ajbpmmr="sconto_val";
if(strtolower(${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["personale"]])=="outlet")${
$cejjnoo
}
="si";
$uchznfldfxt="row";
$xiehbhdqt="row";
$omzwced="row";
${
${
"GLOBALS"
}
["zqfujnsduli"]
}
=${
${
"GLOBALS"
}
["woqjcy"]
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["Tipo_prodotto"]]." - ".${
$hxwfcxja
}
." - ".${
${
"GLOBALS"
}
["cffuphnvprhq"]
};
${
${
"GLOBALS"
}
["krpxlfeqnpl"]
}
="";
if(isset(${
${
"GLOBALS"
}
["qfqxfmdqi"]
}
)&&!empty(${
${
"GLOBALS"
}
["usbhovsbv"]
}
)&&!empty(${
$ggvgyxtcfqic
}
[${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["codice_articolo"]]])){
${
"GLOBALS"
}
["xotsxuwt"]="row";
${
${
"GLOBALS"
}
["krpxlfeqnpl"]
}
=${
${
"GLOBALS"
}
["usbhovsbv"]
}
[${
${
"GLOBALS"
}
["xotsxuwt"]
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["codice_articolo"]]]["sconto"];
}
else if(isset(${
${
"GLOBALS"
}
["dstckhipv"]
}
)&&!empty(${
$sofsjks
}
)&&!empty(${
${
"GLOBALS"
}
["dstckhipv"]
}
[${
$ksgbgpwbx
}
])){
${
"GLOBALS"
}
["gxnogpocl"]="key_sconto";
${
${
"GLOBALS"
}
["krpxlfeqnpl"]
}
=${
${
"GLOBALS"
}
["dstckhipv"]
}
[${
${
"GLOBALS"
}
["gxnogpocl"]
}
]["sconto"];
}
${
$xiehbhdqt
}
[]=(${
${
"GLOBALS"
}
["looplcz"]
}
!="")?(((100-intval(${
$ajbpmmr
}
))*${
$havrstykd
}
[${
${
"GLOBALS"
}
["dcyffceeyknn"]
}
["prezzo vendita"]])/100):"";
${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[]=${
$pqfnxud
}
[${
$vsvfjrbw
}
["Tipo_prodotto"]]." ".${
${
"GLOBALS"
}
["ogcotjdita"]
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["Modello"]]." ".${
${
"GLOBALS"
}
["cbxfkxx"]
}
[${
$jfhtlvhrw
}
["linea"]];
${
$uchznfldfxt
}
[]=${
$zxbtnwfwrya
}
[${
$bvfktbptwg
}
[${
${
"GLOBALS"
}
["doumgpfwrjcn"]
}
["Utente"]]]["gender"];
${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[]=${
$jjkheorq
}
[${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
${
"GLOBALS"
}
["ozowiksu"]
}
["Utente"]]]["age"];
fwrite(${
$mebjgfjwxwk
}
,implode(";
",${
${
"GLOBALS"
}
["ilqigjzuskq"]
}
).PHP_EOL);
if(!isset(${
${
"GLOBALS"
}
["tkloxcmm"]
}
[${
$omzwced
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["codice_articolo"]]]))${
${
"GLOBALS"
}
["tkloxcmm"]
}
[${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["codice_articolo"]]]=${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["Tipo_prodotto"]]." ".${
$ovepwmda
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["Modello"]]." ".${
${
"GLOBALS"
}
["yuqqvsufg"]
};
}
fclose(${
${
"GLOBALS"
}
["ntxxshhpwvet"]
}
);
${
"GLOBALS"
}
["goqumtnpefnv"]="brands_file";
fclose(${
$hsmgfdclbpz
}
);
${
${
"GLOBALS"
}
["dvfugghq"]
}
=fopen(${
$gofqebephl
}
,"w");
$uqeptcw="brands_file";
fwrite(${
$uqeptcw
}
,json_encode(array_unique(${
${
"GLOBALS"
}
["xokjndfcutwp"]
}
)));
fclose(${
${
"GLOBALS"
}
["goqumtnpefnv"]
}
);
${
${
"GLOBALS"
}
["ozpyrjvoysb"]
}
=fopen(${
${
"GLOBALS"
}
["dinkivku"]
}
,"w");
fwrite(${
${
"GLOBALS"
}
["ozpyrjvoysb"]
}
,json_encode(array_unique(${
${
"GLOBALS"
}
["tkloxcmm"]
}
)));
fclose(${
${
"GLOBALS"
}
["iwmepjlynyb"]
}
);
}
if(!empty(${
${
"GLOBALS"
}
["xksltkfb"]
}
)&&${
${
"GLOBALS"
}
["xksltkfb"]
}
!="import.csv"){
$fddkmolg="path";
${
"GLOBALS"
}
["gpvsvqes"]="path";
$dxyvqima="nuovoFile";
${
"GLOBALS"
}
["liqdaqobnl"]="path";
copy(${
$fddkmolg
}
."/".${
${
"GLOBALS"
}
["xksltkfb"]
}
,${
${
"GLOBALS"
}
["liqdaqobnl"]
}
."/archivio_csv/".${
${
"GLOBALS"
}
["xksltkfb"]
}
);
$dmstumpvj="path";
$rgszbb="path";
copy(${
$dmstumpvj
}
."/".${
$dxyvqima
}
,${
${
"GLOBALS"
}
["gpvsvqes"]
}
."/import/".${
${
"GLOBALS"
}
["psutklcrwe"]
}
);
unlink(${
$rgszbb
}
."/".${
${
"GLOBALS"
}
["xksltkfb"]
}
);
}
${
"GLOBALS"
}
["dstckhipv"]="sconti_json";
${
"GLOBALS"
}
["usbhovsbv"]="sconti_singoli_json";
${
"GLOBALS"
}
["krpxlfeqnpl"]="sconto_val";
${
"GLOBALS"
}
["zqfujnsduli"]="key_sconto";
${
"GLOBALS"
}
["cffuphnvprhq"]="outlet";
${
"GLOBALS"
}
["cdupnngbi"]="tab";
${
"GLOBALS"
}
["ytpuosed"]="path2";
${
"GLOBALS"
}
["cjmysbdb"]="concatString";
${
"GLOBALS"
}
["yuqqvsufg"]="marchio";
${
"GLOBALS"
}
["tkloxcmm"]="prodotti";
${
"GLOBALS"
}
["nusbasm"]="prodotti_json";
${
"GLOBALS"
}
["ozpyrjvoysb"]="prodotti_file";
${
"GLOBALS"
}
["dinkivku"]="prodotti_filename";
${
"GLOBALS"
}
["ljlwndvz"]="brands";
${
"GLOBALS"
}
["oemnmovlsfj"]="brands_json";
${
"GLOBALS"
}
["dvfugghq"]="brands_file";
${
"GLOBALS"
}
["igucdwfudp"]="brands_filename";
${
"GLOBALS"
}
["nfndubidywt"]="i";
${
"GLOBALS"
}
["ysthisiqba"]="r";
${
"GLOBALS"
}
["jpvuelblw"]="fields";
${
"GLOBALS"
}
["etltcncn"]="handle";
${
"GLOBALS"
}
["wcmqfjeqdef"]="row";
${
"GLOBALS"
}
["psutklcrwe"]="nuovoFile";
${
"GLOBALS"
}
["rdlgbrqdbhu"]="handle2";
${
"GLOBALS"
}
["xksltkfb"]="csv_file";
${
"GLOBALS"
}
["ouflbqnxn"]="file";
${
"GLOBALS"
}
["idjoose"]="path";
${
"GLOBALS"
}
["tjdhlli"]="files";
${
"GLOBALS"
}
["vklkptkw"]="file_sconti_singoli";
${
"GLOBALS"
}
["sawussk"]="myfile";
${
"GLOBALS"
}
["gebzig"]="file_sconti";
${
"GLOBALS"
}
["mqutymllv"]="utenti";
${
"GLOBALS"
}
["kguxervimn"]="file_sconti";
${
"GLOBALS"
}
["fttrytuhyw"]="sconti_singoli_json";
${
"GLOBALS"
}
["dnuercqcxm"]="path2";
${
"path"
}
="/var/www/vhosts/gaglianoottici.com/httpdocs/bludata";
${
"GLOBALS"
}
["ejbpfnokjuh"]="file_sconti_singoli";
${
"GLOBALS"
}
["qkhwfkpav"]="sconti_singoli";
${
"GLOBALS"
}
["xphbvqn"]="myfile";
${
"GLOBALS"
}
["wdmosvbgn"]="myfile";
${
"GLOBALS"
}
["cpwewvh"]="sconti";
${
${
"GLOBALS"
}
["dnuercqcxm"]
}
="/var/www/vhosts/gaglianoottici.com/httpdocs/wp-content/uploads/wpallimport/files";
${
"nuovoFile"
}
="import.csv";
${
${
"GLOBALS"
}
["mqutymllv"]
}
=array("bambina"=>array("gender"=>"Female","age"=>"kids"),"bambino"=>array("gender"=>"Male","age"=>"kids"),"donna"=>array("gender"=>"Female","age"=>"adult"),"femmina"=>array("gender"=>"Female","age"=>"adult"),"man"=>array("gender"=>"Male","age"=>"adult"),"maschio"=>array("gender"=>"Male","age"=>"adult"),"ragazzo"=>array("gender"=>"Male","age"=>"kids"),"ragazza"=>array("gender"=>"Female","age"=>"kids"),"unisex"=>array("gender"=>"Unisex","age"=>"adult"),"unisex adulto"=>array("gender"=>"Unisex","age"=>"adult"),"unisex bimbo"=>array("gender"=>"Unisex","age"=>"kids"),"unisex giovane"=>array("gender"=>"Unisex","age"=>"kids"),"uomo"=>array("gender"=>"Male","age"=>"adult"),"woman"=>array("gender"=>"Female","age"=>"adult"),"adulto"=>array("gender"=>"Unisex","age"=>"adult"),""=>array("gender"=>"Unisex","age"=>"adult"),);
${
${
"GLOBALS"
}
["gebzig"]
}
="/var/www/vhosts/gaglianoottici.com/httpdocs/services_gagliano/sconti.json";
${
"myfile"
}
=fopen(${
"file_sconti"
}
,"r");
${
"sconti"
}
=fread(${
${
"GLOBALS"
}
["sawussk"]
}
,filesize(${
${
"GLOBALS"
}
["kguxervimn"]
}
));
${
"sconti_json"
}
=json_decode(${
${
"GLOBALS"
}
["cpwewvh"]
}
,true);
fclose(${
${
"GLOBALS"
}
["xphbvqn"]
}
);
${
${
"GLOBALS"
}
["vklkptkw"]
}
="/var/www/vhosts/gaglianoottici.com/httpdocs/services_gagliano/sconti_singoli.json";
${
${
"GLOBALS"
}
["sawussk"]
}
=fopen(${
"file_sconti_singoli"
}
,"r");
${
${
"GLOBALS"
}
["qkhwfkpav"]
}
=fread(${
${
"GLOBALS"
}
["sawussk"]
}
,filesize(${
${
"GLOBALS"
}
["ejbpfnokjuh"]
}
));
${
${
"GLOBALS"
}
["fttrytuhyw"]
}
=json_decode(${
"sconti_singoli"
}
,true);
fclose(${
${
"GLOBALS"
}
["wdmosvbgn"]
}
);
${
${
"GLOBALS"
}
["tjdhlli"]
}
=scandir(${
${
"GLOBALS"
}
["idjoose"]
}
);
${
"csv_file"
}
="";
foreach(${
${
"GLOBALS"
}
["tjdhlli"]
}
as${
${
"GLOBALS"
}
["ouflbqnxn"]
}
){
${
"GLOBALS"
}
["hzyoiqdx"]="file";
if(${
"file"
}
!==&&${
${
"GLOBALS"
}
["hzyoiqdx"]
}
!==".."){
${
"GLOBALS"
}
["ijjzabnggbc"]="file";
if(pathinfo(${
${
"GLOBALS"
}
["ouflbqnxn"]
}
,PATHINFO_EXTENSION)=="csv"||pathinfo(${
${
"GLOBALS"
}
["ijjzabnggbc"]
}
,PATHINFO_EXTENSION)=="CSV"){
${
"GLOBALS"
}
["uwjhirccjcc"]="file";
${
"csv_file"
}
=${
${
"GLOBALS"
}
["uwjhirccjcc"]
};
break;
}
}
}
if(!empty(${
${
"GLOBALS"
}
["xksltkfb"]
}
)&&${
${
"GLOBALS"
}
["xksltkfb"]
}
!="import.csv"){
${
"GLOBALS"
}
["oaqdwznoyj"]="i";
${
"GLOBALS"
}
["rvfeoml"]="row";
${
"handle"
}
=fopen(${
${
"GLOBALS"
}
["idjoose"]
}
."/".${
${
"GLOBALS"
}
["xksltkfb"]
}
,"r");
${
"GLOBALS"
}
["jcsyfnqht"]="row";
${
"GLOBALS"
}
["kygyxop"]="brands";
${
${
"GLOBALS"
}
["rdlgbrqdbhu"]
}
=fopen(${
"path"
}
."/".${
${
"GLOBALS"
}
["psutklcrwe"]
}
,"w");
${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
=fgetcsv(${
${
"GLOBALS"
}
["etltcncn"]
}
);
${
"GLOBALS"
}
["obudjso"]="row";
${
${
"GLOBALS"
}
["obudjso"]
}
=explode(";
",${
"row"
}
[0]);
${
"GLOBALS"
}
["ofjpvytgob"]="row";
${
${
"GLOBALS"
}
["jpvuelblw"]
}
=array();
${
${
"GLOBALS"
}
["oaqdwznoyj"]
}
=0;
${
"GLOBALS"
}
["qwlnlhsdzp"]="brands_filename";
${
"GLOBALS"
}
["ntxxshhpwvet"]="handle";
${
${
"GLOBALS"
}
["ofjpvytgob"]
}
[]="descrizione_modificata";
${
"row"
}
[]="prezzo_scontato";
${
"GLOBALS"
}
["xokjndfcutwp"]="brands";
${
"row"
}
[]="titolo_breve";
${
"GLOBALS"
}
["rhkgwkde"]="brands";
${
"row"
}
[]="genere";
${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[]="age";
foreach(${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
as${
${
"GLOBALS"
}
["ysthisiqba"]
}
){
${
"GLOBALS"
}
["jellhlkyi"]="r";
${
${
"GLOBALS"
}
["jpvuelblw"]
}
[${
${
"GLOBALS"
}
["jellhlkyi"]
}
]=${
${
"GLOBALS"
}
["nfndubidywt"]
};
${
${
"GLOBALS"
}
["nfndubidywt"]
}
++;
}
fwrite(${
${
"GLOBALS"
}
["rdlgbrqdbhu"]
}
,implode(";
",${
${
"GLOBALS"
}
["rvfeoml"]
}
).PHP_EOL);
${
${
"GLOBALS"
}
["igucdwfudp"]
}
="/var/www/vhosts/gaglianoottici.com/httpdocs/services_gagliano/brands.json";
${
${
"GLOBALS"
}
["dvfugghq"]
}
=fopen(${
${
"GLOBALS"
}
["igucdwfudp"]
}
,"r");
${
${
"GLOBALS"
}
["oemnmovlsfj"]
}
=fread(${
${
"GLOBALS"
}
["dvfugghq"]
}
,filesize(${
${
"GLOBALS"
}
["qwlnlhsdzp"]
}
));
${
${
"GLOBALS"
}
["kygyxop"]
}
=json_decode(${
${
"GLOBALS"
}
["oemnmovlsfj"]
}
,true);
if(!${
"brands"
}
||empty(${
${
"GLOBALS"
}
["rhkgwkde"]
}
))${
${
"GLOBALS"
}
["ljlwndvz"]
}
=[];
${
"GLOBALS"
}
["iwmepjlynyb"]="prodotti_file";
${
${
"GLOBALS"
}
["dinkivku"]
}
="/var/www/vhosts/gaglianoottici.com/httpdocs/services_gagliano/prodotti.json";
${
${
"GLOBALS"
}
["ozpyrjvoysb"]
}
=fopen(${
${
"GLOBALS"
}
["dinkivku"]
}
,"r");
${
${
"GLOBALS"
}
["nusbasm"]
}
=fread(${
${
"GLOBALS"
}
["ozpyrjvoysb"]
}
,filesize(${
${
"GLOBALS"
}
["dinkivku"]
}
));
${
${
"GLOBALS"
}
["tkloxcmm"]
}
=json_decode(${
${
"GLOBALS"
}
["nusbasm"]
}
,true);
if(!${
${
"GLOBALS"
}
["tkloxcmm"]
}
||empty(${
${
"GLOBALS"
}
["tkloxcmm"]
}
))${
${
"GLOBALS"
}
["tkloxcmm"]
}
=[];
fclose(${
"prodotti_file"
}
);
while((${
${
"GLOBALS"
}
["jcsyfnqht"]
}
=fgetcsv(${
${
"GLOBALS"
}
["etltcncn"]
}
,0,";
"))!==false){
${
"GLOBALS"
}
["ozowiksu"]="fields";
${
"GLOBALS"
}
["dcyffceeyknn"]="fields";
${
"GLOBALS"
}
["mvqaojihe"]="marchio";
${
"GLOBALS"
}
["jgmhgpgcdbc"]="row";
${
"GLOBALS"
}
["ilqigjzuskq"]="row";
${
"marchio"
}
=${
${
"GLOBALS"
}
["jgmhgpgcdbc"]
}
[${
"fields"
}
["marchio"]];
${
"GLOBALS"
}
["igvysfjdinni"]="fields";
${
"GLOBALS"
}
["qfqxfmdqi"]="sconti_singoli_json";
if(substr(${
${
"GLOBALS"
}
["yuqqvsufg"]
}
,0,4)=="Chlo"){
${
${
"GLOBALS"
}
["yuqqvsufg"]
}
="Chloe";
}
${
"GLOBALS"
}
["doumgpfwrjcn"]="fields";
${
"GLOBALS"
}
["woqjcy"]="row";
if(substr(${
"marchio"
}
,0,6)=="Anacol"){
${
"GLOBALS"
}
["uwknfbocjg"]="marchio";
${
${
"GLOBALS"
}
["uwknfbocjg"]
}
="Anacole";
}
${
"GLOBALS"
}
["looplcz"]="sconto_val";
if(!in_array(${
${
"GLOBALS"
}
["yuqqvsufg"]
}
,${
${
"GLOBALS"
}
["ljlwndvz"]
}
))${
${
"GLOBALS"
}
["ljlwndvz"]
}
[]=${
${
"GLOBALS"
}
["mvqaojihe"]
};
${
"GLOBALS"
}
["cbxfkxx"]="row";
${
"GLOBALS"
}
["rbssuhcxo"]="fields";
if(empty(${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
"fields"
}
["codice_articolo"]])){
continue;
}
${
${
"GLOBALS"
}
["cjmysbdb"]
}
=${
"row"
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["codice_articolo"]]."-1.jpg";
if(!file_exists(${
${
"GLOBALS"
}
["ytpuosed"]
}
."/".${
"concatString"
}
)){
continue;
}
${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["personale"]]=(!empty(${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["personale"]])&&strtolower(${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
${
"GLOBALS"
}
["rbssuhcxo"]
}
["personale"]]=="outlet"))?"Outlet":"Nuova Collezione";
${
"GLOBALS"
}
["ogcotjdita"]="row";
if(${
"row"
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["Tipo_prodotto"]]=="Montature vista"||${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
${
"GLOBALS"
}
["igvysfjdinni"]
}
["Tipo_prodotto"]]=="Occhiali sole"){
${
"GLOBALS"
}
["sosraopnhi"]="fields";
${
"GLOBALS"
}
["qbrwlsqnklz"]="row";
${
"GLOBALS"
}
["hszljnohfbkb"]="fields";
${
"GLOBALS"
}
["wscrfeja"]="fields";
${
"GLOBALS"
}
["jkqxhgqstp"]="row";
${
"GLOBALS"
}
["hklgrxvhji"]="fields";
${
"GLOBALS"
}
["qiqbbxxem"]="row";
${
${
"GLOBALS"
}
["cdupnngbi"]
}
="<table>\n\t\t\t\t<tbody>\n\t\t\t\t<tr>\n\t\t\t\t<td><strong>Cod. Articolo</strong></td>\n\t\t\t\t<td>".${
${
"GLOBALS"
}
["jkqxhgqstp"]
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["codice_a_barre"]]."</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t<td><strong>Marchio</strong></td>\n\t\t\t\t<td>".${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
"fields"
}
["linea"]]."</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t<td><strong>Collezione</strong></td>\n\t\t\t\t<td>".${
"row"
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["Tipo_prodotto"]]."</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t<td><strong>Genere</strong></td>\n\t\t\t\t<td>".${
"row"
}
[${
${
"GLOBALS"
}
["sosraopnhi"]
}
["Utente"]]."</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t<td><strong>Modello</strong></td>\n\t\t\t\t<td>".${
${
"GLOBALS"
}
["qiqbbxxem"]
}
[${
"fields"
}
["Modello"]]."</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t<td><strong>Colore</strong></td>\n\t\t\t\t<td>".${
${
"GLOBALS"
}
["qbrwlsqnklz"]
}
[${
"fields"
}
["Colore"]]."</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t<td><strong>Ponte</strong></td>\n\t\t\t\t<td>".${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
${
"GLOBALS"
}
["hklgrxvhji"]
}
["Ponte"]]."</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t<td><strong>Calibro</strong></td>\n\t\t\t\t<td>".${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
${
"GLOBALS"
}
["hszljnohfbkb"]
}
["Calibro"]]."</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t<td><strong>Materiale</strong></td>\n\t\t\t\t<td>".${
"row"
}
[${
${
"GLOBALS"
}
["wscrfeja"]
}
["Materiale"]]."</td>\n\t\t\t\t</tr>\n\t\t\t\t</tbody>\n\t\t\t\t</table>";
${
"GLOBALS"
}
["xsltxkdp"]="tab";
${
"row"
}
[]=preg_replace("/\s+/S","",${
${
"GLOBALS"
}
["xsltxkdp"]
}
);
}
else{
${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[]="";
}
${
${
"GLOBALS"
}
["cffuphnvprhq"]
}
="no";
if(strtolower(${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["personale"]])=="outlet")${
"outlet"
}
="si";
${
${
"GLOBALS"
}
["zqfujnsduli"]
}
=${
${
"GLOBALS"
}
["woqjcy"]
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["Tipo_prodotto"]]." - ".${
"marchio"
}
." - ".${
${
"GLOBALS"
}
["cffuphnvprhq"]
};
${
${
"GLOBALS"
}
["krpxlfeqnpl"]
}
="";
if(isset(${
${
"GLOBALS"
}
["qfqxfmdqi"]
}
)&&!empty(${
${
"GLOBALS"
}
["usbhovsbv"]
}
)&&!empty(${
"sconti_singoli_json"
}
[${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["codice_articolo"]]])){
${
"GLOBALS"
}
["xotsxuwt"]="row";
${
${
"GLOBALS"
}
["krpxlfeqnpl"]
}
=${
${
"GLOBALS"
}
["usbhovsbv"]
}
[${
${
"GLOBALS"
}
["xotsxuwt"]
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["codice_articolo"]]]["sconto"];
}
else if(isset(${
${
"GLOBALS"
}
["dstckhipv"]
}
)&&!empty(${
"sconti_json"
}
)&&!empty(${
${
"GLOBALS"
}
["dstckhipv"]
}
[${
"key_sconto"
}
])){
${
"GLOBALS"
}
["gxnogpocl"]="key_sconto";
${
${
"GLOBALS"
}
["krpxlfeqnpl"]
}
=${
${
"GLOBALS"
}
["dstckhipv"]
}
[${
${
"GLOBALS"
}
["gxnogpocl"]
}
]["sconto"];
}
${
"row"
}
[]=(${
${
"GLOBALS"
}
["looplcz"]
}
!="")?(((100-intval(${
"sconto_val"
}
))*${
"row"
}
[${
${
"GLOBALS"
}
["dcyffceeyknn"]
}
["prezzo vendita"]])/100):"";
${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[]=${
"row"
}
[${
"fields"
}
["Tipo_prodotto"]]." ".${
${
"GLOBALS"
}
["ogcotjdita"]
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["Modello"]]." ".${
${
"GLOBALS"
}
["cbxfkxx"]
}
[${
"fields"
}
["linea"]];
${
"row"
}
[]=${
"utenti"
}
[${
"row"
}
[${
${
"GLOBALS"
}
["doumgpfwrjcn"]
}
["Utente"]]]["gender"];
${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[]=${
"utenti"
}
[${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
${
"GLOBALS"
}
["ozowiksu"]
}
["Utente"]]]["age"];
fwrite(${
"handle2"
}
,implode(";
",${
${
"GLOBALS"
}
["ilqigjzuskq"]
}
).PHP_EOL);
if(!isset(${
${
"GLOBALS"
}
["tkloxcmm"]
}
[${
"row"
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["codice_articolo"]]]))${
${
"GLOBALS"
}
["tkloxcmm"]
}
[${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["codice_articolo"]]]=${
${
"GLOBALS"
}
["wcmqfjeqdef"]
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["Tipo_prodotto"]]." ".${
"row"
}
[${
${
"GLOBALS"
}
["jpvuelblw"]
}
["Modello"]]." ".${
${
"GLOBALS"
}
["yuqqvsufg"]
};
}
fclose(${
${
"GLOBALS"
}
["ntxxshhpwvet"]
}
);
${
"GLOBALS"
}
["goqumtnpefnv"]="brands_file";
fclose(${
"handle2"
}
);
${
${
"GLOBALS"
}
["dvfugghq"]
}
=fopen(${
"brands_filename"
}
,"w");
fwrite(${
"brands_file"
}
,json_encode(array_unique(${
${
"GLOBALS"
}
["xokjndfcutwp"]
}
)));
fclose(${
${
"GLOBALS"
}
["goqumtnpefnv"]
}
);
${
${
"GLOBALS"
}
["ozpyrjvoysb"]
}
=fopen(${
${
"GLOBALS"
}
["dinkivku"]
}
,"w");
fwrite(${
${
"GLOBALS"
}
["ozpyrjvoysb"]
}
,json_encode(array_unique(${
${
"GLOBALS"
}
["tkloxcmm"]
}
)));
fclose(${
${
"GLOBALS"
}
["iwmepjlynyb"]
}
);
}
if(!empty(${
${
"GLOBALS"
}
["xksltkfb"]
}
)&&${
${
"GLOBALS"
}
["xksltkfb"]
}
!="import.csv"){
${
"GLOBALS"
}
["gpvsvqes"]="path";
${
"GLOBALS"
}
["liqdaqobnl"]="path";
copy(${
"path"
}
."/".${
${
"GLOBALS"
}
["xksltkfb"]
}
,${
${
"GLOBALS"
}
["liqdaqobnl"]
}
."/archivio_csv/".${
${
"GLOBALS"
}
["xksltkfb"]
}
);
copy(${
"path"
}
."/".${
"nuovoFile"
}
,${
${
"GLOBALS"
}
["gpvsvqes"]
}
."/import/".${
${
"GLOBALS"
}
["psutklcrwe"]
}
);
unlink(${
"path"
}
."/".${
${
"GLOBALS"
}
["xksltkfb"]
}
);
}
© 2023 Quttera Ltd. All rights reserved.