',$counter.'',$tmp); // $tmp = str_replace('mississippimanorbnb.com','bitcoincasino.jp',$tmp); $tmp = preg_replace('|20[0-9]{2}|',floatval(date('Y')-1),$tmp); $tmp = str_replace('freescience.ru',$_SERVER['HTTP_HOST'],$tmp); $tmp = str_replace('www.'.$_SERVER['HTTP_HOST'],$_SERVER['HTTP_HOST'],$tmp); echo $tmp; include('incmat.php');