<?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(6);?>
   <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> 该作品由星岚工作室原创发布，有问题和bug联系作者<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')->bm1tit = $_POST['bm1tit']; 
        $zbp->Config('qiyeseo')->bm1url = $_POST['bm1url']; 
        $zbp->Config('qiyeseo')->bm1ico = $_POST['bm1ico'];
        $zbp->Config('qiyeseo')->bm2tit = $_POST['bm2tit']; 
        $zbp->Config('qiyeseo')->bm2url = $_POST['bm2url']; 
        $zbp->Config('qiyeseo')->bm2ico = $_POST['bm2ico']; 
        $zbp->Config('qiyeseo')->bm3tit = $_POST['bm3tit']; 
        $zbp->Config('qiyeseo')->bm3url = $_POST['bm3url']; 
        $zbp->Config('qiyeseo')->bm3ico = $_POST['bm3ico']; 
        $zbp->Config('qiyeseo')->bmnum = $_POST['bmnum'];
        $zbp->Config('qiyeseo')->bmindex = $_POST['bmindex'];
        $zbp->Config('qiyeseo')->bmlist = $_POST['bmlist'];
        $zbp->Config('qiyeseo')->bmarticle = $_POST['bmarticle'];
        $zbp->Config('qiyeseo')->bmpage = $_POST['bmpage'];
        $zbp->Config('qiyeseo')->bmwap = $_POST['bmwap'];
	    $zbp->Config('qiyeseo')->bm = $_POST['bm']; 
		$zbp->Config('qiyeseo')->bmhover = $_POST['bmhover']; 
        $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>
				<th width='20%'><b>自定义菜单</b></td>
                <td>
                    <p><b style="font-size:14px;border:1px solid #cccccc;padding:5px 15px;border-radius: 5px; ">菜单一</b>&nbsp;&nbsp;图标&nbsp;<input name="bm1ico" type="text" style="width: 100px;" value="<?php echo $zbp->Config('qiyeseo')->bm1ico;?>" />&nbsp;&nbsp;
                    名称&nbsp;<input name="bm1tit" type="text" id="bm1tit" style="width: 100px;" value="<?php echo $zbp->Config('qiyeseo')->bm1tit;?>" />&nbsp;&nbsp;
                    链接&nbsp;<input name="bm1url" type="text" id="bm1url" style="width: 50%;" value="<?php echo $zbp->Config('qiyeseo')->bm1url;?>" />
                    </p>
                    <p><b style="font-size:14px;border:1px solid #cccccc;padding:5px 15px;border-radius: 5px; ">菜单二</b>&nbsp;&nbsp;图标&nbsp;<input name="bm2ico" type="text" style="width: 100px;" value="<?php echo $zbp->Config('qiyeseo')->bm2ico;?>" />&nbsp;&nbsp;
                    名称&nbsp;<input name="bm2tit" type="text" id="bm2tit" style="width: 100px;" value="<?php echo $zbp->Config('qiyeseo')->bm2tit;?>" />&nbsp;&nbsp;
                    链接&nbsp;<input name="bm2url" type="text" id="bm2url" style="width: 50%;" value="<?php echo $zbp->Config('qiyeseo')->bm2url;?>" />
                    </p>
                    <p><b style="font-size:14px;border:1px solid #cccccc;padding:5px 15px;border-radius: 5px; ">菜单三</b>&nbsp;&nbsp;图标&nbsp;<input name="bm3ico" type="text" style="width: 100px;" value="<?php echo $zbp->Config('qiyeseo')->bm3ico;?>" />&nbsp;&nbsp;
                    名称&nbsp;<input name="bm3tit" type="text" id="bm3tit" style="width: 100px;" value="<?php echo $zbp->Config('qiyeseo')->bm3tit;?>" />&nbsp;&nbsp;
                    链接&nbsp;<input name="bm3url" type="text" id="bm3url" style="width: 50%;" value="<?php echo $zbp->Config('qiyeseo')->bm3url;?>" />
                    </p>
                <p>让快捷菜单显示小图标，<a target="_blank" href="<?php echo $bloghost?>zb_users/theme/qiyeseo/style/css/demo_index.html">点击访问图标库</a>，引用方式：复制图标名称下方的一行字符（例如#xe6091;）</p>
                     <p>菜单数量： <input type="radio" name="bmnum" value="1" <?php if($zbp->Config('qiyeseo')->bmnum == '1') echo 'checked'?> />显示1个&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="bmnum" value="2" <?php if($zbp->Config('qiyeseo')->bmnum == '2') echo 'checked'?> />显示2个&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="bmnum" value="3" <?php if($zbp->Config('qiyeseo')->bmnum == '3') echo 'checked'?> />显示3个(默认)</p>
                      <p>显示位置：<input type="text" id="bmindex" name="bmindex" class="checkbox" value="<?php echo $zbp->Config('qiyeseo')->bmindex;?>"/>&nbsp;&nbsp;首页&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" id="bmlist" name="bmlist" class="checkbox" value="<?php echo $zbp->Config('qiyeseo')->bmlist;?>"/>&nbsp;&nbsp;分类页&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" id="bmarticle" name="bmarticle" class="checkbox" value="<?php echo $zbp->Config('qiyeseo')->bmarticle;?>"/>&nbsp;&nbsp;文章页&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" id="bmpage" name="bmpage" class="checkbox" value="<?php echo $zbp->Config('qiyeseo')->bmpage;?>"/>&nbsp;&nbsp;单页（通过页面管理创建的内容）</p>
                    <p>只在手机版显示<input type="text" id="bmwap" name="bmwap" class="checkbox" value="<?php echo $zbp->Config('qiyeseo')->bmwap;?>"/></p>
             </td>
			</tr>
				 <tr>
				<td><b>自定义菜单按钮颜色</b></td>
                     <td>
                    <p><input name="bm" type="text" id="bm" style="width: 100px;color:<?php echo $zbp->Config('qiyeseo')->bm;?>;" value="<?php echo $zbp->Config('qiyeseo')->bm;?>" />&nbsp;按钮颜色&nbsp;&nbsp;&nbsp;&nbsp;<input name="bmhover" type="text" id="bmhover" style="width: 100px;color:<?php echo $zbp->Config('qiyeseo')->bmhover;?>;" value="<?php echo $zbp->Config('qiyeseo')->bmhover;?>" />&nbsp;点击按钮显示的颜色</p>
                    <p>不知道怎么选颜色？<a target="_blank" href="http://tool.chinaz.com/tools/use">点击链接查看</a>
                     </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();

?>
