<!--
<?php
print<<<EOT
--> 
<form name="formlist" method="post" action="index.php?lfj=$lfj&action=setShowMenu">
<table width=100% cellspacing=1 cellpadding=3  class="tablewidth" style="display:none;">
    <tr> 
      <td class="head" bgcolor="#EAEAEA"><font color="#FFFFFF">下拉菜单开关设置</font></td>
    </tr>
    <tr> 
      <td bgcolor=#FFFFFF align="center"> 
        <input type="radio" name="webdbs[ShowMenu]" value="1" $ShowMenu[1]>
        启用下拉菜单 
        <input type="radio" name="webdbs[ShowMenu]" value="0" $ShowMenu[0]>
        禁用下拉菜单 
        <input type="submit" name="Submit" value="提交">(有的风格设置无效)
      </td>
    </tr>
  </table>
</form>
<br>


<form name="formlist" method="post" action="index.php?lfj=$lfj&action=editlist">
    <div class="MainContainers">
    <div class="Header"><span class="tag">网站头部导航菜单设置</span><span class="more">&gt;&gt;</span></div>
      <div class="Conter">
          <div class="WarrIngs" style="text-align:left;">注意:排序的规则是,数值大的排在前面</div>
        <table class='ListTable'>
                 <tr> 
                  <th width="50%">菜单名称</th>
				  <th width="10%">显示类型</th>
                  <th width="10%">排序</th>
                  <th width="10%">状态</th>
                  <th width="10%">修改</th>
                  <th width="10%">删除</th>
                </tr>                 
<!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
                  <tr class="trA" onmouseover="this.className='trB'" onmouseout="this.className='trA'"> 
                    <td class='Left' bgcolor="#FFFFFF" width="50%" style="border-bottom:1px dotted #ccc;color:$rs[color];"> 
                      $rs[icon]【{$rs[name]}】</td>
					<td width="10%" bgcolor="#FFFFFF" align="center" style="border-bottom:1px dotted #ccc;">$rs[type]</td>
                    <td width="10%" bgcolor="#FFFFFF" align="center" style="border-bottom:1px dotted #ccc;"> 
                      <input type='text' name='order[{$rs[id]}]' value='$rs[list]' size='5' maxlength="4">
                    </td>
                    <td width="10%" bgcolor="#FFFFFF" align="center" style="border-bottom:1px dotted #ccc;">$rs[hide]</td>
                    <td width="10%" bgcolor="#FFFFFF" align="center" style="border-bottom:1px dotted #ccc;"><a href="index.php?lfj=$lfj&job=edit&id=$rs[id]" class='edit'></a></td>
                    <td><a href="?lfj=$lfj&action=delete&id=$rs[id]" onclick="return confirm('你确实要删除吗?不可恢复');" class='del'></a></td>
                  </tr>
          <!--
EOT;
}print <<<EOT
-->
                </table>
                <div align="center"><br>
                  <a href="javascript:" onClick="CheckAll('all')"> </a>
                  <!-- <input type="submit" name="Submit2" value="修改排序"  > -->
                    <div class="submits"><input type="submit" name="Submit2" value="修改排序" /></div>
                </div>
              </td>
          </tr> 
          <!-- </table> -->
      </div>
      </div>
</form>
<br>
<!--
EOT;
?>
-->
