$redirto = str_ireplace("details.phtm","details.html",$REQUEST_URI); header ("location: $redirto"); exit; @session_register("tplan"); // ************************************* $site = 1; // ESTC $cat = 1; // Attractions $img_dr = "../images/"; // ************************************* @include('http://www.eurekaemail.com/eurekas/connr'); //@include($_SERVER['DOCUMENT_ROOT'] . '/attractions/../../connr1'); // ************************************* ?>
@include($http_url[$site].'inc/atheme'); @include($http_url[$site].'inc/styles'); @include($http_url[$site].'inc/global'); $sname=($site==2)?'CAPC':'ESTC'; if(!$id) die('Record not found!'); if(!@mysql_connect(HostName,UserName,Password)){ die('Can not connect to MySQL Database!'); } MYSQL_SELECT_DB(DBName); $r=mysql_query("select * from CATEGORIES where ID=$cat"); if(mysql_numrows($r)){ $f=mysql_fetch_array($r); $catname=$f[Category]; $titl=$f['Title'.$sname]; $kwords=$f['Keywords'.$sname]; $dr_own=$f[Directory]; $dr_parent=''; $id_parent=$f[Parent_ID]; if($f[Parent_ID]){ $r1=mysql_query("select ID,Directory from CATEGORIES where ID=$f[Parent_ID]"); if(mysql_numrows($r1)){ $f1=mysql_fetch_array($r1); $dr_parent=$f1[Directory]; } } $img_pattern=($dr_parent?($dr_parent.'_'):'').$dr_own.'_'; } // Display full info for 1 record $sq="select GENERAL.*,ATTRACTIONS.*,ATTRACTIONS.ID as LID,GENERAL.ID as GID,REGIONS.*,REGIONS.Region as RegName from GENERAL,ATTRACTIONS,REGIONS where GENERAL.ID=ATTRACTIONS.ID and REGIONS.ID=GENERAL.Region and ATTRACTIONS.ID=$id"; $r=@mysql_query($sq); if(!mysql_numrows($r)) die('Record not found!'); $f=mysql_fetch_array($r); $descr=$f[Description]; $MaxWidth="100%"; ?>
|
||||||||||||||||||||||
|
||||||||||||||||||||||
Description: echo $f[Description] ?> |
||||||||||||||||||||||
'; echo 'Owner: '.$stmp.'.'; echo ' | ||||||||||||||||||||||
|
'; echo ' | |||||||||||||||||||||
'; echo 'Who enjoys this Attraction: '.$stmp.'.'; echo ' | '; echo ' | |||||||||||||||||||||
'; echo 'Additional info about Attraction: '.$stmp.'.'; echo ' | ||||||||||||||||||||||
'; echo 'Features: '.$stmp.'.'; echo ' | '; echo ' | |||||||||||||||||||||
'; echo 'Payment accepted (besides cash): '.$stmp.'.'; echo ' | ||||||||||||||||||||||
'; echo 'Accessibility: '.$stmp.'.'; echo ' | ||||||||||||||||||||||
'; echo 'Group Policy: '.$stmp.'.'; echo ' | ||||||||||||||||||||||
'; echo 'Bad weather Policy: '.$stmp.'.'; echo ' | ||||||||||||||||||||||
'; echo 'Comments: '.$stmp.'.'; echo ' | ||||||||||||||||||||||
echo 'Information on this page was last updated on '.date("m/d/Y",$f[LastUpdated]).''; ?> |
||||||||||||||||||||||
> @include($http_url[$site].'inc/tripmenu'); ?> |
||||||||||||||||||||||
Find a place for fun with our Quick Attractions Search! @include($http_url[$site].'inc/attractionssearch'); ?> |