'."\n".''."\n":'';?> body{background-image:url(images/homeBack.png);}':'';?>
'; if(file_exists('pages/'.PAGE.'.php')) require_once('pages/'.PAGE.'.php'); if(PAGE!='index' and PAGE!='apartments') echo '
'; ?>
]+>/i',$PAGE_LAYOUT, $imagesArray); $img = array(); foreach( $imagesArray[0] as $img_tag){ preg_match_all('/(alt|title|src|width|height)=("[^"]*")/i',$img_tag, $img[$img_tag]); } foreach($img as $picArray){ $pic=reset(explode('"',end(explode('="',$picArray[0][0])))); if(file_exists($pic)) $PAGE_LAYOUT=str_replace($picArray[0][0],$picArray[0][0].' '.imageSize($pic).' ',$PAGE_LAYOUT); //echo $picArray[0][0].'
'.$pic.'
'; } } echo $PAGE_LAYOUT; ?>