|
|
|
@ -30,7 +30,7 @@ class Amplib {
|
|
|
|
|
}else{
|
|
|
|
|
$data['last_edit_amp_id'] = '';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$this->CI->load->view('bootstrap3/header', $data);
|
|
|
|
|
$this->CI->load->view('amp_editor');
|
|
|
|
|
$this->CI->load->view('bootstrap3/footer');
|
|
|
|
@ -57,7 +57,7 @@ class Amplib {
|
|
|
|
|
break;
|
|
|
|
|
case 'cht':
|
|
|
|
|
$websitehost = 'https://data.chinahighlights.com';
|
|
|
|
|
$html_source_url = 'http://192.155.224.195:2222' . $data['information']->ic_url;
|
|
|
|
|
$html_source_url = 'http://169.54.172.35:3588' . $data['information']->ic_url;
|
|
|
|
|
break;
|
|
|
|
|
case 'gm':
|
|
|
|
|
$websitehost = 'https://data.chinarundreisen.com';
|
|
|
|
@ -113,7 +113,7 @@ class Amplib {
|
|
|
|
|
|
|
|
|
|
//备份修改的代码
|
|
|
|
|
$this->CI->Logs_model->write('backup_amp', $ic_id, $textarea_htmlcode);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//AMP格式验证
|
|
|
|
|
if ($amp_status !== '0') {//只有发布的时候才需要验证
|
|
|
|
|
//把AMP网页内容到purifycss处理,内置了AMP-Validator
|
|
|
|
|