img($file=$image1, $size=2, $path=4, $prefix="pageinline1", $imgClass="", $imgBorder=0, $imgAlign="", $imgAlt="", $imgTitle="", $imgId="", $mode="fillconstraint", $padding=0, $fillColor=array(255,255,255)); else $inlineImg = "\"\""; $inlineImg = "
".$inlineImg."
"; if ($image2 != "" and file_exists("pagesimg/".$image2)) $jsfuncs .= "$.backstretch(\"pagesimg/".$image2."\");\n"; else $jsfuncs .= "$.backstretch(\"".DEFAULT_BACK."\");\n"; //$mainContent = str_replace("_____SCROLL_CONTENT_____", $description, $scrollTemplate); $mainContent = str_replace("_____SCROLL_CONTENT_____", $description, $noScrollTemplate); $htmlout = str_replace( array( "_____SITE_TITLE_____", "_____JS_FUNCTIONS_____", "___MAINMENU1___", "___MAINMENU2___", "___MAINMENU3___", "___MAINMENU4___", "___MAINMENU5___", "___MAINMENU6___", "_____INLINE_IMG_____", "_____OVER_MENUS_____", "_____MAIN_CONTENT_____" ), array( HOME_TITLE, $jsfuncs, "", "", "", "", "", "", $inlineImg, $overMenus, $mainContent ), $template ); echo $htmlout; ?>