//redirect for install
if(!file_exists('Connections/myconn.php'))
header('Location:install.php');
//install file check
if(file_exists('install.php') || file_exists('install2.php') || file_exists('install3.php'))
print 'Please delete install files { install.php , install1.php, install2.php }
';
//*******************************************************************************
//PHP Real Estate Classifieds
//All Rights reserved by DB Design
//Do not modify, duplicate, resell with out direct permission from DB Design
//Script is bound by terms listed in terms.html file
//*******************************************************************************
//fetch template header
include('header.php');
//define varable
define('go','');
//set index varable for switch statment
if (isset($_REQUEST['go']))
$go = $_REQUEST['go']; // requested page
else
$go = ''; // default
switch($go) {
case 'gmap':
include('gmap.php');
break;
case 'photos':
include('photos.php');
break;
case 'resource_center':
include('resource_center.php');
break;
case 'linkdir':
include('linkdir.php');
break;
case 'mailme':
include('formmail.php');
break;
case 'sell':
include('sell.php');
break;
case 'buy':
include('buy.php');
break;
case 'properties':
include('properties.php');
break;
case 'login' :
echo "";
break;
case 'register' :
include('register.php');
break;
case 'pricing' :
include('pricing.php');
break;
case 'calc' :
include('calc.php');
break;
case 'contact' :
include('contact.php');
break;
case 'faq' :
include('faq.php');
break;
case 'features' :
include('features.php');
break;
case 'member_login' :
include('member_login.php');
break;
case 'mailme' :
echo"