$redirto = str_ireplace("details.phtm","details.html",$REQUEST_URI); header ("location: $redirto"); exit; @session_register("tplan"); // ************************************* $site = 1; // ESTC $cat = 49; // Conventions $img_dr = "../images/"; // ************************************* @include('http://www.eurekaemail.com/eurekas/connr'); //@include('../../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 // Checking SubsidiaryTo field... $id2=$id; $r=@mysql_query("select SubsidiaryTo from CONVENTIONS where ID=".$id); if(!mysql_numrows($r)) die('Record not found!'); $f=mysql_fetch_array($r); if($f[SubsidiaryTo]){ $id2=$f[SubsidiaryTo]; } $sq="select GENERAL.*,CONVENTIONS.*,CONVENTIONS.ID as LID,GENERAL.ID as GID,REGIONS.*,REGIONS.Region as RegName from GENERAL,CONVENTIONS,REGIONS where GENERAL.ID=$id2 and CONVENTIONS.ID=$id and REGIONS.ID=GENERAL.Region"; $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 'Meeting Rooms:';
echo '
| ||||||||||
'; echo 'Features: '.$stmp.'.'; echo ' | '; echo ' | |||||||||
'; echo 'Services offered to guests: '.$stmp.'.'; echo ' | ||||||||||
'; echo 'Description of facilities: '.$stmp.'.'; echo ' | ||||||||||
'; echo 'Language spoken by staff: '.$stmp.'.'; echo ' | '; echo ' | |||||||||
'; echo 'Payment accepted (besides cash): '.$stmp.'.'; echo ' | ||||||||||
'; echo 'Accessibility: '.$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'); ?> |