www.premium-sponsor.com (you'll find the example of one cron above(inverted)...after the next paragraphs...)
SexyAvenue->movies+liveshow+sexshop...(it's slightly different...dynamic management of languages,attributes(some are fields defined like attributes...field_id incorporated inside tags,etc...),translations,tags,variables for tracking,rules,uniquely keys(ex:translation of products of sexshop..uniquely key of products),categories,products,type of products,filters,etc,etc,etc...)...
I won't share more crons,code,etc...I'm already preparing the third sponsor...I'll add gambling too...like Poker,etc...the same logic too..with tracking,etc...
The adult market+gambling(online gambling),etc,etc...
The first example of one cron is located after this text...
I'm alreading working on the 4th sponsor (i'll be preparing several sponsors....)->ex of the cron of the 3r sponsor not finished..almost:
http://www.premium-sponsor.net/example2.txt
The conf's file is very important...the tables that will be created too...the arrays will be created dinamically at the beginning of the cron's execution,etc,etc..the cron will depend on the arrays definitions..and the values placed at memory,etc...it's like..filling the multidimensional arrays before ..and processing the cron's execution after...
Later cache will be created at several levels...even cache@sql,etc...instead of crazy queries that take a lot of time to execute,parse@sql to see if it is correct,etc, "compiled"...it's without procedures@sql(stored procedures,etc) to start,later they might be created and integrated if necessary...often they are not necessary...,etc...queries are created/executed before and results placed@cache,arrays,etc,etc,etc,etc..separated processes...
Like i said before I'll create this@Portugal/Alentejo...
(www.premium-sponsor.com->adult market+online gambling,etc,etc)
...It's not farwest with bombers,religions and religious fundamentalists,etc,etc,etc,etc...
Personnaly i don't like confusions,etc,etc...
And i/we(dozens/hundreads of millions of persons worldwide) don't want religions,etc,etc...
The same logic applied to Politics,bombers and terrorists,etc,etc...don't glue,disturb,etc...
(www.premium-sponsor.com->adult market+online gambling,etc,etc)
Some things here can be easily converted into one function, create one variable with "scope" GLobal to be accessed several times...(reducing queries,etc) and reduce some lines of code...but it's not the apropriate time to do it yet...maybe later...and it's not one problem...and it's certainly the best way to do it...
It's like...first of all...adapt at the maximum all that is different...convert it,etc...later...clean and reduce lines of code(that's relatively easy and simple),etc...it's different...we don't know what we'll find but we need to manage it well,even interpretate it well, interpretate what we don't expect...using tools,stats,etc...comparing things...,etc and get conclusions and arguments looking at variables,values,comparing feeds,etc,etc,etc(if something is not working as expected...the question->why?...and the reasons/arguments,etc have to be found,etc...)...it's like the preview of ... before the preview of...antecipating the preview of... well and carefully and without mistakes(mistakes means bugs,overload,etc,etc)...
www.premium-sponsor.com It's and will be relatively advanced...
Some things are obvious but i won't take care of that now...for example to use less memory@arrays...
for example instead of setting per movie id_language==something it could be set just once for the totality of the loop...,etc
Instead of for example 1500 positions at memory with the same value it would be only one...
Things that are too basic and obvious...i won't take care of that now..
It makes more sense..at the end...clean those basic things in one day,i know what i did,where i did it...and why it should be changed,etc...etc,etc
This will be multi-white labels with dozens or hundreads of thousands of movies per language,etc,etc,etc...ready for tracking,etc...
-----------------------------------------------------------------------------------------------------------------------------------
This cron is not finished yet,it's one example...it's only one sponsor(i'll start with 6 or 7)...i'm working on it...and stats will be integrated later,it's relatively complex,etc...
I need coke sometimes(in the limit 1gr per month)reduce stress,have fun,dance,etc...and i don't care about others people's opinion about this because they don't know the responsabilility,stress,etc,etc...AND I'M GROWN-UP AND RESPONSABLE!AND I'M NOT DUG ADDICTED!
I'm preparing 6 or 7 sponsors to start in Mars/April...and scripts like these ones..and some even more complicated,etc...and it's one huge responsability,etc...and i'll be adding new sponsors in the futur...it will increase,etc...(one by one,carefully,etc)...for example in 2015...i might have dozens of sponsors added,in 2020 hundreads,etc...tracking,stats,etc,etc,etc
this script...think about 6 or 7 sponsors integrated to start with stats,tracking,cache,white-labels,etc,etc,etc,etc,etc...)+platform of payments,etc
My messenger //domain premium-sponsor.com will be given to people/enterprises/sponsors that i'll work with,etc...i won't accept invitations@messenger or strangers at my messenger...the personnal messenger i'm not using it(a lot of strangers,people that i don't know where they are coming from,etc,etc)...i'll import contacts from people that i'll work with,people that i know,etc,etc...people that i like,etc
------------------------------------------------------------------------------------------------------------------------------------
Pseudo goods...At this level...ROIS,tracking,white labels,multi-sponsor,multi-product,multi-whatever,tracking of sells and upsells,domains ready to control trades using multi-white labels,stats and tracking of clicks,sells ratio's transformation,posterior tracking of sells and upsells,etc,etc,etc,etc,etc,etc,etc,etc,etc...lower than this i ignore you(blablabla,etc) and i've no patiance...not even to other projects...
$id_flux["idsponsor"]=2;
// $flux_treat=array(397,382,769,770);
//$flux_treat=array(397,382);
$flux_treat=array(521,6876);
$textemailmessage="";
include("../../conf.inc.php");
$ArrayAstrosTmpCompare=array('803','795','796','797','798','799','800','801','802','794','804','805');
$_rule_rate_="|rate:0/5|";
$array_not_exist=array();
//ID SEXSHOP 712 ->Boutique Plaisir
$array_categories_sex_shop_sons[521]=array(50=>"SexToys",60=>"DVD",4580=>"Librarie",4510=>"Bien-Être",4530=>"Gadgets",10=>"Femmes",1010=>"Lingerie",1030=>"Lingerie Sexy",1040=>"Prêt à porter",1060=>"Latex",20=>"Hommes",4520=>"Transformiste",40=>"Bijoux",30=>"Chaussures",70=>"Fetish-SM");
//ID SEXSHOP 713 ->Ma Boutique Gay
$array_categories_sex_shop_sons[6876]=array(50=>"SexyToys and Godes",20=>"BodyWear",70=>"Bondage Fétish",4510=>"Câlins et Massages",40=>"Bijoux Intimes",60=>"Dvd Entre Mecs");
if(is_array($flux_treat)){
foreach($flux_treat as $kfluxtotreat => $vfluxtotreat){
//echo $kfluxtreatsubtype."
";
if(!empty($array_language_flux_default[$vfluxtotreat])){
$id_language_default=$array_language_flux_default[$vfluxtotreat];
}
$info_page_records=explode("|",$array_number_records_per_page_start_flux[$vfluxtotreat]);
if(is_array($id_flux["detail"][$vfluxtotreat])){
foreach($id_flux["detail"][$vfluxtotreat]["Sponsor"]["url"]["information"]["xml"] as $kfluxtreatsubtype=>$vfluxtreatsubtype){
//control if execution is allowed by kfluxtreatsubtype and add exit
echo $kfluxtreatsubtype."
";
if(check_lock_control_($kfluxtreatsubtype,"start")=="ok"){
$_ids_types_xml_cache_=$_ids_types_xml_[$kfluxtreatsubtype];
$_time_of_cache_flux_subtype=$_ids_types_xml_time_cache_[$kfluxtreatsubtype];
//echo "time of cache ".$_time_of_cache_flux_subtype."
";
if($kfluxtreatsubtype =="xml-movies"){
$strrule=prepare_thumbs($vfluxtotreat,$id_flux["detail"][$vfluxtotreat]["imgs_width_id"],"rule");
if(substr($strrule,0,8)=="ERRORMSG"){
$textemailmessage.=$myXML;
}
$number_records_or_end_position=$info_page_records[0];
$counterfilter=0;
foreach($id_flux["detail"][$vfluxtotreat]["languages"] as $klg => $vlg){
foreach($ids_cats_sponsor[$vfluxtotreat] as $kcat => $vcat){
$cat_convereted_cache=$vcat;
$pagenumb=$limitepaginas=$info_page_records[1];
while ($pagenumb<=$limitepaginas){
$replacements=array($id_flux["idsponsorfk"],$id_flux["loginsponsor"],$id_flux["passwordsponsor"],$kcat,"{idcatsonsponsor}",$pagenumb,$vlg,$number_records_or_end_position,"{filter}",$_SERVER['REMOTE_ADDR'],$id_flux["keysponsor"],"{tracker}","{iditemdetail}","{idsubitemdetail}","{subtracker}");
$urlstringtreat =str_replace($patterns, $replacements, $vfluxtreatsubtype);
$page_number_cache=$pagenumb;
echo "".$urlstringtreat."
";
$myXML = open_xml_parsing($generatecache="yes",$urlstringtreat,$id_flux["idsponsor"],$vfluxtotreat,$_ids_types_xml_cache_,$klg,$_id_filter_="x",$cat_convereted_cache,$_id_product_sub_type_="x",$_time_of_cache_flux_subtype,"yes|5;3|".$page_number_cache);
if(substr($myXML,0,8)=="ERRORMSG"){
$textemailmessage.=$myXML;
}else{
$xml = new CXml();
$xml->Set_XML_data($myXML);
if(isset($xml->obj_data->videos_site[0]->categories[0])){
foreach($xml->obj_data->videos_site[0]->categories[0]->categorie as $categorie){
$checknewcategories=check_new_categories_sponsor($id_flux["idsponsor"],$vfluxtotreat,$categorie->id[0],$categorie->nom[0]);
if(substr($checknewcategories,0,8)=="ERRORMSG"){
if(!is_array($array_not_exist[$vfluxtotreat]["newcategories"])) $array_not_exist[$vfluxtotreat]["newcategories"]=array();
$array_not_exist[$vfluxtotreat]["newcategories"][]=$checknewcategories;
}
}
}//if(isset($xml->obj_data->videos_site[0]->categories[0])){
if(isset($xml->obj_data->videos_site[0]->videos[0])){
foreach($xml->obj_data->videos_site[0]->videos[0]->video as $video){
if(!is_array($global1_[$video->id])){
$str_array_str_informations_db['title']=$video->title[0];
$str_array_str_informations_db['description']=$video->description[0];
if($counterfilter==0){
$str_array_str_informations_db['length']=$video->length[0];
}
$global1_[$video->id]["id_language"]=$klg;
$global1_[$video->id]["niches_ids"]=$video->niches_ids[0];
$global1_[$video->id]["date_insert"]=$video->date_insert[0];
if(!is_array($global1_[$video->id]["payments"])) $global1_[$video->id]["payments"]=array();
$global1_[$video->id]["payments"][21]=$video->payment[0]->url_micro_paiement[0];
$global1_[$video->id]["payments"][19]=$video->payment[0]->url_securite_totale[0];
$global1_[$video->id]["payments"][20]=$video->payment[0]->url_adsl[0];
$global1_[$video->id]["payments"][22]=$video->payment[0]->url_dialer_html[0];
if(!is_array($global1_[$video->id]["teaser"])) $global1_[$video->id]["teaser"]=array();
foreach($video->teasers[0]->teaser as $teaser){
$global1_[$video->id]["teaser"][$id_flux["detail"][$vfluxtotreat]["teasers_format"][$teaser->format[0]]]["id_file_sponsor"]=$teaser->id_file[0];
$global1_[$video->id]["teaser"][$id_flux["detail"][$vfluxtotreat]["teasers_format"][$teaser->format[0]]]["file_path"]=$teaser->file_path[0];
}
if(!is_array($global1_[$video->id]["thumbs"])) $global1_[$video->id]["thumbs"]=array();
for($ic = 0; $ic < 9; $ic++){
foreach($video->chunks[0]->chunk[$ic]->thumbs[0]->thumb as $thumb){
if(!in_array($thumb, $global1_[$video->id]["thumbs"])) $global1_[$video->id]["thumbs"][]=$thumb;
}
}
$global1_[$video->id]['str_informations_db'] = prepare_strings_database(remove_weird_symbols_caracteres(treatment_string_tags($_complete_str_="",$_tag_to_treat_="",$str_array_str_informations_db),$vfluxtotreat));
unset($str_array_str_informations_db,$str_array_images);
$myMovie=movies_management($global1_);
if(substr($myMovie,0,8)=="ERRORMSG"){
$textemailmessage.=$myMovie;
unset($global1_[$video->id]);
}else{
unset($global1_[$video->id]);
}
}//if(!is_array($global1_[$video->id])){
}//foreach($xml->obj_data->videos_site[0]->videos[0]->video as $video){
}//if(isset($xml->obj_data->videos_site[0]->videos[0])){
}//else if(substr($myXML,0,8)=="ERRORMSG"){
$pagenumb++;
$limitepaginas=$xml->obj_data->videos_site[0]->navigation[0]->nb_pages[0];
unset($myXML);
if($pagenumb >$limitepaginas){
break;
}
}//while ($pagenumb<=$limitepaginas){
//echo $array_modules_to_include_subtype[$kfluxtreatsubtype]."
";
//@include($array_modules_to_include_subtype[$kfluxtreatsubtype]);
/*
if($vfluxtotreat==382 || $vfluxtotreat==397){
$myMovie=movies_management($global1_);
if(substr($myMovie,0,8)=="ERRORMSG"){
$textemailmessage.=$myMovie;
echo $textemailmessage."
";
}
unset($global1_);
}
*/
}//foreach($ids_cats as $kcat => $vcat){
/*
if($vfluxtotreat==382 || $vfluxtotreat==397){
$myMovie=movies_management($global1_);
if(substr($myMovie,0,8)=="ERRORMSG"){
$textemailmessage.=$myMovie;
echo $textemailmessage."
";
}
unset($global1_);
}
*/
$counterfilter++;
}//foreach($id_flux["detail"][$k]["languages"] as $klg => $vlg){
}else if($kfluxtreatsubtype=="xml-liveshow-models"){
$number_records_or_end_position=$info_page_records[0]-1;
foreach($id_flux["detail"][$vfluxtotreat]["filter"] as $kfilter=> $vfilter){
foreach($id_flux["detail"][$vfluxtotreat]["languages"] as $klg => $vlg){
$id_flux["detail"][$vfluxtotreat]["isgay"]==1 ? $syn="gay" : $syn="hetero";
foreach($ids_cats_sponsor[$vfluxtotreat] as $kcat => $vcat){
$cat_convereted_cache=$vcat;
//echo 'cat_convereted_cache '.$cat_convereted_cache."
";
$pagenumb=$limitepaginas=$info_page_records[1];
while ($pagenumb<=$limitepaginas){
if($pagenumb==$info_page_records[1]){
$page_number_cache=$info_page_records[1]+1;
}else $page_number_cache=($pagenumb/$info_page_records[0])+1;
$replacements=array($id_flux["idsponsorfk"],$id_flux["loginsponsor"],$id_flux["passwordsponsor"],$kcat,"{idcatsonsponsor}",$pagenumb,$vlg,$number_records_or_end_position,$vfilter,$_SERVER['REMOTE_ADDR'],$id_flux["keysponsor"],"{tracker}","","","");
$urlstringtreat =str_replace($patterns, $replacements, $vfluxtreatsubtype);
echo "".$urlstringtreat."
";
$myXML = open_xml_parsing($generatecache="yes",$urlstringtreat,$id_flux["idsponsor"],$vfluxtotreat,$_ids_types_xml_cache_,$klg,$kfilter,$cat_convereted_cache,$_id_product_sub_type_="x",$_time_of_cache_flux_subtype,"yes|5;3|".$page_number_cache);
if(substr($myXML,0,8)=="ERRORMSG"){
$textemailmessage.=$myXML;
}else{
$xml = new CXml();
$xml->Set_XML_data($myXML);
if(isset($xml->obj_data->hostesses[0])){
foreach($xml->obj_data->hostesses[0]->hostess as $info){
$str_informations="";
if((!empty($info->id[0])) && !is_array($global1_[$info->id[0]])){
//str_informations.=$sexshop_rule_separador_text[0]."sizeid".$sexshop_rule_separador_text[0].$str_size_id.$sexshop_rule_separador_text[0]."endsizeid".$sexshop_rule_separador_text[0].$sexshop_rule_separador_text[1];
$info->eyes[0]=trim($info->eyes[0]);
$info->hair[0]=trim($info->hair[0]);
$info->native[0]=trim($info->native[0]);
if(!empty($info->native[0])){
if(is_array($_ids_all_countries_)){
foreach($_ids_all_countries_ as $kcountry => $vcountry){
//echo "values->$kcountry => $vcountry
";
if(strpos($info->native[0],"Moldova")!== false){
$keyarraycountry="1053";
break;
}
if(strpos($vcountry,$info->native[0])!== false) {
$keyarraycountry=$kcountry;
break;
}
}
if(empty($keyarraycountry)){
if(!is_array($array_not_exist[$vfluxtotreat]["country"])) $array_not_exist[$vfluxtotreat]["country"]=array();
if(!in_array($info->native[0], $array_not_exist[$vfluxtotreat]["country"])) $array_not_exist[$vfluxtotreat]["country"][]=$info->native[0];
}else{
$explodekeycountry=explode("|",$keyarraycountry);
$global1_[$info->id[0]]['id_country'] = $explodekeycountry[0];
unset($keyarraycountry);
}
}
}
if(!empty($info->eyes[0])){
if(is_array($_ids_eyes_)){
foreach($_ids_eyes_ as $keyes => $veyes){
if(strpos($veyes,$info->eyes[0])!== false) {
$keyarrayeyes=$keyes;
break;
}
}
if(empty($keyarrayeyes)){
if(!is_array($array_not_exist[$vfluxtotreat]["eyes"])) $array_not_exist[$vfluxtotreat]["eyes"]=array();
if(!in_array($info->eyes[0], $array_not_exist[$vfluxtotreat]["eyes"])) $array_not_exist[$vfluxtotreat]["eyes"][]=$info->eyes[0];
}else{
$explodekeyeyes=explode("|",$keyarrayeyes);
$global1_[$info->id[0]]['id_eyes'] = $explodekeyeyes[0];
unset($keyarrayeyes);
}
}
}
if(!empty($info->hair[0])){
if(is_array($_ids_hair_)){
foreach($_ids_hair_ as $khair => $vhair){
if(strpos($vhair,$info->hair[0])!== false) {
$keyarrayhair=$khair;
break;
}
}
if(empty($keyarrayhair)){
if(!is_array($array_not_exist[$vfluxtotreat]["hair"])) $array_not_exist[$vfluxtotreat]["hair"]=array();
if(!in_array($info->hair[0], $array_not_exist[$vfluxtotreat]["hair"])) $array_not_exist[$vfluxtotreat]["hair"][]=$info->hair[0];
}else{
$explodekeyhair=explode("|",$keyarrayhair);
$global1_[$info->id[0]]['id_hair'] = $explodekeyhair[0];
unset($keyarrayhair);
}
}
}
if (isset($info->languages[0])) {
$strtmplanguages="";
foreach($info->languages[0] as $lang) {
if(is_array($lang)){
foreach($lang as $klganguage=>$vlanguage){
$flagfound="nok";
foreach($_ids_languages_spokenwritten_ as $klanguages_spokenwritten_ => $vlanguages_spokenwritten_){
if(strpos($vlanguages_spokenwritten_,$vlanguage."-")!== false){
$tmparrayspokenwrittenlgs=explode("|",$klanguages_spokenwritten_);
$keysspokenwrittenlgs[]=$tmparrayspokenwrittenlgs[0];
$flagfound="ok";
break;
}
}
if($flagfound!="ok"){
//echo 'DOES NOT EXISTS vlanguages_spokenwritten_ '.$vlanguages_spokenwritten_.'vlanguage '.$vlanguage."-
";
if(!is_array($array_not_exist[$vfluxtotreat]["spokenwrtittenlanguages"])) $array_not_exist[$vfluxtotreat]["spokenwrtittenlanguages"]=array();
if(!in_array($vlanguage, $array_not_exist[$vfluxtotreat]["spokenwrtittenlanguages"])) $array_not_exist[$vfluxtotreat]["spokenwrtittenlanguages"][]=$vlanguage;
unset($flagfound);
}
}
}
}
if(is_array($keysspokenwrittenlgs)){
$strtmplanguages="|".implode("|",$keysspokenwrittenlgs)."|";
unset($keysspokenwrittenlgs);
}
}
$global1_[$info->id[0]]['str_spoken_written_languages']=$strtmplanguages;
$str_array_str_informations_db['nickname']="1155".$liveshow_rule_separador_text[0].$info->name[0];
$str_array_str_informations_db['age']="719".$liveshow_rule_separador_text[0].$info->age[0];
$str_array_str_informations_db['height']="722".$liveshow_rule_separador_text[0].$info->height[0];
$str_array_str_informations_db['weight']="723".$liveshow_rule_separador_text[0].$info->weight[0];
if(!empty($info->secrets[0])) $str_array_str_informations_db['secrets']="725".$liveshow_rule_separador_text[0].$info->secrets[0];
if(!empty($info->rate[0])) $str_array_str_informations_db['rate']="1156".$liveshow_rule_separador_text[0].$info->rate[0].$_rule_rate_;
if(!empty($info->sound[0])){
$str_array_str_informations_db['speakers']="1146".$liveshow_rule_separador_text[0].$info->sound[0];
}else{
$str_array_str_informations_db['speakers']="1146".$liveshow_rule_separador_text[0].$info->sound[0];
}
$global1_[$info->id[0]]['is_gay']=$id_flux["detail"][$vfluxtotreat]["isgay"]==1 ? 1 : 0;
unset($var_id_sex);
if($global1_[$info->id[0]]['is_gay']==1){
if($info->category[0]->id[0]==14) $var_id_sex=1133;
else if($info->category[0]->id[0]==4) $var_id_sex=1132;
}else{
if($info->category[0]->id[0]==5) $var_id_sex=1133;
else $var_id_sex=1131;
}
if($info->category[0]->id[0]==17) $global1_[$info->id[0]]['is_pornstar']=1; else $global1_[$info->id[0]]['is_pornstar']=0;
$global1_[$info->id[0]]['id_sex']=$var_id_sex;
$global1_[$info->id[0]]['id_filter'] = array_search($info->status[0], $id_flux["detail"][$vfluxtotreat]["filter"]);
$global1_[$info->id[0]]['id_language'] = $id_language_default;
$global1_[$info->id[0]]['has_translations'] = 0;
$global1_[$info->id[0]]['id_astro'] = $ArrayAstrosTmpCompare[($info->astro[0]-1)];
$global1_[$info->id[0]]['link_out'] = $info->link_file[0];
//$global1_[$info->id[0]]['link_out_calendar'] = $info->calendar_link[0];
$global1_[$info->id[0]]['link_out_feed_teaser'] = $info->feed_url[0];
$str_array_images['images']="793-100x87".$liveshow_rule_separador_text[0]."792-150x130".$liveshow_rule_separador_text[0]."791-200x174".$liveshow_rule_separador_text[1].$info->image[0]->S[0].$liveshow_rule_separador_text[0].$info->image[0]->M[0].$liveshow_rule_separador_text[0].$info->image[0]->B[0];
if (isset($info->category[0])) {
$global1_[$info->id[0]]['category_id']=$info->category[0]->id[0];
$global1_[$info->id[0]]['category_name']=$info->category[0]->name[0];
}
$global1_[$info->id[0]]['str_informations_db']=treatment_string_tags($_complete_str_="",$_tag_to_treat_="",$str_array_str_informations_db);
$global1_[$info->id[0]]['images'] = treatment_string_tags($_complete_str_="",$_tag_to_treat_="",$str_array_images);
unset($keyarrayhair,$keyarrayeyes,$keyarraycountry,$str_informations,$str_array_images,$str_array_str_informations_db);
}//if(!is_array($global1_[$info->id[0]])){
}//foreach($xml->obj_data->hostesses[0]->hostess as $info){
}
}//else if(substr($myXML,0,8)=="ERRORMSG"){
$pagenumb+= ($info_page_records[0]);
$number_records_or_end_position += ($info_page_records[0]);
$limitepaginas=$xml->obj_data->hostesses[0]->result;
//$limitepaginas=81;
unset($myXML);
if($pagenumb>$limitepaginas){
$number_records_or_end_position=$info_page_records[0]-1;
break;
}
}//while ($pagenumb<=$limitepaginas){
}//foreach($ids_cats as $kcat => $vcat){
}//foreach($id_flux["detail"][$k]["languages"] as $klg => $vlg){
$myModel=liveshows_models_management($global1_);
if(substr($myModel,0,8)=="ERRORMSG"){
$textemailmessage.=$myModel;
unset($global1_);
}else{
unset($global1_);
}
}// foreach($ArrayFilters as $kfilter=> $vfilter){
//echo "
".print_r( $global1_).""; // echo "
".print_r($array_not_exist).""; // unset($array_not_exist); // echo "
".print_r($global1_).""; }else if($kfluxtreatsubtype=="xml-liveshow-models-last-models"){ $replacements=array($id_flux["idsponsorfk"],$id_flux["loginsponsor"],$id_flux["passwordsponsor"],"","","","","","",$_SERVER['REMOTE_ADDR'],$id_flux["keysponsor"],"{tracker}","","",""); $urlstringtreat =str_replace($patterns, $replacements, $vfluxtreatsubtype); echo $urlstringtreat."