ERROR: Can't find $include_file file!
"; exit; } $pagetitle = $pagetitle . $def_delim . $def_company ; $ts = time() ; $tsrep = "__TIMESTAMP__"; $include = str_replace($tsrep,$ts,$include); $onloadrep = "__TENREHTEONLOAD__"; $onload = "" ; $include = str_replace($onloadrep,$onload,$include); $include = str_replace($pagetitlerep,$pagetitle,$include); $include = str_replace($homepagerep,$homepage,$include); $include = str_replace($productspagerep,$productspage,$include); $include = str_replace($newspagerep,$newspage,$include); $include = str_replace($aboutpagerep,$aboutpage,$include); $include = str_replace($supportpagerep,$supportpage,$include); $include = str_replace($contactpagerep,$contactpage,$include); $include = str_replace($storepagerep,$storepage,$include); $tsrep = ""; $tspage = " "; $include = str_replace($tsrep,$tspage,$include); echo $include; ?>
Screen_Top_Left screen_top_Right  
ERROR: Can't find $include_file file!
"; exit; } echo $include; ?>
"Events...", "pr_inc.html" => "Press Releases...", "news_inc.html" => "In The News..." ); $cnt = 1 ; foreach ($h as $html => $name) { /* default include file */ $include_file = $this_path . $html; $flag = 0 ; if($fh = fopen($include_file, "r")) { echo "
\n" ; echo "
\n" ; echo "$name\n" ; echo "
\n" ; echo "
\n" ; while(!feof($fh)) { $str = fgets($fh) ; if (!$flag && preg_match("/$start_str/", $str)) { $flag = 1 ; echo $str ; } elseif ($flag && !preg_match("/$end_str/", $str)) { echo $str ; } elseif ($flag && preg_match("/$end_str/", $str)) { $flag = 0 ; echo $str ; } } fclose($fh); echo "
\n" ; echo "
\n" ; $cnt++ ; } else { echo "ERROR: Can't find $include_file file!
"; exit; } } echo "\n" ; ?>