D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
shubmkcj
/
designpitara.com
/
admin
/
job-post
/
Filename :
update-jobs-details.php
back
Copy
<?php include("../include/config.php"); include("../include/sessionhandle.php"); include("../include/header.php"); $l_id = $_GET['id']; $sql1m = "select * from `job_post` WHERE `job_post`.`id` = '$l_id'"; //echo $sql1m ." ". $l_id; $result1m = mysqli_query($conn, $sql1m); if (mysqli_num_rows($result1m) > 0) { $i=1; while($rows = mysqli_fetch_assoc($result1m)) { $id = $rows['id']; $job_title = $rows['job_title']; $job_code = $rows['job_code']; $qualification = $rows['qualification']; $experience = $rows['experience']; $job_details = $rows['job_details']; $meta_title = $rows['meta_title']; $meta_desc = $rows['meta_desc']; $meta_keywords = $rows['meta_keywords']; $additionInfo = $rows['additionInfo']; $t_status = $rows['status']; } } ?> <style> #job_post ul li:nth-child(1) { background-color: #eb6a4e; } #job_post ul li:nth-child(1) a { color: #fff; } #job_post ul li:nth-child(1) a:hover { background-color: #eb6a4e; } #srkproperty_details .course-detailsa img{ width: 100% !important; max-height: 250px !important; } </style> <script> window.onload = function() { document.getElementById('job_post').classList.add("active"); document.getElementById('job_post1').classList.add("in"); }; </script> <div class="small-header"> <div class="hpanel"> <div class="panel-body"> <div id="hbreadcrumb" class="pull-right"> <ol class="hbreadcrumb breadcrumb"> <li><a href="<?php echo $admin_baseurl . 'dashboard.php';?>">Dashboard</a></li> <li class="active"> <span>Jobs</span> </li> </ol> </div> <h2 class="font-light m-b-xs"> Update Job Details </h2> </div> </div> </div> <div class="content"> <div class="hpanel"> <div class="hpanel"> <div class="panel-heading hbuilt"> <div class="panel-tools"> <a class="showhide"><i class="fa fa-chevron-up"></i></a> <a class="fullscreen"><i class="fa fa-expand"></i></a> </div> Add New Jobs Details </div> <div class="panel-body"> <form class="form-horizontal" action="execute-jobs.php" method="post" enctype="multipart/form-data"> <div class="form-group"> <div class="col-md-12"> <label class="control-label">Job Title</label> <input type="text" name="jobs_title" class="form-control" placeholder="Job Title" value="<?php echo $job_title;?>" required> </div> <div class="col-md-12"> <label class="control-label">Qualification</label> <input type="text" name="qualification" class="form-control" placeholder="Qualification" value="<?php echo $qualification;?>" required> </div> <div class="col-md-12"> <label class="control-label">Experience</label> <input type="text" name="experience" class="form-control" placeholder="Experience" value="<?php echo $experience;?>" required> </div> <div class="col-md-12"> <label class="control-label">Job Details</label> <textarea required class="textarea form-control " id="ckeditor_job_post" name="ckeditor_job_post" placeholder="Enter text ..." rows="15" data-height="100"> <?php echo htmlspecialchars($job_details); ?> </textarea> </div> <div class="col-md-12"> <label class="control-label">Additional Information </label> <textarea required class="textarea form-control " id="additionInfo" name="additionInfo" placeholder="Enter text ..." rows="15" data-height="100"><?php echo htmlspecialchars($additionInfo); ?></textarea> </div> <div class="col-md-12"><br> <label>Meta Title</label> <input name="meta_title" class="form-control" placeholder="eg.Meta Title..." value="<?php echo $job_title;?>"> </div> <div class="col-md-12"> <label>Meta Description</label> <input name="meta_descre" class="form-control" placeholder="Meta Description" value="<?php echo $meta_desc;?>"> </div> <div class="col-md-12"> <label>Meta Keywords</label> <input name="meta_keywords" class="form-control" placeholder="Meta Keywords" value="<?php echo $meta_keywords;?>"> </div> <div class="col-md-12"> <div class="form-group" style="padding:0 20px;"> <br> <div class="text-right"> <input type="hidden" name="job_id" value="<?php echo $l_id?>"> <button type="reset" class="btn btn-default">Cancel</button> <button type="submit" name="update_job_post" class="btn btn-primary">Submit</button> </div> </div> </div> </div> </form> </div> </div> </div> </div> <br> <?php include('../include/footer.php'); ?> <script> CKEDITOR.replace('ckeditor_job_post', { height: 250, filebrowserUploadUrl: "<?php echo $admin_baseurl . 'job-post/ckupload.php'; ?>", filebrowserUploadMethod: 'form' }); CKEDITOR.replace('additionInfo', { height: 250, filebrowserUploadUrl: "<?php echo $admin_baseurl . 'job-post/ckupload.php'; ?>", filebrowserUploadMethod: 'form' }); </script>