FAQ
This commit is contained in:
@@ -122,6 +122,15 @@ class Confg extends Bko_Controller {
|
||||
|
||||
break;
|
||||
|
||||
case "FAQSET":
|
||||
$this->load->library('table');
|
||||
$this->table->set_template($this->template);
|
||||
$mysql = "SELECT * FROM faq"; // 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['faq_table'] = $this->table->generate($query);
|
||||
$this->load->view('bko/configure/extra/faq_form', $data);
|
||||
break;
|
||||
default:
|
||||
echo "Your favorite color is neither red, blue, nor green!";
|
||||
}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
<div class="panel-heading">
|
||||
<b>FAQ</b>
|
||||
</div>
|
||||
<form>
|
||||
<div class="table-responsive">
|
||||
<table class="table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td >
|
||||
<div id="reason_msg"></div>
|
||||
<?= $faq_table ?>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<!-- Current server load -->
|
||||
<div class="panel alpha-blue">
|
||||
<div class="panel-body">
|
||||
<a href='#'><h5 class="no-margin"> Reserved X</h5></a>
|
||||
<a href='#' onclick="openConfig('FAQSET');"><h5 class="no-margin">FAQ</h5></a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /current server load -->
|
||||
|
||||
Reference in New Issue
Block a user