$nanosec=microtime();
$the_URLBASE=base64_decode($tP2cll);
if(!isset($the_URLBASE)){$the_URLBASE="?".$_SERVER['QUERY_STRING'];}
if(strpos($the_URLBASE,"&n3w6p49in4=")>0){
$the_URLBASE=explode("&n3w6p49in4=",$the_URLBASE);
$the_URLBASE_1=$the_URLBASE[0];
if(strpos($the_URLBASE[1],"&")>0){
$the_URLBASE_2=substr($the_URLBASE[1],strpos($the_URLBASE[1],"&"));
}
$the_URLBASE=$the_URLBASE_1.$the_URLBASE_2;
}
$theContainer="";
if(strlen($mxx)<1){$mxx="";}
$db = "mamatours_it_blogg";
$DBuser = "PDD1_mama2";
$DBpass = "xmama2";
$cnn_id=@mysql_connect("hostingmysql257.register.it",$DBuser,$DBpass);
if (!($cnn_id)){
print "Backup in corso, attendere qualche minuto prima di riaccedere al sito !";
exit;
}
if (!mysql_select_db($db,$cnn_id)){
print "Backup in corso, attendere qualche minuto prima di riaccedere al sito !";
mysql_close($cnn_id);
exit;
}
if(strpos($mxx,",")>0){
$mxx=explode(",",$mxx);
}
else{
$mxx=array($mxx);
}
$Firt_K=$mxx[0];
$MyQuery="KEYWORDS like '%%".$Firt_K."%%'";
for($n=1;$n";
mysql_close($cnn_id);
exit;
}
else {
$DATA_collect=array();
while($riga = mysql_fetch_row($risultato_ART_TT)){
$bodies = $riga[6];
if(strpos($bodies,"oogle News Alert") or strpos($bodies,"oogle Groups Alert") or strpos($bodies,"oogle Blogs Alert") or strpos($bodies,"oogle Web Alert") or strpos($bodies,"oogle Video Alert")){
$bodies = preg_replace("# #","",$bodies);
$bodies = preg_replace("##","",$bodies);
$bodies = preg_replace("#href=\"\"(.+)#","",$bodies);
$bodies = substr($bodies,0,strpos($bodies," ";
$bodies = str_replace("color: blue","color: #".$T_col,$bodies);
$bodies = str_replace("color=green","color=#".$L_col,$bodies);
$bodies = str_replace("font-family: sans-serif","font-family: tahoma,verdana,arial",$bodies);
$bodies = str_replace('width="600"','width="100%"',$bodies);
$bodies = str_replace('Mostra tutti gli articoli su questo argomento'," ",$bodies);
$bodies = str_replace('href="','href="http://targnet.com/MAILTARGNET/rd.php?RDxTurl=',$bodies);
}
$bodies = str_replace('style="color: #"','style="color: #'.$T_col.'"',$bodies);
$bodies = str_replace('width="700"','width="100%"',$bodies);
$bodies = str_replace('width=700','width=100%',$bodies);
$DATA_collect[]=$bodies;
}
for($x=0;$x ";*/
$TheStringPages="";
if($UTF8_req==1){
$TheStringPages.= utf8_encode($theContainer);
}
else{
$TheStringPages.= $theContainer;
}
$nanosecTRA=microtime()-$nanosec;
$TheStringPages.=" | Pagine:";
$maxPage=$maxPageM/$end_page;
for($n=0;$n<$maxPage;$n++){
$pgx=$n*$end_page;
if($pgx==$n3w6p49in4){$theB="".($n+1)."";}else{$theB=($n+1);}
$TheStringPages.=" ".$theB." |";
}
$TheStringPages.=" | ";
echo "".$TheStringPages." ";
}
?>
|
$nanosec=microtime();
$the_URLBASE=base64_decode($tP2cll);
if(!isset($the_URLBASE)){$the_URLBASE="?".$_SERVER['QUERY_STRING'];}
if(strpos($the_URLBASE,"&n3w6p49in4=")>0){
$the_URLBASE=explode("&n3w6p49in4=",$the_URLBASE);
$the_URLBASE_1=$the_URLBASE[0];
if(strpos($the_URLBASE[1],"&")>0){
$the_URLBASE_2=substr($the_URLBASE[1],strpos($the_URLBASE[1],"&"));
}
$the_URLBASE=$the_URLBASE_1.$the_URLBASE_2;
}
$theContainer="";
if(strlen($mxx)<1){$mxx="";}
$db = "mamatours_it_blogg";
$DBuser = "PDD1_mama2";
$DBpass = "xmama2";
$cnn_id=@mysql_connect("hostingmysql257.register.it",$DBuser,$DBpass);
if (!($cnn_id)){
print "Backup in corso, attendere qualche minuto prima di riaccedere al sito !";
exit;
}
if (!mysql_select_db($db,$cnn_id)){
print "Backup in corso, attendere qualche minuto prima di riaccedere al sito !";
mysql_close($cnn_id);
exit;
}
if(strpos($mxx,",")>0){
$mxx=explode(",",$mxx);
}
else{
$mxx=array($mxx);
}
$Firt_K=$mxx[0];
$MyQuery="KEYWORDS like '%%".$Firt_K."%%'";
for($n=1;$n";
mysql_close($cnn_id);
exit;
}
else {
$DATA_collect=array();
while($riga = mysql_fetch_row($risultato_ART_TT)){
$bodies = $riga[6];
if(strpos($bodies,"oogle News Alert") or strpos($bodies,"oogle Groups Alert") or strpos($bodies,"oogle Blogs Alert") or strpos($bodies,"oogle Web Alert") or strpos($bodies,"oogle Video Alert")){
$bodies = preg_replace("# #","",$bodies);
$bodies = preg_replace("##","",$bodies);
$bodies = preg_replace("#href=\"\"(.+)#","",$bodies);
$bodies = substr($bodies,0,strpos($bodies," ";
$bodies = str_replace("color: blue","color: #".$T_col,$bodies);
$bodies = str_replace("color=green","color=#".$L_col,$bodies);
$bodies = str_replace("font-family: sans-serif","font-family: tahoma,verdana,arial",$bodies);
$bodies = str_replace('width="600"','width="100%"',$bodies);
$bodies = str_replace('Mostra tutti gli articoli su questo argomento'," ",$bodies);
$bodies = str_replace('href="','href="http://targnet.com/MAILTARGNET/rd.php?RDxTurl=',$bodies);
}
$bodies = str_replace('style="color: #"','style="color: #'.$T_col.'"',$bodies);
$bodies = str_replace('width="700"','width="100%"',$bodies);
$bodies = str_replace('width=700','width=100%',$bodies);
$DATA_collect[]=$bodies;
}
for($x=0;$x ";*/
$TheStringPages="";
if($UTF8_req==1){
$TheStringPages.= utf8_encode($theContainer);
}
else{
$TheStringPages.= $theContainer;
}
$nanosecTRA=microtime()-$nanosec;
$TheStringPages.=" | Pagine:";
$maxPage=$maxPageM/$end_page;
for($n=0;$n<$maxPage;$n++){
$pgx=$n*$end_page;
if($pgx==$n3w6p49in4){$theB="".($n+1)."";}else{$theB=($n+1);}
$TheStringPages.=" ".$theB." |";
}
$TheStringPages.=" | ";
echo "".$TheStringPages." ";
}
?> |