PHP
$contentPages=array('contact_form'=>'contact_form.php','welcome'=>'welcome.php','about'=>'about.php');$content='default.php';if(isset($_GET['content'])&&array_key_exists($_GET['content'],$contentPages)){$content=$contentPages[$_GET['content']];}include('html/'.$content);
Just to offer another solution, this can be done with pure PHP if you want to avoid using JavaScript, jQuery, etc. Please note, this is for reference and should not be used as is. You would want to sanitize the GET variable rather than trusting users.