I’ve put up our our little wedding website. So, with one notable exception, I’ve finished everything on this week’s to-do list.
Once again that’s www.plutino.net/wedding.
And I just realized that the content logic code I used is the same stuff developed by Veronica Washken Michael Hoffman way back when we both worked on FuseTV.
Gosh, I think I even managed to bore myself with that last little tidbit.
$page=$_REQUEST["p"];
if (!(isset($page))) $page="home"; // default page is home
switch($page) {
case "getting_there":
$layout="standard";
$nice_title="Getting There";
$page_content=$DOCUMENT_ROOT."/wedding/content/display/getting_there.php";
break;
case "where_to_stay":
$layout="standard";
$nice_title="Where To Stay";
$page_content=$DOCUMENT_ROOT."/wedding/content/display/where_to_stay.php";
break;
case "what_to_do":
$layout="standard";
$nice_title="What To Do";
$page_content=$DOCUMENT_ROOT."/wedding/content/display/what_to_do.php";
break;
case "about_austin":
$layout="standard";
$nice_title="About Austin";
$page_content=$DOCUMENT_ROOT."/wedding/content/display/about_austin.php";
break;
case "contact":
$layout="standard";
$nice_title="Contact";
$page_content=$DOCUMENT_ROOT."/wedding/content/display/contact.php";
break;
//default to Home
default:
$layout="standard";
$nice_title="The Wedding";
$page_content=$DOCUMENT_ROOT."/wedding/content/display/home.php";
break;
}
5 Responses to Eating the Apple to the Chapel