<?php
require '../../../../zb_system/function/c_system_base.php';
require $blogpath . 'zb_users/theme/qiyeseo/admin/Admin_header.php';
?>
<div class="SubMenu">
  <?php qiyeseo_SubMenu(3);?>
      <a target="_blank" href="https://ixxz.cn"><span class="m-right">作者官网</span></a><a href="<?php echo $bloghost?>zb_users/plugin/AppCentre/main.php?auth=098236fa-3e93-4127-8a50-6c39ffb8d6a4"><span class="m-right">作者作品</span></a><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=3455768911&site=qq&menu=yes"><span class="m-right">联系作者</span></a>
</div>
<div class="lianxi">
  <p> 该作品由星岚工作室原创发布，小智收录网改版<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=3455768911&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:3455768911:41" alt="点击这里给我发消息" title="点击这里给我发消息"/></a></p>
</div>
<div id="divMain2">
  <?php
	if(count($_POST)>0){
    if (function_exists('CheckIsRefererValid')) CheckIsRefererValid();
	    $zbp->Config('qiyeseo')->banner = $_POST['banner'];
		$zbp->Config('qiyeseo')->bannersort = $_POST['bannersort'];
		$zbp->Config('qiyeseo')->bannerdiy = $_POST['bannerdiy'];
	    $zbp->Config('qiyeseo')->about = $_POST['about'];
		$zbp->Config('qiyeseo')->aboutphoto = $_POST['aboutphoto'];
		$zbp->Config('qiyeseo')->aboutmore = $_POST['aboutmore'];
		$zbp->Config('qiyeseo')->qiyenews = $_POST['qiyenews'];
		$zbp->Config('qiyeseo')->qiyenews_num = $_POST['qiyenews_num'];
		$zbp->Config('qiyeseo')->shop = $_POST['shop'];
		$zbp->Config('qiyeseo')->shopid = $_POST['shopid'];
		$zbp->Config('qiyeseo')->shopmore = $_POST['shopmore'];
		$zbp->Config('qiyeseo')->shop_num = $_POST['shop_num'];
		$zbp->Config('qiyeseo')->news_num = $_POST['news_num'];
        $zbp->Config('qiyeseo')->hottags = $_POST['hottags'];
		$zbp->Config('qiyeseo')->hottags2 = $_POST['hottags2'];
        $zbp->Config('qiyeseo')->hottagsnum = $_POST['hottagsnum'];
		$zbp->Config('qiyeseo')->flinks = $_POST['flinks'];

        $zbp->SaveConfig( 'qiyeseo' );

	    $zbp->ShowHint( 'good' );

	}

?>
  <form id="form3" name="form3" method="post">
    <table width="100%" style='padding:0;margin:0;' cellspacing='0' cellpadding='0' class="tableBorder">
     <tr>
        <td width="20%"><p><b>轮播图（网站海报）</b></p><p>轮播图海报图片应设置大小为960×380px。</p>
        <td>
          <p>
            <input type="text" id="banner" name="banner" class="checkbox" value="<?php echo $zbp->Config('qiyeseo')->banner;?>"/>
            &nbsp;是否显示轮播图？ 开启后在文章编辑将文章推荐属性设置为“轮播图” </p>
             <p>
            <input type="text" id="bannersort" name="bannersort" class="checkbox" value="<?php echo $zbp->Config('qiyeseo')->bannersort;?>"/>
            &nbsp;把轮播图排序改为按时间倒叙（最新发布的在后），默认最新发布的在前。</p>
            <p>请注意，如果通过文章编辑-推荐属性设置轮播图，这里是不用设置的。如果设置了这里，文章编辑创建的轮播图就会失效。
             <textarea id="bannerdiy" name="bannerdiy" cols="68" rows="4" style="width:99%;vertical-align:middle" placeholder="自定义轮播图代码，如果你不想通过文章编辑-推荐属性设置轮播图，可以在这里自定义轮播图代码。以下有示例代码可以参考。"><?php echo $zbp->Config('qiyeseo')->bannerdiy;?></textarea>
             </p>
            
              <pre class="prism-highlight prism-language-markup">&lt;li class=&quot;carousel-item&quot;&gt;&lt;a href=&quot;#图片链接&quot; title=&quot;#链接名称&quot;&gt;&lt;img src=&quot;#图片地址&quot; alt=&quot;#图片名称&quot;&gt;&lt;/a&gt;&lt;/li&gt;</pre>
            <p>以上代码可复制多行，请替换代码中的<b>图片链接</b>、<b>链接名称</b>、<b>图片地址</b>和<b>图片名称</b>。图片可以先上传到网站后台附件管理，再获取图片地址！</p>
             </td>
      </tr>
 <tr>
        <td width="30%"><p><b>关于我们（居左）</b></p><p>图片大小不限制，宽度不小于450px即可。</p></td>
        <td>      <p><img src="<?php echo $zbp->Config('qiyeseo')->aboutphoto;?>" alt="企业照片" style="height:150px;"/> </p>
          <p class="uploadimg">
            <input name="aboutphoto" id="aboutphoto" type="text" class="uplod_img" style="width: 50%;" value="<?php echo $zbp->Config('qiyeseo')->aboutphoto;?>"/>
            <strong>浏览文件</strong> </p>
             <p><span style="font-size:16px;font-weight:bold;">企业简介</span></p>
             <p>
             <textarea id="about" name="about" cols="68" rows="6" style="width:99%;vertical-align:middle"><?php echo $zbp->Config('qiyeseo')->about;?></textarea>
             </p>
            <p> <input type="text" name="aboutmore" id="aboutmore"  value="<?php echo $zbp->Config('qiyeseo')->aboutmore;?>" style="width:300px;margin:0 10px 0 0;"/>
              更多详情地址链接，这里可以填写指定页面的地址链接</p>
         </td>
      </tr>
        <tr>
        <td><p><b>文章列表（居右）</b></p><p>只能选择一个分类，位于关于我们右侧，建议设置为企业资讯，网站公告，最新活动等分类。</p></td>
        <td><div class="xzfl">
            <p><?php echo OutputOptionItemsOfCategories('');?></p>
            <p>
              <input type="text" name="qiyenews" id="more_cate"  value="<?php echo $zbp->Config('qiyeseo')->qiyenews;?>" style="width:300px;" placeholder="点击分类名称选择"/>
              &nbsp;<a href="javascript:;" id="resetcms">点此清空</a>
              <input type="text" name="qiyenews_num" id="qiyenews_num"  value="<?php echo $zbp->Config('qiyeseo')->qiyenews_num;?>" style="width:100px;margin:0 10px 0 30px;"/>
              列表文章数量</p>
          </div></td>
      </tr>
       <tr>
        <td><p><b>分类列表版块</b></p><p>支持选择多个分类，混合显示文章和产品列表</p></td>
        <td><div class="shop">
            <p><?php echo OutputOptionItemsOfCategories('');?></p>
            <p>
              <input type="text" name="shopid" id="more_cateshop"  value="<?php echo $zbp->Config('qiyeseo')->shopid;?>" style="width:300px;" placeholder="点击分类名称选择"/>
              &nbsp;<a href="javascript:;" id="shop_resetcms">点此清空</a>
              <input type="text" name="news_num" id="news_num"  value="<?php echo $zbp->Config('qiyeseo')->news_num;?>" style="width:100px;margin:0 10px 0 30px;"/>
              列表文章数量 <input type="text" name="shop_num" id="shop_num"  value="<?php echo $zbp->Config('qiyeseo')->shop_num;?>" style="width:100px;margin:0 10px 0 30px;"/> 列表产品数量</p>
          </div>
          <p>
            <input type="text" id="shop" name="shop" class="checkbox" value="<?php echo $zbp->Config('qiyeseo')->shop;?>"/>
            &nbsp;是否显示？&nbsp;&nbsp;&nbsp; <input type="text" id="shopmore" name="shopmore" class="checkbox" value="<?php echo $zbp->Config('qiyeseo')->shopmore;?>"/>
            &nbsp;是否显示更多？</p></td>
      </tr>
      <tr>
        <td><p><b>热门标签</b></p></td>
        <td><p>
            <input type="text" id="hottags" name="hottags" class="checkbox" value="<?php echo $zbp->Config('qiyeseo')->hottags;?>"/>&nbsp;是否显示？
            <input type="text" id="hottags2" name="hottags2" class="checkbox" value="<?php echo $zbp->Config('qiyeseo')->hottags2;?>"/>&nbsp;是否显示当前标签的文章数量？
            <input type="text" name="hottagsnum" id="hottagsnum"  value="<?php echo $zbp->Config('qiyeseo')->hottagsnum;?>" style="width:100px;margin:0 10px 0 30px;"/>
            标签数量</p></td>
      </tr>
      <tr>
        <td><p><b>友情链接</b></p></td>
        <td><p>
            <input type="text" id="flinks" name="flinks" class="checkbox" value="<?php echo $zbp->Config('qiyeseo')->flinks;?>"/>
            &nbsp;首页友情链接</p></td>
      </tr>
    </table>
    <br/>
    <?php if (function_exists('CheckIsRefererValid')) {echo '<input type="hidden" name="csrfToken" value="' . $zbp->GetCSRFToken() . '">';}?>
    <input name="" type="Submit" class="button" value="保存"/>
  </form>
</div>
</div>
<script type="text/javascript" src="<?php echo $bloghost?>zb_users/plugin/UEditor/ueditor.config.php"></script> 
<script type="text/javascript" src="<?php echo $bloghost?>zb_users/plugin/UEditor/ueditor.all.min.js"></script> 
<script type="text/javascript" src="<?php echo $bloghost?>zb_users/theme/qiyeseo/style/js/lib.upload.js"></script> 
<script type="text/javascript">

	ActiveTopMenu( "topmenu_qiyeseo" );

</script>
<?php

require $blogpath . 'zb_system/admin/admin_footer.php';

RunTime();

?>
