<?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(4);?>
   <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')->seo = $_POST['seo']; 

          $zbp->Config('qiyeseo')->seotitle = $_POST['seotitle'];

          $zbp->Config('qiyeseo')->seokeywords = $_POST['seokeywords'];

          $zbp->Config('qiyeseo')->seodescription = $_POST['seodescription'];

      $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%"><b>SEO开关</b></td>
        <td><p>
            <input type="text" id="seo" name="seo" class="checkbox" value="<?php echo $zbp->Config('qiyeseo')->seo;?>"/>
            &nbsp;&nbsp;&nbsp;使用了SEO插件，并且开启了标题优化，需关闭这里的主题自带SEO！ </p></td>
      </tr>
      <tr>
        <td><b>首页SEO标题</b></td>
        <td><p>
            <input type="text" name="seotitle" id="seotitle"  value="<?php echo $zbp->Config('qiyeseo')->seotitle;?>" style="width:98%;"/>
          </p></td>
      </tr>
      <tr>
        <td><b>首页SEO关键词</b></td>
        <td><p>
            <input type="text" name="seokeywords" id="seokeywords"  value="<?php echo $zbp->Config('qiyeseo')->seokeywords;?>" style="width:98%;"/>
          </p></td>
      </tr>
      <tr>
        <td><b>首页SEO描述</b></td>
        <td><p>
            <textarea name="seodescription" type="text" id="seodescription" style="width:98%;"><?php echo $zbp->Config('qiyeseo')->seodescription;?></textarea>
          </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">

	ActiveTopMenu( "topmenu_qiyeseo" );

</script>
<?php

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

RunTime();

?>
