<?php
if(count(get_included_files()) ==1) exit("Direct access not permitted.");
$mod = basename(__FILE__, '.php');
$page->tbCss($mod);
$page->tbJs($mod);
?>
<div class="hubungi_box" align="center">
	<div class="hubungi_box_tengah" align="left">
		<div class="box_hubungi_main">
			<h3><?php echo strtoupper($datasettingprofile['nama']);?></h2>
			<div class="box_hubungi_alamat">
				<div><b>Alamat</b></div>
				<div class="hubungi_alamat"><?php echo $datasettingprofile['alamat'];?></div>
				<div class="hubungi_telp"><?php echo $datasettingprofile['telp'];?></div>
				<div class="hubungi_email"><?php echo $datasettingprofile['email'];?></div>
			</div>
		</div>
		<br />
		<div class="box_hubungi_main">
			<div>Atau kirim pesan dengan menggunakan form di bawah ini:</div>
		</div>
		<br />
		<div style="background: #7f7f7f;height: 1px;width: 100px;"></div>
		<br />
		<br />
		<div class="box_kotak_pesan">
			<div class="form_title">Nama</div>
			<div class="form_input form_input_harus"><input id="nama" /></div>
			<div class="err error_register" id="err_nama"></div>
			
			<div class="form_title">Alamat</div>
			<div class="form_input form_input_harus"><input id="alamat" /></div>
			<div class="err error_register" id="err_alamat"></div>
			
			<div class="form_title">No Telp/HP</div>
			<div class="form_input form_input_harus"><input id="telp" /></div>
			<div class="err error_register" id="err_telp"></div>
			
			<div class="form_title">Email</div>
			<div class="form_input form_input_harus"><input id="email" /></div>
			<div class="err error_register" id="err_email"></div>
			
			<div class="form_title">Pesan</div>
			<div class="form_input form_input_harus">
				<textarea id="pesan" style="width: 100%;height: 110px;"></textarea>
			</div>
			<div class="err error_register" id="err_pesan"></div>
			
			<div style="width: 310px;margin-top: 20px;padding: 0px 3px;color: red;" id="boxloader_pesan"></div>
			
			<?php
	  		include 'module/mod_recaptcha2/mod_recaptcha2.php';
	  		?>
			<div style="width: 310px;margin-top: 20px;padding: 0px 3px;color: red;" id="boxloader_pesan"></div>
			<a class="button blue" style="margin-top: 5px;" onclick="hubungi.kirim()">
	  			<span>KIRIM PESAN</span>
	  		</a>
			<div style="clear: both;"></div>
		</div>
	</div>
	</div>