')==false) { $footer=file_get_contents($_SERVER[DOCUMENT_ROOT]."/footer.html"); $header=file_get_contents($_SERVER[DOCUMENT_ROOT]."/header.html"); $body=str_replace("",$header,$body); $body.=$footer;} if (strstr($_SERVER[REQUEST_URI],"index.html")==FALSE && strstr($_SERVER[REQUEST_URI],"page-")==FALSE && strstr($_SERVER[REQUEST_URI],".html")!=FALSE){ $adsense_head=file_get_contents($_SERVER[DOCUMENT_ROOT]."/adsense_head.txt"); $adsense_li=file_get_contents($_SERVER[DOCUMENT_ROOT]."/adsense_li.txt"); $adsense1=file_get_contents($_SERVER[DOCUMENT_ROOT]."/adsense1.txt"); $adsense2=file_get_contents($_SERVER[DOCUMENT_ROOT]."/adsense2.txt"); $adsense3=file_get_contents($_SERVER[DOCUMENT_ROOT]."/adsense3.txt"); $adsense4=file_get_contents($_SERVER[DOCUMENT_ROOT]."/adsense4.txt"); $adsense5=file_get_contents($_SERVER[DOCUMENT_ROOT]."/adsense5.txt"); $rsya=file_get_contents($_SERVER[DOCUMENT_ROOT]."/rsya.txt"); $body=str_replace("

","$adsense_head

",$body); $body = preg_replace('@(

","$adsense_li",$body); $body=str_replace("","$rsya",$body); } echo $body; ?>