<?php echo !defined("GUVENLIK") ? die("Erisim Engellendi!.") : null;?>
<?php 
$menubul 	= $db->query("SELECT * FROM menu WHERE menu_url = '".$htc['ikurl']."' OR link = '".$htc['ikurl']."' 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);
?>
<?php $iksayfa = $db->query("SELECT * FROM sayfalar WHERE sayfa = '3' AND dil = '{$_SESSION['k_dil']}' ORDER BY id ASC LIMIT 1")->fetch();?>
<!-- Start main-content -->
<div class="main-content">

    <!-- Section: inner-header -->
    <section class="inner-header bg-lightest">
		<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['txt106'];?></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['txt106'];?></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>

    <!-- Section: Job Apply Form -->
    <section class="divider bg-lighter">
        <div class="container pt-50 pb-50">
            <div class="row">
				<?php if($iksayfa){?>
				<div class="col-md-5">
					<div class="p-0 mb-0">
						<?php echo $iksayfa['aciklama'];?>						
					</div>
				</div>
				<?php }?>
                <div class="col-md-7 <?php echo($iksayfa == true ? '' : 'col-md-push-3');?>">
                    <div class="bg-lightest border-1px p-30 mb-0">
                        <form action="_class/site_islem.php" enctype="multipart/form-data" method="post">
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="form-group">
                                        <label><?=@$dil['txt107'];?></label>
                                        <input name="isim" type="text" required="" class="form-control required">
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group">
                                        <label><?=@$dil['txt108'];?></label>
                                        <input name="email" type="email" required="" class="form-control required">
                                    </div>
                                </div>
                            </div>
							<div class="row">
                                <div class="col-sm-6">
                                    <div class="form-group">
                                        <label><?=@$dil['txt109'];?></label>
                                        <input name="telefon" type="text" required="" class="form-control required">
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group">
										<label><?=@$dil['txt110'];?></label>
										<input name="cv_dosya" class="file" type="file" data-show-upload="false" data-show-caption="true">
										<small><?=@$dil['txt111'];?></small>
									</div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label><?=@$dil['txt112'];?></label>
                                <textarea name="mesaj" class="form-control required" rows="5"></textarea>
                            </div>
                            <div class="form-group">
                                <input type="hidden" name="kontrol" value="" id="kontrol">	
								<input type="hidden" name="ikurl" value="<?php echo $sayfalink;?>" />
                                <button type="submit" name="ikbtn" class="btn btn-block btn-dark btn-theme-colored btn-sm mt-20 pt-10 pb-10"><?=@$dil['txt80'];?></button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </section>
</div>
<!-- end main-content -->