@ -342,7 +342,7 @@
//德语站点跳转测试页面
function goto_gmtest_page() {
var site_url = 'https://www.chinarundreisen.com /gm.php/information/detail/?cache=false&static_html_url=';
var site_url = 'https://www.chinahighlightstravel.de /gm.php/information/detail/?cache=false&static_html_url=';
$('#goto_test_page_button').attr("href", site_url + $('#ic_url').val());
return true;
}
@ -486,10 +486,10 @@
width: '100%',
height: '560px',
readOnly: false,
<?php if ( is_series_site ()) { ?>
<?php if ( is_series_site ()) { ?>
allowedContent: true,
autoParagraph: false,
<?php } ?>
<?php } ?>
filebrowserBrowseUrl: '/wysiwyg/ckfinder/ckfinder.php?sitecode=<?php echo $this -> config -> item ( 'site_code' ); ?> ',
filebrowserUploadUrl: '/wysiwyg/ckfinder/core/connector/php/connector.php?command=QuickUpload& type=image',
contentsCss: '<?php echo $this -> config -> item ( "css_source_" . $this -> config -> item ( "site_code" )); ?> '
@ -602,12 +602,12 @@
< ul id = "treeDemo" name = "treeDemo" class = "ztree" style = "height:600px;overflow-x:auto;" > < / ul >
< ul class = "nav nav-list" >
< li class = "nav-header" >
<?php if ( ! is_mobile_first ()) { ?>
<?php if ( ! is_mobile_first ()) { ?>
< a href = " <?php echo site_url ( 'welcome/create_infomation_urls/' . $information -> is_id ); ?> " target = "_blank" class = "col-sm-5" title = "批量更新静态化页面" >< i class = "text-muted glyphicon glyphicon-retweet" ></ i ></ a >
< a href = " <?php echo site_url ( 'welcome/create_infomation_urls/' . $information -> is_id . '/amp' ); ?> " target = "_blank" class = "col-sm-5" title = "批量更新AMP页面" >< i class = "glyphicon glyphicon-flash" ></ i ></ a >
<?php } else { ?>
<?php } else { ?>
< a href = " <?php echo site_url ( 'welcome/create_infomation_urls/' . $information -> is_id . '/mobile-first' ); ?> " target = "_blank" class = "col-sm-5" title = "批量更新静态页面" >< i class = "glyphicon glyphicon-flash" ></ i ></ a >
<?php } ?>
<?php } ?>
< / li >
< / ul >
< / div >
@ -642,7 +642,7 @@
}
$amp_build_url = "/amp_app/?icid=" . $information->ic_id . "& is_path=" . $information->is_path . "& usr=" . urlencode($amp_user['OPI_Name']) . "& url=" . urlencode($information->ic_url) . "& photo=" . urlencode($amp_photo) . "& site=" . urlencode($this->config->item('site_url')) . "& imgurl=" . urlencode($this->config->item('site_image_url'));
?>
<?php if ( is_series_site ()) {
<?php if ( is_series_site ()) {
$PcAmpChecked = '';
// if (get_meta($information->ic_id, 'AMP_BODY_PC_STATUS') == 'yes') {
// $PcAmpChecked = 'checked';
@ -664,7 +664,7 @@
<!--
< label id = "PcAmp" >
< input type = "checkbox" <?php echo ( $PcAmpChecked ); ?> >
< input type = "checkbox" <?php echo ( $PcAmpChecked ); ?> >
PC端页面也使用构建工具发布
< / label > |
-->
@ -688,16 +688,16 @@
// });
< / script >
<?php
} ?>
<?php if ( $information -> amp_status === '1' ) { ?>
}?>
<?php if ( $information -> amp_status === '1' ) { ?>
< label title = "AMP页面编辑" >< a href = " <?php echo site_url ( 'amp/edit/' . $information -> ic_id ); ?> " target = "_blank" >< i class = "glyphicon glyphicon-flash" ></ i ></ a ></ label >
<?php } ?>
<?php if ( $information -> amp_status === '2' ) { ?>
<?php } ?>
<?php if ( $information -> amp_status === '2' ) { ?>
< label title = "AMP页面编辑" >< a href = " <?php echo site_url ( 'amp/edit/' . $information -> ic_id ); ?> " target = "_blank" >< i class = "glyphicon glyphicon-hand-up" ></ i ></ a ></ label >
<?php } ?>
<?php if ( $information -> amp_status === '0' ) { ?>
<?php } ?>
<?php if ( $information -> amp_status === '0' ) { ?>
< label title = "创建AMP页面" >< a href = " <?php echo site_url ( 'amp/edit/' . $information -> ic_id ); ?> " target = "_blank" >< i class = "glyphicon glyphicon-plus" ></ i ></ a ></ label >
<?php } ?>
<?php } ?>
< / div >
< div class = "col-xs-24" >
< input class = "form-control" type = "text" id = "ic_title" style = " <?php
@ -733,25 +733,25 @@
< a href = "javascript:void(0);" onclick = "goto_page();" id = "goto_page_button" name = "goto_page_button" target = "_blank" title = "查看" > < i class = "glyphicon glyphtext-muted glyphicon glyphicon-eye-open text-muted" > < / i > < / a >
<?php if ( $information -> ic_sitecode == 'ch' ) { ?>
<?php if ( $information -> ic_sitecode == 'ch' ) { ?>
< a href = "javascript:void(0);" onclick = "goto_test_page();" id = "goto_test_page_button" name = "goto_test_page_button" target = "_blank" title = "查看测试页面" > < i class = "glyphicon glyphtext-muted glyphicon glyphicon-random text-muted" > < / i > < / a >
<?php } ?>
<?php if ( $information -> ic_sitecode == 'gm' ) { ?>
<?php } ?>
<?php if ( $information -> ic_sitecode == 'gm' ) { ?>
< a href = "javascript:void(0);" onclick = "goto_gmtest_page();" id = "goto_test_page_button" name = "goto_test_page_button" target = "_blank" title = "查看测试页面" > < i class = "glyphicon glyphtext-muted glyphicon glyphicon-random text-muted" > < / i > < / a >
<?php } ?>
<?php if ( $information -> ic_sitecode == 'htravel' ) { ?>
<?php } ?>
<?php if ( $information -> ic_sitecode == 'htravel' ) { ?>
< a href = "javascript:void(0);" onclick = "goto_ahtest_page();" id = "goto_test_page_button" name = "goto_test_page_button" target = "_blank" title = "查看测试页面" > < i class = "glyphicon glyphtext-muted glyphicon glyphicon-random text-muted" > < / i > < / a >
<?php } ?>
<?php if ( $information -> ic_sitecode == 'gh' ) { ?>
<?php } ?>
<?php if ( $information -> ic_sitecode == 'gh' ) { ?>
< a href = "javascript:void(0);" onclick = "goto_ghtest_page();" id = "goto_test_page_button" name = "goto_test_page_button" target = "_blank" title = "查看测试页面" > < i class = "glyphicon glyphtext-muted glyphicon glyphicon-random text-muted" > < / i > < / a >
<?php } ?>
<?php if ( $information -> ic_sitecode == 'jh' ) { ?>
<?php } ?>
<?php if ( $information -> ic_sitecode == 'jh' ) { ?>
< a href = "javascript:void(0);" onclick = "goto_jhtest_page();" id = "goto_test_page_button" name = "goto_test_page_button" target = "_blank" title = "查看测试页面" > < i class = "glyphicon glyphtext-muted glyphicon glyphicon-random text-muted" > < / i > < / a >
<?php } ?>
<?php } ?>
< / div >
< input class = "form-control col-xs-24" type = "text" id = "ic_url" name = "ic_url" value = " <?php echo $information -> ic_url ; ?> " >
< / div >
<?php if ( $information -> ic_sitecode == 'ct' || $information -> ic_sitecode == 'chinatravel' ) { ?>
<?php if ( $information -> ic_sitecode == 'ct' || $information -> ic_sitecode == 'chinatravel' ) { ?>
< div class = "col-sm-24 col-xs-24 nopadding" >
< label > CT信息旧URL
< a href = "javascript:void(0);" onclick = "meta('delete', ' <?php echo $information -> ic_id ; ?> ', 'meta_ct_oldurl', $('#meta_ct_oldurl').val())" >< i class = "text-muted glyphicon glyphicon-remove" ></ i ></ a >
@ -762,7 +762,7 @@
< / label >
< input type = "text" name = "meta_ct_oldurl" class = "form-control" value = " <?php echo get_meta ( $information -> ic_id , 'meta_ct_oldurl' ); ?> " id = "meta_ct_oldurl" />
< / div >
<?php } ?>
<?php } ?>
< div class = "col-xs-24 edit_tool nopadding" style = "margin-top:5px;" >
< i class = "icon-stop icon-white pull-right" id = "display_count" > < / i >
< / div >
@ -810,11 +810,11 @@
< select name = "meta_website_nav" id = "meta_website_nav" class = "form-control" >
< option value = "" > 不选择< / option >
<?php
if (!empty($setting_website_nav)) {
if (! empty($setting_website_nav)) {
$setting_website_nav_active = trim(get_meta($information->ic_id, 'meta_website_nav'));
foreach ($setting_website_nav as $item) {
$strcasecmp_nav = strcasecmp($setting_website_nav_active, $item->im_value); ?>
< option <?php echo $strcasecmp_nav == 0 ? 'selected' : false ; ?> value = " <?php echo $item -> im_value ?> " >
< option <?php echo $strcasecmp_nav == 0 ? 'selected' : false ; ?> value = " <?php echo $item -> im_value ?> " >
<?php echo $item -> im_value ?>
< / option >
<?php
@ -1000,7 +1000,7 @@
< / div >
< / div >
<?php
} ?>
}?>
< input type = "hidden" name = "ic_photo_width" id = "ic_photo_width" value = " <?php echo $information -> ic_photo_width ; ?> " />
< input type = "hidden" name = "ic_photo_height" id = "ic_photo_height" value = " <?php echo $information -> ic_photo_height ; ?> " />
@ -1021,9 +1021,9 @@
< p > < / p >
< div class = "col-xs-24" >
< label > < a href = "javascript:void(0);" onclick = "$('#customize').toggle();" > 自定义选项< / a > < / label >
<?php if ( $information -> ic_sitecode == "trippest" || $information -> ic_sitecode == "trainspread" || $information -> ic_sitecode == "hly" ) { ?>
<?php if ( $information -> ic_sitecode == "trippest" || $information -> ic_sitecode == "trainspread" || $information -> ic_sitecode == "hly" ) { ?>
< label > < a class = "btn default" data-toggle = "modal" id = "aBokunData" > 管理TPBokun数据 < / a > < / label >
<?php } ?>
<?php } ?>
< / div >
< div id = "customize" class = "col-xs-24" style = "display:none;" >
@ -1124,7 +1124,7 @@
< div class = "col-sm-5 <?php
if ($information->ic_ht_area_type != 'c' & & $information->ic_sitecode != "ct") {
echo 'hidden';
} ?>">
} ?>">
< label > 景点评论数
< a href = "javascript:void(0);" onclick = "meta('delete', ' <?php echo $information -> ic_id ; ?> ', 'meta_review_count', $('#meta_review_count').val())" >< i class = "text-muted glyphicon glyphicon-remove" ></ i ></ a >
< a href = "javascript:void(0);" onclick = "meta('save', ' <?php echo $information -> ic_id ; ?> ', 'meta_review_count', $('#meta_review_count').val())" >< i class = "text-muted glyphicon glyphicon-hdd" ></ i ></ a >
@ -1164,7 +1164,7 @@
echo 'col-sm-4';
} else {
echo 'col-sm-9';
} ?>">
}?>">
< label > 显示作者
< a href = "javascript:void(0);" onclick = "meta('delete', ' <?php echo $information -> ic_id ; ?> ', 'meta_show_author', $('#meta_show_author').val())" >< i class = "text-muted glyphicon glyphtext-muted glyphicon glyphicon-remove" ></ i ></ a >
< a href = "javascript:void(0);" onclick = "meta('save', ' <?php echo $information -> ic_id ; ?> ', 'meta_show_author', $('#meta_show_author').val())" >< i class = "text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd" ></ i ></ a >
@ -1210,7 +1210,7 @@
< / div >
< / div >
<?php
} ?>
}?>
< div class = "row" >
< div class = "col-xs-24" >
< label > 自定义导航
@ -1226,7 +1226,7 @@
< / div >
<?php
} ?>
}?>
< label > og:title
@ -1340,7 +1340,7 @@
< / div >
<?php if ( is_series_site ()) { ?>
<?php if ( is_series_site ()) { ?>
< div class = "row" >
< div class = "col-sm-8" >
< label > 机票目的地
@ -1380,71 +1380,71 @@
< a href = "javascript:void(0);" title = "用于配置此信息对应的一级导航" > < i class = "text-muted glyphicon glyphicon-question-sign" > < / i > < / a >
< / label >
< select name = "meta_subnavi" id = "meta_subnavi" class = "form-control" >
<?php if ( $meta_subnavi = get_meta ( $information -> ic_id , 'meta_subnavi' )) { ?>
<?php if ( $meta_subnavi = get_meta ( $information -> ic_id , 'meta_subnavi' )) { ?>
< option selected = "selected" value = " <?php echo $meta_subnavi ; ?> " >
<?php echo $meta_subnavi_arr [ $meta_subnavi ]; ?>
< / option >
<?php } else { ?>
<?php } else { ?>
< option selected = "selected" value = "info" >
<?php echo $meta_subnavi_arr [ 'info' ]; ?>
< / option >
<?php } ?>
<?php } ?>
< option value = "index" >
<?php echo ( $meta_subnavi_arr [ 'index' ]); ?>
<?php echo ( $meta_subnavi_arr [ 'index' ]); ?>
< / option >
< option value = "tour" >
<?php echo ( $meta_subnavi_arr [ 'tour' ]); ?>
<?php echo ( $meta_subnavi_arr [ 'tour' ]); ?>
< / option >
< option value = "asia_tour" >
<?php echo ( $meta_subnavi_arr [ 'asia_tour' ]); ?>
<?php echo ( $meta_subnavi_arr [ 'asia_tour' ]); ?>
< / option >
< option value = "dest" >
<?php echo ( $meta_subnavi_arr [ 'dest' ]); ?>
<?php echo ( $meta_subnavi_arr [ 'dest' ]); ?>
< / option >
< option value = "tailormade" >
<?php echo ( $meta_subnavi_arr [ 'tailormade' ]); ?>
<?php echo ( $meta_subnavi_arr [ 'tailormade' ]); ?>
< / option >
< option value = "train" >
<?php echo ( $meta_subnavi_arr [ 'train' ]); ?>
<?php echo ( $meta_subnavi_arr [ 'train' ]); ?>
< / option >
< option value = "ship" >
<?php echo ( $meta_subnavi_arr [ 'ship' ]); ?>
<?php echo ( $meta_subnavi_arr [ 'ship' ]); ?>
< / option >
< option value = "hotel" >
<?php echo ( $meta_subnavi_arr [ 'hotel' ]); ?>
<?php echo ( $meta_subnavi_arr [ 'hotel' ]); ?>
< / option >
< option value = "flight" >
<?php echo ( $meta_subnavi_arr [ 'flight' ]); ?>
<?php echo ( $meta_subnavi_arr [ 'flight' ]); ?>
< / option >
< option value = "info" >
<?php echo ( $meta_subnavi_arr [ 'info' ]); ?>
<?php echo ( $meta_subnavi_arr [ 'info' ]); ?>
< / option >
< option value = "deal" >
<?php echo ( $meta_subnavi_arr [ 'deal' ]); ?>
<?php echo ( $meta_subnavi_arr [ 'deal' ]); ?>
< / option >
< option value = "tour2017" >
<?php echo ( $meta_subnavi_arr [ 'tour2017' ]); ?>
<?php echo ( $meta_subnavi_arr [ 'tour2017' ]); ?>
< / option >
< option value = "2015" >
<?php echo ( $meta_subnavi_arr [ '2015' ]); ?>
<?php echo ( $meta_subnavi_arr [ '2015' ]); ?>
< / option >
< option value = "op" >
<?php echo ( $meta_subnavi_arr [ 'op' ]); ?>
<?php echo ( $meta_subnavi_arr [ 'op' ]); ?>
< / option >
< option value = "best" >
<?php echo ( $meta_subnavi_arr [ 'best' ]); ?>
<?php echo ( $meta_subnavi_arr [ 'best' ]); ?>
< / option >
< option value = "culture" >
<?php echo ( $meta_subnavi_arr [ 'culture' ]); ?>
<?php echo ( $meta_subnavi_arr [ 'culture' ]); ?>
< / option >
< option value = "top10" >
<?php echo ( $meta_subnavi_arr [ 'top10' ]); ?>
<?php echo ( $meta_subnavi_arr [ 'top10' ]); ?>
< / option >
< option value = "lifestyle" >
<?php echo ( $meta_subnavi_arr [ 'lifestyle' ]); ?>
<?php echo ( $meta_subnavi_arr [ 'lifestyle' ]); ?>
< / option >
< option value = "aboutus" >
<?php echo ( $meta_subnavi_arr [ 'aboutus' ]); ?>
<?php echo ( $meta_subnavi_arr [ 'aboutus' ]); ?>
< / option >
< / select >
< / div >
@ -1455,13 +1455,13 @@
< a href = "javascript:void(0);" title = "用于配置是否在面包屑中显示Guide首页." > < i class = "text-muted glyphicon glyphicon-question-sign" > < / i > < / a >
< / label >
< select name = "meta_bread_showinfo" id = "meta_bread_showinfo" class = "form-control" >
<?php if ( get_meta ( $information -> ic_id , 'meta_bread_showinfo' ) == 'noshow' ) { ?>
<?php if ( get_meta ( $information -> ic_id , 'meta_bread_showinfo' ) == 'noshow' ) { ?>
< option selected = "selected" value = "noshow" > 不显示< / option >
< option value = "show" > 显示< / option >
<?php } else { ?>
<?php } else { ?>
< option value = "noshow" > 不显示< / option >
< option selected = "selected" value = "show" > 显示< / option >
<?php } ?>
<?php } ?>
< / select >
< / div >
< div class = "col-sm-8" >
@ -1481,10 +1481,10 @@
< / label >
< select name = "meta_haiwai" id = "meta_haiwai" class = "form-control" >
<?php $meta_haiwai = get_meta ( $information -> ic_id , 'meta_haiwai' ); ?>
< option <?php if ( $meta_haiwai == false ) { ?> selected = "selected" <?php } ?> value = "" > 无</ option >
< option <?php if ( $meta_haiwai == 'info' ) { ?> selected = "selected" <?php } ?> value = "info" > 海外信息
< option <?php if ( $meta_haiwai == false ) { ?> selected =" selected " <?php } ?> value = "" > 无</ option >
< option <?php if ( $meta_haiwai == 'info' ) { ?> selected = "selected" <?php } ?> value = "info" > 海外信息
< / option >
< option <?php if ( $meta_haiwai == 'tour' ) { ?> selected = "selected" <?php } ?> value = "tour" > 海外线路
< option <?php if ( $meta_haiwai == 'tour' ) { ?> selected = "selected" <?php } ?> value = "tour" > 海外线路
< / option >
< / select >
< / div >
@ -1496,16 +1496,16 @@
< a href = "javascript:void(0);" title = "是否显示作者和更新日期?" > < i class = "text-muted glyphicon glyphicon-question-sign" > < / i > < / a >
< / label >
< select name = "meta_show_author" id = "meta_show_author" class = "form-control" >
<?php if ( get_meta ( $information -> ic_id , 'meta_show_author' ) == 'show' ) { ?>
<?php if ( get_meta ( $information -> ic_id , 'meta_show_author' ) == 'show' ) { ?>
< option selected = "selected" value = "show" > 显示< / option >
< option value = "hide" > 隐藏< / option >
<?php } else { ?>
<?php } else { ?>
< option value = "show" > 显示< / option >
< option selected = "selected" value = "hide" > 隐藏< / option >
<?php } ?>
<?php } ?>
< / select >
< / div >
<?php if ( $information -> ic_ht_area_type == 'err' ) { ?>
<?php if ( $information -> ic_ht_area_type == 'err' ) { ?>
< div class = "col-sm-8" >
< label > 自定义样式
< a href = "javascript:void(0);" onclick = "meta('delete', ' <?php echo $information -> ic_id ; ?> ', 'meta_my_class', $('#meta_my_class').val())" >< i class = "text-muted glyphicon glyphicon-remove" ></ i ></ a >
@ -1529,11 +1529,11 @@
< / label >
< input class = "form-control" type = "text" name = "meta_z_res" value = " <?php echo get_meta ( $information -> ic_id , 'meta_z_res' ); ?> " id = "meta_z_res" />
< / div >
<?php } ?>
<?php } ?>
< / div >
<?php } ?>
<?php } ?>
<?php if ( $this -> config -> item ( 'site_code' ) == 'gm' ) { ?>
<?php if ( $this -> config -> item ( 'site_code' ) == 'gm' ) { ?>
< div class = "col-sm-8" >
< label > 海外页面标签
< a href = "javascript:void(0);" onclick = "meta('delete', ' <?php echo $information -> ic_id ; ?> ', 'meta_haiwai', $('#meta_haiwai').val())" >< i class = "text-muted glyphicon glyphicon-remove" ></ i ></ a >
@ -1542,16 +1542,16 @@
< / label >
< select name = "meta_haiwai" id = "meta_haiwai" class = "form-control" >
<?php $meta_haiwai = get_meta ( $information -> ic_id , 'meta_haiwai' ); ?>
< option <?php if ( $meta_haiwai == false ) { ?> selected = "selected" <?php } ?> value = "" > 无</ option >
< option <?php if ( $meta_haiwai == 'info' ) { ?> selected = "selected" <?php } ?> value = "info" > 海外信息
< option <?php if ( $meta_haiwai == false ) { ?> selected =" selected " <?php } ?> value = "" > 无</ option >
< option <?php if ( $meta_haiwai == 'info' ) { ?> selected = "selected" <?php } ?> value = "info" > 海外信息
< / option >
< option <?php if ( $meta_haiwai == 'tour' ) { ?> selected = "selected" <?php } ?> value = "tour" > 海外线路
< option <?php if ( $meta_haiwai == 'tour' ) { ?> selected = "selected" <?php } ?> value = "tour" > 海外线路
< / option >
< / select >
< / div >
<?php } ?>
<?php } ?>
<?php if ( $information -> ic_ht_area_type == 'g' ) { ?>
<?php if ( $information -> ic_ht_area_type == 'g' ) { ?>
< div class = "row" >
@ -1592,7 +1592,7 @@
< / div >
< / div >
<?php } ?>
<?php } ?>
< div class = "row" >
< div class = "col-sm-5" >
< label > 展示打赏功能
@ -1643,9 +1643,9 @@
< / div >
<?php if ( $information -> ic_sitecode == "ct" ) { ?>
<?php if ( $information -> ic_sitecode == "ct" ) { ?>
< div class = "row" >
<?php if ( $information -> SRMS_SIC_Code == "Attraction" || $information -> ic_type == "c_attraction_detail" ) { ?>
<?php if ( $information -> SRMS_SIC_Code == "Attraction" || $information -> ic_type == "c_attraction_detail" ) { ?>
< div class = "col-sm-6" >
< label > 景点类别
< a href = "javascript:void(0);" onclick = "meta('delete', ' <?php echo $information -> ic_id ; ?> ', 'meta_attraction_type', $('#meta_attraction_type').val())" >< i class = "text-muted glyphicon glyphtext-muted glyphicon glyphicon-remove" ></ i ></ a >
@ -1771,7 +1771,7 @@
< / option >
< / select >
< / div >
<?php } ?>
<?php } ?>
< div class = "col-sm-6" >
< label > 排序
< a href = "javascript:void(0);" onclick = "meta('delete', ' <?php echo $information -> ic_id ; ?> ', 'meta_attraction_Order', $('#meta_attraction_Order').val())" >< i class = "text-muted glyphicon glyphtext-muted glyphicon glyphicon-remove" ></ i ></ a >
@ -1845,7 +1845,7 @@
< / div >
<?php } ?>
<?php } ?>
<!-- 目的地产品选项 -->
< div class = "row" >
@ -1993,7 +1993,7 @@
< input type = "text" name = "meta_trippest_defaultDate" class = "form-control" value = " <?php echo get_meta ( $information -> ic_id , 'meta_trippest_defaultDate' ); ?> " id = "meta_trippest_defaultDate" />
< / div >
< / div >
<?php if ( $information -> ic_sitecode == "trainspread" || $information -> ic_sitecode == "hly" ) { ?>
<?php if ( $information -> ic_sitecode == "trainspread" || $information -> ic_sitecode == "hly" ) { ?>
< div class = "row" >
< div class = "col-sm-8" >
< label > 产品关联这里做
@ -2056,7 +2056,7 @@
< input type = "text" name = "meta_trainspread_CustomCancel" class = "form-control" value = " <?php echo get_meta ( $information -> ic_id , 'meta_trainspread_CustomCancel' ); ?> " id = "meta_trainspread_CustomCancel" />
< / div >
< / div >
<?php } ?>
<?php } ?>
<!-- 自定义选项 -->
< / div >
@ -2100,7 +2100,7 @@
< / div >
< / div >
<?php if ( is_mobile_first ()) { ?>
<?php if ( is_mobile_first ()) { ?>
< script >
function show_ad_mate(mate_name, value) {
if ($('#' + mate_name).prop("checked")) {
@ -2133,19 +2133,19 @@
< / label >
< / div >
< / div >
<?php } ?>
<?php } ?>
<?php if ( ! is_mobile_first ()) { ?>
<?php if ( ! is_mobile_first ()) { ?>
< label > 信息类型< / label >
< select name = "ic_type" id = "ic_type" class = "form-control" onselect = "" >
<?php
foreach ($infoTypeList as $key => $value) {
$value == $information->ic_type ? $select_str = 'selected' : $select_str = ''; ?>
< option <?php echo $select_str ; ?> value = " <?php echo $value ; ?> " >
< option <?php echo $select_str ; ?> value = " <?php echo $value ; ?> " >
<?php echo $key ; ?>
< / option >
<?php
} ?>
}?>
< / select >
< label style = "width:48px;" > 模板< / label >
@ -2153,11 +2153,11 @@
<?php
foreach ($templateList as $key => $value) {
$value == $information->ic_template ? $select_str = 'selected' : $select_str = ''; ?>
< option <?php echo $select_str ; ?> value = " <?php echo $value ; ?> " >
< option <?php echo $select_str ; ?> value = " <?php echo $value ; ?> " >
<?php echo $key ; ?>
< / option >
<?php
} ?>
}?>
< / select >
< label > 是否作为面包屑显示< / label >
@ -2167,7 +2167,7 @@
< option <?php echo $information -> ic_show_bread_crumbs == 1 ? 'selected' : false ; ?> value = "1" > 显示
< / option >
< / select >
<?php } ?>
<?php } ?>
< label > 作者< / label >
< select name = "ic_author" id = "ic_author" class = "form-control" >
@ -2182,24 +2182,24 @@
$hasselected = true;
} else {
$select_str = '';
if (!$hasselected & & !empty($information->ic_content) & & $information->ic_url_title != 'New Information' & & $editor_item->OPI_Code == 'PKL') {
if (! $hasselected & & ! empty($information->ic_content) & & $information->ic_url_title != 'New Information' & & $editor_item->OPI_Code == 'PKL') {
$select_str = 'selected';
}
} ?>
< option <?php echo ( $select_str ); ?> value = " <?php echo $editor_item -> OPI_Code ; ?> " >
}?>
< option <?php echo ( $select_str ); ?> value = " <?php echo $editor_item -> OPI_Code ; ?> " >
<?php echo $editor_item -> OPI_Name ; ?>
< / option >
<?php
} ?>
}?>
< option value = "" > -< / option >
<?php
foreach ($author_list as $author_item) {
($author_item->a_id == $information->ic_author) ? $select_str = 'selected' : $select_str = ''; ?>
< option <?php echo $select_str ; ?> value = " <?php echo $author_item -> a_id ; ?> " >
< option <?php echo $select_str ; ?> value = " <?php echo $author_item -> a_id ; ?> " >
<?php echo $author_item -> a_name ; ?>
< / option >
<?php
} ?>
}?>
< / select >
< label > 是否发布< / label >
@ -2219,23 +2219,23 @@
< input type = "checkbox" name = "ignore_url_check" id = "ignore_url_check" / > 忽略URL重复
< / label >
< div class = "clearfix" > < / div >
<?php if ( in_array ( $this -> config -> item ( 'site_code' ), [ 'ch' , 'cht' , 'gm' , 'htravel' , 'jh' , 'gh' , 'ct' , 'chinatravel' , 'shanghai' , 'beijing' , 'trainspread' , 'guilin' , 'hly' ])) { ?>
<?php if ( in_array ( $this -> config -> item ( 'site_code' ), [ 'ch' , 'cht' , 'gm' , 'htravel' , 'jh' , 'gh' , 'ct' , 'chinatravel' , 'shanghai' , 'beijing' , 'trainspread' , 'guilin' , 'hly' ])) { ?>
< label class = "checkbox col-xs-24" style = "font-weight: normal;margin-top:0;padding-left: 21px;" >
< input type = "checkbox" name = "auto_update_cache_checkbox" id = "auto_update_cache_checkbox" onclick = "get_update_cache_url();" value = " <?php echo $information -> ic_url ; ?> " /> 静态更新
< / label >
<?php } ?>
<?php } ?>
<?php if ( in_array ( $this -> config -> item ( 'site_code' ), [ 'cht' , 'gm' ])) { ?>
<?php if ( in_array ( $this -> config -> item ( 'site_code' ), [ 'cht' , 'gm' ])) { ?>
< label class = "checkbox col-xs-24" style = "font-weight: normal;margin-top:0;padding-left: 21px;" >
< input type = "checkbox" name = "auto_update_amp" id = "auto_update_amp" <?php if ( $information -> amp_status === '2' ) {
echo 'disabled';
} ?> value="true" />AMP更新
}?> value="true" />AMP更新
<?php if ( $information -> amp_status === '2' ) {
echo '< i class = "glyphicon glyphicon-hand-up" title = "手动管理,不会自动更新" > < / i > ';
} ?>
}?>
< / label >
<?php } ?>
<?php } ?>
< div class = "clearfix" > < / div >
@ -2244,21 +2244,21 @@
< a href = "javascript:void(0);" class = "btn btn-primary col-xs-19" onclick = " editor . updateElement ( ) ;
// 保存增加AMP判断 - lmr
// <?php if ( get_meta ( $information -> ic_id , 'AMP_JSON' ) && get_meta ( $information -> ic_id , 'AMP_STATUS' ) && get_meta ( $information -> ic_id , 'AMP_BODY_PC_STATUS' ) !== 'yes' ) { ?>
// <?php if ( get_meta ( $information -> ic_id , 'AMP_JSON' ) && get_meta ( $information -> ic_id , 'AMP_STATUS' ) && get_meta ( $information -> ic_id , 'AMP_BODY_PC_STATUS' ) !== 'yes' ) { ?>
// if (!$('#PcAmp input').is(':checked')) {
// var amp_confirm = window.confirm('\n检测到页面存在AMP版本, 是否需要打开AMP编辑界面? \n\r注意: 如果修改了PC端版本, 那么同时也需要修改AMP版本。\n');
// if (amp_confirm) {
// window.open('<?php echo ( $amp_build_url ); ?> ', '_blank');
// window.open('<?php echo ( $amp_build_url ); ?> ', '_blank');
// }
// }
// <?php } ?>
// <?php } ?>
<?php if ( get_meta ( $information -> ic_id , 'AMP_JSON' ) && get_meta ( $information -> ic_id , 'AMP_STATUS' ) && get_meta ( $information -> ic_id , 'AMP_BODY_PC_STATUS' ) === 'yes' ) { ?>
<?php if ( get_meta ( $information -> ic_id , 'AMP_JSON' ) && get_meta ( $information -> ic_id , 'AMP_STATUS' ) && get_meta ( $information -> ic_id , 'AMP_BODY_PC_STATUS' ) === 'yes' ) { ?>
// if (editor.element.getText() == '') {
// editor.setData('From HTML-Generator');
// editor.updateElement();
// }
<?php } ?>
<?php } ?>
if (information_check() != false) {
submitForm('form_information_edit');
}">保存修改< / a >
@ -2279,7 +2279,7 @@
< li class = "dropdown-submenu pull-left" >
< a id = "history_log_toggle" tabindex = "-1" href = "javascript:void(0);" > 历史记录< / a >
< ul class = "dropdown-menu history_log" style = "right: 157px;left: inherit;top: 83px;" >
<?php foreach ( $content_backup_list as $item ) { ?>
<?php foreach ( $content_backup_list as $item ) { ?>
< li >
< a href = " <?php echo site_url ( 'information/backup_content/' . $item -> log_id ); ?> " target = "_blank" >
<?php echo $item -> log_datetime ?>
@ -2287,16 +2287,16 @@
<?php echo $item -> log_ht_username ?>
< / a >
< / li >
<?php } ?>
<?php } ?>
< / ul >
< / li >
< / ul >
<?php if ( ! empty ( $has_html_file )) { ?>
<?php if ( ! empty ( $has_html_file )) { ?>
< label class = "checkbox col-xs-24" style = "font-weight: normal;margin-top:30px;padding-left: 21px;" >
< a href = " <?php echo site_url ( 'information/html_file_helper/delete?ic_url=' ) . $information -> ic_url ; ?> " target = "_blank" > 静态文件已生成,点击删除</ a >
< / label >
<?php } ?>
<?php } ?>
< / div >
< div class = "clearfix" > < / div >
@ -2316,9 +2316,9 @@
< / div >
< / div >
< textarea id = "mobile_first_template" style = "display: none;" > <?php if ( ! empty ( $mobile_first_template )) {
< textarea id = "mobile_first_template" style = "display: none;" > <?php if ( ! empty ( $mobile_first_template )) {
echo htmlentities($mobile_first_template);
} ?>< / textarea >
}?>< / textarea >
<!-- Trippest bokun窗口 -->
< div class = "modal fade" id = "NoPermissionModal" >