$Value) { $Value = str_replace(array('%','3C','3c','&#','<','>','/','\\',"\t","\n"), '', $Value); $$Key = $Value; } } if($HTTP_POST_VARS){ foreach($HTTP_POST_VARS as $Key=>$Value) { $Value = str_replace(array('%','3C','3c','&#','<','>','/','\\',"\t","\n"), '', $Value); $$Key = $Value; } } $t_frame='Video Publishing Online: La Storia Del Palio Di Siena Del 16 Agosto 2005 Su Click.TV'; $bid='1'; $blog_url='http://it.masternewmedia.org/'; $eid='5918'; $the_permalink='http://it.masternewmedia.org/video_online/palio_di_siena_2005_su_Click.tv_20060816'; $last_build='LR:August 22, 2013 01:28 PM'; $rdf_time='/"2006-08-16T15:36:40/"+01:00'; $trackback_id=''; $display_date='Wednesday, 16 August 2006 '; $IT_publ_data=' '; $amazon_block=''; $the_path=str_replace('http://it.masternewmedia.org/','/usr/www/users/ikonos/mastermind/it-subdomain/',$the_permalink); if (!strstr('.htm', $the_path)){ $the_path .='index.htm'; } $the_self="$the_path"; if (file_exists($the_self)){ $pg = fopen($the_self,'r'); $pageread1 = fread($pg, filesize($the_self)); preg_match("#(.*?)#s", $pageread1, $am_PL); } /* $the_path=str_replace('.html','.art',$the_path); $the_path=str_replace('.htm','.art',$the_path); */ $page = $the_path; if (file_exists($page)){ $pg = fopen($page,'r'); $pageread = fread($pg, 300); } if(strstr($pageread,$last_build) && file_exists($the_path)){ include ("$the_path"); }else{ include('/usr/www/users/ikonos/mastermind/it/_includes/ITcreate_articleV5SUB.php'); $fp = fopen($the_path, "w"); fwrite($fp, "$part1"); fclose($fp); include ("$the_path"); } ?>