$url = '';
$agenturl = '';
$country = '';
?>
include $_SERVER['DOCUMENT_ROOT']."/includes/common-head.php" ?>
include $_SERVER['DOCUMENT_ROOT']."/common.php" ?>
include $_SERVER['DOCUMENT_ROOT']."/includes/header.php" ?>
If you wish to learn more about Transworld, please contact us by using the form below.
We will get back to you as soon as possible.
$agentemail = '';
$to_email = 'ukoperations@tworlduk.com';
$address = '40 Manchester St, London W1U 7LL';
$phone = '0203 911 1059';
if(isset($_GET['url'])) {
$url = $_GET['url'];
$offices = getOfficesbyURL($url);
foreach ($offices as $office) {
$office_location = $office->c_office_location__c;
$office_country = $office->c_country__c;
$office_state = $office->c_state__c;
$office_zip = $office->c_ttl_postal_zip_code__c;
$office_county = $office->c_ttl_county__c;
$office_site_shortname = $office->c_site_shortname__c;
$office_address = $office->c_ttl_address__c;
$office_city = $office->c_ttl_city__c;
$office_phone = $office->c_phone__c;
$franchisee = getFranchiseebyId($office->c_franchisee__c);
$office_email = $franchisee->c_franchisee_owner_email__c;
$to_email = $office_email;
$address = $office_address;
$phone = $office_phone;
}
}
if(isset($_GET['agenturl'])) {
$agents = getAgentsbyUrl($_GET['agenturl']);
foreach ($agents as $agent) {
$siteurl = $agent->c_wordpress_site_shortname__c;
$agentname = $agent->c_employee_full_name__c;
$agentphone = $agent->c_phone__c;
$agentemail = $agent->c_site_email__c;
$agentaddress = $agent->c_email__c;
$to_email = $agentemail;
$address = $agentaddress;
$phone = $agentphone;
}
}
?>
include $_SERVER['DOCUMENT_ROOT']."/includes/footer.php" ?>
include $_SERVER['DOCUMENT_ROOT']."/includes/js-scripts.php" ?>