<?php //  代码各服务器已经同步 2016.06.01 ycc       test-delpoy
?>
<script type="text/javascript" src="/wysiwyg/ckeditor.js"></script>
<script type="text/javascript">
  var content_length = 0;
  var setting = {
    view: {
      expandSpeed: "",
      dblClickExpand: true,
      showLine: true,
      showTitle: false,
      addHoverDom: addHoverDom,
      removeHoverDom: removeHoverDom,
      selectedMulti: false,
      fontCss: set_font_css
    },
    data: {
      simpleData: {
        enable: true
      }
    },
    edit: {
      enable: true,
      showRenameBtn: false,
      showRemoveBtn: false,
      drag: {
        isCopy: false,
        isMove: true,
        prev: true,
        next: true,
        inner: true
      }
    },
    callback: {
      onClick: onClickzTree,
      beforeDrop: beforeDrop,
      onDrop: onDrop
    }
  };

  zNodes = <?php echo json_encode($informationList); ?>;

  function onClickzTree(e, treeId, treeNode, clickFlag) {
    var urlReQuery = "<?php echo site_url('information/edit/'); ?>";
    window.location.href = urlReQuery + '/' + treeNode.id;
    return true;
  }

  function addHoverDom(treeId, treeNode) {
    var sObj = $("#" + treeNode.tId + "_span");
    if ($("#addBtn_" + treeNode.id).length > 0)
      return;
    var addStr = "<span class='button add' id='addBtn_" + treeNode.id +
      "' title='u589eu52a0' onfocus='this.blur();'></span>";
    sObj.append(addStr);
    var btn = $("#addBtn_" + treeNode.id);
    if (btn)
      btn.bind("click", function () {
        var urlReQuery = "<?php echo site_url('information/add/'); ?>";
        $.ajax({
          type: "get",
          url: urlReQuery + '/' + treeNode.id,
          success: function (data, textStatus) {
            var dataArray = $.parseJSON(data); //JSON.parse(data);
            for (var key in dataArray) {
              if (dataArray[key].name == 'ok') {
                var infoStructure = dataArray[key].value;
                var zTree = $.fn.zTree.getZTreeObj(treeId);
                zTree.addNodes(treeNode, {
                  id: (infoStructure.is_id),
                  pId: treeNode.id,
                  name: "New Information"
                });
              } else {
                $.modaldialog.error('发生错误，请联系YCC.' + dataArray[key].value);
              }
            }
          },
          error: function () {
            alert('发生错误，请联系YCC');
          }
        });
        return false;
      });
  };

  function removeHoverDom(treeId, treeNode) {
    $("#addBtn_" + treeNode.id).unbind().remove();
  };

  //节点移动规则
  function beforeDrop(treeId, treeNodes, targetNode, moveType) {
    var move_type_title;
    if (moveType == 'inner') {
      move_type_title = ' 之中，成为子节点';
    } else if (moveType == 'prev') {
      move_type_title = ' 之前';
    } else if (moveType == 'next') {
      move_type_title = ' 之后';
    }
    //是否把子节点移到根节点
    if (targetNode.getParentNode() == null) {
      if (moveType == 'inner') { //只允许放到根节点之内
        if (confirm('是否把 ' + treeNodes[0].name + ' 移到 ' + targetNode.name + move_type_title)) {
          return true;
        }
      }
    } else {
      if (treeNodes[0].getParentNode().tId != targetNode.getParentNode().tId || moveType == 'inner') {
        if (confirm('是否把 ' + treeNodes[0].name + ' 移到 ' + targetNode.name + move_type_title)) {
          return true;
        }
      } else {
        return true;
      }
    }
    return false;
  }

  function onDrop(event, treeId, treeNodes, targetNode, moveType) {
    var idStr = '';
    if (targetNode != null && treeNodes[0].getParentNode() != null) {
      var childNodes = treeNodes[0].getParentNode().children;
      for (var i = 0; i < childNodes.length; i++) {
        idStr = idStr + childNodes[i].id + ',';
      }
      //alert(treeNodes[0].getParentNode().name+' - '+idStr);
      var urlReQuery = "<?php echo site_url('information/move'); ?>";
      $.ajax({
        type: "post",
        url: urlReQuery,
        data: {
          'pid': treeNodes[0].getParentNode().id,
          'ids': idStr
        },
        success: function (data, textStatus) {
          return true;
        },
        error: function () {
          $.modaldialog.error('发生错误，请联系YCC');
          return false;
        }
      });
    }
  }


  //移动到任意节点下
  function move_by_is_id(is_id) {
    is_parent_id = prompt("请输入移动到的节点ID(is_id):", "");
    if (is_parent_id != null) {
      if (confirm('请确认是否要移动到:' + is_parent_id)) {
        var urlReQuery = "<?php echo site_url('information/move_by_is_id'); ?>";
        $.ajax({
          type: "post",
          url: urlReQuery,
          data: {
            'is_id': is_id,
            'is_parent_id': is_parent_id
          },
          success: function (data, textStatus) {
            window.location.href = "<?php echo site_url('information/edit'); ?>/" + is_id;
            return true;
          },
          error: function () {
            $.modaldialog.error('发生错误，请联系YCC');
            return false;
          }
        });
      }
    }
  }

  //删除结构和信息
  function deleteInfo(is_id) {
    if (confirm('是否删除?')) {
      var urlReQuery = "<?php echo site_url('information/delete/'); ?>";
      $.ajax({
        type: "get",
        url: urlReQuery + '/' + is_id,
        success: function (data, textStatus) {
          var dataArray = $.parseJSON(data); //JSON.parse(data);
          for (var key in dataArray) {
            if (dataArray[key].name == 'ok') {
              $.modaldialog.success('删除成功!，程序正在刷新...');
              setTimeout(function () {
                window.location.href = dataArray[key].value;
              }, 500);
              return true;
            } else if (dataArray[key].name == 'no') {
              $.modaldialog.error(dataArray[key].value);
              return false;
            }
          }
        },
        error: function () {
          $.modaldialog.error('发生错误，请联系YCC');
          return false;
        }
      });
    }
  }

  //设置样式
  function set_font_css(treeId, treeNode) {
    var nodeColor = '';
    if (treeNode.status !== 1) {
      nodeColor = 'red';
    }
    return treeNode.level == 1 ? {
      'font-weight': 'bold',
      'color': nodeColor
    } : {
      'color': nodeColor
    };
  }

  //加载预览样式
  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"
    });

  }


  //选择主图片
  function openKCFinder_Root() {
    var site_url = '<?php echo $this->config->item('site_url') ?>';
    var weburl = encodeURI(site_url + $("#ic_url").val());
    window.CallBack = openKCFinder_Root_callback;
    window.open(
      '/media/popselectpicture.php?site_code=<?php echo $this->config->item('site_code'); ?>&site_lgc=<?php echo $this->config->item('site_lgc'); ?>&WebUrl=' +
      weburl, 'kcfinder_textbox',
      'status=0, toolbar=0, location=0, menubar=0, directories=0,resizable=1, scrollbars=0, width=800, height=600');
  }

  function openKCFinder_Root_callback(result) {
    var site_image_url = '<?php echo $this->config->item('media_image_url') ?>';
    if (result != null && result.Pinfo[0]) {
      $("#ic_photo").val(result.Pinfo[0].PUrl);
      $("#ic_photo_img").attr("src", site_image_url + result.Pinfo[0].PUrl);
      $("#ic_photo_width").val(result.Pinfo[0].Width);
      $("#ic_photo_height").val(result.Pinfo[0].Height);
      $("#use_pictures").val(result.Pinfo[0].ID + ':' + result.Pinfo[0].PUrl + ':' + result.Pinfo[0].wh + ',');
    }
  }

  //删除主图片
  function delete_root_image() {
    $("#ic_photo").val('');
    $("#ic_photo_img").attr("src", '/css/images/uploadPic.jpg');
  }



  //搜索产品列表
  function select_product_list(product_type, product_name) {
    $("#product_list_ul").html('waiting...');
    $.ajax({
      type: "post",
      dataType: "json",
      url: "<?php echo site_url('information/get_products/'); ?>",
      data: {
        'product_type': product_type,
        'product_name': product_name
      },
      success: function (data, textStatus) {
        for (var key in data) {
          if (data[key].name == 'ok') {
            $("#product_list_ul").html(data[key].value);
            return true;
          }
        }
      },
      error: function () {
        $.modaldialog.error('发生错误，请联系YCC');
        return false;
      }
    });
  }

  //选择绑定的产品
  function select_product(product_type, product_id, product_title) {
    $("#ic_ht_product_id").val(product_id);
    $("#ic_ht_product_type").val(product_type);
    $("#ht_product_title").val(product_title);
    $('#ht_product_box').hide();
  }

  //格式化url
  function format_url() {
    var url = $('#ic_url').val();
    $('#ic_url').val(url.toLowerCase().replace(/ /g, '-'));
    return true;
  }


  //添加绑定景点
  function add_landscape(area_id, lsi_sn) {
    var urlReQuery = "<?php echo site_url('information/add_landscape/'); ?>";
    $.ajax({
      type: "get",
      url: urlReQuery + '/' + area_id + '/' + lsi_sn,
      success: function (data, textStatus) {
        var dataArray = $.parseJSON(data); //JSON.parse(data);
        for (var key in dataArray) {
          if (dataArray[key].name == 'ok') {
            window.location.href = dataArray[key].value;
            return true;
          } else if (dataArray[key].name == 'no') {
            $.modaldialog.error(dataArray[key].value);
            return false;
          }
        }
      },
      error: function () {
        $.modaldialog.error('发生错误，请联系YCC');
        return false;
      }
    });
  }

  //跳转到前台页面
  function goto_page() {
    var site_url = '<?php echo $this->config->item('site_url') ?>';
    $('#goto_page_button').attr("href", site_url + $('#ic_url').val());
    return true;
  }

  //跳转到测试页面
  function goto_test_page() {
    var site_url = 'https://proxy-www.chinahighlights.com';
    $('#goto_test_page_button').attr("href", site_url + $('#ic_url').val());
    return true;
  }

  //德语站点跳转测试页面
  function goto_gmtest_page() {
    var site_url = 'https://www.chinarundreisen.com/gm.php/information/detail/?cache=false&static_html_url=';
    $('#goto_test_page_button').attr("href", site_url + $('#ic_url').val());
    return true;
  }

  //ah跳转测试页面
  function goto_ahtest_page() {
    var site_url = 'https://proxy-www.asiahighlights.com';
    $('#goto_test_page_button').attr("href", site_url + $('#ic_url').val());
    return true;
  }

  function goto_test_page_pgr() {
    var site_url = 'http://192.155.250.125:8011/guide.php/travelguide/guide/?static_html_url=';
    $('#goto_test_page_button').attr("href", site_url + $('#ic_url').val());
    return true;
  }

  //跳转到HTML验证页面
  function goto_validator() {
    var site_url = '<?php echo $this->config->item('site_url') ?>';
    $('#goto_validator_button').attr("href", 'https://validator.w3.org/nu/?doc=' + site_url + $('#ic_url').val());
    return true;
  }

  //更新缓存
  function get_update_cache_url() {
    $('#auto_update_cache_checkbox').val($('#ic_url').val());
    return true;
  }

  function init_recommend_popover(elem, container) {
    $(elem).popover({
      'container': container,
      'title': 'title',
      'content': function () { },
      'placement': 'bottom',
      'trigger': 'click',
      'template': '<div class="popover recommend_info_popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title hidden"></h3><div class="popover-content" style="width:500px;"></div><div class="col-xs-24" style="background:#eee;padding: 8px 10px;margin-top: -19px;border-bottom:1px solid #ddd;"><div class="col-xs-22" style="padding-left:0;"><div class="input-group"><input type="text" class="form-control" id="article_key" name="article_key" placeholder="文章URL、标题或关键词"><span class="input-group-btn"><button class="btn btn-default" id="btn_search_article_list" type="button">搜索</button></span></div></div><div class="col-xs-2" style="border-left:1px solid #bbb;height:32px;line-height:38px;font-size:18px;"><a href="javascript:void(0);" onclick="$(\'#meta_recommend_info\').popover(\'hide\');$(\'#meta_related_info\').popover(\'hide\');$(\'#meta_bread_info\').popover(\'hide\');" class="glyphicon glyphicon-remove text-danger"></a></div></div><div class="col-xs-24" id="recommended_list"></div><div class="col-xs-24" id="recommend_list" style="padding-left:0;"></div></div>'
    });
    $(elem).on('shown.bs.popover', function () {
      var right_offset = document.documentElement["clientWidth"] - $(elem)[0].getBoundingClientRect().right;
      if (right_offset < 300) {
        $(elem).next(".recommend_info_popover").attr('style', "left:" + (-(400 - right_offset)) +
          "px !important;display: block;");
      };
      var ic_id_list = $(elem).val();
      if (ic_id_list == '' || $("#recommended_list").html() != '') {
        return false;
      };
      $("#recommended_list").html('<img src="/css/images/loading.gif" >');
      var url = "<?php echo site_url('/welcome/search_by_icid/'); ?>";
      $.post(url, {
        "ic_id_list": ic_id_list
      }, function (html) {
        $("#recommended_list").html(html);
      });
    }).on('hidden.bs.popover', function () {
      setTimeout(function () {
        $(".recommend_info_popover").remove();
      }, 0);
    });

    $("body").on("click", "#btn_search_article_list", function () {
      $("#recommend_list").html('<img src="/css/images/loading.gif" >');
      var url = "<?php echo site_url('/welcome/search/1'); ?>";
      var key = $("#article_key").val();
      var ic_id_list = $(elem).val();
      $.post(url, {
        'keywords': key,
        "ic_id_list": ic_id_list
      }, function (html) {
        $("#recommend_list").html(html);
      });
    });
  }

  //初始化树形菜单
  $(document).ready(function () {
    $("#history_log_toggle").hover(function () {
      $(".history_log").css({
        "display": "block"
      });
    }, function () { });
    $(".history_log").hover(function () { },
      function () {
        $(".history_log").css({
          "display": "none"
        });
      });

    setTimeout(function () {
      $("#treeDemo").css({
        "overflow-y": "hidden"
      });
    }, 100);
    $.fn.zTree.init($("#treeDemo"), setting, zNodes);
    var zTree = $.fn.zTree.getZTreeObj('treeDemo');
    var nodes = zTree.getNodes();
    //是否自动展开节点
    if (nodes.length > 0) {
      zTree.expandNode(nodes[0], true, false, true);
      //展开子节点
      //for(var key in nodes[0].children){
      //  zTree.expandNode(nodes[0].children[key], true, false, true);
      //}
    }
    //选择节点
    var node = zTree.getNodeByParam("id", <?php echo $information->is_id ?>);
    zTree.selectNode(node);

    change_seo_count('ic_seo_title');
    change_seo_count('ic_seo_description');
    change_seo_count('meta_note');
    change_seo_count('meta_note_ogtitle');

    init_recommend_popover("#meta_recommend_info", ".meta_recommend_info_box");
    init_recommend_popover("#meta_related_info", ".meta_related_info_box");
    init_recommend_popover("#meta_bread_info", ".meta_bread_info_box");


  });


  var editor;
  window.onload = function () {
    editor = CKEDITOR.replace("ic_content", {
      width: '100%',
      height: '560px',
      readOnly: <?php echo (get_meta($information->ic_id, 'AMP_BODY_PC_STATUS') === 'yes' ? 'true' : 'false'); ?>,
        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")); ?>'
  });
};

  function switch_preview_tree() {
    if ($("#preview_box").is(":hidden")) {
      update_preview();
      $("#preview_box").show();
      $("#tree_box").hide();
    } else {
      $("#preview_box").hide();
      $("#tree_box").show();
    }
  }

  function update_preview() {
    //考虑做成异步操作，降低页面卡顿
    var iframe = document.createElement('iframe');
    iframe.setAttribute('frameBorder', '0');
    iframe.setAttribute('id', 'previewIframe');
    iframe.setAttribute('height', '100%');
    iframe.setAttribute('width', '100%');
    iframe.setAttribute('name', 'AMP Playground Output');
    $('#preview_box').html('');
    $('#preview_box').append(iframe);
    var html_code = $('#mobile_first_template').text().replace('<!--@CUSTOM-CONENT@-->', editor.getData()).replace(
      '<!--@HEAD_1@-->', $("#ic_title").val());
    var doc = iframe.contentDocument || iframe.document;
    doc.open();
    doc.write(html_code);
    doc.close();
  }

  //新闻日历
  $(function () {
    $("#meta_news_createdate").datepicker({
      showButtonPanel: true
    });
  })

  //节庆开始日期
  $(function () {
    $("#meta_festival_start").datepicker({
      showButtonPanel: true
    });
  })

  //节庆结束日期
  $(function () {
    $("#meta_festival_end").datepicker({
      showButtonPanel: true
    });
  })

  //团购结束时间
  $(function () {
    $("#meta_groupon_end").datepicker({
      showButtonPanel: true
    });
  })


  function copyOldUrl(id) {
    if (confirm("是否开始导入旧URL的数据到此新信息?")) {
      if (id === undefined) {
        alert("信息ID无效，请先保存一次新信息。");
        return false;
      }

      var oldurl = $("#meta_ct_oldurl").val();
      if (oldurl == "") {
        alert("旧URL没录入，请先录入旧URL。");
        return false;
      }
      //var ctApi = "http://202.103.68.104:61/info.php";
      var ctApi = "https://ct.mycht.cn/info.php"; //网前";
      $.ajax({
        type: "post",
        dataType: "json",
        url: ctApi + "/thirdparty/ctmobilefirst/api/copyOldUrl/",
        data: {
          'id': id,
          'oldurl': oldurl
        },
        success: function (data, textStatus) {
          if (data.status == "ok") {
            //alert(data.id+","+data.oldUrl);
            alert("导入成功，关闭此对话框，等页面自动刷新后检查数据是否已拷贝。如果没有，请手动刷新此页面查看更新！");
            location.reload();
          } else {
            alert("导入失败，检查旧URL对应的信息是否存在，或者此新信息是否存在！");
          }
        },
        error: function () {
          $.modaldialog.error('发生错误，请联系YCC');
          return false;
        }
      });
    }
  }
</script>
<div class="container-fluid">
  <div class="row">
    <div class="col-sm-5 nopadding hidden-xs" style="box-shadow: 4px 0px 5px #e0e0e0;">
      <div class="well nopadding" style="border:none !important;padding-top:0px;">
        <div class="preview_box" id="preview_box" style="height: 800px;display: none;"></div>
        <div id="tree_box">
          <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()) { ?>
                <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 { ?>
                <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 } ?>
            </li>
          </ul>
        </div>
      </div>
    </div>

    <div class="col-sm-19 nopadding" style="background:#f5f5f5;">

      <form id="form_information_edit" name="form_information_edit" method="post"
        action="<?php echo site_url('information/edit_save') ?>">

        <div class="col-sm-20 nopadding" style="background:#fff;border-right:1px solid #ddd;">

          <a name="warning"></a>

          <div class="col-xs-24">
            <div class="row">
              <div class="col-xs-24 btn-sm"></div>
              <div class="col-xs-7"><a href="javascript:void(0);" onclick="switch_preview_tree()"><i
                    class="glyphicon glyphicon-indent-right"></i></a>
                <a href="javascript:void(0);" onclick="update_preview()" title="刷新预览"><i
                    class="glyphicon glyphicon-refresh text-muted"></i></a>
                <label>
                  信息标题(H1)
                </label>
              </div>
              <div class="col-xs-17 text-right">
                <?php
                $amp_user = $this->session->userdata('session_admin');
                $show_photo_meta = get_meta($information->ic_id, 'meta_use_list_picture');
                $amp_photo = '';
                if ($information->ic_photo && $show_photo_meta !== 'no') {
                  $amp_photo = $this->config->item('site_image_url') . $information->ic_photo;
                }
                $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()) {
                  if (get_meta($information->ic_id, 'AMP_BODY_PC_STATUS') == 'yes') {
                    $PcAmpChecked = 'checked';
                  } else {
                    $PcAmpChecked = '';
                  } ?>
                  <style type="text/css">
                    #PcAmp {
                      color: #069;
                      cursor: pointer;
                    }

                    #PcAmp input {
                      position: relative;
                      top: 2px;
                    }
                  </style>
                  <label id="PcAmp">
                    <input type="checkbox" <?php echo ($PcAmpChecked); ?>>
                    PC端页面也使用构建工具发布
                  </label> |
                  <label title="AMP页面编辑">
                    <a href="<?php echo ($amp_build_url); ?>" target="_blank"> HTML构建工具 </a>
                  </label> |
                  <script type="text/javascript">
                    $('#PcAmp input').on('change', function () {
                      var checked = $(this).is(':checked');
                      if (checked) {
                        meta('save', '<?php echo $information->ic_id; ?>', 'AMP_BODY_PC_STATUS', 'yes');
                        meta('save', '<?php echo $information->ic_id; ?>', 'meta_use_list_picture', 'no');
                        editor.readonly(true);
                      } else {
                        meta('save', '<?php echo $information->ic_id; ?>', 'AMP_BODY_PC_STATUS', 'no');
                        editor.readonly(false);
                      }
                    });
                  </script>
                  <?php
                } ?>
                <?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') { ?>
                  <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') { ?>
                  <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 } ?>
              </div>
              <div class="col-xs-24">
                <input class="form-control" type="text" id="ic_title" style="<?php
                if ($embody == 1) {
                  echo 'border-color:green;';
                }
                ?>" name="ic_title" value="<?php echo $information->ic_title; ?>">
              </div>
              <div class="col-xs-24 btn-sm"></div>
            </div>
            <div class="col-xs-24 nopadding">
              <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; ?>">
            </div>
            <div class="col-xs-8" style="display: none">
              <label>SEO关键词</label>
              <input class="form-control" type="text" id="ic_seo_keywords" name="ic_seo_keywords"
                value="<?php echo $information->ic_seo_keywords; ?>">
            </div>

            <div class="col-xs-24 nopadding">
              <label>SEO描述<em class="pull-right muted" id="ic_seo_description_count"></em></label>
              <textarea class="form-control" onkeyup="change_seo_count(this.id);" id="ic_seo_description"
                name="ic_seo_description"><?php echo $information->ic_seo_description; ?></textarea>
            </div>
            <div class="col-xs-12 nopadding">
              <div class="form-group">
                <div class="col-xs-24 nopadding">链接标题</div>
                <input class="form-control col-xs-24" type="text" id="ic_url_title" name="ic_url_title"
                  value="<?php echo $information->ic_url_title; ?>">
              </div>
            </div>
            <div class="col-xs-12 nopadding-R">
              <div class="col-xs-24 nopadding">链接地址
                <a href="javascript:void(0);" onclick="format_url()" title="格式化URL"><i
                    class="glyphicon glyphtext-muted glyphicon glyphicon-flag text-muted"></i></a>

                <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') { ?>
                  <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') { ?>
                  <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 == 'ah') { ?>
                  <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 } ?>
              </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') { ?>
              <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>
                  <a href="javascript:void(0);"
                    onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_ct_oldurl', $('#meta_ct_oldurl').val())"><i
                      class="text-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);" title="录入旧的URL，如：/beijing-travel/。这样可以与旧的信息关联，以便做对应的处理"><i
                      class="text-muted glyphicon glyphicon-question-sign"></i></a>
                  &nbsp;&nbsp;&nbsp;&nbsp;
                  <a href="javascript:void(0);" onclick="copyOldUrl(<?php echo $information->ic_id ?>);"
                    title="点击拷贝旧URL的内容">[[点击拷贝旧URL的内容]]</a>
                </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 } ?>
            <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>

          </div>

          <textarea id="ic_content"
            name="ic_content"><?php echo str_replace('textarea', 't_e_x_t_a_r_e_a', $information->ic_content); ?></textarea>


          <textarea name="ic_summary" id="ic_summary" class="col-xs-24" rows="5" placeholder="信息简介"
            style="border:none;border-bottom:1px solid #bbb;"><?php echo str_replace('textarea', 't-e-x-t-a-r-e-a', $information->ic_summary); ?></textarea>




          <div class="col-xs-24 nopadding">

            <div class="col-sm-8">
              <label>附加样式
                <a href="javascript:void(0);"
                  onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_addon_css', $('#meta_addon_css').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_addon_css', $('#meta_addon_css').val())"><i
                    class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
              </label>
              <input class="form-control" type="text" id="meta_addon_css" name="meta_addon_css"
                placeholder="https://data.chinahighlights.com/css/aaa.css"
                value="<?php echo get_meta($information->ic_id, 'meta_addon_css'); ?>">
            </div>
            <div class="col-sm-7">
              <label>附加JS
                <a href="javascript:void(0);"
                  onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_addon_js', $('#meta_addon_js').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_addon_js', $('#meta_addon_js').val())"><i
                    class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
              </label>
              <input class="form-control" type="text" id="meta_addon_js" name="meta_addon_js"
                placeholder="/js/aaa.js,/js/bbb.js"
                value="<?php echo get_meta($information->ic_id, 'meta_addon_js'); ?>">
            </div>
            <div class="col-sm-3">
              <label>推荐线路</label>
              <input class="form-control" type="text" id="ic_recommend_tours" name="ic_recommend_tours"
                placeholder="cht-1,cht12,gm-1," value="<?php echo $information->ic_recommend_tours; ?>">
            </div>
            <div class="col-sm-3">
              <label>小包价</label>
              <input class="form-control" type="text" id="ic_recommend_packages" name="ic_recommend_packages"
                value="<?php echo $information->ic_recommend_packages; ?>">
            </div>
            <div class="col-sm-3">
              <label>所属导航
                <a href="javascript:void(0);"
                  onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_website_nav', $('#meta_website_nav').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_website_nav', $('#meta_website_nav').val())"><i
                    class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
              </label>

              <select name="meta_website_nav" id="meta_website_nav" class="form-control">
                <option value="">不选择</option>
                <?php
                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 ?>">
                      <?php echo $item->im_value ?>
                    </option>
                    <?php
                  }
                }
                ?>
              </select>

            </div>
          </div>
          <?php if ($information->ic_sitecode == 'chinatravel' || $information->ic_sitecode == 'shanghai') {
            ?>
            <div>
              <div class="col-sm-8">
                <label>附加图片PC
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_addon_picture', $('#meta_addon_picture').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_addon_picture', $('#meta_addon_picture').val())"><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
                </label>
                <input name="meta_addon_picture" id="meta_addon_picture" type="text" class="form-control"
                  value="<?php echo get_meta($information->ic_id, 'meta_addon_picture'); ?>" />
              </div>

              <div class="col-sm-8">
                <label>附加图片Mobile
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_addon_picture_mobile', $('#meta_addon_picture_mobile').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_addon_picture_mobile', $('#meta_addon_picture_mobile').val())"><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
                </label>
                <input name="meta_addon_picture_mobile" id="meta_addon_picture_mobile" type="text" class="form-control"
                  value="<?php echo get_meta($information->ic_id, 'meta_addon_picture_mobile'); ?>" />
              </div>

              <div class="col-sm-8">
                <label>附加图片链接
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_addon_picture_url', $('#meta_addon_picture_url').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_addon_picture_url', $('#meta_addon_picture_url').val())"><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
                </label>
                <input name="meta_addon_picture_url" id="meta_addon_picture_url" type="text" class="form-control"
                  value="<?php echo get_meta($information->ic_id, 'meta_addon_picture_url'); ?>" />
              </div>
            </div>

            <div>
              <div class="col-sm-8">
                <label>附加图片说明文字
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_addon_picture_text', $('#meta_addon_picture_text').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_addon_picture_text', $('#meta_addon_picture_text').val())"><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);" title="用于附加的头部大图的alt文字或者图片上的说明文字."><i
                      class="text-muted glyphicon glyphicon-question-sign"></i></a>
                </label>
                <input name="meta_addon_picture_text" id="meta_addon_picture_text" type="text" class="form-control"
                  value="<?php echo get_meta($information->ic_id, 'meta_addon_picture_text'); ?>" />
              </div>
              <div class="col-sm-4">
                <label>页面类型
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_ct_page_type', $('#meta_ct_page_type').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_ct_page_type', $('#meta_ct_page_type').val())"><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);" title="用于说明页面的类型，比如选择一日游详细页与选择精华游详细页，这两个页面预订流程不一样"><i
                      class="text-muted glyphicon glyphicon-question-sign"></i></a>
                </label>
                <select name="meta_ct_page_type" id="meta_ct_page_type" class="form-control">
                  <option value="" <?php echo get_meta($information->ic_id, 'meta_ct_page_type') === '' ? 'selected' : false; ?>>
                    无
                  </option>
                  <option value="daytripindex" <?php echo get_meta($information->ic_id, 'meta_ct_page_type') === 'daytripindex' ? 'selected' : false; ?>>
                    一日游首页
                  </option>
                  <option value="daytripdetail" <?php echo get_meta($information->ic_id, 'meta_ct_page_type') === 'daytripdetail' ? 'selected' : false; ?>>
                    一日游详细页
                  </option>
                  <option value="tourindex" <?php echo get_meta($information->ic_id, 'meta_ct_page_type') === 'tourindex' ? 'selected' : false; ?>>
                    线路首页
                  </option>
                  <option value="tourdetail" <?php echo get_meta($information->ic_id, 'meta_ct_page_type') === 'tourdetail' ? 'selected' : false; ?>>
                    线路详细页
                  </option>
                  <option value="attractionindex" <?php echo get_meta($information->ic_id, 'meta_ct_page_type') === 'attractionindex' ? 'selected' : false; ?>>
                    城市景点首页
                  </option>
                  <option value="weatherpage" <?php echo get_meta($information->ic_id, 'meta_ct_page_type') === 'weatherpage' ? 'selected' : false; ?>>
                    城市天气页面
                  </option>
                  <option value="customize" <?php echo get_meta($information->ic_id, 'meta_ct_page_type') === 'customize' ? 'selected' : false; ?>>
                    Customize表单
                  </option>
                  <option value="contactus" <?php echo get_meta($information->ic_id, 'meta_ct_page_type') === 'contactus' ? 'selected' : false; ?>>
                    ContactUs表单
                  </option>
                  <option value="pagewithform" <?php echo get_meta($information->ic_id, 'meta_ct_page_type') === 'pagewithform' ? 'selected' : false; ?>>
                    带表单信息页
                  </option>
                  <option value="cruisedetails" <?php echo get_meta($information->ic_id, 'meta_ct_page_type') === 'cruisedetails' ? 'selected' : false; ?>>
                    游船详细页
                  </option>
                  <option value="cruiseform" <?php echo get_meta($information->ic_id, 'meta_ct_page_type') === 'cruiseform' ? 'selected' : false; ?>>
                    游船预订表单
                  </option>
                  <option value="daytripform" <?php echo get_meta($information->ic_id, 'meta_ct_page_type') === 'daytripform' ? 'selected' : false; ?>>
                    一日游预订表单
                  </option>
                </select>
              </div>
              <div class="col-sm-4">
                <label>页面类型值
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_ct_page_value', $('#meta_ct_page_value').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_ct_page_value', $('#meta_ct_page_value').val())"><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);"
                    title="此属性用于对应上面那个页面类型的值。&#10 1.一日游首页，录城市名称，如：shanghai &#10 2.景点首页，需要读取原子类，录原信息ID &#10 3.产品详细页录对应的产品编码 &#10 4.游船名称"><i
                      class="text-muted glyphicon glyphicon-question-sign"></i></a>
                </label>
                <input name="meta_ct_page_value" id="meta_ct_page_value" type="text" class="form-control"
                  value="<?php echo get_meta($information->ic_id, 'meta_ct_page_value'); ?>" />
              </div>

              <div class="col-sm-4">
                <label>页面是否有价格
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_ct_page_price', $('#meta_ct_page_price').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_ct_page_price', $('#meta_ct_page_price').val())"><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);"
                    title='页面上如果有价格，那么需要选择这个选项。并且在页面代码里面设置读取标签。&#10 一日游：<span class="js_getDayTripPrice" data="线路编码"></span> &#10 线路：<span class="js_getTourPrice" data="线路编码"> </span>'><i
                      class="text-muted glyphicon glyphicon-question-sign"></i></a>
                </label>
                <select name="meta_ct_page_price" id="meta_ct_page_price" class="form-control">
                  <option value="no" <?php echo get_meta($information->ic_id, 'meta_ct_page_price') === 'no' ? 'selected' : false; ?>>
                    否
                  </option>
                  <option value="yes" <?php echo get_meta($information->ic_id, 'meta_ct_page_price') === 'yes' ? 'selected' : false; ?>>
                    是
                  </option>

                </select>
              </div>
              <div class="col-sm-4">
                <label>加火车票搜索框
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_ct_page_trainform', $('#meta_ct_page_trainform').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_ct_page_trainform', $('#meta_ct_page_trainform').val())"><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);" title='页面是否添加火车搜索框&#10 （会添加在页面的H1标签及面包屑后面，内容没有H1标签此选择无效'><i
                      class="text-muted glyphicon glyphicon-question-sign"></i></a>
                </label>
                <select name="meta_ct_page_trainform" id="meta_ct_page_trainform" class="form-control">
                  <option value="no" <?php echo get_meta($information->ic_id, 'meta_ct_page_trainform') === 'no' ? 'selected' : false; ?>>
                    否
                  </option>
                  <option value="yes" <?php echo get_meta($information->ic_id, 'meta_ct_page_trainform') === 'yes' ? 'selected' : false; ?>>
                    是
                  </option>

                </select>
              </div>

            </div>
            <div>
              <div class="col-sm-12">
                <label>游船前端数据生成
                  <a href="javascript:void(0);" title='1.所有游船总数据文件。2.单个游船生成对应数据文件。'><i
                      class="text-muted glyphicon glyphicon-question-sign"></i></a>
                </label>
                <a href="https://www.chinatravel.com/guide.php/yangtze/createjs?allship=allship"
                  target="_blank">1.点击生成游船总数据文件</a>&nbsp;&nbsp;<a href="javascript:;" id="js_creatSingeShip"
                  onclick="creatSingeCruise()">2.点击生成当前页面游船数据文件</a>
                <script>
                  function creatSingeCruise() {
                    let meta_ct_page_type = $("#meta_ct_page_type").val();
                    let meta_ct_page_value = $("#meta_ct_page_value").val();
                    if (meta_ct_page_type != "cruisedetails") {
                      alert("选择的页面类型不是游船详细页！");
                      return false;
                    } else if (meta_ct_page_value == "") {
                      alert("游船名称不能为空！");
                      return false;
                    } else {
                      let cUrl = "https://www.chinatravel.com/guide.php/yangtze/createjs?shipname=" + meta_ct_page_value;
                      window.open(cUrl, "生成游船数据文件");
                    }


                  }
                </script>
              </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; ?>" />
          <input type="hidden" name="is_id" value="<?php echo $information->is_id; ?>" />
          <input type="hidden" name="is_parent_id" value="<?php echo $information->is_parent_id; ?>" />
          <input type="hidden" name="is_path" value="<?php echo $information->is_path; ?>" />
          <input type="hidden" name="is_level" value="<?php echo $information->is_level; ?>" />
          <input type="hidden" name="is_sort" value="<?php echo $information->is_sort; ?>" />
          <input type="hidden" name="is_sitecode" id="is_sitecode" value="<?php echo $information->is_sitecode; ?>" />
          <input type="hidden" name="is_datetime" value="<?php echo $information->is_datetime; ?>" />
          <input type="hidden" name="ic_id" value="<?php echo $information->ic_id; ?>" />
          <input type="hidden" name="ic_sitecode" value="<?php echo $information->ic_sitecode; ?>" />
          <input type="hidden" name="ic_ht_area_id" value="<?php echo $rootInformation->ic_ht_area_id; ?>" />
          <input type="hidden" name="ic_ht_area_type" value="<?php echo $rootInformation->ic_ht_area_type; ?>" />
          <input type="hidden" name="site_url" id="site_url" value="<?php echo $this->config->item('site_url'); ?>">
          <input type="hidden" name="use_pictures" id="use_pictures" value="" />

          <p></p>
          <div class="col-xs-24">
            <label><a href="javascript:void(0);" onclick="$('#customize').toggle();">自定义选项</a>　</label>
            <?php if ($information->ic_sitecode == "trippest") { ?>
              <label><a class="btn default" data-toggle="modal" id="aBokunData"> 管理TPBokun数据 </a> </label>
            <?php } ?>
          </div>

          <div id="customize" class="col-xs-24" style="display:none;">

            <!-- 自定义选项 -->
            <label>
              结构化标签
              <a href="javascript:void(0);"
                onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_construction_code', $('#meta_construction_code').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_construction_code', $('#meta_construction_code').val())"><i
                  class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
            </label>
            <textarea class="form-control" id="meta_construction_code"
              name="meta_construction_code"><?php echo get_meta($information->ic_id, 'meta_construction_code'); ?></textarea>

            <div class="row">
              <div class="col-sm-4">
                <label>展示列表图片
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_use_list_picture', $('#meta_use_list_picture').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_use_list_picture', $('#meta_use_list_picture').val())"><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);" title="在详细页中是否显示列表图片."><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-question-sign"></i></a>
                </label>
                <select name="meta_use_list_picture" id="meta_use_list_picture" class="form-control">
                  <option value="yes">展示</option>
                  <option <?php echo get_meta($information->ic_id, 'meta_use_list_picture') === 'no' ? 'selected' : false; ?> value="no">不展示
                  </option>
                </select>
              </div>



              <div class="col-sm-4 meta_recommend_info_box">
                <label>推荐信息
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_recommend_info', $('#meta_recommend_info').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_recommend_info', $('#meta_recommend_info').val())"><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);" title="这是网前的 You Might Like 栏目,填写推荐信息ID，以,(英文逗号)分隔."><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-question-sign"></i></a>
                </label>
                <input name="meta_recommend_info" id="meta_recommend_info" type="text" class="form-control"
                  placeholder="124343,8784,"
                  value="<?php echo get_meta($information->ic_id, 'meta_recommend_info'); ?>" />
              </div>

              <div class="col-sm-4 meta_related_info_box">
                <label>相关文章
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_related_info', $('#meta_related_info').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_related_info', $('#meta_related_info').val())"><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);" title="这是网前的 Related article 栏目,填写相关文章推荐信息的ID，以,(英文逗号)分隔."><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-question-sign"></i></a>
                </label>
                <input name="meta_related_info" id="meta_related_info" type="text" class="form-control"
                  placeholder="124343,8784,"
                  value="<?php echo get_meta($information->ic_id, 'meta_related_info'); ?>" />
              </div>

              <div class="col-sm-3 meta_bread_info_box">
                <label>面包屑
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_bread_info', $('#meta_bread_info').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_bread_info', $('#meta_bread_info').val())"><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
                  <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 class="col-sm-4 meta_bread_info_box">
                <label>是否展示右侧广告
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_show_advertise', $('#meta_show_advertise').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_advertise', $('#meta_show_advertise').val())"><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);" title="是否展示右侧广告"><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-question-sign"></i></a>
                </label>
                
                <select name="meta_show_advertise" id="meta_show_advertise" class="form-control">
                  <option value="yes">展示</option>
                  <option <?php echo get_meta($information->ic_id, 'meta_show_advertise') === 'no' ? 'selected' : false; ?> value='no'>不展示
                  </option>
                </select>
              </div>


            </div>

            <?php if ($information->ic_sitecode == 'cht' || $information->ic_sitecode == "ct") {
              ?>

              <div class="row">
                <div class="col-sm-5">
                  <label>QA展示
                    <a href="javascript:void(0);"
                      onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_no_qa', $('#meta_no_qa').val())"><i
                        class="text-muted glyphicon glyphicon-remove"></i></a>
                    <a href="javascript:void(0);"
                      onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_no_qa', $('#meta_no_qa').val())"><i
                        class="text-muted glyphicon glyphicon-hdd"></i></a>
                    <a href="javascript:void(0);" title="告诉前台是否展示QA."><i
                        class="text-muted glyphicon glyphicon-question-sign"></i></a>
                  </label>
                  <select name="meta_no_qa" id="meta_no_qa" class="form-control">
                    <option value="yes">展示</option>
                    <option <?php echo get_meta($information->ic_id, 'meta_no_qa') === 'no' ? 'selected' : false; ?>
                      value="no">不展示
                    </option>
                  </select>
                </div>

                <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>
                    <a href="javascript:void(0);" title="只用于景点信息，反馈表中提取的产品评论数量，用于衡量产品受欢迎程度."><i
                        class="text-muted glyphicon glyphicon-question-sign"></i></a>
                  </label>
                  <input name="meta_review_count" id="meta_review_count" type="text" class="form-control"
                    value="<?php echo get_meta($information->ic_id, 'meta_review_count'); ?>" />
                </div>

                <div class="col-sm-5">
                  <label>热门文章
                    <a href="javascript:void(0);"
                      onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_popular', $('#meta_popular').val())"><i
                        class="text-muted glyphicon glyphicon-remove"></i></a>
                    <a href="javascript:void(0);"
                      onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_popular', $('#meta_popular').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>
                  <select name="meta_popular" id="meta_popular" class="form-control">
                    <option value="no">不推荐</option>
                    <option <?php echo get_meta($information->ic_id, 'meta_popular') === 'yes' ? 'selected' : false; ?>
                      value="yes">推荐热门文章
                    </option>
                  </select>
                </div>

                <div class="col-sm-5">
                  <label>在左侧菜单显示
                    <a href="javascript:void(0);"
                      onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_show_in_leftmenu', $('#meta_show_in_leftmenu').val())"><i
                        class="text-muted glyphicon glyphicon-remove"></i></a>
                    <a href="javascript:void(0);"
                      onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_show_in_leftmenu', $('#meta_show_in_leftmenu').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>
                  <select name="meta_show_in_leftmenu" id="meta_show_in_leftmenu" class="form-control">
                    <option value="yes">显示</option>
                    <option <?php echo get_meta($information->ic_id, 'meta_show_in_leftmenu') === 'no' ? 'selected' : false; ?> value="no">不显示
                    </option>
                  </select>
                </div>

                <div class="<?php
                if ($information->ic_ht_area_type == 'c') {
                  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>
                    <a href="javascript:void(0);" title="可以选择是否显示发布日期和作者，不适合显示日期和作者的页面可以不勾选."><i
                        class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-question-sign"></i></a>
                  </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>
                  </select>
                </div>

              </div>

              <?php
              // 有子节点时
              $children_cnt = 0;
              foreach ($informationList as $kin => $vin) {
                if (
                  in_array($information->is_id, explode(",", $vin->is_path)) && $vin->status == 1 && $vin->id != $information->is_id
                ) {
                  $children_cnt++;
                }
              }
              echo "<!-- children_cnt $children_cnt -->";
              if ($children_cnt > 0) {
                ?>
                <div class="row">
                  <div class="col-sm-5">
                    <label>上&nbsp;/&nbsp;下篇阅读导航
                      <a href="javascript:void(0);"
                        onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_pre_next_nav', $('#meta_pre_next_nav').val())"><i
                          class="text-muted glyphicon glyphicon-remove"></i></a>
                      <a href="javascript:void(0);"
                        onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_pre_next_nav', $('#meta_pre_next_nav').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>
                    <select name="meta_pre_next_nav" id="meta_pre_next_nav" class="form-control">
                      <option value="no">禁用</option>
                      <option value="yes" <?php echo get_meta($information->ic_id, 'meta_pre_next_nav') === 'yes' ? 'selected' : false; ?>>
                        启用
                      </option>
                    </select>
                  </div>
                  <div class="col-sm-19">
                  </div>
                </div>
                <?php
              } ?>
              <div class="row">
                <div class="col-xs-24">
                  <label>自定义导航
                    <a href="javascript:void(0);"
                      onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_navigation', $('#meta_navigation').val())"><i
                        class="text-muted glyphicon glyphicon-remove"></i></a>
                    <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>

                </div>


              </div>

              <?php
            } ?>


            <label>og:title
              <a href="javascript:void(0);"
                onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_note_ogtitle', $('#meta_note_ogtitle').val())"><i
                  class="text-muted glyphicon glyphicon-remove"></i></a>
              <a href="javascript:void(0);"
                onclick="if(count_valid('meta_note_ogtitle', 'og:title', 20, 60) == true) { meta('save', '<?php echo $information->ic_id; ?>', 'meta_note_ogtitle', $('#meta_note_ogtitle').val()) }">
                <i class="text-muted glyphicon glyphicon-hdd"></i>
              </a>
              <a href="javascript:void(0);" title="为信息添加og:title."><i
                  class="text-muted glyphicon glyphicon-question-sign"></i></a>
              <em class="pull-right muted" id="meta_note_ogtitle_count"></em>
            </label>
            <input name="meta_note_ogtitle" id="meta_note_ogtitle" onkeyup="change_seo_count(this.id);" type="text"
              class="form-control" value="<?php echo get_meta($information->ic_id, 'meta_note_ogtitle'); ?>" />

            <label>og:description
              <a href="javascript:void(0);"
                onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_note', $('#meta_note').val())"><i
                  class="text-muted glyphicon glyphicon-remove"></i></a>
              <a href="javascript:void(0);"
                onclick="if(count_valid('meta_note', 'og:description', 80, 160) == true) { meta('save', '<?php echo $information->ic_id; ?>', 'meta_note', $('#meta_note').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>
              <em class="pull-right muted" id="meta_note_count"></em>
            </label>
            <input name="meta_note" id="meta_note" onkeyup="change_seo_count(this.id);" type="text" class="form-control"
              value="<?php echo get_meta($information->ic_id, 'meta_note'); ?>" />

            <div class="row">
              <div class="col-sm-8">
                <label>节庆开始日期
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_festival_start', $('#meta_festival_start').val())"><i
                      class="text-muted glyphicon glyphicon-remove"></i></a>
                  <a href="javascript:void(0);"
                    onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_festival_start', $('#meta_festival_start').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>
                <input name="meta_festival_start" id="meta_festival_start" type="text" class="form-control"
                  value="<?php echo get_meta($information->ic_id, 'meta_festival_start'); ?>" />
              </div>

              <div class="col-sm-8">
                <label>节庆结束日期
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_festival_end', $('#meta_festival_end').val())"><i
                      class="text-muted glyphicon glyphicon-remove"></i></a>
                  <a href="javascript:void(0);"
                    onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_festival_end', $('#meta_festival_end').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>
                <input name="meta_festival_end" id="meta_festival_end" type="text" class="form-control"
                  value="<?php echo get_meta($information->ic_id, 'meta_festival_end'); ?>" />
              </div>

              <div class="col-sm-8">
                <label>只读节庆月份
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_festival_only_month', $('#meta_festival_only_month').val())"><i
                      class="text-muted glyphicon glyphicon-remove"></i></a>
                  <a href="javascript:void(0);"
                    onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_festival_only_month', $('#meta_festival_only_month').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>
                <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>
              </div>
            </div>


            <div class="row">
              <div class="col-sm-5">
                <label>发布时间
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_news_createdate', $('#meta_news_createdate').val())"><i
                      class="text-muted glyphicon glyphicon-remove"></i></a>
                  <a href="javascript:void(0);"
                    onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_news_createdate', $('#meta_news_createdate').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>
                <input name="meta_news_createdate" id="meta_news_createdate" type="text" class="form-control"
                  value="<?php echo get_meta($information->ic_id, 'meta_news_createdate'); ?>" />

              </div>

              <div class="col-sm-5">
                <label>视频
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_news_video', $('#meta_news_video').val())"><i
                      class="text-muted glyphicon glyphicon-remove"></i></a>
                  <a href="javascript:void(0);"
                    onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_news_video', $('#meta_news_video').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>
                <input name="meta_news_video" id="meta_news_video" type="text" class="form-control"
                  value="<?php echo get_meta($information->ic_id, 'meta_news_video'); ?>" />
              </div>
              <div class="col-sm-5">
                <label>视频图片 <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_video_picture', $('#meta_video_picture').val())"><i
                      class="text-muted glyphicon glyphicon-remove"></i></a>
                  <a href="javascript:void(0);"
                    onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_video_picture', $('#meta_video_picture').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>
                <input name="meta_video_picture" id="meta_video_picture" type="text" class="form-control"
                  value="<?php echo get_meta($information->ic_id, 'meta_video_picture'); ?>" />
              </div>

              <div class="col-sm-5">
                <label>新闻关键词
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_news_keyword', $('#meta_news_keyword').val())"><i
                      class="text-muted glyphicon glyphicon-remove"></i></a>
                  <a href="javascript:void(0);"
                    onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_news_keyword', $('#meta_news_keyword').val())"><i
                      class="text-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);" title="新闻tags."><i
                      class="text-muted glyphicon glyphicon-question-sign"></i></a>
                </label>
                <input name="meta_news_keyword" id="meta_news_keyword" type="text" class="form-control"
                  value="<?php echo get_meta($information->ic_id, 'meta_news_keyword'); ?>" />

              </div>


              <div class="col-sm-4">
                <label>index选项
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_index_set', $('#meta_index_set').val())"><i
                      class="text-muted glyphicon glyphicon-remove"></i></a>
                  <a href="javascript:void(0);"
                    onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_index_set', $('#meta_index_set').val())"><i
                      class="text-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);" title="index设置选项"><i
                      class="text-muted glyphicon glyphicon-question-sign"></i></a>
                </label>
                <select name="meta_index_set" id="meta_index_set" class="form-control">
                  <option value="">index,follow</option>
                  <option <?php echo get_meta($information->ic_id, 'meta_index_set') === 'index,nofollow' ? 'selected' : false; ?> value="index,nofollow">index,nofollow
                  </option>
                  <option <?php echo get_meta($information->ic_id, 'meta_index_set') === 'noindex,follow' ? 'selected' : false; ?> value="noindex,follow">noindex,follow
                  </option>
                  <option <?php echo get_meta($information->ic_id, 'meta_index_set') === 'noindex,nofollow' ? 'selected' : false; ?> value="noindex,nofollow">noindex,nofollow
                  </option>
                </select>

              </div>

            </div>


            <?php if (is_series_site()) { ?>
              <div class="row">
                <div class="col-sm-8">
                  <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>
                    <a href="javascript:void(0);" title="用于配置两地机票的目的地城市名，请输入对应的语种城市."><i
                        class="text-muted glyphicon glyphicon-question-sign"></i></a>
                  </label>
                  <input name="meta_flights_city" id="meta_flights_city" type="text" class="form-control"
                    value="<?php echo get_meta($information->ic_id, 'meta_flights_city'); ?>" />
                </div>
                <div class="col-sm-8">
                  <?php
                  $meta_subnavi_arr = array(
                    'index' => '首页',
                    'tour' => '中国线路',
                    'asia_tour' => '亚洲线路',
                    'dest' => '目的地',
                    'tailormade' => 'tailormade',
                    'train' => '火车',
                    'ship' => '游船',
                    'hotel' => '酒店',
                    'flight' => '机票',
                    'info' => '信息',
                    'deal' => '促销',
                    '2015' => '2015',
                    'tour2017' => '2017',
                    'op' => 'OP',
                    'best' => '实用信息',
                    'culture' => '文化',
                    'top10' => 'TOP10',
                    'lifestyle' => '生活方式',
                    'aboutus' => '关于我们',
                  );
                  ?>
                  <label>匹配到一级导航
                    <a href="javascript:void(0);"
                      onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_subnavi', $('#meta_subnavi').val())"><i
                        class="text-muted glyphicon glyphicon-remove"></i></a>
                    <a href="javascript:void(0);"
                      onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_subnavi', $('#meta_subnavi').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>
                  <select name="meta_subnavi" id="meta_subnavi" class="form-control">
                    <?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 { ?>
                      <option selected="selected" value="info">
                        <?php echo $meta_subnavi_arr['info']; ?>
                      </option>
                    <?php } ?>
                    <option value="index">
                      <?php echo ($meta_subnavi_arr['index']); ?>
                    </option>
                    <option value="tour">
                      <?php echo ($meta_subnavi_arr['tour']); ?>
                    </option>
                    <option value="asia_tour">
                      <?php echo ($meta_subnavi_arr['asia_tour']); ?>
                    </option>
                    <option value="dest">
                      <?php echo ($meta_subnavi_arr['dest']); ?>
                    </option>
                    <option value="tailormade">
                      <?php echo ($meta_subnavi_arr['tailormade']); ?>
                    </option>
                    <option value="train">
                      <?php echo ($meta_subnavi_arr['train']); ?>
                    </option>
                    <option value="ship">
                      <?php echo ($meta_subnavi_arr['ship']); ?>
                    </option>
                    <option value="hotel">
                      <?php echo ($meta_subnavi_arr['hotel']); ?>
                    </option>
                    <option value="flight">
                      <?php echo ($meta_subnavi_arr['flight']); ?>
                    </option>
                    <option value="info">
                      <?php echo ($meta_subnavi_arr['info']); ?>
                    </option>
                    <option value="deal">
                      <?php echo ($meta_subnavi_arr['deal']); ?>
                    </option>
                    <option value="tour2017">
                      <?php echo ($meta_subnavi_arr['tour2017']); ?>
                    </option>
                    <option value="2015">
                      <?php echo ($meta_subnavi_arr['2015']); ?>
                    </option>
                    <option value="op">
                      <?php echo ($meta_subnavi_arr['op']); ?>
                    </option>
                    <option value="best">
                      <?php echo ($meta_subnavi_arr['best']); ?>
                    </option>
                    <option value="culture">
                      <?php echo ($meta_subnavi_arr['culture']); ?>
                    </option>
                    <option value="top10">
                      <?php echo ($meta_subnavi_arr['top10']); ?>
                    </option>
                    <option value="lifestyle">
                      <?php echo ($meta_subnavi_arr['lifestyle']); ?>
                    </option>
                    <option value="aboutus">
                      <?php echo ($meta_subnavi_arr['aboutus']); ?>
                    </option>
                  </select>
                </div>
                <div class="col-sm-8">
                  <label>面包屑显示信息首页链接？
                    <a href="javascript:void(0);"
                      onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_bread_showinfo', $('#meta_bread_showinfo').val())"><i
                        class="text-muted glyphicon glyphicon-remove"></i></a>
                    <a href="javascript:void(0);"
                      onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_bread_showinfo', $('#meta_bread_showinfo').val())"><i
                        class="text-muted glyphicon glyphicon-hdd"></i></a>
                    <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') { ?>
                      <option selected="selected" value="noshow">不显示</option>
                      <option value="show">显示</option>
                    <?php } else { ?>
                      <option value="noshow">不显示</option>
                      <option selected="selected" value="show">显示</option>
                    <?php } ?>
                  </select>
                </div>
                <div class="col-sm-8">
                  <label>专题顶部大图
                    <a href="javascript:void(0);"
                      onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_top_img', $('#meta_top_img').val())"><i
                        class="text-muted glyphicon glyphicon-remove"></i></a>
                    <a href="javascript:void(0);"
                      onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_top_img', $('#meta_top_img').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>
                  <input name="meta_top_img" id="meta_top_img" type="text" class="form-control"
                    value="<?php echo get_meta($information->ic_id, 'meta_top_img'); ?>" />
                </div>

                <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>
                    <a href="javascript:void(0);"
                      onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_haiwai', $('#meta_haiwai').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>
                  <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>
                    <option <?php if ($meta_haiwai == 'tour') { ?>selected="selected" <?php } ?> value="tour">海外线路
                    </option>
                  </select>
                </div>

                <div class="col-sm-8">
                  <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 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 glyphicon-hdd"></i></a>
                    <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') { ?>
                      <option selected="selected" value="show">显示</option>
                      <option value="hide">隐藏</option>
                    <?php } else { ?>
                      <option value="show">显示</option>
                      <option selected="selected" value="hide">隐藏</option>
                    <?php } ?>
                  </select>
                </div>
                <?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>
                      <a href="javascript:void(0);"
                        onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_my_class', $('#meta_my_class').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>
                    <select name="meta_my_class" id="meta_my_class" class="form-control">
                      <option value="">默认</option>
                      <option <?php echo get_meta($information->ic_id, 'meta_my_class') === 'newyear' ? 'selected' : false; ?>
                        value="newyear">新年
                      </option>
                      <option <?php echo get_meta($information->ic_id, 'meta_my_class') === 'christmas' ? 'selected' : false; ?> value="christmas">圣诞
                      </option>
                    </select>
                  </div>

                  <div class="col-sm-8">
                    <label>专题资源文件(css,js,img,etc)
                      <a href="javascript:void(0);"
                        onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_z_res', $('#meta_z_res').val())"><i
                          class="text-muted glyphicon glyphicon-remove"></i></a>
                      <a href="javascript:void(0);"
                        onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_z_res', $('#meta_z_res').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>
                    <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 } ?>
              </div>
            <?php } ?>

            <?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>
                  <a href="javascript:void(0);"
                    onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_haiwai', $('#meta_haiwai').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>
                <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>
                  <option <?php if ($meta_haiwai == 'tour') { ?>selected="selected" <?php } ?> value="tour">海外线路
                  </option>
                </select>
              </div>
            <?php } ?>

            <?php if ($information->ic_ht_area_type == 'g') { ?>
              <div class="row">


                <div class="col-sm-6">
                  <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>
                    <a href="javascript:void(0);" title="初始团购数."><i
                        class="text-muted glyphicon glyphicon-question-sign"></i></a>
                  </label>
                  <input name="meta_groupon_init" id="meta_groupon_init" type="text" class="form-control"
                    value="<?php echo get_meta($information->ic_id, 'meta_groupon_init'); ?>" />
                </div>

                <div class="col-sm-6">
                  <label>团购已成行数
                    <a href="javascript:void(0);"
                      onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_groupon_count', $('#meta_groupon_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_groupon_count', $('#meta_groupon_count').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>
                  <input name="meta_groupon_count" id="meta_groupon_count" type="text" class="form-control"
                    value="<?php echo get_meta($information->ic_id, 'meta_groupon_count'); ?>" />
                </div>

                <div class="col-sm-6">
                  <label>线路原价
                    <a href="javascript:void(0);"
                      onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_groupon_price', $('#meta_groupon_price').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_price', $('#meta_groupon_price').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>
                  <input type="text" name="meta_groupon_price" class="form-control"
                    value="<?php echo get_meta($information->ic_id, 'meta_groupon_price'); ?>" id="meta_groupon_price" />
                </div>

                <div class="col-sm-6">
                  <label>团购结束时间
                    <a href="javascript:void(0);"
                      onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_groupon_end', $('#meta_groupon_end').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_end', $('#meta_groupon_end').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>
                  <input type="text" name="meta_groupon_end" class="form-control"
                    value="<?php echo get_meta($information->ic_id, 'meta_groupon_end'); ?>" id="meta_groupon_end" />
                </div>

              </div>
            <?php } ?>
            <div class="row">
              <div class="col-sm-5">
                <label>展示打赏功能
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_use_like_author', $('#meta_use_like_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_use_like_author', $('#meta_use_like_author').val())"><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);" title="在信息页面中展示打赏作者功能."><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-question-sign"></i></a>
                </label>
                <select name="meta_use_like_author" id="meta_use_like_author" class="form-control">
                  <option value="no">不展示</option>
                  <option value="yes" <?php echo get_meta($information->ic_id, 'meta_use_like_author') === 'yes' ? 'selected' : false; ?>>
                    展示
                  </option>
                </select>
              </div>

              <div class="col-sm-5">
                <label>火车城市
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_train_city', $('#meta_train_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_train_city', $('#meta_train_city').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>
                <input type="text" name="meta_train_city" class="form-control"
                  value="<?php echo get_meta($information->ic_id, 'meta_train_city'); ?>" id="meta_train_city" />
              </div>


              <div class="col-sm-8">
                <label>城市Facts
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_facts_city', $('#meta_facts_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_facts_city', $('#meta_facts_city').val())"><i
                      class="text-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);" title="城市facets"><i
                      class="text-muted glyphicon glyphicon-question-sign"></i></a>
                </label>
                <input type="text" name="meta_facts_city" class="form-control"
                  value="<?php echo get_meta($information->ic_id, 'meta_facts_city'); ?>" id="meta_facts_city" />
              </div>

              <div class="col-sm-4">
                <label>隐藏社媒按钮
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_media_button', $('#meta_media_button').val())"><i
                      class="text-muted glyphicon glyphicon-remove"></i></a>
                  <a href="javascript:void(0);"
                    onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_media_button', $('#meta_media_button').val())"><i
                      class="text-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);" title="城市facets"><i
                      class="text-muted glyphicon glyphicon-question-sign"></i></a>
                </label>
                <select name="meta_media_button" id="meta_media_button" class="form-control">
                  <option value="no">不隐藏</option>
                  <option value="yes" <?php echo get_meta($information->ic_id, 'meta_media_button') === 'yes' ? 'selected' : false; ?>>
                    隐藏
                  </option>
                </select>
              </div>

            </div>

            <?php if ($information->ic_sitecode == "ct") { ?>
              <div class="row">
                <?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>
                      <a href="javascript:void(0);"
                        onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_attraction_type', $('#meta_attraction_type').val())"><i
                          class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
                      <a href="javascript:void(0);" title="景点类别."><i
                          class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-question-sign"></i></a>
                    </label>
                    <select name="meta_attraction_type" id="meta_attraction_type" class="form-control">
                      <option value="">选择类别</option>
                      <option value="Parks" <?php echo get_meta($information->ic_id, 'meta_attraction_type') === 'Parks' ? 'selected' : false; ?>>
                        Parks
                      </option>
                      <option value="Museums" <?php echo get_meta($information->ic_id, 'meta_attraction_type') === 'Museums' ? 'selected' : false; ?>>
                        Museums
                      </option>
                      <option value="Sights & Landmarks" <?php echo get_meta($information->ic_id, 'meta_attraction_type') === 'Sights & Landmarks' ? 'selected' : false; ?>>
                        Sights & Landmarks
                      </option>
                      <option value="Events" <?php echo get_meta($information->ic_id, 'meta_attraction_type') === 'Events' ? 'selected' : false; ?>>
                        Events
                      </option>
                      <option value="Religion Sites" <?php echo get_meta($information->ic_id, 'meta_attraction_type') === 'Religion Sites' ? 'selected' : false; ?>>
                        Religion Sites
                      </option>
                      <option value="Bridges" <?php echo get_meta($information->ic_id, 'meta_attraction_type') === 'Bridges' ? 'selected' : false; ?>>
                        Bridges
                      </option>
                      <option value="Nightlife" <?php echo get_meta($information->ic_id, 'meta_attraction_type') === 'Nightlife' ? 'selected' : false; ?>>
                        Nightlife
                      </option>
                      <option value="Zoos & Aquariums" <?php echo get_meta($information->ic_id, 'meta_attraction_type') === 'Zoos & Aquariums' ? 'selected' : false; ?>>
                        Zoos & Aquariums
                      </option>
                      <option value="Water & Amusement Parks" <?php echo get_meta($information->ic_id, 'meta_attraction_type') === 'Water & Amusement Parks' ? 'selected' : false; ?>>
                        Water & Amusement Parks
                      </option>
                      <option value="Shows" <?php echo get_meta($information->ic_id, 'meta_attraction_type') === 'Shows' ? 'selected' : false; ?>>
                        Shows
                      </option>
                      <option value="Food & Drinks" <?php echo get_meta($information->ic_id, 'meta_attraction_type') === 'Food & Drinks' ? 'selected' : false; ?>>
                        Food & Drinks
                      </option>
                      <option value="Shopping & Street" <?php echo get_meta($information->ic_id, 'meta_attraction_type') === 'Shopping & Street' ? 'selected' : false; ?>>
                        Shopping & Street
                      </option>
                      <option value="Wharf" <?php echo get_meta($information->ic_id, 'meta_attraction_type') === 'Wharf' ? 'selected' : false; ?>>
                        Wharf
                      </option>
                      <option value="Transports" <?php echo get_meta($information->ic_id, 'meta_attraction_type') === 'Transports' ? 'selected' : false; ?>>
                        Transports
                      </option>
                      <option value="Activities" <?php echo get_meta($information->ic_id, 'meta_attraction_type') === 'Activities' ? 'selected' : false; ?>>
                        Activities
                      </option>
                      <option value="Arts & Workshops" <?php echo get_meta($information->ic_id, 'meta_attraction_type') === 'Arts & Workshops' ? 'selected' : false; ?>>
                        Arts & Workshops
                      </option>
                    </select>
                  </div>

                  <div class="col-sm-6">
                    <label>景点星级
                      <a href="javascript:void(0);"
                        onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_attraction_Star', $('#meta_attraction_Star').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_attraction_Star', $('#meta_attraction_Star').val())"><i
                          class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
                      <a href="javascript:void(0);" title="景点星级."><i
                          class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-question-sign"></i></a>
                    </label>
                    <select name="meta_attraction_Star" id="meta_attraction_Star" class="form-control">
                      <option value="">选择星级</option>
                      <option value="1" <?php echo get_meta($information->ic_id, 'meta_attraction_Star') === '1' ? 'selected' : false; ?>>
                        1
                      </option>
                      <option value="2" <?php echo get_meta($information->ic_id, 'meta_attraction_Star') === '2' ? 'selected' : false; ?>>
                        2
                      </option>
                      <option value="3" <?php echo get_meta($information->ic_id, 'meta_attraction_Star') === '3' ? 'selected' : false; ?>>
                        3
                      </option>
                      <option value="4" <?php echo get_meta($information->ic_id, 'meta_attraction_Star') === '4' ? 'selected' : false; ?>>
                        4
                      </option>
                      <option value="5" <?php echo get_meta($information->ic_id, 'meta_attraction_Star') === '5' ? 'selected' : false; ?>>
                        5
                      </option>
                    </select>
                  </div>

                  <div class="col-sm-6">
                    <label>景点游览时间
                      <a href="javascript:void(0);"
                        onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_attraction_Hours', $('#meta_attraction_Hours').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_attraction_Hours', $('#meta_attraction_Hours').val())"><i
                          class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
                      <a href="javascript:void(0);" title="景点游览时间"><i
                          class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-question-sign"></i></a>
                    </label>
                    <select name="meta_attraction_Hours" id="meta_attraction_Hours" class="form-control">
                      <option value="">选择游览时间</option>
                      <option value="1" <?php echo get_meta($information->ic_id, 'meta_attraction_Hours') === '1' ? 'selected' : false; ?>>
                        1
                      </option>
                      <option value="2" <?php echo get_meta($information->ic_id, 'meta_attraction_Hours') === '2' ? 'selected' : false; ?>>
                        2
                      </option>
                      <option value="3" <?php echo get_meta($information->ic_id, 'meta_attraction_Hours') === '3' ? 'selected' : false; ?>>
                        3
                      </option>
                      <option value="4" <?php echo get_meta($information->ic_id, 'meta_attraction_Hours') === '4' ? 'selected' : false; ?>>
                        4
                      </option>
                      <option value="5" <?php echo get_meta($information->ic_id, 'meta_attraction_Hours') === '5' ? 'selected' : false; ?>>
                        5
                      </option>
                      <option value="6" <?php echo get_meta($information->ic_id, 'meta_attraction_Hours') === '6' ? 'selected' : false; ?>>
                        6
                      </option>
                      <option value="7" <?php echo get_meta($information->ic_id, 'meta_attraction_Hours') === '7' ? 'selected' : false; ?>>
                        7
                      </option>
                      <option value="8" <?php echo get_meta($information->ic_id, 'meta_attraction_Hours') === '8' ? 'selected' : false; ?>>
                        8
                      </option>
                      <option value="9" <?php echo get_meta($information->ic_id, 'meta_attraction_Hours') === '9' ? 'selected' : false; ?>>
                        9
                      </option>
                      <option value="10" <?php echo get_meta($information->ic_id, 'meta_attraction_Hours') === '10' ? 'selected' : false; ?>>
                        10
                      </option>
                    </select>
                  </div>
                <?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>
                    <a href="javascript:void(0);"
                      onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_attraction_Order', $('#meta_attraction_Order').val())"><i
                        class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
                    <a href="javascript:void(0);" title="景点排序"><i
                        class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-question-sign"></i></a>
                  </label>
                  <select name="meta_attraction_Order" id="meta_attraction_Order" class="form-control">
                    <option value="">选择排序</option>
                    <option value="1" <?php echo get_meta($information->ic_id, 'meta_attraction_Order') === '1' ? 'selected' : false; ?>>
                      1
                    </option>
                    <option value="2" <?php echo get_meta($information->ic_id, 'meta_attraction_Order') === '2' ? 'selected' : false; ?>>
                      2
                    </option>
                    <option value="3" <?php echo get_meta($information->ic_id, 'meta_attraction_Order') === '3' ? 'selected' : false; ?>>
                      3
                    </option>
                    <option value="4" <?php echo get_meta($information->ic_id, 'meta_attraction_Order') === '4' ? 'selected' : false; ?>>
                      4
                    </option>
                    <option value="5" <?php echo get_meta($information->ic_id, 'meta_attraction_Order') === '5' ? 'selected' : false; ?>>
                      5
                    </option>
                    <option value="6" <?php echo get_meta($information->ic_id, 'meta_attraction_Order') === '6' ? 'selected' : false; ?>>
                      6
                    </option>
                    <option value="7" <?php echo get_meta($information->ic_id, 'meta_attraction_Order') === '7' ? 'selected' : false; ?>>
                      7
                    </option>
                    <option value="8" <?php echo get_meta($information->ic_id, 'meta_attraction_Order') === '8' ? 'selected' : false; ?>>
                      8
                    </option>
                    <option value="9" <?php echo get_meta($information->ic_id, 'meta_attraction_Order') === '9' ? 'selected' : false; ?>>
                      9
                    </option>
                    <option value="10" <?php echo get_meta($information->ic_id, 'meta_attraction_Order') === '10' ? 'selected' : false; ?>>
                      10
                    </option>
                    <option value="11" <?php echo get_meta($information->ic_id, 'meta_attraction_Order') === '11' ? 'selected' : false; ?>>
                      11
                    </option>
                    <option value="12" <?php echo get_meta($information->ic_id, 'meta_attraction_Order') === '12' ? 'selected' : false; ?>>
                      12
                    </option>
                    <option value="13" <?php echo get_meta($information->ic_id, 'meta_attraction_Order') === '13' ? 'selected' : false; ?>>
                      13
                    </option>
                    <option value="14" <?php echo get_meta($information->ic_id, 'meta_attraction_Order') === '14' ? 'selected' : false; ?>>
                      14
                    </option>
                    <option value="15" <?php echo get_meta($information->ic_id, 'meta_attraction_Order') === '15' ? 'selected' : false; ?>>
                      15
                    </option>
                    <option value="16" <?php echo get_meta($information->ic_id, 'meta_attraction_Order') === '16' ? 'selected' : false; ?>>
                      16
                    </option>
                    <option value="17" <?php echo get_meta($information->ic_id, 'meta_attraction_Order') === '17' ? 'selected' : false; ?>>
                      17
                    </option>
                    <option value="18" <?php echo get_meta($information->ic_id, 'meta_attraction_Order') === '18' ? 'selected' : false; ?>>
                      18
                    </option>
                    <option value="18" <?php echo get_meta($information->ic_id, 'meta_attraction_Order') === '19' ? 'selected' : false; ?>>
                      19
                    </option>
                    <option value="20" <?php echo get_meta($information->ic_id, 'meta_attraction_Order') === '20' ? 'selected' : false; ?>>
                      20
                    </option>
                  </select>
                </div>

              </div>

            <?php } ?>

            <!-- 目的地产品选项 -->
            <div class="row">
              <div class="col-sm-6">
                <label>目的地产品类型
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_trippest_type', $('#meta_trippest_type').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_trippest_type', $('#meta_trippest_type').val())"><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);" title="产品分类，目前有普通，故宫，接送三种."><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-question-sign"></i></a>
                </label>
                <select name="meta_trippest_type" id="meta_trippest_type" class="form-control">
                  <option value="general" <?php echo get_meta($information->ic_id, 'meta_trippest_type') === 'general' ? 'selected' : false; ?>>
                    普通
                  </option>
                  <option value="gg" <?php echo get_meta($information->ic_id, 'meta_trippest_type') === 'gg' ? 'selected' : false; ?>>
                    故宫
                  </option>
                  <option value="zjj" <?php echo get_meta($information->ic_id, 'meta_trippest_type') === 'zjj' ? 'selected' : false; ?>>
                    张家界
                  </option>
                  <option value="transfer" <?php echo get_meta($information->ic_id, 'meta_trippest_type') === 'transfer' ? 'selected' : false; ?>>
                    接送
                  </option>
                </select>
              </div>
              <div class="col-sm-12">
                <label>目的地产品Package
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_trippest_package', $('#meta_trippest_package').val())"><i
                      class="text-muted glyphicon glyphicon-remove"></i></a>
                  <a href="javascript:void(0);"
                    onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_trippest_package', $('#meta_trippest_package').val())"><i
                      class="text-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);"
                    title="产品Package,如某条线路可以从两个地方出发，价格还不一样。格式： package显示名称,|项目1，成人价，儿童价|项目2，成人价，儿童价  例如：Departure Place,|Guilin Departure,0,0|Yangshuo Departure,10,5"><i
                      class="text-muted glyphicon glyphicon-question-sign"></i></a>
                </label>
                <input type="text" name="meta_trippest_package" class="form-control"
                  value="<?php echo get_meta($information->ic_id, 'meta_trippest_package'); ?>"
                  id="meta_trippest_package" />
              </div>
              <div class="col-sm-6">
                <label>目的地产品不开放月
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_trippest_excludemonth', $('#meta_trippest_excludemonth').val())"><i
                      class="text-muted glyphicon glyphicon-remove"></i></a>
                  <a href="javascript:void(0);"
                    onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_trippest_excludemonth', $('#meta_trippest_excludemonth').val())"><i
                      class="text-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);" title="产品不开发的月份，用逗号隔开，比如：2,3 (说明2月，3月关闭预订)"><i
                      class="text-muted glyphicon glyphicon-question-sign"></i></a>
                </label>
                <input type="text" name="meta_trippest_excludemonth" class="form-control"
                  value="<?php echo get_meta($information->ic_id, 'meta_trippest_excludemonth'); ?>"
                  id="meta_trippest_excludemonth" />
              </div>
            </div>

            <div class="row">
              <div class="col-sm-12">
                <label>目的地产品不开放日期的列表
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_trippest_excludedate', $('#meta_trippest_excludedate').val())"><i
                      class="text-muted glyphicon glyphicon-remove"></i></a>
                  <a href="javascript:void(0);"
                    onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_trippest_excludedate', $('#meta_trippest_excludedate').val())"><i
                      class="text-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);" title="录入的日期都不能预订，逗号隔开，用“/”日期格式，例如：2019/2/5，2019/2/7，2019/10/5"><i
                      class="text-muted glyphicon glyphicon-question-sign"></i></a>
                </label>
                <input type="text" name="meta_trippest_excludedate" class="form-control"
                  value="<?php echo get_meta($information->ic_id, 'meta_trippest_excludedate'); ?>"
                  id="meta_trippest_excludedate" />
              </div>
              <div class="col-sm-12">
                <label>目的地产品肯定开放日期的列表
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_trippest_includedate', $('#meta_trippest_includedate').val())"><i
                      class="text-muted glyphicon glyphicon-remove"></i></a>
                  <a href="javascript:void(0);"
                    onclick="meta('save', '<?php echo $information->ic_id; ?>', 'meta_trippest_includedate', $('#meta_trippest_includedate').val())"><i
                      class="text-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);" title="录入的日期肯定能预订，逗号隔开，用“/”日期格式，例如：2019/2/5，2019/2/7，2019/10/5"><i
                      class="text-muted glyphicon glyphicon-question-sign"></i></a>
                </label>
                <input type="text" name="meta_trippest_includedate" class="form-control"
                  value="<?php echo get_meta($information->ic_id, 'meta_trippest_includedate'); ?>"
                  id="meta_trippest_includedate" />
              </div>
            </div>

            <div class="row">
              <div class="col-sm-6">
                <label>目的地产品最少人数
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_trippest_limitperson', $('#meta_trippest_limitperson').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_trippest_limitperson', $('#meta_trippest_limitperson').val())"><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);" title="产品预订需要的最少人数"><i
                      class="text-muted glyphicon glyphicon-question-sign"></i></a>
                  <select name="meta_trippest_limitperson" id="meta_trippest_limitperson" class="form-control">
                    <option value="0" <?php echo get_meta($information->ic_id, 'meta_trippest_limitperson') === '0' ? 'selected' : false; ?>>
                      0
                    </option>
                    <option value="1" <?php echo get_meta($information->ic_id, 'meta_trippest_limitperson') === '1' ? 'selected' : false; ?>>
                      1
                    </option>
                    <option value="2" <?php echo get_meta($information->ic_id, 'meta_trippest_limitperson') === '2' ? 'selected' : false; ?>>
                      2
                    </option>
                    <option value="3" <?php echo get_meta($information->ic_id, 'meta_trippest_limitperson') === '3' ? 'selected' : false; ?>>
                      3
                    </option>
                    <option value="4" <?php echo get_meta($information->ic_id, 'meta_trippest_limitperson') === '4' ? 'selected' : false; ?>>
                      4
                    </option>
                    <option value="5" <?php echo get_meta($information->ic_id, 'meta_trippest_limitperson') === '5' ? 'selected' : false; ?>>
                      5
                    </option>
                    <option value="6" <?php echo get_meta($information->ic_id, 'meta_trippest_limitperson') === '6' ? 'selected' : false; ?>>
                      6
                    </option>
                    <option value="7" <?php echo get_meta($information->ic_id, 'meta_trippest_limitperson') === '7' ? 'selected' : false; ?>>
                      7
                    </option>
                    <option value="8" <?php echo get_meta($information->ic_id, 'meta_trippest_limitperson') === '8' ? 'selected' : false; ?>>
                      8
                    </option>
                    <option value="9" <?php echo get_meta($information->ic_id, 'meta_trippest_limitperson') === '9' ? 'selected' : false; ?>>
                      9
                    </option>
                  </select>
              </div>
              <div class="col-sm-6">
                <label>TP是否需要HotelAddress
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_trippest_hoteladdress', $('#meta_trippest_hoteladdress').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_trippest_hoteladdress', $('#meta_trippest_hoteladdress').val())"><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);" title="TP产品预订是否需要录入HotelAddress，默认是需要"><i
                      class="text-muted glyphicon glyphicon-question-sign"></i></a>
                  <select name="meta_trippest_hoteladdress" id="meta_trippest_hoteladdress" class="form-control">
                    <option value="是" <?php echo get_meta($information->ic_id, 'meta_trippest_hoteladdress') === '是' ? 'selected' : false; ?>>
                      是
                    </option>
                    <option value="否" <?php echo get_meta($information->ic_id, 'meta_trippest_hoteladdress') === '否' ? 'selected' : false; ?>>
                      否
                    </option>
                  </select>
              </div>
              <div class="col-sm-6">
                <label>TP产品星级评分
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_trippest_starrating', $('#meta_trippest_starrating').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_trippest_starrating', $('#meta_trippest_starrating').val())"><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);" title="TP产品星级评分数，可以为小数"><i
                      class="text-muted glyphicon glyphicon-question-sign"></i></a>
                  <input type="text" name="meta_trippest_starrating" class="form-control"
                    value="<?php echo get_meta($information->ic_id, 'meta_trippest_starrating'); ?>"
                    id="meta_trippest_starrating" />
              </div>
              <div class="col-sm-6">
                <label>产品的预订流程
                  <a href="javascript:void(0);"
                    onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_trippest_inquiryform', $('#meta_trippest_inquiryform').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_trippest_inquiryform', $('#meta_trippest_inquiryform').val())"><i
                      class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
                  <a href="javascript:void(0);" title="预订流程不同，产品页的预订表单也不一样，默认是普通预订的正常流程，新增了一个快捷预订表单流程"><i
                      class="text-muted glyphicon glyphicon-question-sign"></i></a>
                  <select name="meta_trippest_inquiryform" id="meta_trippest_inquiryform" class="form-control">
                    <option value="common" <?php echo get_meta($information->ic_id, 'meta_trippest_inquiryform') === 'common' ? 'selected' : false; ?>>
                      普通预订
                    </option>
                    <option value="quickform" <?php echo get_meta($information->ic_id, 'meta_trippest_inquiryform') === 'quickform' ? 'selected' : false; ?>>
                      快捷预订
                    </option>
                  </select>
              </div>
            </div>


            <!-- 自定义选项 -->
          </div>


        </div>


        <div class="col-sm-4 well info-right-col" style="height:1004px;padding:0 12px;border:none;">
          <!-- 右侧栏 -->
          <?php
          if (stripos($information->ic_photo, '//') === false) {
            $list_picture = $information->ic_photo ? $this->config->item('media_image_url') . $information->ic_photo : '/css/images/uploadPic.jpg';
          } else {
            $list_picture = $information->ic_photo;
          }
          ?>
          <label>标题图片</label>
          <input class="form-control" type="text" name="ic_photo" id="ic_photo"
            value="<?php echo $information->ic_photo; ?>" />

          <label>附加图片PC
            <a href="javascript:void(0);"
              onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_addon_picture', $('#meta_addon_picture').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_addon_picture', $('#meta_addon_picture').val())"><i
                class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
          </label>
          <input name="meta_addon_picture" id="meta_addon_picture" type="text" class="form-control"
            value="<?php echo get_meta($information->ic_id, 'meta_addon_picture'); ?>" />

          <label>附加图片Mobile
            <a href="javascript:void(0);"
              onclick="meta('delete', '<?php echo $information->ic_id; ?>', 'meta_addon_picture_mobile', $('#meta_addon_picture_mobile').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_addon_picture_mobile', $('#meta_addon_picture_mobile').val())"><i
                class="text-muted glyphicon glyphtext-muted glyphicon glyphicon-hdd"></i></a>
          </label>
          <input name="meta_addon_picture_mobile" id="meta_addon_picture_mobile" type="text" class="form-control"
            value="<?php echo get_meta($information->ic_id, 'meta_addon_picture_mobile'); ?>" />

          <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 (is_mobile_first()) { ?>
            <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;">
                  &lt;!--@Content-Recommends-Article@--&gt;
                </label>
              </div>
            </div>

            <div id="bind_product_code">
              <div class="input-group">
                <a class="btn default" target="_blank" href="https://www.kdocs.cn/l/ckDJoZnCw9Td">特殊代码模版</a>
              </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 (!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; ?>">
                  <?php echo $key; ?>
                </option>
                <?php
              } ?>
            </select>

            <label style="width:48px;">模板</label>
            <select name="ic_template" id="ic_template" class="form-control">
              <?php
              foreach ($templateList as $key => $value) {
                $value == $information->ic_template ? $select_str = 'selected' : $select_str = ''; ?>
                <option <?php echo $select_str; ?> value="<?php echo $value; ?>">
                  <?php echo $key; ?>
                </option>
                <?php
              } ?>
            </select>

            <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>
            </select>
          <?php } ?>

          <label>作者</label>
          <select name="ic_author" id="ic_author" class="form-control">
            <option value="">-</option>
            <?php
            $userinfo = $this->session->userdata('session_admin');
            $hasselected = false;
            foreach ($editor_list as $editor_item) {
              //mb_strtolower($editor_item->OPI_Code) == mb_strtolower($information->ic_author) ? $select_str = 'selected' : $select_str = '';
              if (mb_strtolower($editor_item->OPI_Code) == mb_strtolower($information->ic_author)) {
                $select_str = 'selected';
                $hasselected = true;
              } else {
                $select_str = '';
                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; ?>">
                <?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; ?>">
                <?php echo $author_item->a_name; ?>
              </option>
              <?php
            } ?>
          </select>

          <label>是否发布</label>
          <select name="ic_status" id="ic_status" class="form-control">
            <option <?php echo $information->ic_status == 0 ? 'selected' : false; ?> value="0">不发布</option>
            <option <?php echo $information->ic_status == 1 ? 'selected' : false; ?> value="1">发布</option>
          </select>


          <div class="clearfix"></div>
          <label class="checkbox col-xs-24" style="font-weight: normal;padding-left: 21px;">
            <input type="checkbox" name="ignore_seo_check" id="ignore_seo_check" />忽略SEO检测
          </label>

          <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>
          <div class="clearfix"></div>
          <?php if (in_array($this->config->item('site_code'), array('ch', 'cht', 'gm', 'ah', 'gh', 'ct', 'chinatravel', 'shanghai'))) { ?>
            <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 if (in_array($this->config->item('site_code'), array('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更新
              <?php if ($information->amp_status === '2') {
                echo '<i class="glyphicon glyphicon-hand-up" title="手动管理，不会自动更新"></i>';
              } ?>
            </label>

          <?php } ?>

          <div class="clearfix"></div>

          <div class="btn-group col-xs-24 nopadding pull-right">
            <input type="hidden" name="rule_check_flag" id="rule_check_flag" value="1">
            <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') { ?>
                                   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');
                                     }
                                   }
                           <?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') { ?>
                                   // if (editor.element.getText() == '') {
                                   //   editor.setData('From HTML-Generator');
                                   //   editor.updateElement();
                                   // }
                           <?php } ?>
                                   if (information_check() != false) {
                                   submitForm('form_information_edit');
                                   }">保存修改</a>
            <button class="btn dropdown-toggle btn-primary col-xs-5" data-toggle="dropdown">
              <span class="caret"></span>
            </button>
            <ul class="dropdown-menu">
              <li><a href="<?php echo site_url('author/create_task/' . $information->is_id) ?>" target="_blank">发布任务</a>
              </li>
              <li class="divider"></li>
              <li><a href="javascript:void(0);" onclick="move_by_is_id('<?php echo $information->is_id; ?>');">搬迁信息</a>
              </li>

              <li><a href="javascript:void(0);" onclick="deleteInfo('<?php echo $information->is_id; ?>');">删除信息</a>
              </li>
              <li class="divider"></li>

              <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) { ?>
                    <li>
                      <a href="<?php echo site_url('information/backup_content/' . $item->log_id); ?>" target="_blank">
                        <?php echo $item->log_datetime ?>
                        ,
                        <?php echo $item->log_ht_username ?>
                      </a>
                    </li>
                  <?php } ?>
                </ul>
              </li>
            </ul>

            <?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 } ?>
          </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>
          </div>


        </div> <!-- 右侧栏 -->


      </form>


    </div>

  </div>
</div>
<textarea id="mobile_first_template" style="display: none;"><?php if (!empty($mobile_first_template)) {
  echo htmlentities($mobile_first_template);
} ?></textarea>

<!-- Trippest bokun窗口 -->
<div class="modal fade" id="NoPermissionModal">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h4 class="modal-title" id="NoPermissionModalLabel">BOKUN附加属性管理</h4>
      </div>
      <div class="modal-body" style="height:650px;">
        <iframe id="NoPermissioniframe" width="100%" height="100%" frameborder="0"></iframe>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default " data-dismiss="modal"> 关 闭</button>
      </div>
    </div>
  </div>
</div>
<!-- Trippest bokun窗口 -->

<script>
  $(function () {
    $("#aBokunData").click(function () {
      var frameSrc = "/info.php/infobokundata/index/<?php echo $information->ic_id ?>/";
      $("#NoPermissioniframe").attr("src", frameSrc);
      $('#NoPermissionModal').modal({
        show: true,
        backdrop: 'static'
      });
    })
  });
</script>