<?php echo !defined("GUVENLIK") ? die("Erisim Engellendi!.") : null;?>
<?php 
$menubul 	= $db->query("SELECT * FROM menu WHERE menu_url = '".$htc['iletisimurl']."' OR link = '".$htc['iletisimurl']."' AND dil = '{$_SESSION['k_dil']}'")->fetch(PDO::FETCH_ASSOC);
$menubas 	= $db->query("SELECT * FROM menu WHERE id = '{$menubul['menu_ust']}' AND dil = '{$_SESSION['k_dil']}'")->fetch(PDO::FETCH_ASSOC);
?>
<!-- Start main-content -->
<div class="main-content">

	<!-- Section: inner-header -->
    <section class="inner-header bg-lighter">
		<div class="container pt-10 pb-10">
			<!-- Section Content -->
			<div class="section-content">
				<div class="row d-ortala">
					<div class="col-md-11">
						<h3 class="font-30 mb-0 mt-10"><?=@$dil['txt113'];?></h3>
						<ol class="breadcrumb text-black mt-0 mb-10">
							<li><a href="<?php echo $htc['anaurl'];?><?php echo $html;?>"><?=@$dil['txt56'];?></a></li>
							<?php if($menubas['menu_isim'] != ""){?>
							<li><a href="<?php echo($menubas['menu_url'] == "0" ? $menubas['link'] : $menubas['menu_url'].$html);?>"><?php echo ilkbuyuk($menubas['menu_isim']);?></a></li>
							<?php }?>
							<li class="active text-theme-colored"><?=@$dil['txt113'];?></li>
						</ol>
					</div>
					<div class="col-md-1">
						<a href="javascript:history.back();" class="sayfa-geri"><span class="icon"><i class="fas fa-arrow-left"></i></span><?=@$dil['txt57'];?></a>
					</div>
				</div>
			</div>
		</div>
	</section>

    <!-- Divider: Contact -->
    <section class="divider">
        <div class="container pt-50 pb-50">
            <div class="row">
                <div class="col-md-4">
                    <div class="row">
                        <div class="col-xs-12 col-sm-12 col-md-12">
                            <div class="icon-box left media bg-deep p-30 mb-15 pt-20 pb-20"> <a class="media-left pull-left" href="#"> <i class="pe-7s-map-2 text-theme-colored"></i></a>
                                <div class="media-body"> <strong><?=@$dil['txt114'];?></strong>
                                    <p class="mb-0"><?php echo adres;?></p>
                                </div>
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-6 col-md-12">
                            <div class="icon-box left media bg-deep p-30 mb-15 pt-20 pb-20"> <a class="media-left pull-left" href="#"> <i class="pe-7s-call text-theme-colored"></i></a>
                                <div class="media-body"> <strong><?=@$dil['txt115'];?></strong>
                                    <p class="mb-0"><?php echo telefon;?></p>
                                </div>
                            </div>
                        </div>
						<div class="col-xs-12 col-sm-6 col-md-12">
                            <div class="icon-box left media bg-deep p-30 mb-15 pt-20 pb-20"> <a class="media-left pull-left" href="#"> <i class="fal fa-fax text-theme-colored"></i></a>
                                <div class="media-body"> <strong><?=@$dil['txt116'];?></strong>
                                    <p class="mb-0"><?php echo fax;?></p>
                                </div>
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-6 col-md-12">
                            <div class="icon-box left media bg-deep p-30 mb-15 pt-20 pb-20"> <a class="media-left pull-left" href="#"> <i class="pe-7s-mail text-theme-colored"></i></a>
                                <div class="media-body"> <strong><?=@$dil['txt117'];?></strong>
                                    <p class="mb-0"><?php echo email;?></p>
                                </div>
                            </div>
                        </div>                        
                    </div>
                </div>
                <div class="col-md-8">
                    <h3 class="line-bottom mt-0 mb-20"><?=@$dil['txt118'];?></h3>
                    <p class="mb-20"><?=@$dil['txt119'];?></p>
                    <!-- Contact Form -->
                    <form id="contact_form" name="contact_form" action="_class/site_islem.php" method="post">

                        <div class="row">
                            <div class="col-sm-12">
                                <div class="form-group">
                                    <input name="isim" class="form-control" type="text" placeholder="<?=@$dil['txt107'];?>" required="">
                                </div>
                            </div>
                            <div class="col-sm-12">
                                <div class="form-group">
                                    <input name="email" class="form-control required email" type="email" placeholder="<?=@$dil['txt108'];?>">
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <input name="konu" class="form-control" type="text" placeholder="<?=@$dil['txt120'];?>">
                                </div>
                            </div>
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <input name="telefon" class="form-control" type="text" placeholder="<?=@$dil['txt109'];?>">
                                </div>
                            </div>
                        </div>

                        <div class="form-group">
                            <textarea name="mesaj" class="form-control required" rows="5" placeholder="<?=@$dil['txt121'];?>"></textarea>
                        </div>
                        <div class="form-group">
                            <input type="hidden" name="kontrol" value="" id="kontrol">	
							<input type="hidden" name="iletisimurl" value="<?php echo $sayfalink;?>" />
                            <button type="submit" name="mesajbtn" class="btn btn-flat btn-theme-colored text-uppercase mt-10 mb-sm-30 border-left-theme-color-2-4px"><?=@$dil['txt80'];?></button>
                            <button type="reset" class="btn btn-flat btn-theme-colored text-uppercase mt-10 mb-sm-30 border-left-theme-color-2-4px"><?=@$dil['txt130'];?></button>
                        </div>
                    </form>

                </div>
            </div>
        </div>
    </section>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-FWNLR9MSEW"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-FWNLR9MSEW');
</script>
    <!-- Divider: Google Map -->
    <section>
        <div class="container-fluid p-0">
            <div class="row">
                <?php echo maps;?>
            </div>
        </div>
    </section>
</div>
<!-- end main-content -->