|
|
|
@ -152,23 +152,23 @@ class Information_model extends CI_Model {
|
|
|
|
|
$path_list = [];
|
|
|
|
|
|
|
|
|
|
$group_map = [
|
|
|
|
|
'278008010' => [
|
|
|
|
|
27800801 => [
|
|
|
|
|
'ic_url' => '/travelguide/culture/',
|
|
|
|
|
'ic_url_title' => 'Chinese Culture'
|
|
|
|
|
],
|
|
|
|
|
'278008011' => [
|
|
|
|
|
278008011 => [
|
|
|
|
|
'ic_url' => '/travelguide/',
|
|
|
|
|
'ic_url_title' => 'Travel Guide'
|
|
|
|
|
],
|
|
|
|
|
'278008012' => [
|
|
|
|
|
278008012 => [
|
|
|
|
|
'ic_url' => '/aboutus/',
|
|
|
|
|
'ic_url_title' => 'About Us'
|
|
|
|
|
],
|
|
|
|
|
'278008013' => [
|
|
|
|
|
278008013 => [
|
|
|
|
|
'ic_url' => '/citytour/',
|
|
|
|
|
'ic_url_title' => 'City Tours'
|
|
|
|
|
],
|
|
|
|
|
'278008014' => [
|
|
|
|
|
278008014 => [
|
|
|
|
|
'ic_url' => '/tour/',
|
|
|
|
|
'ic_url_title' => 'China Tours'
|
|
|
|
|
]
|
|
|
|
@ -180,9 +180,8 @@ class Information_model extends CI_Model {
|
|
|
|
|
$ic_url_title = $path_row->ic_url_title;
|
|
|
|
|
|
|
|
|
|
if ($path_row->is_level === 0) {
|
|
|
|
|
if (array_key_exists($path_row->ic_id, $group_map)) {
|
|
|
|
|
$top_group = $group_map[$path_row->ic_id];
|
|
|
|
|
|
|
|
|
|
if (array_key_exists($path_row->is_id, $group_map)) {
|
|
|
|
|
$top_group = $group_map[$path_row->is_id];
|
|
|
|
|
$path_array = [
|
|
|
|
|
'ic_id' => $path_row->ic_id,
|
|
|
|
|
'is_id' => $path_row->is_id,
|
|
|
|
|