fix
This commit is contained in:
@@ -1084,6 +1084,10 @@ $data['page_title'] = "Create Job";
|
||||
$data['job_description'] = $jobData->job_detail;
|
||||
$data['jobID'] = $jobID;
|
||||
|
||||
$activeJobData = $this->job_model->selectMarketJob($jobID);
|
||||
$data['active_job_data'] = $activeJobData;
|
||||
|
||||
// var_dump( $activeJobData );
|
||||
// $this->load->view('users/view_header_user', $data);
|
||||
// $this->load->view('jobs/view_joboffer', $data);
|
||||
// $this->load->view('users/view_footer_user', $data);
|
||||
|
||||
@@ -13,6 +13,7 @@ class Paymnt extends Users_Controller {
|
||||
}
|
||||
|
||||
public function paymus() {
|
||||
|
||||
$data = $this->getSessionArray();
|
||||
$data['card_table_result'] = $this->cardListData(4)['card_table_result'];
|
||||
$data['page_title'] ="Deposit Funds";
|
||||
|
||||
@@ -6,6 +6,19 @@ class Job_model extends CI_Model {
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* Supply active list of jobs for this id
|
||||
*/
|
||||
public function selectMarketJob($jobId){
|
||||
$mysql = 'SELECT jo.offer_code,mj.title,mj.description,mj.timeline_days,mj.price,jo.job_description,jo.expire::date FROM members_jobs_offer jo '
|
||||
. ' LEFT JOIN members_jobs mj ON mj.id=jo.job_id '
|
||||
. ' WHERE mj.status=1 AND jo.status=1 '
|
||||
. ' AND jo.expire> now() AND mj.id ='.$jobId;
|
||||
|
||||
$query = $this->db->query($mysql);
|
||||
return $query->result();
|
||||
}
|
||||
|
||||
public function deleteMemberGroup($group_id) {
|
||||
$this->actionMessage = '';
|
||||
$x['member_id'] = $_SESSION['member_id'];
|
||||
|
||||
@@ -123,10 +123,20 @@
|
||||
<!--begin::Table container-->
|
||||
<div class="table-responsive">
|
||||
<!--begin::Table-->
|
||||
<?php
|
||||
if (isset($active_job_data) && count($active_job_data) > 0 ){
|
||||
echo "<div class=\"col-xl-12 bg-light-info rounded p-5 mb-7\">";
|
||||
echo "This job is currently active : " ;
|
||||
foreach ($active_job_data as $jr){
|
||||
echo $jr->offer_code." - ". $jr->expire;
|
||||
}
|
||||
echo " </div>";
|
||||
}
|
||||
?>
|
||||
|
||||
<table class="table table-row-dashed table-row-gray-200 align-middle gs-0 gy-4">
|
||||
|
||||
<div class="col-xl-12 bg-light-danger rounded p-5 mb-7">
|
||||
|
||||
<div class="col-xl-12 bg-light-danger rounded p-5 mb-7">
|
||||
<h5>Offer this job to public</h5>
|
||||
<form name="offer_public">
|
||||
<?php echo $my_post_duration; ?>
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
<div class="tab-content">
|
||||
<!--begin::Tap pane-->
|
||||
<div class="tab-pane fade show active" id="kt_table_widget_4_tab_1">
|
||||
<div class="overlay-wrapper bgi-no-repeat bgi-position-center bgi-size-cover card-rounded min-h-175px" style="background-image:url('/site3/assets/media/jobs/share-stories.jpg')"></div>
|
||||
<div class="overlay-wrapper bgi-no-repeat bgi-position-center bgi-size-cover card-rounded min-h-175px" style="background-image:url('/site3/assets/img/paypal.png')"></div>
|
||||
</div>
|
||||
<!--end::Tap pane-->
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
<div class="tab-content">
|
||||
<!--begin::Tap pane-->
|
||||
<div class="tab-pane fade show active" id="kt_table_widget_4_tab_1">
|
||||
<div class="overlay-wrapper bgi-no-repeat bgi-position-center bgi-size-cover card-rounded min-h-175px" style="background-image:url('/site3/assets/media/jobs/share-stories.jpg')"></div>
|
||||
<div class="overlay-wrapper bgi-no-repeat bgi-position-center bgi-size-cover card-rounded min-h-175px" style="background-image:url('/site3/assets/img/credit-card.png')"></div>
|
||||
</div>
|
||||
<!--end::Tap pane-->
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
<div class="tab-content">
|
||||
<!--begin::Tap pane-->
|
||||
<div class="tab-pane fade show active" id="kt_table_widget_4_tab_1">
|
||||
<div class="overlay-wrapper bgi-no-repeat bgi-position-center bgi-size-cover card-rounded min-h-175px" style="background-image:url('/site3/assets/media/jobs/share-stories.jpg')"></div>
|
||||
<div class="overlay-wrapper bgi-no-repeat bgi-position-center bgi-size-cover card-rounded min-h-175px" style="background-image:url('/site3/assets/img/bank.png')"></div>
|
||||
</div>
|
||||
<!--end::Tap pane-->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user