|
|
|
@ -306,6 +306,11 @@ class Information extends CI_Controller
|
|
|
|
|
$this->config->set_item('templates', $this->config->item('templates_i'));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//可选的展示模板
|
|
|
|
|
if (in_array($this->config->item('site_code'), array('gh_vac', 'gh_vc', 'gh_jp', 'gh_ru', 'gh_it'))) {
|
|
|
|
|
$this->config->set_item('templates', $this->config->item('templates_gh'));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (in_array($this->config->item('site_code'), array('ah'))) {
|
|
|
|
|
$this->config->set_item('templates', $this->config->item('templates_ah'));
|
|
|
|
|
}
|
|
|
|
@ -1283,8 +1288,9 @@ class Information extends CI_Controller
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function test_get_feedback_by_city_name() {
|
|
|
|
|
|
|
|
|
|
public function test_get_feedback_by_city_name()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
$feedback_list = $this->Feedback_model->get_feedback_by_city_name('Bangkok', 5);
|
|
|
|
|
var_dump($feedback_list);
|
|
|
|
|
}
|
|
|
|
|