Merge branch 'master' of github.com:hainatravel/information-system into master

master
candice 5 months ago
commit fa4d532734

@ -401,7 +401,7 @@ $config['site'] = [
'gh_gm' => ['site_code' => 'gh_gm', 'site_id' => 178, 'site_lgc' => '4', 'site_url' => 'https://www.globalhighlights.de', 'site_image_url' => '//www.globalhighlights.de', 'site_authors' => ['DX', 'X', 'K', 'Lan', 'lmr', 'zyh', 'ZYHL', 'TDJ'], 'site_user' => ',ycc,lmr,B,zyh,DX,X,K,htc,zm,bhn,Lan,Tony,zyh,J,v,ZYHL,TDJ,LYY,shw,'],
'vc' => ['site_code' => 'vc', 'site_id' => 30, 'site_lgc' => '5', 'site_url' => 'https://www.chinahighlights.fr', 'site_image_url' => '//images.chinahighlights.fr', 'site_authors' => ['JE', 'kq', 'lya', 'lyz', 'zyh'], 'site_user' => ',ycc,lmr, zyh,JE,htc,kq,lya,bhn,Tony,zyh,B,J,lyz,LYY,'],
'gh_vc' => ['site_code' => 'gh_vc', 'site_id' => 180, 'site_lgc' => '5', 'site_url' => 'https://www.globalhighlights.fr', 'site_image_url' => '//www.globalhighlights.fr', 'site_authors' => ['JE', 'kq', 'lya', 'lyz', 'zyh'], 'site_user' => ',ycc,lmr, zyh,JE,htc,kq,lya,bhn,Tony,zyh,B,J,lyz,LYY,'],
'jp' => ['site_code' => 'jp', 'site_id' => 88, 'site_lgc' => '3', 'site_url' => 'https://www.arachina.com', 'site_image_url' => '//images.arachina.com', 'site_authors' => ['hql', 'LLM', 'SHX', 'lmr', 'zyh', 'zb'], 'site_user' => ',ycc,lmr, zyh,hql,LLM,SHX,htc,zpl,Tony,zyh,J,B,zb,LYY,'],
'jp' => ['site_code' => 'jp', 'site_id' => 88, 'site_lgc' => '3', 'site_url' => 'https://www.chinahighlights.jp', 'site_image_url' => '//images.chinahighlights.jp', 'site_authors' => ['hql', 'LLM', 'SHX', 'lmr', 'zyh', 'zb'], 'site_user' => ',ycc,lmr, zyh,hql,LLM,SHX,htc,zpl,Tony,zyh,J,B,zb,LYY,'],
'gh_jp' => ['site_code' => 'gh_jp', 'site_id' => 179, 'site_lgc' => '3', 'site_url' => 'https://www.globalhighlights.jp', 'site_image_url' => '//www.globalhighlights.jp', 'site_authors' => ['hql', 'LLM', 'SHX', 'lmr', 'zyh', 'zb'], 'site_user' => ',ycc,lmr, zyh,hql,LLM,SHX,htc,zpl,Tony,zyh,J,B,zb,LYY,'],
'vac' => ['site_code' => 'vac', 'site_id' => 95, 'site_lgc' => '6', 'site_url' => 'https://www.chinahighlights.es', 'site_image_url' => '//images.chinahighlights.es', 'site_authors' => ['I', 'cyt', 'lmr', 'zyh', 'LLM'], 'site_user' => ',ycc,lmr, zyh,I,cyt,htc,bhn,Tony,zyh,B,J,LLM,LYY,'],
'gh_vac' => ['site_code' => 'gh_vac', 'site_id' => 181, 'site_lgc' => '6', 'site_url' => 'https://www.globalhighlights.es', 'site_image_url' => '//www.globalhighlights.es', 'site_authors' => ['I', 'cyt', 'lmr', 'zyh', 'LLM'], 'site_user' => ',ycc,lmr, zyh,I,cyt,htc,bhn,Tony,zyh,B,J,LLM,LYY,'],
@ -449,7 +449,7 @@ $config['cache']['gh_ru']['cache_path'] = 'D:\wwwcache-intl\globalhighlights.ru'
$config['cache']['gh_it']['cache_path'] = 'D:\wwwcache-intl\globalhighlights.it';
//静态文件站点域名
$config['cache']['jp']['site_url'] = 'https://www.arachina.com';
$config['cache']['jp']['site_url'] = 'https://www.chinahighlights.jp';
$config['cache']['gm']['site_url'] = 'https://www.chinahighlightstravel.de';
$config['cache']['vc']['site_url'] = 'https://www.chinahighlights.fr';
$config['cache']['vac']['site_url'] = 'https://www.chinahighlights.es';
@ -537,10 +537,10 @@ $config['css_source_ch'] = 'https://data.chinahighlights.com/css/mobile-first.cs
$config['css_source_gm'] = 'https://data.chinahighlightstravel.de/public/pkg/css/baselAlRkXMnl750806T065919409Z.css';
$config['css_source_vc'] = 'https://data.chinahighlights.fr/information-view/tools/min/?v=20150611&f=/bootstrap/css/bootstrap.min.css,/information/css/base.css,/information/css/r/Header.css,/information/css/r/PublicContent.css,/information/css/r/footergray.css,/information/js/i18n/jquery.ui.datepicker/smoothness/jquery.min.css,/information/css/tip-yellowsimple/tip-yellowsimple.css,/information/css/private-vc.css';
$config['css_source_vac'] = 'https://data.viaje-a-china.com/information-view/tools/min/?v=20150611&f=/bootstrap/css/bootstrap.min.css,/information/css/base.css,/information/css/r/Header.css,/information/css/r/PublicContent.css,/information/css/r/footergray.css,/information/js/i18n/jquery.ui.datepicker/smoothness/jquery.min.css,/information/css/tip-yellowsimple/tip-yellowsimple.css,/information/css/private-vac.css';
$config['css_source_vac'] = 'https://data.chinahighlights.es/information-view/tools/min/?v=20150611&f=/bootstrap/css/bootstrap.min.css,/information/css/base.css,/information/css/r/Header.css,/information/css/r/PublicContent.css,/information/css/r/footergray.css,/information/js/i18n/jquery.ui.datepicker/smoothness/jquery.min.css,/information/css/tip-yellowsimple/tip-yellowsimple.css,/information/css/private-vac.css';
$config['css_source_ru'] = 'https://data.chinahighlights.ru/information-view/tools/min/?v=20150611&f=/bootstrap/css/bootstrap.min.css,/information/css/base.css,/information/css/r/Header.css,/information/css/r/PublicContent.css,/information/css/r/footergray.css,/information/js/i18n/jquery.ui.datepicker/smoothness/jquery.min.css,/information/css/tip-yellowsimple/tip-yellowsimple.css,/information/css/private-ru.css';
$config['css_source_it'] = 'https://data.viaggio-in-cina.it/information-view/tools/min/?v=20150611&f=/bootstrap/css/bootstrap.min.css,/information/css/base.css,/information/css/r/Header.css,/information/css/r/PublicContent.css,/information/css/r/footergray.css,/information/js/i18n/jquery.ui.datepicker/smoothness/jquery.min.css,/information/css/tip-yellowsimple/tip-yellowsimple.css,/information/css/private-it.css';
$config['css_source_jp'] = 'https://data.arachina.com/information-view/tools/min/?v=20150611&f=/bootstrap/css/bootstrap.min.css,/information/css/base.css,/information/css/r/Header.css,/information/css/r/PublicContent.css,/information/css/r/footergray.css,/information/js/i18n/jquery.ui.datepicker/smoothness/jquery.min.css,/information/css/tip-yellowsimple/tip-yellowsimple.css,/information/css/private-jp.css';
$config['css_source_it'] = 'https://data.chinahighlights.it/information-view/tools/min/?v=20150611&f=/bootstrap/css/bootstrap.min.css,/information/css/base.css,/information/css/r/Header.css,/information/css/r/PublicContent.css,/information/css/r/footergray.css,/information/js/i18n/jquery.ui.datepicker/smoothness/jquery.min.css,/information/css/tip-yellowsimple/tip-yellowsimple.css,/information/css/private-it.css';
$config['css_source_jp'] = 'https://data.chinahighlights.jp/information-view/tools/min/?v=20150611&f=/bootstrap/css/bootstrap.min.css,/information/css/base.css,/information/css/r/Header.css,/information/css/r/PublicContent.css,/information/css/r/footergray.css,/information/js/i18n/jquery.ui.datepicker/smoothness/jquery.min.css,/information/css/tip-yellowsimple/tip-yellowsimple.css,/information/css/private-jp.css';
$config['css_source_sht'] = 'https://www.shanghaihighlights.com/css/css3/bootstrap/bootstrap.css';
$config['css_source_gl'] = 'https://www.guilinchina.net/css/css3/bootstrap/bootstrap.css';

@ -1,9 +1,10 @@
<?php
if (! defined('BASEPATH')) {
if (!defined('BASEPATH')) {
exit('No direct script access allowed');
}
class Cache extends CI_Controller {
class Cache extends CI_Controller
{
//缓存文件绝对路径
private $dir = '';
//存放缓存文件的数组
@ -19,9 +20,10 @@ class Cache extends CI_Controller {
//文件更新日期
private $file_time = [];
function __construct() {
function __construct()
{
parent::__construct();
if (! $this->input->get('site_code')) {
if (!$this->input->get('site_code')) {
$this->permission->is_admin();
}
$this->load->model('Area_model');
@ -38,19 +40,20 @@ class Cache extends CI_Controller {
* @param String $site_code
*
*/
public function update() {
public function update()
{
header('Content-Type: text/html; charset=utf-8');
$returnType = $this->input->get('type');
//设置缓存文件文件夹
$cache_config = $this->config->item('cache');
$cache_config = $this->config->item('cache');
$current_cache_config = $cache_config[$this->site_code];
$this->dir = $current_cache_config['cache_path'];
$this->dir = $current_cache_config['cache_path'];
//设置当前站点
//设置当前站点
$this->current_domain = $current_cache_config['site_url']; //$this->config->item('site_url');
//echo $this->config->item('site_url');
//设置缓存更新接口及POST参数
//echo $this->config->item('site_url');
//设置缓存更新接口及POST参数
$this->cache_api = $current_cache_config['cache_api'];
$this->post_para = $current_cache_config['cache_api_para'];
//遍历缓存文件夹
@ -63,8 +66,8 @@ class Cache extends CI_Controller {
$this->filter($this->file, $this->path);
//整理需要传递到视图的数据
$data['file'] = $this->file;
$data['path'] = $this->path;
$data['file'] = $this->file;
$data['path'] = $this->path;
$data['file_time'] = $this->file_time;
$data['cache_api'] = $this->cache_api;
$data['post_para'] = $this->post_para;
@ -73,7 +76,7 @@ class Cache extends CI_Controller {
//print_r($cache_config[$this->site_code]);
//echo('json');
//print_r($data['file']);
echo(json_encode($data['file']));
echo (json_encode($data['file']));
} else {
//视图
$this->load->view('cache/update', $data);
@ -88,12 +91,13 @@ class Cache extends CI_Controller {
* @param String $site_code
*
*/
public function sitemap() {
public function sitemap()
{
header("Content-type:text/xml");
//设置缓存文件文件夹
$cache_config = $this->config->item('cache');
$cache_config = $this->config->item('cache');
$current_cache_config = $cache_config[$this->site_code];
$this->dir = $current_cache_config['cache_path'];
$this->dir = $current_cache_config['cache_path'];
//设置当前站点
$this->current_domain = $this->config->item('site_url');
@ -106,8 +110,8 @@ class Cache extends CI_Controller {
$this->filter($this->file, $this->path);
//整理需要传递到视图的数据
$data['file'] = $this->file;
$data['path'] = $this->path;
$data['file'] = $this->file;
$data['path'] = $this->path;
$data['file_time'] = $this->file_time;
$data['cache_api'] = $this->cache_api;
$data['post_para'] = $this->post_para;
@ -116,20 +120,20 @@ class Cache extends CI_Controller {
sort($data['file']);
//生成sitemap
$dom = new DomDocument('1.0', 'utf-8');
$dom = new DomDocument('1.0', 'utf-8');
$urlset = $dom->createElement('urlset');
$urlset->setAttribute('xmlns', 'http://www.sitemaps.org/schemas/sitemap/0.9');
$dom->appendchild($urlset);
foreach ($data['file'] as $f) {
$url = $dom->createElement('url');
$loc = $dom->createElement('loc');
$url = $dom->createElement('url');
$loc = $dom->createElement('loc');
$text = $dom->createTextNode($f);
$loc->appendchild($text);
$url->appendchild($loc);
$urlset->appendchild($url);
}
echo($dom->saveXML());
echo ($dom->saveXML());
}
/**
@ -143,7 +147,8 @@ class Cache extends CI_Controller {
* @param Array $file_time - 存放文件更新日期的数组引用
*
*/
private function tree($dir, &$file, &$path, &$file_time) {
private function tree($dir, &$file, &$path, &$file_time)
{
$mydir = dir($dir);
while ($f = $mydir->read()) {
if (is_dir("$dir/$f") && $f != "." && $f != ".." && (strpos($dir, '/cn/') === false) && (strpos($dir, '/amp/') === false) && (strpos($dir, '/js/') === false) && (strpos($dir, 'stfolder') === false)) {
@ -151,18 +156,18 @@ class Cache extends CI_Controller {
$this->tree("$dir/$f", $file, $path, $file_time);
} else {
if ($f != '.' && $f != '..' && (strpos($f, 'stfolder') === false) && (strpos($f, '/cn/') === false) && (strpos($f, '/amp/') === false) && (strpos($f, '.pdf') === false) && (strpos($f, '.mobile.htm') === false) && (strpos($f, '.txt') === false) && (strpos($f, '/js/') === false) && (strpos($f, '.amp') === false) && (strpos($f, 'stignore') === false)) {
$file_temp = str_replace('/index.htm###', '', $f . '###');
$file_temp = str_replace('###', '', $file_temp);
$path_temp = str_replace($this->dir, '', $dir);
$url_temp = $this->current_domain . $path_temp . '/' . $file_temp;
$url_temp = str_replace('/index.htm', '/', $url_temp);
$file_temp = str_replace('/index.htm###', '', $f . '###');
$file_temp = str_replace('###', '', $file_temp);
$path_temp = str_replace($this->dir, '', $dir);
$url_temp = $this->current_domain . $path_temp . '/' . $file_temp;
$url_temp = str_replace('/index.htm', '/', $url_temp);
$file_time[$url_temp] = date("F d Y H:i:s", filemtime("$dir/$f"));
// $encode = mb_detect_encoding($url_temp);
// $_url_temp = mb_convert_encoding($url_temp, 'UTF8', $encode);
// $_url_temp = mb_convert_encoding($url_temp, 'UTF-8//IGNORE', $encode) . '?encoding=' . $encode;
$_url_temp = $url_temp;
$file[] = $_url_temp;
$file[] = $_url_temp;
}
}
}
@ -180,8 +185,9 @@ class Cache extends CI_Controller {
* 可选参数POST参数 - $_POST['p']
*
*/
private function filter(&$file, &$path) {
if (isset($_POST['p']) && ! empty($_POST['p'])) {
private function filter(&$file, &$path)
{
if (isset($_POST['p']) && !empty($_POST['p'])) {
//删选文件
foreach ($file as &$f) {
(stripos($f, $_POST['p']) !== false) or $f = false;

@ -144,7 +144,7 @@ class Info_amp extends CI_Controller
$site = 'https://www.voyageschine.com';
break;
case 'jp':
$site = 'https://www.arachina.com';
$site = 'https://chinahighlights.jp';
break;
case 'ru':
$site = 'https://www.chinahighlights.ru';
@ -193,7 +193,7 @@ class Info_amp extends CI_Controller
case 'https://www.voyageschine.com':
$site_code = 'vc';
break;
case 'https://www.arachina.com':
case 'https://chinahighlights.jp':
$site_code = 'jp';
break;
case 'https://www.chinahighlights.ru':
@ -240,7 +240,7 @@ class Info_amp extends CI_Controller
case 'https://www.voyageschine.com':
$site_code = 'vc';
break;
case 'https://www.arachina.com':
case 'https://chinahighlights.jp':
$site_code = 'jp';
break;
case 'https://www.chinahighlights.ru':

@ -4,7 +4,8 @@
<div class="col-xs-5"></div>
<div class="col-xs-17">
<legend></legend>
<p class="muted pull-right"><strong>{elapsed_time}</strong> seconds , <strong>{memory_usage}</strong> memory ,技术支持:YCC 08987705</p>
<p class="muted pull-right"><strong>{elapsed_time}</strong> seconds , <strong>{memory_usage}</strong> memory
,技术支持:YCC 08987705</p>
</div>
<div class="col-xs-2"></div>
</div>
@ -13,14 +14,15 @@
<!-- 静态化更新窗口 -->
<div class="modal fade" id="cache_refresh_modal" tabindex="-1" role="dialog" data-backdrop="false">
<div class="modal-dialog" role="document">
<div class="modal-content" >
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 style="margin:0;">静态化更新-系列站专用</h3>
</div>
<div class="modal-body">
<label>需要更新的页面</label>
<input type="text" class="form-control" name="static_html_url" id="static_html_url" placeholder="如http://www.voyageschine.com/shanghai-voyage/" />
<input type="text" class="form-control" name="static_html_url" id="static_html_url"
placeholder="如http://www.chinahighlights.fr/shanghai-voyage/" />
<input type="hidden" name="updatecdn_byhand" id="updatecdn_byhand" value="">
<p class="text-danger" id="cache_refresh_modal_msg" name="cache_refresh_modal_msg"></p>
@ -28,7 +30,7 @@
<div class="modal-footer">
<button class="btn" data-dismiss="modal">关闭</button>
<a class="btn btn-primary" href="javascript:void(0);" onclick="$('#updatecdn_byhand').val('1');
updateCache($('#static_html_url').val(), 'cache_refresh_modal_msg');" >更新</a>
updateCache($('#static_html_url').val(), 'cache_refresh_modal_msg');">更新</a>
</div>
</div>
</div>
@ -40,4 +42,5 @@
</body>
</html>

@ -4,7 +4,8 @@
<div class="col-xs-5"></div>
<div class="col-xs-17">
<legend></legend>
<p class="muted pull-right"><strong>{elapsed_time}</strong> seconds , <strong>{memory_usage}</strong> memory ,技术支持:YCC 08987705</p>
<p class="muted pull-right"><strong>{elapsed_time}</strong> seconds , <strong>{memory_usage}</strong> memory
,技术支持:YCC 08987705</p>
</div>
<div class="col-xs-2"></div>
</div>
@ -13,14 +14,15 @@
<!-- 静态化更新窗口 -->
<div class="modal fade" id="cache_refresh_modal" tabindex="-1" role="dialog" data-backdrop="false">
<div class="modal-dialog" role="document">
<div class="modal-content" >
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 style="margin:0;">静态化更新-系列站专用</h3>
</div>
<div class="modal-body">
<label>需要更新的页面</label>
<input type="text" class="form-control" name="static_html_url" id="static_html_url" placeholder="如http://www.voyageschine.com/shanghai-voyage/" />
<input type="text" class="form-control" name="static_html_url" id="static_html_url"
placeholder="如http://www.chinahighlights.fr/shanghai-voyage/" />
<input type="hidden" name="updatecdn_byhand" id="updatecdn_byhand" value="">
<p class="text-danger" id="cache_refresh_modal_msg" name="cache_refresh_modal_msg"></p>
@ -28,7 +30,7 @@
<div class="modal-footer">
<button class="btn" data-dismiss="modal">关闭</button>
<a class="btn btn-primary" href="javascript:void(0);" onclick="$('#updatecdn_byhand').val('1');
updateCache($('#static_html_url').val(), 'cache_refresh_modal_msg');" >更新</a>
updateCache($('#static_html_url').val(), 'cache_refresh_modal_msg');">更新</a>
</div>
</div>
</div>
@ -40,4 +42,5 @@
</body>
</html>

@ -4,7 +4,8 @@
<div class="col-xs-5"></div>
<div class="col-xs-17">
<legend></legend>
<p class="muted pull-right"><strong>{elapsed_time}</strong> seconds , <strong>{memory_usage}</strong> memory ,技术支持:YCC 08987705</p>
<p class="muted pull-right"><strong>{elapsed_time}</strong> seconds , <strong>{memory_usage}</strong> memory
,技术支持:YCC 08987705</p>
</div>
<div class="col-xs-2"></div>
</div>
@ -13,14 +14,15 @@
<!-- 静态化更新窗口 -->
<div class="modal fade" id="cache_refresh_modal" tabindex="-1" role="dialog" data-backdrop="false">
<div class="modal-dialog" role="document">
<div class="modal-content" >
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 style="margin:0;">静态化更新-系列站专用</h3>
</div>
<div class="modal-body">
<label>需要更新的页面</label>
<input type="text" class="form-control" name="static_html_url" id="static_html_url" placeholder="如http://www.voyageschine.com/shanghai-voyage/" />
<input type="text" class="form-control" name="static_html_url" id="static_html_url"
placeholder="如http://www.chinahighlights.fr/shanghai-voyage/" />
<input type="hidden" name="updatecdn_byhand" id="updatecdn_byhand" value="">
<p class="text-danger" id="cache_refresh_modal_msg" name="cache_refresh_modal_msg"></p>
@ -28,7 +30,7 @@
<div class="modal-footer">
<button class="btn" data-dismiss="modal">关闭</button>
<a class="btn btn-primary" href="javascript:void(0);" onclick="$('#updatecdn_byhand').val('1');
updateCache($('#static_html_url').val(), 'cache_refresh_modal_msg');" >更新</a>
updateCache($('#static_html_url').val(), 'cache_refresh_modal_msg');">更新</a>
</div>
</div>
</div>
@ -40,4 +42,5 @@
</body>
</html>

@ -1,10 +1,11 @@
<div class="row-fluid">
<div class="span2"></div>
<div class="span9">
<legend></legend>
<p class="muted pull-right"><strong>{elapsed_time}</strong> seconds , <strong>{memory_usage}</strong> memory ,技术支持:YCC 08987705</p>
</div>
<div class="span1"></div>
<div class="span2"></div>
<div class="span9">
<legend></legend>
<p class="muted pull-right"><strong>{elapsed_time}</strong> seconds , <strong>{memory_usage}</strong> memory
,技术支持:YCC 08987705</p>
</div>
<div class="span1"></div>
</div>
@ -17,45 +18,49 @@
<div class="modal-body">
<label>需要更新的页面</label>
<input type="text" class="span6" name="static_html_url" id="static_html_url" placeholder="如http://www.voyageschine.com/shanghai-voyage/" />
<label>需要更新的页面</label>
<input type="text" class="span6" name="static_html_url" id="static_html_url"
placeholder="如http://www.chinahighlights.fr/shanghai-voyage/" />
<input type="hidden" name="updatecdn_byhand" id="updatecdn_byhand" value="">
<p class="text-error" id="cache_refresh_modal_msg" name="cache_refresh_modal_msg"></p>
<p class="text-error" id="cache_refresh_modal_msg" name="cache_refresh_modal_msg"></p>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal">关闭</button>
<a class="btn btn-primary" href="javascript:void(0);" onclick="$('#updatecdn_byhand').val('1');updateCache($('#static_html_url').val(),'cache_refresh_modal_msg');" >更新</a>
<a class="btn btn-primary" href="javascript:void(0);"
onclick="$('#updatecdn_byhand').val('1');updateCache($('#static_html_url').val(),'cache_refresh_modal_msg');">更新</a>
</div>
</div>
<!-- 静态化更新窗口 -->
<!-- CDN缓存清理窗口 -->
<div class="modal fade" id="cdncache_refresh_modal" tabindex="-1" role="dialog" data-backdrop="false">
<div class="modal-dialog" role="document">
<div class="modal-content" >
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 style="margin:0;">CDN缓存更新</h3>
</div>
<div class="modal-body">
<label>需要更新的URL</label>
<input type="text" class="form-control" name="cdn_url" id="cdn_url" placeholder="如https://data.chinahighlightstravel.de/min/?f=/css/tailorbox.css" style="width:98%"/>
<input type="hidden" name="updatecdn_byhand" id="updatecdn_byhand" value="">
<p class="text-danger" id="cdncache_refresh_modal_msg" name="cdncache_refresh_modal_msg"></p>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal">关闭</button>
<a class="btn btn-primary" href="javascript:void(0);" onclick="$('#updatecdn_byhand').val('1');
updateCdnCache($('#cdn_url').val(), 'cdncache_refresh_modal_msg');" >更新</a>
</div>
</div>
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 style="margin:0;">CDN缓存更新</h3>
</div>
<div class="modal-body">
<label>需要更新的URL</label>
<input type="text" class="form-control" name="cdn_url" id="cdn_url"
placeholder="如https://data.chinahighlightstravel.de/min/?f=/css/tailorbox.css" style="width:98%" />
<input type="hidden" name="updatecdn_byhand" id="updatecdn_byhand" value="">
<p class="text-danger" id="cdncache_refresh_modal_msg" name="cdncache_refresh_modal_msg"></p>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal">关闭</button>
<a class="btn btn-primary" href="javascript:void(0);" onclick="$('#updatecdn_byhand').val('1');
updateCdnCache($('#cdn_url').val(), 'cdncache_refresh_modal_msg');">更新</a>
</div>
</div>
</div>
</div>
<!-- CND缓存清理窗口 -->
</body>
</body>
</html>

@ -104,7 +104,7 @@
<li><a href="<?php echo site_url('tools/old') ?>">老旧信息查询</a></li>
<li><a href="<?php echo site_url('apps/searchinfo/index/homepage') ?>">信息搜索</a></li>
<li><a href="<?php echo site_url('tools/amp_check') ?>">AMP转化检查</a></li>
<li><a target="_blank" href="http://www.arachina.com/html-tag-quick-query.htm">Html基础知识</a></li>
<li><a target="_blank" href="http://www.chinahighlights.jp/html-tag-quick-query.htm">Html基础知识</a></li>
<li><a target="_blank"
href="https://docs.google.com/presentation/d/1YN9P8j837SCHenpK_UApHU04K6evV1-GLULhsdmdtWM/edit?usp=sharing">AMP知识</a>
</li>

@ -3,7 +3,8 @@
<div class="col-xs-5"></div>
<div class="col-xs-17">
<legend></legend>
<p class="muted pull-right"><strong>{elapsed_time}</strong> seconds , <strong>{memory_usage}</strong> memory ,技术支持:YCC 08987705</p>
<p class="muted pull-right"><strong>{elapsed_time}</strong> seconds , <strong>{memory_usage}</strong> memory
,技术支持:YCC 08987705</p>
</div>
<div class="col-xs-2"></div>
</div>
@ -12,14 +13,15 @@
<!-- 静态化更新窗口 -->
<div class="modal fade" id="cache_refresh_modal" tabindex="-1" role="dialog" data-backdrop="false">
<div class="modal-dialog" role="document">
<div class="modal-content" >
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 style="margin:0;">静态化更新</h3>
</div>
<div class="modal-body">
<label>需要更新的页面</label>
<input type="text" class="form-control" name="static_html_url" id="static_html_url" placeholder="如http://www.voyageschine.com/shanghai-voyage/" />
<input type="text" class="form-control" name="static_html_url" id="static_html_url"
placeholder="如http://www.chinahighlights.fr/shanghai-voyage/" />
<input type="hidden" name="updatecdn_byhand" id="updatecdn_byhand" value="">
<p class="text-danger" id="cache_refresh_modal_msg" name="cache_refresh_modal_msg"></p>
@ -27,7 +29,7 @@
<div class="modal-footer">
<button class="btn" data-dismiss="modal">关闭</button>
<a class="btn btn-primary" href="javascript:void(0);" onclick="$('#updatecdn_byhand').val('1');
updateCache($('#static_html_url').val(), 'cache_refresh_modal_msg');" >更新</a>
updateCache($('#static_html_url').val(), 'cache_refresh_modal_msg');">更新</a>
</div>
</div>
</div>
@ -37,14 +39,15 @@
<!-- CDN缓存清理窗口 -->
<div class="modal fade" id="cdncache_refresh_modal" tabindex="-1" role="dialog" data-backdrop="false">
<div class="modal-dialog" role="document">
<div class="modal-content" >
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 style="margin:0;">CDN缓存更新</h3>
</div>
<div class="modal-body">
<label>需要更新的URL</label>
<input type="text" class="form-control" name="cdn_url" id="cdn_url" placeholder="如https://data.chinahighlightstravel.de/min/?f=/css/tailorbox.css" />
<input type="text" class="form-control" name="cdn_url" id="cdn_url"
placeholder="如https://data.chinahighlightstravel.de/min/?f=/css/tailorbox.css" />
<input type="hidden" name="updatecdn_byhand" id="updatecdn_byhand" value="">
<p class="text-danger" id="cdncache_refresh_modal_msg" name="cdncache_refresh_modal_msg"></p>
@ -52,7 +55,7 @@
<div class="modal-footer">
<button class="btn" data-dismiss="modal">关闭</button>
<a class="btn btn-primary" href="javascript:void(0);" onclick="$('#updatecdn_byhand').val('1');
updateCdnCache($('#cdn_url').val(), 'cdncache_refresh_modal_msg');" >更新</a>
updateCdnCache($('#cdn_url').val(), 'cdncache_refresh_modal_msg');">更新</a>
</div>
</div>
</div>
@ -62,7 +65,7 @@
<!-- 国际展异步更新窗口 -->
<div class="modal fade" id="icht_async_modal" tabindex="-2" role="dialog" data-backdrop="false">
<div class="modal-dialog" role="document">
<div class="modal-content" >
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 style="margin:0;">静态化更新</h3>
@ -90,4 +93,5 @@
</body>
</html>

@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>更新静态页-v1.0a</title>
<title>更新静态页-v1.4</title>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="//int.mycht.cn/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
@ -85,11 +85,11 @@
//file = encodeURI(file);
current.find('.msg_wait').css('color', 'red').html('更新中');
$.ajax({
url: '<?php echo($cache_api); ?>',
url: '<?php echo ($cache_api); ?>',
dataType: 'json',
type: 'POST',
data: {
'<?php echo($post_para); ?>': file
'<?php echo ($post_para); ?>': file
},
success: function (data) {
star = star + step;
@ -110,7 +110,7 @@
var num_zero = 1;
function count_num(num) {
$('#count_num').html('已更新' + num + '个页面 进度' + (Math.ceil(num * 100 / <?php echo(count($file)); ?>)) + '% ').show();
$('#count_num').html('已更新' + num + '个页面 进度' + (Math.ceil(num * 100 / <?php echo (count($file)); ?>)) + '% ').show();
num_zero++;
}
});
@ -124,7 +124,7 @@
<li class="active dropdown mr10">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
站点:
<?php echo($this->config->item('site_code')); ?>
<?php echo ($this->config->item('site_code')); ?>
<b class="caret"></b>
</a>
<ul class="dropdown-menu">
@ -168,16 +168,16 @@
</ul>
</li>
<span class="mt12 label label-success">缓存目录
<?php echo(count($path)); ?>
<?php echo (count($path)); ?>
</span>
<span class="mt12 label label-info">含文件
<?php echo(count($file)); ?>
<?php echo (count($file)); ?>
</span>
<span class="mt12 label label-important none" id="count_num">已更新0个页面 进度0%</span>
<form class="form-search" id="path_search" action="#" method="post">
<input type="text" placeholder="输入路径删选,例如:/tours/。" value="<?php if (isset($_POST['p'])) {
echo($_POST['p']);
}?>" class="input-medium search-query" name="p" />
echo ($_POST['p']);
} ?>" class="input-medium search-query" name="p" />
<button type="submit" class="btn">筛选</button>
</form>
<a id="update" class="btn mr10 btn-info">更新</a>
@ -195,36 +195,36 @@
</thead>
<tbody class="data_group">
<?php $c = 0; ?>
<?php foreach ($file as $key => $it) {
// $encode = mb_detect_encoding($it, array('ASCII', 'GBK', 'ISO-8859-1', 'UTF-8'));
// $_it = mb_convert_encoding($it, 'UTF8', $encode);
$_it = preg_replace('/#(.*)$/i', '', $it);
if (strlen($it) != strlen($_it)) {
continue;
}
$c++;
?>
<?php foreach ($file as $key => $it) {
// $encode = mb_detect_encoding($it, array('ASCII', 'GBK', 'ISO-8859-1', 'UTF-8'));
// $_it = mb_convert_encoding($it, 'UTF8', $encode);
$_it = preg_replace('/#(.*)$/i', '', $it);
if (strlen($it) != strlen($_it)) {
continue;
}
$c++;
?>
<tr class="data">
<td>
<?php echo($c); ?>
<?php echo ($c); ?>
</td>
<?php if (strlen($_it) > 100) {?>
<td class="file" title="<?php echo($_it); ?>">
<?php echo(substr($_it, 0, 40)); ?>..........
<?php echo(substr($_it, -35)); ?>
<?php if (strlen($_it) > 100) { ?>
<td class="file" title="<?php echo ($_it); ?>">
<?php echo (substr($_it, 0, 40)); ?>..........
<?php echo (substr($_it, -35)); ?>
</td>
<?php } else {?>
<td class="file" title="<?php echo($_it); ?>">
<?php echo($_it); ?>
<?php } else { ?>
<td class="file" title="<?php echo ($_it); ?>">
<?php echo ($_it); ?>
</td>
<?php }?>
<?php } ?>
<td>
<?php echo(isset($file_time[$it]) ? $file_time[$it] : 'bad file'); ?>
<?php echo (isset($file_time[$it]) ? $file_time[$it] : 'bad file'); ?>
</td>
<td class="msg_wait">无操作</td>
</tr>
<?php }?>
<?php } ?>
</tbody>
</table>
</div>

@ -44,11 +44,10 @@
f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-T75N4LL');</script>
<!-- End Google Tag Manager -->
<!-- Meta Pixel Code -->
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=1062130966092243&ev=PageView&noscript=1"
/></noscript>
<!-- End Meta Pixel Code -->
<!-- Meta Pixel Code -->
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=1062130966092243&ev=PageView&noscript=1" /></noscript>
<!-- End Meta Pixel Code -->
<!-- Hotjar Tracking Code for https://www.chinahighlights.com/
<script>
@ -67,7 +66,11 @@
<!-- End TrustBox script -->
<!-- bing 广告转化跟踪代码 -->
<script>(function(w,d,t,r,u){var f,n,i;w[u]=w[u]||[],f=function(){var o={ti:"187223864", enableAutoSpaTracking: true};o.q=w[u],w[u]=new UET(o),w[u].push("pageLoad")},n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function(){var s=this.readyState;s&&s!=="loaded"&&s!=="complete"||(f(),n.onload=n.onreadystatechange=null)},i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)})(window,document,"script","//bat.bing.com/bat.js","uetq");</script><!-- You can set default Consent Mode right after the UET tag --><script>window.uetq = window.uetq || [];window.uetq.push('consent', 'default', {'ad_storage': 'denied'});</script><!-- Implement a cookie banner or another method to collect user consent. When a user grants consent (e.g., selects 'Accept' on your banner), update the consent settings using the command below. --><script>window.uetq = window.uetq || [];window.uetq.push('consent', 'update', {'ad_storage': 'granted'});</script>
<script>(function (w, d, t, r, u) { var f, n, i; w[u] = w[u] || [], f = function () { var o = { ti: "187223864", enableAutoSpaTracking: true }; o.q = w[u], w[u] = new UET(o), w[u].push("pageLoad") }, n = d.createElement(t), n.src = r, n.async = 1, n.onload = n.onreadystatechange = function () { var s = this.readyState; s && s !== "loaded" && s !== "complete" || (f(), n.onload = n.onreadystatechange = null) }, i = d.getElementsByTagName(t)[0], i.parentNode.insertBefore(n, i) })(window, document, "script", "//bat.bing.com/bat.js", "uetq");</script>
<!-- You can set default Consent Mode right after the UET tag -->
<script>window.uetq = window.uetq || []; window.uetq.push('consent', 'default', { 'ad_storage': 'denied' });</script>
<!-- Implement a cookie banner or another method to collect user consent. When a user grants consent (e.g., selects 'Accept' on your banner), update the consent settings using the command below. -->
<script>window.uetq = window.uetq || []; window.uetq.push('consent', 'update', { 'ad_storage': 'granted' });</script>
</head>
<body>
@ -99,8 +102,8 @@
id="china_panda_tours_2021">Panda Tours</a></li>
<li class="start-nav-item"><a href="/tour/family-tours/" id="china_family_tours_2021">Family
Tours</a></li>
<li class="start-nav-item"><a href="/silk-road/tours/"
id="china_silk_road_tours_2021">Silk Road Tours</a></li>
<li class="start-nav-item"><a href="/silk-road/tours/" id="china_silk_road_tours_2021">Silk
Road Tours</a></li>
<li class="start-nav-item start-nav-item-last"><a href="/greatwall/tours/"
id="china_great_wall_tours_2021">Great Wall of China Tours</a></li>
<li class="start-nav-item start-nav-item-last"><a href="/tour/china-nature-tours/"
@ -131,8 +134,8 @@
id="zhangjiajie_tours_2021">Zhangjiajie</a></li>
<li class="start-nav-item"><a href="/inner-mongolia/tours/"
id="inner_mongolia_tours_2021">Inner Mongolia</a></li>
<li class="start-nav-item"><a href="/shanghai/tours/"
id="shanghai_tours_2021">Shanghai</a></li>
<li class="start-nav-item"><a href="/shanghai/tours/" id="shanghai_tours_2021">Shanghai</a>
</li>
<li class="start-nav-item"><a href="/huangshan/tours/"
id="huangshan_tours_2021">Huangshan</a></li>
<li class="start-nav-item"><a href="/guizhou/tours/" id="guizhou_tours_2021">Guizhou</a>
@ -475,8 +478,8 @@
<div class="aboutusleft">
<div class="bottomaboutus">
<img src="https://data.chinahighlights.com/grey.gif" loader="lazy"
originalsrc="https://images.chinahighlights.com/allpicture/2025/10/b95dcb86473b4b828a5b0564ddfaf153.jpg" width="609"
height="122"
originalsrc="https://images.chinahighlights.com/allpicture/2025/10/b95dcb86473b4b828a5b0564ddfaf153.jpg"
width="609" height="122"
style="float: left; margin-right: 10px; width: 200px; height: auto;margin-bottom: 20px;"
alt="China Highlights logo" />
<div class="aboutusinfo" style="display: flex;">
@ -513,11 +516,11 @@
<li><a href="https://www.chinahighlightstravel.de/" target="_blank" rel="nofollow">Deutsch</a>
</li>
<li><a href="https://www.voyageschine.com/" target="_blank" rel="nofollow">Français</a></li>
<li><a href="https://www.chinahighlights.fr/" target="_blank" rel="nofollow">Français</a></li>
<li><a href="https://www.chinahighlights.es/" target="_blank" rel="nofollow">Español</a></li>
<li><a href="https://www.chinahighlights.it/" target="_blank" rel="nofollow">Italiano</a></li>
<li><a href="https://www.chinahighlights.ru/" target="_blank" rel="nofollow">Русский</a></li>
<li><a href="https://www.arachina.com/" target="_blank" rel="nofollow">日本語</a></li>
<li><a href="https://chinahighlights.jp/" target="_blank" rel="nofollow">日本語</a></li>
</ul>
</div>
<div class="aboutusright followus">
@ -572,8 +575,7 @@
</div>
<div class="bottomlogo">
<div class="list_content">
<span
class="bottomcopyright">© 1998-2025 China Highlights — Discovery Your Way! </span>
<span class="bottomcopyright">© 1998-2025 China Highlights — Discovery Your Way! </span>
</div>
</div>
@ -635,25 +637,28 @@
firstScript.parentNode.insertBefore(asyncScript, firstScript);
}</script>
<!-- Meta Pixel Code -->
<script>
<!-- Meta Pixel Code -->
<script>
function loadMetaPixel() {
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '1062130966092243');
fbq('track', 'PageView');
!function (f, b, e, v, n, t, s) {
if (f.fbq) return; n = f.fbq = function () {
n.callMethod ?
n.callMethod.apply(n, arguments) : n.queue.push(arguments)
};
if (!f._fbq) f._fbq = n; n.push = n; n.loaded = !0; n.version = '2.0';
n.queue = []; t = b.createElement(e); t.async = !0;
t.src = v; s = b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t, s)
}(window, document, 'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '1062130966092243');
fbq('track', 'PageView');
}
window.addEventListener('load', function() {
setTimeout(loadMetaPixel, 10000);
window.addEventListener('load', function () {
setTimeout(loadMetaPixel, 10000);
});
</script>
<!-- End Meta Pixel Code -->
</script>
<!-- End Meta Pixel Code -->
<!--@IN-ARTICLE-GOOGLE@-->
<span itemscope itemtype="http://schema.org/WebSite">

@ -37,11 +37,10 @@
'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-T75N4LL');</script>
<!-- End Google Tag Manager -->
<!-- Meta Pixel Code -->
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=1062130966092243&ev=PageView&noscript=1"
/></noscript>
<!-- End Meta Pixel Code -->
<!-- Meta Pixel Code -->
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=1062130966092243&ev=PageView&noscript=1" /></noscript>
<!-- End Meta Pixel Code -->
<!-- Hotjar Tracking Code for https://www.chinahighlights.com/
<script>
@ -58,9 +57,13 @@
<!-- TrustBox script -->
<script type="text/javascript" src="//widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js" async></script>
<!-- End TrustBox script -->
<!-- bing 广告转化跟踪代码 -->
<script>(function(w,d,t,r,u){var f,n,i;w[u]=w[u]||[],f=function(){var o={ti:"187223864", enableAutoSpaTracking: true};o.q=w[u],w[u]=new UET(o),w[u].push("pageLoad")},n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function(){var s=this.readyState;s&&s!=="loaded"&&s!=="complete"||(f(),n.onload=n.onreadystatechange=null)},i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)})(window,document,"script","//bat.bing.com/bat.js","uetq");</script><!-- You can set default Consent Mode right after the UET tag --><script>window.uetq = window.uetq || [];window.uetq.push('consent', 'default', {'ad_storage': 'denied'});</script><!-- Implement a cookie banner or another method to collect user consent. When a user grants consent (e.g., selects 'Accept' on your banner), update the consent settings using the command below. --><script>window.uetq = window.uetq || [];window.uetq.push('consent', 'update', {'ad_storage': 'granted'});</script>
<!-- bing 广告转化跟踪代码 -->
<script>(function (w, d, t, r, u) { var f, n, i; w[u] = w[u] || [], f = function () { var o = { ti: "187223864", enableAutoSpaTracking: true }; o.q = w[u], w[u] = new UET(o), w[u].push("pageLoad") }, n = d.createElement(t), n.src = r, n.async = 1, n.onload = n.onreadystatechange = function () { var s = this.readyState; s && s !== "loaded" && s !== "complete" || (f(), n.onload = n.onreadystatechange = null) }, i = d.getElementsByTagName(t)[0], i.parentNode.insertBefore(n, i) })(window, document, "script", "//bat.bing.com/bat.js", "uetq");</script>
<!-- You can set default Consent Mode right after the UET tag -->
<script>window.uetq = window.uetq || []; window.uetq.push('consent', 'default', { 'ad_storage': 'denied' });</script>
<!-- Implement a cookie banner or another method to collect user consent. When a user grants consent (e.g., selects 'Accept' on your banner), update the consent settings using the command below. -->
<script>window.uetq = window.uetq || []; window.uetq.push('consent', 'update', { 'ad_storage': 'granted' });</script>
</head>
<body>
@ -141,7 +144,8 @@
<li class="menu__item" role="menuitem"><a href="/china-tours/top-tours.htm" class="menu__link">Top 10 Tours</a></li>
<li class="menu__item" role="menuitem"><a href="/tour/hassle-free-china-visas.htm" class="menu__link">Visa-Free
Tours</a></li>
<li class="menu__item" role="menuitem"><a href="/china-tours/china-panda-tours.htm" class="menu__link">Panda Tours</a>
<li class="menu__item" role="menuitem"><a href="/china-tours/china-panda-tours.htm" class="menu__link">Panda
Tours</a>
</li>
<li class="menu__item" role="menuitem"><a href="/tour/family-tours/" class="menu__link">Family
Tours</a></li>
@ -191,7 +195,8 @@
id="guizhou_tours_2021">Guizhou</a></li>
<li class="menu__item" role="menuitem"><a class="menu__link" href="/harbin/tours/"
id="harbin_tours_2021">Harbin</a></li>
<li class="menu__item" role="menuitem"><a class="menu__link" href="/hong-kong/tours/" id="hk_tours_2021">Hong Kong</a></li>
<li class="menu__item" role="menuitem"><a class="menu__link" href="/hong-kong/tours/" id="hk_tours_2021">Hong
Kong</a></li>
<li class="menu__item" role="menuitem"><a href="/chongqing/tours/" class="menu__link">Chongqing</a></li>
<li class="menu__item" role="menuitem"><a class="menu__link" href="https://www.highlightstravel.com/tours"
id="asia_tours_2021" target="blank" rel="nofollow">Asia Tours</a></li>
@ -472,8 +477,8 @@
<div class="infobottom">
<img src="https://data.chinahighlights.com/grey.gif" loader="lazy"
originalsrc="https://images.chinahighlights.com/allpicture/2025/10/b95dcb86473b4b828a5b0564ddfaf153.jpg" alt="China Highlights Logo"
width="352px" height="245px" class="bottomlogocenter" style="margin-bottom: 10px;">
originalsrc="https://images.chinahighlights.com/allpicture/2025/10/b95dcb86473b4b828a5b0564ddfaf153.jpg"
alt="China Highlights Logo" width="352px" height="245px" class="bottomlogocenter" style="margin-bottom: 10px;">
<div style=" color: #fff;
text-align: center;line-height: 30px;
clear: both;
@ -543,7 +548,7 @@
<ul style="width:185px;">
<li><a href="https://www.chinahighlightstravel.de/" target="_blank" rel="nofollow">Deutsch</a></li>
<li><a href="https://www.voyageschine.com/" target="_blank" rel="nofollow">Français</a></li>
<li><a href="https://www.chinahighlights.fr/" target="_blank" rel="nofollow">Français</a></li>
<li><a href="https://www.chinahighlights.es/" target="_blank" rel="nofollow">Español</a></li>
</ul>
</div>
@ -552,7 +557,7 @@
<li><a href="https://www.chinahighlights.it/" target="_blank" rel="nofollow">Italiano</a></li>
<li><a href="https://www.chinahighlights.ru/" target="_blank" rel="nofollow">Русский</a></li>
<li><a href="https://www.arachina.com/" target="_blank" rel="nofollow">日本語</a></li>
<li><a href="https://chinahighlights.jp/" target="_blank" rel="nofollow">日本語</a></li>
</ul>
</div>
</div>
@ -621,18 +626,21 @@
<!-- Meta Pixel Code -->
<script>
function loadMetaPixel() {
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
!function (f, b, e, v, n, t, s) {
if (f.fbq) return; n = f.fbq = function () {
n.callMethod ?
n.callMethod.apply(n, arguments) : n.queue.push(arguments)
};
if (!f._fbq) f._fbq = n; n.push = n; n.loaded = !0; n.version = '2.0';
n.queue = []; t = b.createElement(e); t.async = !0;
t.src = v; s = b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t, s)
}(window, document, 'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '1062130966092243');
fbq('track', 'PageView');
}
window.addEventListener('load', function() {
window.addEventListener('load', function () {
setTimeout(loadMetaPixel, 10000);
});
</script>

@ -378,11 +378,11 @@
<ul>
<li><a href="https://www.highlightstravel.com/" target="_blank" rel="nofollow">Asia</a></li>
<li><a href="https://www.chinahighlightstravel.de/" target="_blank" rel="nofollow">Deutsch</a></li>
<li><a href="https://www.voyageschine.com/" target="_blank" rel="nofollow">Français</a></li>
<li><a href="https://www.chinahighlights.fr/" target="_blank" rel="nofollow">Français</a></li>
<li><a href="https://www.chinahighlights.es/" target="_blank" rel="nofollow">Español</a></li>
<li><a href="https://www.chinahighlights.it/" target="_blank" rel="nofollow">Italiano</a></li>
<li><a href="https://www.chinahighlights.ru/" target="_blank" rel="nofollow">Русский</a></li>
<li><a href="https://www.arachina.com/" target="_blank" rel="nofollow">日本語</a></li>
<li><a href="https://chinahighlights.jp/" target="_blank" rel="nofollow">日本語</a></li>
</ul>
</div>
<div class="aboutusright followus">

@ -369,7 +369,7 @@
<div>
<ul style="width:185px;">
<li><a href="https://www.chinahighlightstravel.de/" target="_blank" rel="nofollow">Deutsch</a></li>
<li><a href="https://www.voyageschine.com/" target="_blank" rel="nofollow">Français</a></li>
<li><a href="https://www.chinahighlights.fr/" target="_blank" rel="nofollow">Français</a></li>
<li><a href="https://www.chinahighlights.es/" target="_blank" rel="nofollow">Español</a></li>
</ul>
</div>
@ -379,7 +379,7 @@
<li><a href="https://www.chinahighlights.it/" target="_blank" rel="nofollow">Italiano</a></li>
<li><a href="https://www.chinahighlights.ru/" target="_blank" rel="nofollow">Русский</a></li>
<li><a href="https://www.arachina.com/" target="_blank" rel="nofollow">日本語</a></li>
<li><a href="https://chinahighlights.jp/" target="_blank" rel="nofollow">日本語</a></li>
</ul>
</div>
</div>

@ -360,9 +360,9 @@ $config['proxy_ips'] = '';
$config['site'] = [
'cht' => ['site_code' => 'cht', 'site_id' => 14, 'site_lgc' => '1', 'site_url' => 'https://www.chinahighlights.com'],
'gm' => ['site_code' => 'gm', 'site_id' => 22, 'site_lgc' => '4', 'site_url' => 'https://www.chinahighlightstravel.de'],
'vc' => ['site_code' => 'vc', 'site_id' => 30, 'site_lgc' => '5', 'site_url' => 'https://www.voyageschine.com'],
'jp' => ['site_code' => 'jp', 'site_id' => 88, 'site_lgc' => '3', 'site_url' => 'https://www.arachina.com'],
'vac' => ['site_code' => 'vac', 'site_id' => 95, 'site_lgc' => '6', 'site_url' => 'https://www.viaje-a-china.com'],
'vc' => ['site_code' => 'vc', 'site_id' => 30, 'site_lgc' => '5', 'site_url' => 'https://www.chinahighlights.fr'],
'jp' => ['site_code' => 'jp', 'site_id' => 88, 'site_lgc' => '3', 'site_url' => 'https://chinahighlights.jp'],
'vac' => ['site_code' => 'vac', 'site_id' => 95, 'site_lgc' => '6', 'site_url' => 'https://www.chinahighlights.es'],
'it' => ['site_code' => 'it', 'site_id' => 168, 'site_lgc' => '8', 'site_url' => 'https://www.chinahighlights.it'],
'ru' => ['site_code' => 'ru', 'site_id' => 102, 'site_lgc' => '7', 'site_url' => 'https://www.chinahighlights.ru'],
'wt' => ['site_code' => 'wt', 'site_id' => 172, 'site_lgc' => '2', 'site_url' => 'https://www.iiiyooo.com'],

Loading…
Cancel
Save