/
home
/
efamember
/
domains
/
efa-member.com
/
public_html
/
efa.or
/
ajax
/
profile
/
up file
home
<?php include('../../../config/main_function.php'); $secure = "cAh3DrJACzw4RbU"; $connection = connectDB($secure); $member_id = mysqli_real_escape_string($connection, $_POST['member_id']); $temp_id = explode(".", $member_id); $member_id = bigsara_decode($temp_id[0], $temp_id[1]); $sql = "SELECT * FROM tbl_member_work_history WHERE member_id = '$member_id'"; $res = mysqli_query($connection, $sql); ?> <!-- <div class="row mb-3 mt-3"> <div class="col-md-12"><strong class="strong-text">ประวัติการทำงาน</strong></div> </div> --> <style> .select2-container { z-index: 9999; } </style> <div class="card bg-default mt-3 mb-3 shadow-sm"> <div class="card-body"> <div class="mt-3"> <div class="text-end"> <button type="button" class="btn btn-gold btn-sm text-white" onclick="GetModalAddWork()">เพิ่มข้อมูล</button> </div> <table class="table table-striped table-responsive"> <thead class="thead-inverse"> <tr> <th>วันที่เริ่มงาน</th> <th>วันที่ลาออก</th> <th>ตำแหน่ง</th> <th>สถานที่ทำงาน</th> </tr> </thead> <tbody> <?php while ($row = mysqli_fetch_assoc($res)) { ?> <tr> <td><?php echo date("d/m/Y", strtotime($row['work_start_date'])); ?></td> <td><?php echo date("d/m/Y", strtotime($row['resignation_date'])); ?></td> <td> ตำแหน่ง : <?php echo $row['position']; ?><br> รายละเอียดงาน : <?php echo $row['job_discription']; ?> </td> <td> ชื่อบริษัท : <?php echo $row['company_name']; ?><br> ที่อยู่ : <?php echo $row['company_address']; ?> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> <div class="text-center"> <button type="button" class="btn btn-gold btn-sm text-white w-25 shadow-sm" onclick="ImportFile(),SubmitProfileForm()"><strong>บึนทึกข้อมูล</strong></button> <?php if ($transfer_date == '') { ?> <button type="button" class="btn btn-gold btn-sm text-white w-25 shadow-sm" onclick="SendProfile()"><strong>ลงทะเบียนและชำระเงิน</strong></button> <?php } ?> </div>