New items
This commit is contained in:
@@ -84,7 +84,12 @@ class Confg extends Bko_Controller {
|
||||
|
||||
$this->load->library('table');
|
||||
$this->table->set_template($this->template);
|
||||
$mysql = "SELECT * FROM country ORDER BY country ASC"; // WHERE agent_id = " . $data['agent_id'];
|
||||
$mysql = "SELECT id,code,country,phone_code,
|
||||
allow::date,
|
||||
'<a href=\"#\" >'|| jobs::date||'</a>' AS Jobs,
|
||||
status
|
||||
FROM country
|
||||
ORDER BY allow, jobs, status,country ASC"; // WHERE agent_id = " . $data['agent_id'];
|
||||
$query = $this->db->query($mysql);
|
||||
// $this->table->set_heading(array('data' => 'Key', 'style' => 'width:60px'), 'Reason', array('data' => 'Action', 'style' => 'width:100px'));
|
||||
$data['country_table'] = $this->table->generate($query);
|
||||
|
||||
Reference in New Issue
Block a user