|
|
|
|
@ -6226,24 +6226,31 @@ class Information extends CI_Controller
|
|
|
|
|
private function get_author_info($domain_name, $OPI_Code)
|
|
|
|
|
{
|
|
|
|
|
// 定义URL模板
|
|
|
|
|
$baseUrl = 'https://www.' . $domain_name . '/aboutus/team/';
|
|
|
|
|
$baseUrl = 'https://www.' . $domain_name;
|
|
|
|
|
$about_us_url = $baseUrl . '/author-page-not-defined/';
|
|
|
|
|
|
|
|
|
|
if ($domain_name == 'chinahighlights.com' || $domain_name == 'globalhighlights.com') {
|
|
|
|
|
$about_us_url = $baseUrl . '/aboutus/team/';
|
|
|
|
|
} else if($domain_name == 'highlightstravel.com' || $domain_name == 'japanhighlights.com') {
|
|
|
|
|
$about_us_url = $baseUrl . '/about-us/meet-our-team/';
|
|
|
|
|
}
|
|
|
|
|
$urlSuffix = ($domain_name == 'chinahighlights.com') ? '.htm' : '';
|
|
|
|
|
|
|
|
|
|
// 共享的URL结构
|
|
|
|
|
$OPI_CodeUrls = [
|
|
|
|
|
'zzy' => $baseUrl . 'ruru-zhou' . $urlSuffix,
|
|
|
|
|
'HWT' => $baseUrl . 'mike-he' . $urlSuffix,
|
|
|
|
|
'CA' => $baseUrl . 'carol-wang' . $urlSuffix,
|
|
|
|
|
'SI' => $baseUrl . 'simon-huang' . $urlSuffix,
|
|
|
|
|
'TJQ' => $baseUrl . 'cindy-tang' . $urlSuffix,
|
|
|
|
|
'CLA' => $baseUrl . 'claire-wang' . $urlSuffix,
|
|
|
|
|
'Albee' => $baseUrl . 'albee-ning' . $urlSuffix,
|
|
|
|
|
'KM' => $baseUrl . 'kimi-huang' . $urlSuffix,
|
|
|
|
|
'RY' => $baseUrl . 'rita-yu' . $urlSuffix,
|
|
|
|
|
'QMY' => $baseUrl . 'chris-quan' . $urlSuffix,
|
|
|
|
|
'CY' => $baseUrl . 'cynthia-li' . $urlSuffix,
|
|
|
|
|
'Vicky' => $baseUrl . 'vicky-leng' . $urlSuffix,
|
|
|
|
|
'LXW' => $baseUrl . 'carper-li' . $urlSuffix,
|
|
|
|
|
'zzy' => $about_us_url . 'ruru-zhou' . $urlSuffix,
|
|
|
|
|
'HWT' => $about_us_url . 'mike-he' . $urlSuffix,
|
|
|
|
|
'CA' => $about_us_url . 'carol-wang' . $urlSuffix,
|
|
|
|
|
'SI' => $about_us_url . 'simon-huang' . $urlSuffix,
|
|
|
|
|
'TJQ' => $about_us_url . 'cindy-tang' . $urlSuffix,
|
|
|
|
|
'CLA' => $about_us_url . 'claire-wang' . $urlSuffix,
|
|
|
|
|
'Albee' => $about_us_url . 'albee-ning' . $urlSuffix,
|
|
|
|
|
'KM' => $about_us_url . 'kimi-huang' . $urlSuffix,
|
|
|
|
|
'RY' => $about_us_url . 'rita-yu' . $urlSuffix,
|
|
|
|
|
'QMY' => $about_us_url . 'chris-quan' . $urlSuffix,
|
|
|
|
|
'CY' => $about_us_url . 'cynthia-li' . $urlSuffix,
|
|
|
|
|
'Vicky' => $about_us_url . 'vicky-leng' . $urlSuffix,
|
|
|
|
|
'LXW' => $about_us_url . 'carper-li' . $urlSuffix,
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
// 共享的头像和专长映射
|
|
|
|
|
|