|
|
|
@ -1463,6 +1463,45 @@ $meta_subnavi_arr = array(
|
|
|
|
|
<input class="form-control" type="text" name="ic_photo" id="ic_photo" value="<?php echo $information->ic_photo; ?>" />
|
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
|
|
|
|
|
<div id="bind_product_code">
|
|
|
|
|
<br/>
|
|
|
|
|
<div class="input-group">
|
|
|
|
|
<input class="form-control" type="text" name="meta_product_code" id="meta_product_code" placeholder="线路代号" value="<?php echo get_meta($information->ic_id, 'meta_product_code'); ?>" />
|
|
|
|
|
<a href="javascript:void(0);" class="btn input-group-addon" onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_product_code', $('#meta_product_code').val())">绑定</a>
|
|
|
|
|
<a href="javascript:void(0);" class="input-group-addon" onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_product_code', $('#meta_product_code').val())"><i class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-remove"></i></a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<?php if($this->config->item('site_code')=='ch'){ ?>
|
|
|
|
|
<script>
|
|
|
|
|
function show_ad_mate(mate_name,value){
|
|
|
|
|
if($('#'+mate_name).prop("checked")){
|
|
|
|
|
meta('save', '<?php echo $information->ic_id; ?>', mate_name, value);
|
|
|
|
|
}else{
|
|
|
|
|
meta('delete', '<?php echo $information->ic_id; ?>', mate_name, value);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<div id="bind_product_code">
|
|
|
|
|
<br/>
|
|
|
|
|
<div class="input-group">
|
|
|
|
|
<label class="checkbox col-xs-24" style="font-weight: normal;margin-top:0;padding-left: 21px;">
|
|
|
|
|
<input type="checkbox" name="meta_google_ad_content" id="meta_google_ad_content" onclick="show_ad_mate('meta_google_ad_content','show')" <?php echo empty(get_meta($information->ic_id, 'meta_google_ad_content'))?'':'checked'; ?> />Match Content 广告
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="bind_product_code">
|
|
|
|
|
<div class="input-group">
|
|
|
|
|
<label class="checkbox col-xs-24" style="font-weight: normal;margin-top:0;padding-left: 21px;">
|
|
|
|
|
<input type="checkbox" name="meta_google_ad_article" id="meta_google_ad_article" onclick="show_ad_mate('meta_google_ad_article','show')" <?php echo empty(get_meta($information->ic_id, 'meta_google_ad_article'))?'':'checked'; ?> />In Article 广告
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php if($this->config->item('site_code')!=='ch'){ ?>
|
|
|
|
|
<label>信息类型</label>
|
|
|
|
|
<select name="ic_type" id="ic_type" class="form-control" onselect="" >
|
|
|
|
|
<?php
|
|
|
|
@ -1473,15 +1512,6 @@ foreach ($infoTypeList as $key => $value) {
|
|
|
|
|
}?>
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<div id="bind_product_code">
|
|
|
|
|
<br/>
|
|
|
|
|
<div class="input-group">
|
|
|
|
|
<input class="form-control" type="text" name="meta_product_code" id="meta_product_code" placeholder="线路代号" value="<?php echo get_meta($information->ic_id, 'meta_product_code'); ?>" />
|
|
|
|
|
<a href="javascript:void(0);" class="btn input-group-addon" onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_product_code', $('#meta_product_code').val())">绑定</a>
|
|
|
|
|
<a href="javascript:void(0);" class="input-group-addon" onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_product_code', $('#meta_product_code').val())"><i class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-remove"></i></a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<label style="width:48px;">模板</label>
|
|
|
|
|
<select name="ic_template" id="ic_template" class="form-control">
|
|
|
|
|
<?php
|
|
|
|
@ -1497,6 +1527,7 @@ foreach ($templateList as $key => $value) {
|
|
|
|
|
<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>
|
|
|
|
|
</select>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<label>作者</label>
|
|
|
|
|
<select name="ic_author" id="ic_author" class="form-control">
|
|
|
|
|