<section class="site-content">
    <div class="page-content">
        <div class="container">
            <div class="row">
                <div class="col-md-8 col-sm-7">
                    <div class="page-block">
                        <div class="block-title">
                            <h1><h1><?=@$dil['merkez_ofis'];?></h1></h1>
                        </div>                        
                        <div class="block-body">
                            <div class="contact-box">
                                <div class="item">
                                    <div class="row">
                                        <div class="col-md-4">
                                            <div class="label-text"><?=@$dil['rezervasyon_merkezi'];?></div>
                                        </div>
                                        <div class="col-md-8">
                                            <div class="row">
                                                <div class="col-md-4">
                                                    <div class="label-value text-left"><i class="ic ic-clock-orange"></i><?=@$dil['calisma_saati'];?></div>
                                                </div>
                                                <div class="col-md-8">
                                                    <div class="label-value text-right bold"><?php echo TELEFON;?></div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="item">
                                    <div class="row">
                                        <div class="col-md-4">
                                            <div class="label-text"><?=@$dil['acil_destek'];?></div>
                                        </div>
                                        <div class="col-md-8">
                                            <div class="row">
                                                <div class="col-md-4">
                                                    <div class="label-value text-left"><i class="ic ic-clock-orange"></i><?=@$dil['yedi_yirmidort'];?></div>
                                                </div>
                                                <div class="col-md-8">
                                                    <div class="label-value text-right bold"><?=@$dil['acil_destek_telefon'];?></div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="item">
                                    <div class="row">
                                        <div class="col-md-4">
                                            <div class="label-text"><?=@$dil['adres'];?></div>
                                        </div>
                                        <div class="col-md-8">
                                            <div class="label-value">
												<?php echo ADRES;?>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="page-block">
                        <div class="block-title">
                            <h1><?=@$dil['bize_ulasin'];?></h1>
                        </div>
                        <div class="block-body">
                            <div class="row">
								<form action="system/site_islemler.php" method="POST">
									<div class="col-md-6">
										<div class="form-group">
											<label><?=@$dil['adiniz'];?></label>
											<input type="text" class="form-control" name="txtAd" required>
										</div>
									</div>
									<div class="col-md-6">
										<div class="form-group">
											<label><?=@$dil['soyadiniz'];?></label>
											<input type="text" class="form-control" name="txtSoyad" required>
										</div>
									</div>
									<div class="col-md-6">
										<div class="form-group">
											<label><?=@$dil['email'];?></label>
											<input type="text" data-inputmask="'alias': 'email'" class="form-control" name="email" required>
										</div>
									</div>
									<div class="col-md-6">
										<div class="form-group">
											<label><?=@$dil['telefon_numaraniz'];?></label>
											<input type="text" data-inputmask="'mask': '0(999) 999 99 99'" class="form-control" name="telefon" required>
										</div>
									</div>
									<div class="col-md-12">
										<div class="form-group">
											<label><?=@$dil['konu'];?></label>
											<input type="text" class="form-control" name="konu" required>
										</div>
									</div>
									<div class="col-md-12">
										<div class="form-group">
											<label><?=@$dil['mesaj'];?></label>
											<textarea rows="4" class="form-control" name="mesaj" required></textarea>
										</div>
									</div>
									<div class="col-md-4 col-xs-12 pull-right">
										<input type="submit" name="IletisimBtn" value="<?=@$dil['gonder'];?>" class="btn btn-primary-o btn-block" />
									</div>
								</form>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-md-3 col-sm-4 col-sm-offset-1">
                    <div class="page-sidebar">
                        <div class="widget widget-contact">
						<?php echo MAPS;?>
						<a href="<?php echo $ayar['google_maps_link'];?>" target="_blank" class="btn btn-primary-o btn-block"><?=@$dil['haritada_ac'];?></a></div><br />
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<?php 
if($_SESSION['iletisim'] == 'yes'){
	echo "
	<script>
	swal({
		type: 'success',
		title: '".@$dil['basarili']."',
		text: '".@$dil['mesajiniz_basarili_bir_sekilde']."',
		confirmButtonText: 'Tamam',
		timer: 5000
	})
	</script>";
	unset($_SESSION['iletisim']);
}
if($_SESSION['iletisim'] == 'no'){					
	echo "
	<script>
	swal({
		type: 'error',
		title: '".@$dil['hata']."',
		text: '".@$dil['hata_olustu']."',
		confirmButtonText: 'Tamam',
		timer: 5000
	})
	</script>";
	unset($_SESSION['iletisim']);
}	
if($_SESSION['iletisim'] == 'mailhata')
{		
	echo "
	<script>
	swal({
		type: 'error',
		title: '".@$dil['hata']."',
		text: '".@$dil['smtp_mail_ayar']."',
		confirmButtonText: 'Tamam',
		timer: 5000
	})
	</script>";
	unset($_SESSION['iletisim']);
}
if($_SESSION['iletisim'] == 'bos'){
	echo "
	<script>
	swal({
		type: 'warning',
		title: '".@$dil['hata']."',
		text: '".@$dil['bos_alan']."',
		confirmButtonText: 'Tamam',
		timer: 5000
	})
	</script>";
	unset($_SESSION['iletisim']);	
}
?>