<?php echo !defined("GUVENLIK") ? die("Erisim Engellendi!.") : null;?>
<?php 
$menubul 	= $db->query("SELECT * FROM menu WHERE menu_url = '".$htc['bursformurl']."' OR link = '".$htc['bursformurl']."' 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 $burssayfa = $db->query("SELECT * FROM sayfalar WHERE sayfa = '1' 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['txt68'];?></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['txt68'];?></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($burssayfa){?>
				<div class="col-md-5">
					<div class="p-0 mb-0">
                        <?php echo $burssayfa['aciklama'];?>	
					</div>
				</div>
				<?php }?>
                <div class="col-md-7 <?php echo($burssayfa == true ? '' : 'col-md-push-3');?>">
                    <div class="bg-lightest border-1px p-30 mb-0">
                        <form action="_class/site_islem.php" method="post">
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="form-group">
                                        <label><?=@$dil['txt69'];?> <small>*</small></label>
                                        <input name="tc_no" type="text" required="" class="form-control required">
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group">
                                        <label><?=@$dil['txt70'];?> <small>*</small></label>
                                        <input name="isim" type="text" required="" class="form-control required">
                                    </div>
                                </div>
                            </div>
							<div class="row">
                                <div class="col-sm-6">
                                    <div class="form-group">
                                        <label><?=@$dil['txt71'];?> <small>*</small></label>
                                        <input name="okul" type="text" required="" class="form-control required">
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group">
                                        <label><?=@$dil['txt72'];?> <small>*</small></label>
                                        <input name="anne_adi" type="text" required="" class="form-control required">
                                    </div>
                                </div>
                            </div>
							<div class="row">
                                <div class="col-sm-6">
                                    <div class="form-group">
                                        <label><?=@$dil['txt73'];?> <small>*</small></label>
                                        <input name="baba_adi" type="text" required="" class="form-control required">
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group">
                                        <label><?=@$dil['txt74'];?> <small>*</small></label>
                                        <input name="anne_tel" type="text" required="" class="form-control required">
                                    </div>
                                </div>
                            </div>
							<div class="row">
                                <div class="col-sm-6">
                                    <div class="form-group">
                                        <label><?=@$dil['txt75'];?> <small>*</small></label>
                                        <input name="baba_tel" type="text" required="" class="form-control required">
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group">
                                        <label><?=@$dil['txt76'];?> <small>*</small></label>
                                        <input name="veli_email" class="form-control required email" type="email">
                                    </div>
                                </div>
                            </div>
							<div class="row">
                                <div class="col-sm-6">
                                    <div class="form-group">
                                        <label><?=@$dil['txt77'];?> <small>*</small></label>
                                        <input name="sinif" type="text" required="" class="form-control required">
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group">
                                        <label><?=@$dil['txt78'];?></label>
                                        <input name="sinav_seansi" type="text" class="form-control required">
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label><?=@$dil['txt79'];?> <small>*</small></label>
                                <textarea name="adres" class="form-control required" rows="5"></textarea>
                            </div>
                            <div class="form-group">
                                <input type="hidden" name="kontrol" value="" id="kontrol">	
								<input type="hidden" name="bursurl" value="<?php echo $sayfalink;?>" />
                                <button type="submit" name="bursbtn" 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 -->