<?php
$permission  = explode(',',$_SESSION['permission_id']);
if(!in_array(28,$permission) && !in_array(1,$permission)  ){

?>
<script>
window.location="starter.php";
</script>
<?php
}
?>
<style >
	tfoot {
    display: table-header-group !important;
	}

	.dataTable {
        font-size: 11.5px;
	}

	.thumb img:not(.media-preview) {
    height: 100px;
}

.input-group input {
	text-align: center;
}

</style>

<div id="add-form-cont" class="panel-collapse collapse panel" aria-expanded="false" style="height: 0px; position: relative; top:-3px; width:98%; margin:0px auto;">
		<div class="panel-body">
			<form class="form-horizontal" method="post" id="add_form" enctype="multipart/form-data">
				<div>
				<input type="hidden" id="access_token" name="access_token"  value="">

					<div class="col-sm-12">
						

						<div class="form-group">




							<div class="form-group has-feedback has-feedback-left form-group-material col-sm-6">
								<label class="control-label animate multi_lang"> الكلمة الدلالية الجديدة </label>
								<input type="text" id="keyword" name="keyword" class="form-control multi_lang" placeholder=" الكلمة الدلالية الجديدة " required="required">
								<div class="form-control-feedback">
									<i class="icon-typography text-muted"></i>
								</div>
							</div>


							


						</div>
					


					</div>
				</div>

				<div class="text-right">
					<button type="submit" id="submit_add_btn" class="btn btn-primary btn-labeled btn-labeled-left">
						<span class="multi_lang">حفظ</span> <b><i class="icon-floppy-disk"></i></b>
					</button>
					<a href="#add-form-cont" id="add_form_cancel" class="btn btn-labeled btn-labeled-left bg-danger heading-btn" data-toggle="collapse">
						<span class="multi_lang">اغلاق</span> <b><i class="icon-cross"></i></b>
					</a>
				</div>
			</form>
		</div>
	</div>

	



				<!-- Individual column searching (text inputs) -->
				<div class="panel panel-flat">
					
					<table class="table datatable-column-search-inputs">
						<thead>
							<tr>
				        		<th>ID</th>
								<th class="multi_lang" width="35%">الكلمة الدلالية</th>
								<th class="multi_lang" width="35%">الترجمة</th>
								<th class="multi_lang">اللغة</th>
								<th class="multi_lang">رمز اللغة</th>
								<th class="multi_lang" width="5%">اتجاه اللغة</th>
				        		<th class="multi_lang" width="15%">العمليات</th>
				     		 </tr>
						</thead>
						<tbody>
							
						</tbody>
						<tfoot>
							<tr>
				                <td></td>
				                <td>username</td>
				                <td>full_name</td>
				                <td>EMail</td>
				                <td></td>
				                <td></td>
				                <td></td>
				            </tr>
						</tfoot>
					</table>
				</div>
				<!-- /individual column searching (text inputs) -->



<script type="text/javascript" src="controllers/translation.js?random=<?php echo uniqid(); ?>"></script>