$database = "crtvacations_data";
$db_user = "ihavemadeitign";
$db_pass = "shElaC!5zx";
$hostname = "localhost";
$db = mysql_connect("$hostname", "$db_user","$db_pass");
mysql_set_charset('utf8',$db);
mysql_select_db("$database",$db);
$WebRoot="/var/www/host/crtvacations/httpdocs";
function get_optionx( $options )
{
$data = array( );
for( $i = 0; $i < count( $options ); $i++ )
{
$res = mysql_query( "SELECT value FROM site_vars WHERE id = '$options[$i]'");
$row = mysql_fetch_array( $res );
$data[$options[$i]] = $row[0];
}
return $data;
}
/*************** Config control *********************/
$optionsx = array("SITE", "URL", "ADDR", "CITY", "STATE", "ZIP", "TEL", "FAX", "EMAIL", "SHORT", "DESC", "KEY", "POPULAR_DEST", "TOP_CRUISE_DEALS","TOP_TOUR_DEALS","EXTRAS","USER_LOGIN","TRAVEL_DEALS","CRUISE_LINES","POPULAR_DEST_SWITCH","TOP_DEALS_SWITCH", "EXTRAS_SWITCH", "FACEBOOK_URL", "TWITTER_URL", "MESSAGE_CONFIRMATION", "THANK_YOU_MESSAGE","GET_CONNECTED","SEARCH_CRUISES","SEARCH_TOURS","BEST_PRICE");
$datas = get_optionx( $optionsx );
$site_name = $datas["SITE"];
$short_name = $datas["SHORT"];
$site_url = $datas["URL"];
$biz_address = $datas["ADDR"];
$biz_city = $datas["CITY"];
$biz_state = $datas["STATE"];
$biz_zip = $datas["ZIP"];
$site_email = $datas["EMAIL"];
$biz_tel = $datas["TEL"];
$biz_fax = $datas["FAX"];
$site_description = $datas["DESC"];
$site_keywords = $datas["KEY"];
$popular_dest = $datas["POPULAR_DEST"];
$cruise_deals = $datas["TOP_CRUISE_DEALS"];
$tours_deals = $datas["TOP_TOUR_DEALS"];
$extras = $datas["EXTRAS"];
$user_login = $datas["USER_LOGIN"];
$travel_deals = $datas["TRAVEL_DEALS"];
$cruise_lines = $datas["CRUISE_LINES"];
$destinations_switch = $datas["POPULAR_DEST_SWITCH"];
$deals_switch = $datas["TOP_DEALS_SWITCH"];
$extras_switch = $datas["EXTRAS_SWITCH"];
$facebook_url = $datas["FACEBOOK_URL"];
$twitter_url = $datas["TWITTER_URL"];
$confirmation_msg = $datas["MESSAGE_CONFIRMATION"];
$thank_you_msg = $datas["THANK_YOU_MESSAGE"];
$get_connected = $datas["GET_CONNECTED"];
$search_cruises = $datas["SEARCH_CRUISES"];
$search_tours = $datas["SEARCH_TOURS"];
$BEST_PRICE = $datas["BEST_PRICE"];
/*************** End Config control *********************/
$img_path = $site_url.'/igrfx';
date_default_timezone_set('America/Chicago');
$sem = explode("@", $site_email);
$noreply = "noreply@".$sem[1];
?>
|
echo topMenu(0);
?>
if($ex== 1){?>
}else{?>
}?>
Please contact us help...
Speak to a Tours Specialist
800-766-4090 |
OR |
|
if($ex== 0){?>
}?>