$value) : $$key = $value; endforeach; else : //If there is NO page content then this must be a special hard coded page or a 404 error $page_id = 0; //check for include file called $page if (is_file("content/$page.php")) include("content/$page.php"); else if (($page != "sitemap") && ($page != "search")){ //These special pages are "included" include("content/404error.php"); } endif; if (!($enews)){ include("includes/header.php"); }else{ include("includes/header_enews.php"); } //Convert "Elwood Wines" to be the correct colours $content = str_replace('elwood wines', 'elwood wines', $content); //Not bold for headings $content = str_replace('

elwood wines

', '

elwood wines

', $content); //Do for content_right too $content_right = str_replace('elwood wines', 'elwood wines', $content_right); /* Note also done for Testimonials! */ ?>
[LIST DO NOT DELETE!]

", $list,$content); show_content($content, $base_site_root, $enews); }else{ // Individual product page include("lists/product.php"); $content = str_replace("

[LIST DO NOT DELETE!]

", $list,$content); show_content($content, $base_site_root, $enews); } }else{ switch ($section) { case "main" : if ($page == "sitemap"){ include("includes/sitemap.php"); }elseif($page == "search"){ include("includes/search.php"); }else{ show_content($content, $base_site_root, $enews); } break; case "news" : if (!($page == "news")){ $content.= "

Posted: " . date("jS \of F Y", strtotime($content_date)) . "

"; echo ($content); }else{ show_content($content, $base_site_root, $enews); } break; case "testimonials" : show_content($content, $base_site_root, $enews); if ($page != "testimonials"){ ?>

Read more testimonials