|
|
|
|
@ -205,9 +205,9 @@
|
|
|
|
|
|
|
|
|
|
//加载预览样式
|
|
|
|
|
function load_preview_css(){
|
|
|
|
|
$("iframe.ke-edit-iframe").contents().find("head").append('<?php echo $this->config->item("css_source_".$this->config->item("site_code")); ?><style>.drop1{height:auto !important;} .photoRight img{max-width:100%;height:auto !important;}</style>');
|
|
|
|
|
$("iframe.ke-edit-iframe").contents().find(".ke-content").css({"max-width":"1024px","margin-left":"auto","margin-right":"auto"});
|
|
|
|
|
|
|
|
|
|
// $("iframe.ke-edit-iframe").contents().find("head").append('<?php // echo $this->config->item("css_source_".$this->config->item("site_code")); ?><style>.drop1{height:auto !important;} .photoRight img{max-width:100%;height:auto !important;}</style>');
|
|
|
|
|
// $("iframe.ke-edit-iframe").contents().find(".ke-content").css({"max-width":"1024px","margin-left":"auto","margin-right":"auto"});
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function get_analytics_ajax(formid, contentid, loadtotal) {
|
|
|
|
|
@ -526,12 +526,12 @@
|
|
|
|
|
<i class="icon-stop icon-white pull-right" id="display_count">-</i>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<textarea id="ic_content" name="ic_content" ><?php echo str_replace($this->config->item('site_image_url'), $this->config->item('media_image_url'), $information->ic_content); ?></textarea>
|
|
|
|
|
|
|
|
|
|
<textarea id="ic_content" name="ic_content" ><?php echo str_replace($this->config->item('site_image_url'), $this->config->item('media_image_url'), $information->ic_content); ?></textarea>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<textarea name="ic_summary" id="ic_summary" class="col-xs-24" placeholder="信息简介" style="border:none;border-bottom:1px solid #bbb;"><?php echo $information->ic_summary; ?></textarea>
|
|
|
|
|
<textarea name="ic_summary" id="ic_summary" class="col-xs-24" placeholder="信息简介" style="border:none;border-bottom:1px solid #bbb;"><?php echo $information->ic_summary; ?></textarea>
|
|
|
|
|
<div class="col-xs-24">
|
|
|
|
|
<label>SEO标题<em class="pull-right muted" id="ic_seo_title_count"></em></label>
|
|
|
|
|
<input class="form-control" type="text" onkeyup="change_seo_count(this.id);" id="ic_seo_title" name="ic_seo_title" value="<?php echo $information->ic_seo_title; ?>" >
|
|
|
|
|
@ -580,7 +580,7 @@
|
|
|
|
|
<label><a href="javascript:void(0);" onclick="$('#customize').toggle();">自定义选项</a> </label>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="customize" class="col-xs-24" style="display:none;">
|
|
|
|
|
<div id="customize" class="col-xs-24" style="display:none;">
|
|
|
|
|
|
|
|
|
|
<!-- 自定义选项 -->
|
|
|
|
|
|
|
|
|
|
@ -631,7 +631,7 @@
|
|
|
|
|
<a href="javascript:void(0);" title="自定义面包屑导航,填写文章ID,以英文逗号分隔."><i class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-question-sign"></i></a>
|
|
|
|
|
</label>
|
|
|
|
|
<input name="meta_bread_info" id="meta_bread_info" type="text" class="form-control" placeholder="124343,8784," value="<?php echo get_meta($information->ic_id, 'meta_bread_info'); ?>" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
@ -692,10 +692,10 @@
|
|
|
|
|
</label>
|
|
|
|
|
<select name="meta_show_author" id="meta_show_author" class="form-control" >
|
|
|
|
|
<option value="yes" >展示</option>
|
|
|
|
|
<option <?php echo get_meta($information->ic_id, 'meta_show_author') === 'no' ? 'selected' : FALSE; ?> value="no" >不展示</option>
|
|
|
|
|
<option <?php echo get_meta($information->ic_id, 'meta_show_author') === 'no' ? 'selected' : FALSE; ?> value="no" >不展示</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
@ -705,7 +705,7 @@
|
|
|
|
|
<a href="javascript:void(0);" onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_navigation', $('#meta_navigation').val())"><i class="text-muted glyphicon glyphicon-hdd"></i></a>
|
|
|
|
|
<a href="javascript:void(0);" title="自定义导航."><i class="text-muted glyphicon glyphicon-question-sign"></i></a>
|
|
|
|
|
</label>
|
|
|
|
|
<textarea name="meta_navigation" id="meta_navigation" class="form-control" ><?php echo get_meta($information->ic_id, 'meta_navigation'); ?></textarea>
|
|
|
|
|
<textarea name="meta_navigation" id="meta_navigation" class="form-control" ><?php echo get_meta($information->ic_id, 'meta_navigation'); ?></textarea>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
@ -752,7 +752,7 @@
|
|
|
|
|
<select name="meta_festival_only_month" id="meta_festival_only_month" class="form-control" >
|
|
|
|
|
<option value="no" >否</option>
|
|
|
|
|
<option <?php echo get_meta($information->ic_id, 'meta_festival_only_month') === 'yes' ? 'selected' : FALSE; ?> value="yes" >是</option>
|
|
|
|
|
</select>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
@ -811,7 +811,7 @@
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="span4">
|
|
|
|
|
<div class="span4">
|
|
|
|
|
<label>机票目的地
|
|
|
|
|
<a href="javascript:void(0);" onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_flights_city', $('#meta_flights_city').val())"><i class="text-muted glyphicon glyphicon-remove"></i></a>
|
|
|
|
|
<a href="javascript:void(0);" onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_flights_city', $('#meta_flights_city').val())"><i class="text-muted glyphicon glyphicon-hdd"></i></a>
|
|
|
|
|
@ -819,9 +819,9 @@
|
|
|
|
|
</label>
|
|
|
|
|
<input name="meta_flights_city" id="meta_flights_city" type="text" class="span12" value="<?php echo get_meta($information->ic_id, 'meta_flights_city'); ?>" />
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="span4">
|
|
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
<div class="span4">
|
|
|
|
|
<?php
|
|
|
|
|
$meta_subnavi_arr = array(
|
|
|
|
|
'index' => '首页',
|
|
|
|
|
'tour' => '线路',
|
|
|
|
|
@ -890,14 +890,14 @@
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if ($information->ic_ht_area_type == 'g') { ?>
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="span3">
|
|
|
|
|
<div class="span3">
|
|
|
|
|
<label>最大团购数
|
|
|
|
|
<a href="javascript:void(0);" onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_groupon_init', $('#meta_groupon_init').val())"><i class="text-muted glyphicon glyphicon-remove"></i></a>
|
|
|
|
|
<a href="javascript:void(0);" onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_groupon_init', $('#meta_groupon_init').val())"><i class="text-muted glyphicon glyphicon-hdd"></i></a>
|
|
|
|
|
@ -933,7 +933,7 @@
|
|
|
|
|
<input type="text" name="meta_groupon_end" class="span12" value="<?php echo get_meta($information->ic_id, 'meta_groupon_end'); ?>" id="meta_groupon_end"/>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
<!-- 自定义选项 -->
|
|
|
|
|
</div>
|
|
|
|
|
@ -964,9 +964,9 @@
|
|
|
|
|
?>
|
|
|
|
|
<option <?php echo $select_str; ?> value="<?php echo $value; ?>" ><?php echo $key; ?></option>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
</select>
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<label>模板</label>
|
|
|
|
|
<label>模板</label>
|
|
|
|
|
<select name="ic_template" id="ic_template" class="form-control">
|
|
|
|
|
<?php
|
|
|
|
|
foreach ($templateList as $key => $value) {
|
|
|
|
|
@ -976,7 +976,7 @@
|
|
|
|
|
<?php } ?>
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<label>是否作为面包屑显示</label>
|
|
|
|
|
<label>是否作为面包屑显示</label>
|
|
|
|
|
<select name="ic_show_bread_crumbs" id="ic_show_bread_crumbs" class="form-control">
|
|
|
|
|
<option <?php echo $information->ic_show_bread_crumbs == 0 ? 'selected' : FALSE; ?> value="0" >不显示</option>
|
|
|
|
|
<option <?php echo $information->ic_show_bread_crumbs == 1 ? 'selected' : FALSE; ?> value="1" >显示</option>
|
|
|
|
|
@ -984,7 +984,7 @@
|
|
|
|
|
|
|
|
|
|
<label>作者</label>
|
|
|
|
|
<select name="ic_author" id="ic_author" class="form-control">
|
|
|
|
|
<option value="" >-</option>
|
|
|
|
|
<option value="" >-</option>
|
|
|
|
|
<?php
|
|
|
|
|
$userinfo=$this->session->userdata('session_admin');
|
|
|
|
|
$hasselected=false;
|
|
|
|
|
@ -1001,14 +1001,14 @@
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
<option <?php echo $select_str; ?> value="<?php echo $editor_item->OPI_Code; ?>" ><?php echo $editor_item->OPI_Name; ?></option>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
<?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; ?>" ><?php echo $author_item->a_name; ?></option>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<label>是否发布</label>
|
|
|
|
|
@ -1023,7 +1023,7 @@
|
|
|
|
|
<input type="checkbox" name="ignore_seo_check" id="ignore_seo_check" />忽略SEO检测
|
|
|
|
|
</label>
|
|
|
|
|
|
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
<label class="checkbox col-xs-24" style="font-weight: normal;margin-top:0;padding-left: 21px;">
|
|
|
|
|
<input type="checkbox" name="ignore_url_check" id="ignore_url_check" />忽略URL重复
|
|
|
|
|
</label>
|
|
|
|
|
@ -1037,7 +1037,7 @@
|
|
|
|
|
</label>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
<p class="col-xs-24 nopadding">
|
|
|
|
|
<button type="button" id="btn-mobile-friendly" class="btn btn-sm" onclick="$('#btn-mobile-friendly').button('loading');$('#mobile_friendly_status').html('');mobile_friendly();">自适应检测</button>
|
|
|
|
|
<span id="mobile_friendly_status"></span>
|
|
|
|
|
@ -1067,7 +1067,7 @@
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
<p></p>
|
|
|
|
|
<div class="error-tips hide" style="background-color: rgb(242, 222, 222);padding:5px; overflow: hidden;">
|
|
|
|
|
<ol id="error-tops" style="padding-left:20px;"></ol>
|
|
|
|
|
@ -1113,4 +1113,4 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|