<?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(5);?>
    <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')->details = $_POST['details']; 
	  $zbp->Config('qiyeseo')->zhuanzai = $_POST['zhuanzai'];
	  $zbp->Config('qiyeseo')->aurl = $_POST['aurl'];  
	  $zbp->Config('qiyeseo')->piece = $_POST['piece'];
	  $zbp->Config('qiyeseo')->caini = $_POST['caini'];
	  $zbp->Config('qiyeseo')->caini_xz = $_POST['caini_xz'];
	  $zbp->Config('qiyeseo')->caini_num = $_POST['caini_num'];

      $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>文章参数</b></td>
        <td><p>
            <input type="text" id="details" name="details" class="checkbox" value="<?php echo $zbp->Config('qiyeseo')->details;?>"/>
            &nbsp;&nbsp;&nbsp;发布者、时间和阅读量</p></td>
      </tr>
        <tr>
        <td width="30%"><b>本文链接及转载声明</b></td>
        <td><p>
            <input type="text" id="aurl" name="aurl" class="checkbox" value="<?php echo $zbp->Config('qiyeseo')->aurl;?>"/>
            &nbsp;&nbsp;&nbsp;显示开关</p>
            <p>
            <textarea name="zhuanzai" type="text" id="zhuanzai" style="width:98%;" placeholder="转载声明"><?php echo $zbp->Config('qiyeseo')->zhuanzai;?></textarea>
          </p>
            
            </td>
      </tr>
      <tr>
        <td><b>上一篇和下一篇</b></td>
        <td><p>
            <input type="text" id="piece" name="piece" class="checkbox" value="<?php echo $zbp->Config('qiyeseo')->piece;?>"/>
            &nbsp;&nbsp;&nbsp;文章底部显示上一篇和下一篇</p></td>
      </tr>
      <tr>
        <td><b>相关文章</b></td>
        <td><p>
            <input type="text" id="caini" name="caini" class="checkbox" value="<?php echo $zbp->Config('qiyeseo')->caini;?>"/>
            &nbsp;&nbsp;&nbsp;在文章详情页显示相关文章</p>
          <p>
            <input type="radio" name="caini_xz" value="1" <?php if($zbp->Config('qiyeseo')->caini_xz == '1') echo 'checked'?> />
            <span style="margin:0 30px 0 0;">同分类</span>
            <input type="radio" name="caini_xz" value="2" <?php if($zbp->Config('qiyeseo')->caini_xz == '2') echo 'checked'?> />
            <span style="margin:0 30px 0 0;">同标签</span>
            <input name="caini_num" type="text" id="caini_num" value="<?php echo $zbp->Config('qiyeseo')->caini_num;?>" style="width:85px;" />
            <span style="margin:0 30px 0 5px;">列表文章数量</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">
	ActiveTopMenu( "topmenu_qiyeseo" );
</script>
<?php
require $blogpath . 'zb_system/admin/admin_footer.php';
RunTime();
?>