<?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(2);?>
      <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' )->logo = $_POST[ 'logo' ];
        $zbp->Config( 'qiyeseo' )->shopsign = $_POST[ 'shopsign' ];
        $zbp->Config( 'qiyeseo' )->shopsignon = $_POST[ 'shopsignon' ];
        $zbp->Config( 'qiyeseo' )->webwidth = $_POST[ 'webwidth' ];
        $zbp->Config( 'qiyeseo' )->daohang = $_POST[ 'daohang' ];
        $zbp->Config( 'qiyeseo' )->search = $_POST[ 'search' ];  
        $zbp->Config( 'qiyeseo' )->ejdh = $_POST[ 'ejdh' ];
		$zbp->Config( 'qiyeseo' )->breadcrumb = $_POST[ 'breadcrumb' ];
        $zbp->Config( 'qiyeseo' )->clearSetting = $_POST[ 'clearSetting' ];
        $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="30%"><p><b>网站LOGO</b> </p></td>
        <td><p><span style="font-size:16px;font-weight:bold;margin-right:15px;">方式一(默认)</span>显示logo、网站标题、副标题和搜索框</p>
          <p><img src="<?php echo $zbp->Config('qiyeseo')->logo;?>" alt="logo" style="height:80px;"/> </p>
          <p class="uploadimg">
            <input name="logo" id="logo" type="text" class="uplod_img" style="width: 50%;" value="<?php echo $zbp->Config('qiyeseo')->logo;?>"/>
            <strong>浏览文件</strong> </p>
          <p><span style="font-size:16px;font-weight:bold;margin-right:15px;">方式二&nbsp;&nbsp;
            <input type="text" id="shopsignon" name="shopsignon" class="checkbox" value="<?php echo $zbp->Config('qiyeseo')->shopsignon;?>"/>
            </span>开启后替换方式一，只显示logo（图片同网页宽度，高度自适应）</p>
          <p><img src="<?php echo $zbp->Config('qiyeseo')->shopsign;?>" alt="logo" style="height:80px;"/> </p>
          <p class="uploadimg">
            <input name="shopsign" id="shopsign" type="text" class="uplod_img" style="width: 50%;" value="<?php echo $zbp->Config('qiyeseo')->shopsign;?>"/>
            <strong>浏览文件</strong> </p></td>
      </tr>
      <tr>
        <td><span style="color:#f00;">*</span><b>网页宽度</b></td>
        <td><p>
            <input type="text" name="webwidth" id="webwidth" value="<?php echo $zbp->Config('qiyeseo')->webwidth;?>" style="width:100px;margin-right:15px;" placeholder="设置你的网站宽度"/>
            默认网页宽度960px，你可以根据你的需要调整 </p>
          <p style="margin-bottom:15px;height:5px;background: -webkit-linear-gradient(left, #003366,#006666,#009966,#00CC66);background: -o-linear-gradient(right, #003366,#006666,#009966,#00CC66);background: -moz-linear-gradient(right, #003366,#006666,#009966,#00CC66);background: linear-gradient(to right, #003366,#006666,#009966,#00CC66); width:<?php echo $zbp->Config('qiyeseo')->webwidth;?>">&nbsp;</p></td>
      </tr>
      <tr>
        <td><span style="color:#f00;">*</span><b>网站搜索</b></td>
        <td><p>
            <input type="text" id="search" name="search" class="checkbox" value="<?php echo $zbp->Config('qiyeseo')->search;?>"/>
            <span style="margin-left:10px;">网站搜索开关</span> </p></td>
      </tr>
      <tr>
        <td><span style="color:#f00;">*</span><b>网站导航</b></td>
        <td><p>
            <input type="text" id="daohang" name="daohang" class="checkbox" value="<?php echo $zbp->Config('qiyeseo')->daohang;?>"/>
            <span style="margin-left:10px;">网站导航栏开关</span> </p>
          <p>
            <input type="text" id="ejdh" name="ejdh" class="checkbox" value="<?php echo $zbp->Config('qiyeseo')->ejdh;?>"/>
            <span style="margin-left:10px;">网站导航栏显示子分类</span>（ps:同时你需要进入模块管理——系统模块——网站分类——编辑——开启UL嵌套型)</p></td>
      </tr>
       <tr>
        <td><span style="color:#f00;">*</span><b>当前位置（面包屑导航）</b><p>主题被好几个用户吐槽没有面包屑导航，还是加上吧！不需要还可以关闭。</p></td>
        <td><p>
            <input type="text" id="breadcrumb" name="breadcrumb" class="checkbox" value="<?php echo $zbp->Config('qiyeseo')->breadcrumb;?>"/>
            <span style="margin-left:10px;">分别在分类页、搜索页、文章页、标签页、单页显示的当前位置开关</span> </p></td>
      </tr>
      <tr>
        <td><b>清除主题配置</b></td>
        <td colspan="2"><p>
            <input type="text" id="clearSetting" name="clearSetting" class="checkbox" value="<?php echo $zbp->Config('qiyeseo')->clearSetting;?>"/>
            <span style="color:#ff0000;margin-left:10px;">如果想要更换主题并清空当前设置，开启这里。请谨慎开启！</span> </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();
?>
