"
",
'thead_open' => '',
'thead_close' => '',
'heading_row_start' => '',
'heading_row_end' => '
',
'heading_cell_start' => '',
'heading_cell_end' => ' | ',
'tbody_open' => '',
'tbody_close' => '',
'row_start' => '',
'row_end' => '
',
'cell_start' => '',
'cell_end' => ' | ',
'row_alt_start' => '',
'row_alt_end' => '
',
'cell_alt_start' => '',
'cell_alt_end' => ' | ',
'table_close' => '
'
);
public $data = array();
function __construct() {
parent::__construct();
$this->load->library(array('session'));
}
protected function smart_htmlspecialchars($str) {
if (substr($str, 0, 1) == '<')
return $str;
return htmlspecialchars($str);
}
protected function sql_escape_func($inp) {
if (is_array($inp)) {
return array_map(__METHOD__, $inp);
}
if (!empty($inp) && is_string($inp)) {
return str_replace(array('\\', "\0", "\n", "\r", "'", '"', "\x1a"), array('\\\\', '\\0', '\\n', '\\r', "\\'", '\\"', '\\Z'), $inp);
}
return $inp;
}
protected function coregrade_webapi($action, $in, &$out) {
$this->load->model('backend_model');
$in["action"] = $action;
$in["pid"] = 100;
// print_r($in);
$ret = $this->backend_model->coregrade_api($in, $out);
//echo $ret;
return $ret;
}
function formatedMesage($msgType, $theMessage) {
return "";
}
protected function renderMemberPages($pagename, $data) {
$this->load->view('member/view_securehead');
$this->load->view('member/' . $pagename, $data);
$this->load->view('member/view_securefoot');
return 0;
}
protected function renderAuthPages($pagename, $data) {
$this->load->view('auth/view_head');
$this->load->view('auth/' . $pagename, $data);
$this->load->view('auth/view_foot');
return 0;
}
}