New Job list report
This commit is contained in:
@@ -32,6 +32,34 @@ class Bkouser extends Bko_Controller {
|
||||
$this->load->view('bko/view_bko_footer', $data);
|
||||
}
|
||||
|
||||
public function jobs() {
|
||||
// $this->load->view('bko/view_bko_header', $data);
|
||||
|
||||
$this->load->library('table');
|
||||
$this->table->set_template($this->template);
|
||||
$mysql = "SELECT mj.id||'<br>'||mj.created::date AS jdate, m.username,'<b>'|| mj.title||'</b><br>'||mj.description AS jbx,
|
||||
mj.job_detail,mj.timeline_days||'(days)<br>'||mj.price*0.01||'('|| mj.country||')' AS vl
|
||||
FROM members_jobs mj
|
||||
LEFT JOIN members m ON m.id = mj.member_id
|
||||
ORDER BY mj.id DESC";
|
||||
|
||||
$query = $this->db->query($mysql);
|
||||
// $this->table->set_heading('Dates', 'Username', 'Name', 'Status', 'Verify Link', 'Action');
|
||||
$this->table->function = 'smart_htmlspecialchars';
|
||||
$data['job_list_table'] = $this->table->generate($query);
|
||||
|
||||
|
||||
|
||||
$data['page_title'] = "Jobs List";
|
||||
|
||||
$data['pagination_links'] = '';
|
||||
|
||||
|
||||
$this->load->view('bko/view_bko_header', $data);
|
||||
$this->load->view('bko/view_bko_joblist', $data);
|
||||
$this->load->view('bko/view_bko_footer', $data);
|
||||
}
|
||||
|
||||
public function wrbwhy() {
|
||||
|
||||
$data = array();
|
||||
|
||||
Reference in New Issue
Block a user