/
home
/
efamember
/
domains
/
efa-member.com
/
public_html
/
main
/
jobs
/
ajax
/
job
/
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_detail WHERE member_id = '$member_id'"; $res = mysqli_query($connection, $sql) or die($connection->error); $row = mysqli_fetch_assoc($res); $password = 'sd32f43q5we'; $originalMessage = "CXgvsdf542sdfg"; $encryptedMessage = encryptMessage($originalMessage, $password); ?> <style> .area-h { height: 100px; } .area-h2 { height: 140px; } </style> <div class="col-md-12 col-sm-12"> <div class="card p-3 shadow-sm bg-body-tertiary rounded"> <div class="card-body mt-5 mb-5"> <form class="form" id="frm_job" method="" action=""> <input type="text" hidden name="encryptedMessage" id="encryptedMessage" value="<?php echo $encryptedMessage ?>"> <input type="text" hidden name="member_id" id="member_id" value="<?php echo $member_id ?>"> <div class="row"> <div class="col-6"> <label for="date">วันที่ประกาศ</label><br> <input type="text" class="form-control border datepicker" id="announcement_date" name="announcement_date"> </div> <div class="col-6"> <label for="company_name">ชื่อบริษัท</label><br> <input class="form-control border" id="company_name" name="company_name" type="text"> </div> <div class="col-6 mt-3"> <label for="job_title">ตำแหน่งงาน</label><br> <input class="form-control border" id="job_title" name="job_title" type="text"> </div> <div class="col-6 mt-3"> <label for="salary">เงินเดือน</label><br> <input class="form-control border" id="salary" name="salary" type="text"> </div> <div class="col-6 mt-3"> <label for="job_location">สถานที่ทำงาน</label><br> <input class="form-control border" id="job_location" name="job_location" type="text"> </div> <div class="col-6 mt-3"> <label for="position_period">จำนวน</label><br> <input class="form-control border" id="position_period" name="position_period" type="text"> </div> <div class="col-12 mt-3"> <label for="qualifications">คุณสมบัติผู้สมัคร</label><br> <textarea id="qualifications" name="qualifications" class="form-control area-h"></textarea> </div> <div class="col-12 mt-3"> <label for="job_description">รายละเอียดงาน</label><br> <textarea id="job_description" name="job_description" class="form-control area-h "></textarea> </div> <div class="col-12 mt-3"> <label for="benefits">สวัสดิการ</label><br> <textarea id="benefits" name="benefits" class="form-control area-h"></textarea> </div> <div class="col-12 mt-3"> <label for="contact">ติดต่อ</label><br> <textarea id="contact" name="contact" class="form-control" rows="5"><?php echo $row['company_name'] . "\n" . $row['company_address'] . "\n" . $row['company_email'] . "\n" . $row['company_phone'] . "\n" . $row['company_fax'] . "\n" . $row['company_line'] . "\n" . $row['company_web'] ?></textarea> </div> </div> </form> </div> </div> <div class="text-center w-20" style="margin-top: 5%;"> <button class="btn btn-primary shadow-sm" onclick="SubmitJob()">บันทึก</button> </div> </div> <script> $(".datepicker").datepicker({ todayBtn: "linked", keyboardNavigation: false, forceParse: false, calendarWeeks: false, format: 'dd/mm/yyyy', thaiyear: false, language: 'th', //Set เป็นปี พ.ศ. autoclose: true }); </script>