booking/add_emplyee.php

104 lines
5.0 KiB
PHP
Executable File

<?php
require_once('fixed/config/go_con.php');
access(38);
?>
<!DOCTYPE html>
<html lang="en" dir="rtl">
<?php require_once('fixed/head/go.php'); ?>
<body class="rtl">
<?php require_once('fixed/loader/go.php'); ?>
<!-- page-wrapper Start-->
<div class="page-wrapper" id="pageWrapper">
<?php require_once('fixed/header/go.php'); ?>
<!-- Page Body Start-->
<div class="page-body-wrapper">
<?php require_once('fixed/sidebar/go.php'); ?>
<div class="page-body">
<div class="container-fluid">
<div class="page-header">
<div class="row">
<div class="col-sm-6">
<h3>إضافة موظف جديد</h3>
</div>
<div class="col-sm-6">
</div>
</div>
</div>
</div>
<!-- Container-fluid starts-->
<div class="container-fluid">
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-body new-user order-list">
<form action="" method="post" enctype="multipart/form-data">
<div id="get_tretment"></div>
<h4 class="mt-0 header-title">معلومات الموظف</h4>
<div class="form-group row">
<div class="col-lg-6 col-sm-6">
<label for="name" class="col-form-label text-right">الاسم الكامل</label>
<input id="name" class="form-control clickfun" type="text">
</div>
<div class="col-lg-6 col-sm-6">
<label for="card_number" class="col-form-label text-right">رقم الحدود</label>
<input id="card_number" class="form-control clickfun" type="number">
</div>
<div class="col-lg-4 col-sm-6">
<label for="nationality" class="col-form-label text-right">القسم</label>
<select id="nationality" class="form-control">
<option value="0" selected>يرجى الاختيار</option>
<?php
$get_Nationality_sql = mysqli_query($db, "SELECT `id`,`name` FROM `Nationality` WHERE `activation_id` = 2");
while ($get_Nationality = mysqli_fetch_assoc($get_Nationality_sql)) {
?>
<option value="<?=$get_Nationality['id']?>"><?=$get_Nationality['name']?></option>
<?php
}
?>
</select>
</div>
<div class="col-lg-4 col-sm-6">
<label for="occ" class="col-form-label text-right">القسم</label>
<select id="occ" class="form-control">
<option value="0" selected>يرجى الاختيار</option>
<?php
$get_occupation_sql = mysqli_query($db, "SELECT `id`,`name` FROM `occupation` WHERE `activation_id` = 2");
while ($get_occupation = mysqli_fetch_assoc($get_occupation_sql)) {
?>
<option value="<?=$get_occupation['id']?>"><?=$get_occupation['name']?></option>
<?php
}
?>
</select>
</div>
<div class="col-lg-4 col-sm-6">
<label for="home_number" class="col-form-label text-right">رقم الجوال في البلد الام</label>
<input id="home_number" class="form-control clickfun" type="text">
</div>
<div class="col-lg-12 col-sm-12">
<label for="note" class="col-form-label text-right">ملاحظات</label>
<textarea id="note" class="form-control" rows="15" style="width: 100%;"></textarea>
</div>
</div>
<hr />
<div class="form-group row">
<div class="col-lg-12">
<div id="add_emplyee" style="background-color: #086367; color:white; text-align:center; cursor: pointer;" class="form-control">إضافة</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- Container-fluid Ends-->
</div>
<?php require_once('fixed/footer/go.php'); ?>
</div>
</div>
<?php require_once('fixed/js/go.php'); ?>
</body>
</html>