<style>
	.custom td {
		padding:10px;
		font-size:15px;
		line-height:18px;
	}
	.align-center {
		text-align:center;
	}
	.no-padding {
		padding:0;
	}
	.no-margin {
		margin:0;
	}
	.padding25 {
		padding-top:25px;
	}

	.list_produk {
	  list-style: square;
	  margin:0; padding:0;
	  padding-left: 15px;
	  margin-top:2px;
	  margin-bottom:10px;
	  text-align:left;
	}
		.list_produk li {
			margin:0; padding-left:5px;
			margin-bottom:0px;
		}
	
</style>

<?php
$our_office_location = '
<h3 class="h3-teaser" style="margin-bottom:0">
	Our Office Location:
</h3>
<p style="margin-top:0; padding-top:0; margin-bottom:0; padding-bottom:0">
	<img style="margin-top:8px; margin-bottom:8px" src="images/g9-building.jpg" border="0"> 
	<strong>PT Debindomulti Adhiswasti</strong> <br>
	G9 Building, 3<sup>rd</sup> Floor   <br>
	Jl. KH. Abdullah Syafei No. 9 <br />
	Jakarta 12840 - Indonesia
	<table class="table-putih" style="margin-top:8px">
		<tr valign="top">
			<td width="10%">Phone</td>
			<td width="2%">:</td>
			<td>+62(21) - 829 2661, 829 2667, 829 3677-79</td>
		</tr>
		<tr valign="top">
			<td>Fax</td>
			<td>:</td>
			<td>+62(21) - 829 3680, 831 3073, 829 2608</td>
		</tr>
		<tr valign="top">
			<td>Email</td>
			<td>:</td>
			<td>
				<a href="mailto:info@debindo.com">info@debindo.com</a> <br />
				<a href="mailto:tradexpoindonesia@debindo.com">tradexpoindonesia@debindo.com</a>
			</td>
		</tr>
	</table>
</p>
<p class="map-responsive">
	<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d4716.747749120685!2d106.85201491480733!3d-6.224611040527833!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x2e69f38f037a5209%3A0x931a4060e67404a4!2sPT.+Debindo+Multi+Adhiswasti!5e0!3m2!1sen!2s!4v1491810617832" width="708" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>
</p>
<div style="padding-top:28px">
	<div class="col l-col12 m-col12 s-col12" style="padding:0; margin:0">
		<h3 class="h4-teaser" style="margin-bottom:0">
			Buyers & Visitors Contact Person:
		</h3>
		<p style="margin-top:0; padding-top:0">
			Please call your representative below or your nearest<br>
			<a href="'.$thisPage.'contact-us/trade-attache-and-itpc/">
				<strong>Trade Attache and Indonesia Trade Promotion Center</strong>
			</a>
		</p>
	</div>
</div>
<div style="padding-top:8px">
	<div class="col l-col12 m-col12 s-col12" style="padding:0; margin:0">
		<div class="row">
		<div class="col l-col6 m-col12 s-col12" style="padding:0; margin:0">
			<strong>Mr. Harwin Hartanto</strong> <br />
			+62 838 9601 8328
			<div style="padding-top:8px">
				<strong>Email:</strong>
				<div style="padding-top:0px"> 
					<a href="mailto:harwinhartanto.debindo@gmail.com">harwinhartanto.debindo@gmail.com</a> 
				</div>
			</div>
		</div>
		<div class="col l-col6 m-col12 s-col12" style="padding:0; margin:0">
			<strong>Mr. Andri Hermawan</strong> <br />
			+62 821 1243 7972
			<div style="padding-top:8px">
				<strong>Email:</strong>
				<div style="padding-top:0px"> 
					<a href="mailto:andri.ctct@gmail.com">andri.ctct@gmail.com</a> 
				</div>
			</div>
		</div>
	</div>
</div>';
echo $our_office_location;

/*
$array_tab = array (
	'exhibitor' => 'Exhibitors Contact Person',
	'visitor' 	=> 'Buyers & Visitors Contact Person',
);
echo '
<div style="margin-top:10px">
	<div class="tabsy">';
		$table = '';
		$firstTab = 'exhibitor'; //'2019-10-16'; // 
		foreach ($array_tab as $key => $value) {
			$opsi = ($key == $firstTab ? 'checked' : '');	
			$expl = explode ("-", $key);
			$function_ = '';
			foreach ($expl as $val) {
				$function_ .= $val;
			}			
			$function_ = "f_".$function_;
			//echo "<br> Function: ".$function_;
			echo '
			<input type="radio" id="tab'.$key.'" name="tab" '.$opsi.'>
			<label style="margin:0;" class="tabButton" for="tab'.$key.'">'.$value.'</label>
			<div class="tab" style="background-color:#ffffff; padding:0">
				<div class="content" style="padding:0">';	
					//<h2 style="padding:10px 0px 0px 0px">'.strtoupper($value).'</h2>
					echo 
					$function_($table).'
					<div class="row padding25">
						<div class="col l-col12 m-col12 s-col12" style="margin:0; padding:0">
							<div class="row">
								<div class="col l-col12 m-col12 s-col12" style="margin:0; padding:0">
									<hr class="style15" /><br />
									'.$our_office_location.'
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>';
		}
		echo '
	</div>
</div>';
*/
?>

<?php
function f_exhibitor(&$table) {
	$table = '
	<div style="padding:0; margin:0">
		<div class="row">
			<div style="padding-top:28px">
				<div class="col l-col12 m-col12 s-col12" style="padding:0; margin:0">
					<h3 class="h4-teaser" style="margin-bottom:0">
						Exhibitors Contact Person:
					</h3>
					<p style="margin-top:0; padding-top:0">
						Please call your representative below pertaining to your Category of Products:
					</p>
				</div>
			</div>
		</div>
		<div class="row">
			<div style="padding-top:0px">
				<div class="col l-col12 m-col12 s-col12" style="padding:0; margin:0">
					<div class="row">
						<p><hr class="style5" /></p>
					</div>					
					<div class="row">
						<div class="col l-col6 m-col12 s-col12 no-padding no-margin">
							<strong>Product\'s Category:</strong>
							<ul class="list_produk">
								<li>Manufactured Products</li>
								<li>Medical & Healthcare</li>
							</ul>
							<strong>Contact Person:</strong><br>
							<strong>Ms. Vicky Fierezza</strong> <br /><br>
							Mobile: +62815 9691 544 
							<div style="padding-top:8px">
								<strong>Email:</strong>
								<div style="padding-top:0px"> 
									<a href="mailto:vicky@debindo.com">vicky@debindo.com</a> <br />
									<a href="mailto:octora_85@yahoo.com">octora_85@yahoo.com</a> 
								</div>
							</div>
						</div>
						<div class="col l-col6 m-col12 s-col12 no-padding no-margin">
							<div class="rowInner hide-for-medium-up">
								<p><hr class="style5" /></p>
							</div>
							<strong>Product\'s Category:</strong>
							<ul class="list_produk">
								<li>Digital Lifestyle & Services</li>
								<li>Halal Products</li>
							</ul>
							<strong>Contact Person:</strong><br>
							<strong>Mr. Andri Hermawan</strong> <br /><br>
							Mobile: +62821 1243 7972
							<div style="padding-top:8px">
								<strong>Email:</strong>
								<div style="padding-top:0px"> 
									<a href="mailto:andrihermawan@debindo.com">andrihermawan@debindo.com</a> <br />
									<a href="mailto:andri.ctct@gmail.com">andri.ctct@gmail.com</a> 
								</div>
							</div>
						</div>
					</div>
					<div class="rowInner hide-for-small">
						<p><hr class="style5" /></p>
					</div>
					<div class="row">
						<div class="col l-col6 m-col12 s-col12 no-padding no-margin">
							<div class="rowInner hide-for-medium-up">
								<p><hr class="style5" /></p>
							</div>
							<strong>Product\'s Category:</strong>
							<ul class="list_produk">
								<li>Renewable Energy</li>
								<li>Fashion & Beauty Products</li>
							</ul>
							<strong>Contact Person:</strong><br>
							<strong>Mr. Purnomo</strong> <br /><br>
							<strong>Mobile:</strong> <br>
							+62818 6070 10 <br>
							+62812 9434 0112
							<div style="padding-top:8px">
								<strong>Email:</strong>
								<div style="padding-top:0px"> 
									<a href="mailto:purnomo@debindo.com">purnomo@debindo.com</a> <br />
									<a href="mailto:satwi71@yahoo.co.id">satwi71@yahoo.co.id</a> 
								</div>
							</div>
						</div>
						<div class="col l-col6 m-col12 s-col12 no-padding no-margin">
							<div class="rowInner hide-for-medium-up">
								<p><hr class="style5" /></p>
							</div>
							<strong>Product\'s Category:</strong>
							<ul class="list_produk">
								<li>Food & Beverages Products</li>
							</ul>
							<strong>Contact Person:</strong><br>
							<strong>Mr. Sofian</strong> <br /><br>
							Mobile: +62813 1902 5044
							<div style="padding-top:8px">
								<strong>Email:</strong>
								<div style="padding-top:0px"> 
									<a href="mailto:sofian@debindo.com">sofian@debindo.com</a> <br />
									<a href="mailto:sofiansen@gmail.com">sofiansen@gmail.com</a> 
								</div>
							</div>
						</div>
					</div>
					<div class="rowInner hide-for-small">
						<p><hr class="style5" /></p>
					</div>
					<div class="row">
						<div class="col l-col6 m-col12 s-col12 no-padding no-margin">
							<div class="rowInner hide-for-medium-up">
								<p><hr class="style5" /></p>
							</div>					
							<strong>Product\'s Category:</strong>
							<ul class="list_produk">
								<li>Living Comforts & Amenities</li>
							</ul>
							<strong>Contact Person:</strong><br>
							<strong>Mr. Rizal Adiputra</strong> <br /><br>
							<strong>Mobile:</strong> <br>
							+62856 9377 4231 <br>
							+62818 1923 87 
							<div style="padding-top:8px">
								<strong>Email:</strong>
								<div style="padding-top:0px"> 
									<a href="mailto:rizal@debindo.com">rizal@debindo.com</a> <br />
									<a href="mailto:rizaladiputra64@gmail.com">rizaladiputra64@gmail.com</a> 
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>';	
	return $table;
}

function f_visitor(&$table) {
	global $thisPage;
	$table = '
	<div style="padding:0; margin:0">
		<div class="row">
			<div style="padding-top:28px">
				<div class="col l-col12 m-col12 s-col12" style="padding:0; margin:0">
					<h3 class="h4-teaser" style="margin-bottom:0">
						Buyers & Visitors Contact Person:
					</h3>
					<p style="margin-top:0; padding-top:0">
						Please call your representative below or your nearest<br>
						<a href="'.$thisPage.'contact-us/trade-attache-and-itpc/">
							<strong>Trade Attache and Indonesia Trade Promotion Center</strong>
						</a>
					</p>
				</div>
			</div>
			<div style="padding-top:8px">
				<div class="col l-col12 m-col12 s-col12" style="padding:0; margin:0">
					<div class="row">
						<strong>Mr. Harwin Hartanto</strong> <br />
						0838 9601 8328
						<div style="padding-top:8px">
							<strong>Email:</strong>
							<div style="padding-top:0px"> 
								<a href="mailto:harwinhartanto@debindo.com">harwinhartanto@debindo.com</a> <br />
								<a href="mailto:harwinhartanto.debindo@gmail.com">harwinhartanto.debindo@gmail.com</a> 
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>';	
	return $table;
}
?>

