Code: Select all
<?php
ini_set('include_path', 'home/rigdonia/public_html/');
switch ($_GET['r5']) {
case 'about':
include('about.php');
break;
case 'main':
include('main.htm');
break;
case 'designupdates':
include('graphics/designupdates.php');
break;
case 'customware':
include('customware.html');
break;
case 'terms':
include('terms.html');
break;
case 'portfolio':
include('portfolio.html');
break;
case 'linkware':
include('linkware.html');
break;
case 'resources':
include('resources.html');
break;
case 'photography':
include('photography.htm');
break;
case 'gallery':
include('gallery.htm');
break;
case 'stock':
include('stock.htm');
break;
case 'screensaver':
include('screensavers.htm');
break;
case 'prints':
include('prints.htm');
break;
case 'other':
include('other.htm');
break;
case 'aboutme':
include('aboutme.html');
break;
case 'contact':
include('contact.html');
break;
case 'sitemap':
include('sitemap.htm');
break;
case null:
include('main.htm');
break;
default:
include('homeschoolcafe/includes/error.php');
break;
}
?>(I guess you can visit the site if you want to see it for yourself - rigdonia.com and follow the graphics tab to see the error.)