This commit is contained in:
2022-05-21 11:55:31 -04:00
parent fe17055c90
commit edd7712ea7
3 changed files with 37 additions and 17 deletions
+1 -11
View File
@@ -713,19 +713,14 @@ echo $this->getMarketInterestMessage( $in['offer_code'], $out['client_id'] );
} }
public function viewmyjob() { public function viewmyjob() {
$data = $this->getSessionArray(); $data = $this->getSessionArray();
$jobOfferID = $this->input->post('jobOfferID'); $jobOfferID = $this->input->post('jobOfferID');
$data['jobOfferID'] = $jobOfferID; $data['jobOfferID'] = $jobOfferID;
if ($jobOfferID != '') { if ($jobOfferID != '') {
$this->load->model('job_model'); $this->load->model('job_model');
$out = $this->job_model->readMyloadJobOffer($_SESSION['member_id'], $jobOfferID); $out = $this->job_model->readMyloadJobOffer($_SESSION['member_id'], $jobOfferID);
// print_r($out);
if ($out['result'] == 1) { if ($out['result'] == 1) {
$data["job_sent_to"] = $out["job_sent_to"]; $data["job_sent_to"] = $out["job_sent_to"];
$data["added_date"] = $out["added_date"]; $data["added_date"] = $out["added_date"];
$data["title"] = $out["title"]; $data["title"] = $out["title"];
$data["description"] = $out["description"]; $data["description"] = $out["description"];
@@ -736,13 +731,8 @@ echo $this->getMarketInterestMessage( $in['offer_code'], $out['client_id'] );
$date = date_create($out["expire"]); $date = date_create($out["expire"]);
$out["expire"] = date_format($date, 'Y-m-d H:i'); $out["expire"] = date_format($date, 'Y-m-d H:i');
$data["expire"] = $out["expire"]; $data["expire"] = $out["expire"];
$data['job_link'] = 'https://'.$_SERVER['HTTP_HOST']."/plb/viewjob/".$out['offer_code']; $data['job_link'] = 'https://'.$_SERVER['HTTP_HOST']."/plb/viewjob/".$out['offer_code'];
$data['page_title'] = 'View Job - '.$out["offer_code"];
/* $this->load->view('users/view_header_user', $data);
$this->load->view('jobs/view_viewmyjoboffer', $data);
$this->load->view('users/view_footer_user', $data);*/
$this->RenderUserPage('jobs/view_viewmyjoboffer', $data); $this->RenderUserPage('jobs/view_viewmyjoboffer', $data);
} else { } else {
redirect('dash'); // go back to dash if not valid redirect('dash'); // go back to dash if not valid
@@ -42,9 +42,8 @@
<!--begin::Table head--> <!--begin::Table head-->
<thead> <thead>
<tr> <tr style="font-weight: bolder;">
<th> <th class="p-0 " style="width: 120px;">Added<br>Expire</th>
Added<br>Expire</th>
<th class="p-0 min-w-160px">Title<br>Recipient</th> <th class="p-0 min-w-160px">Title<br>Recipient</th>
<th class="p-0 w-100px"></th> <th class="p-0 w-100px"></th>
</tr> </tr>
@@ -53,7 +52,6 @@
<!--begin::Table body--> <!--begin::Table body-->
<tbody> <tbody>
<?php <?php
//var_dump($sendmoney_table_result);
foreach( $offer_dash_rows as $row){ foreach( $offer_dash_rows as $row){
?> ?>
<tr> <tr>
@@ -5,14 +5,14 @@
<!--begin::Row--> <!--begin::Row-->
<div class="row g-5 g-xl-8"> <div class="row g-5 g-xl-8">
<div class="col-xl-12"> <div class="col-xl-8">
<!--begin::Charts Widget 1--> <!--begin::Charts Widget 1-->
<div class="card card-xl-stretch mb-5 mb-xl-8"> <div class="card card-xl-stretch mb-5 mb-xl-8">
<!--begin::Header--> <!--begin::Header-->
<div class="card-header border-0 pt-5"> <div class="card-header border-0 pt-5">
<!--begin::Title--> <!--begin::Title-->
<h3 class="card-title align-items-start flex-column"> <h3 class="card-title align-items-start flex-column">
<span class="card-label fw-bolder fs-3 mb-1">Recent Task Message</span> <span class="card-label fw-bolder fs-3 mb-1"><?php echo $title; ?></span>
</h3> </h3>
<!--end::Title--> <!--end::Title-->
@@ -81,6 +81,38 @@
</div> </div>
<!--end::Charts Widget 1--> <!--end::Charts Widget 1-->
</div> </div>
<!--begin::Col-->
<div class="col-xl-4">
<!--begin::Tables Widget 5-->
<div class="card card-xl-stretch mb-5 mb-xl-8">
<!--begin::Header-->
<div class="card-header border-0 pt-5">
</div>
<!--end::Header-->
<!--begin::Body-->
<div class="card-body py-3">
<div class="tab-content">
<!--begin::Tap pane-->
<div class="tab-pane fade show active" id="kt_table_widget_5_tab_1">
<!--begin::Table container-->
<div class="table-responsive">
<!--begin::Table-->
</div>
<!--end::Table-->
</div>
<!--end::Tap pane-->
</div>
</div>
<!--end::Body-->
</div>
<!--end::Tables Widget 5-->
</div>
<!--end::Col-->
</div> </div>
<!--end::Row--> <!--end::Row-->