<%@ page language="VB" autoeventwireup="false" inherits="qiye_admin_admin_add_lei, App_Web_admin_add_new_lei.aspx.25f04327" %>
<head>
<title>文章分类</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<script language="JavaScript" src="js/tanbox.js"></script>
<script src="js/intjs.js" type="text/javascript"></script>
<script src="js/web_alt.js" type="text/javascript"></script>
<link href="css/css.css" rel="stylesheet" type="text/css" />
<link href="css/body.css" rel="stylesheet" type="text/css" />
<link href="css/text.css" rel="stylesheet" type="text/css" />
<link href="css/button.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .thumbnail .thumbnail_div
        {
        }
        .thumbnail_off .thumbnail_div
        {
            display: none;
        }
        .thumbnail_div
        {
            border: 1px dashed #000000;
            position: absolute;
            margin-top: 14px;
            background-color: #FFFFFF;
        }
        
         .news_catgorm_div{
	height: 25px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #999999;
	font-size: 12px;
	line-height: 25px;
	margin-top: 5px;	
  }
    </style>
    <script language="javascript">
        function copyToClipBoard(a) {
            window.clipboardData.setData("Text", a);
            alert("复制成功！");
        } 
		document.oncontextmenu=new Function('event.returnValue=false;'); 
</script>


  <script language="javascript" type="text/javascript">
      /***
      *功能：隐藏和显示div
      *参数divDisplay：html标签id
      ***/
      function click_a(divDisplay1, divDisplay2, divDisplay3, divDisplay4) {

          document.getElementById(divDisplay1).style.display = "block";

          document.getElementById(divDisplay2).style.display = "none";
          document.getElementById(divDisplay3).style.display = "none";
          document.getElementById(divDisplay4).style.display = "none";

      }
    </script>

</head>
<body>
<form id="form1" runat="server">
<table width="100%" border="0" cellspacing="3" cellpadding="0">
  <tr>
    <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td bgcolor="#E7E7E7"><table width="100%" border="0" cellspacing="1" cellpadding="0">
            <tr>
              <td bgcolor="#FFFFFF"><table width="100%" height="29" border="0" cellpadding="0" cellspacing="5">
                  <tr>
                    <td height="19" bgcolor="#EBEBEB"><table width="100%" border="0" cellspacing="8" cellpadding="0">
                        <tr>
                          <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="3" cellpadding="0">
                              <tr>
                                <td width="15%" height="25" align="center" class="wuse16"><strong class="16huise">管理中心</strong></td>
                                <td valign="bottom" class="huise12">文章分类 </td>
                                <td width="15%" valign="bottom" class="huise12">&nbsp;</td>
                              </tr>
                          </table></td>
                        </tr>
                    </table></td>
                  </tr>
              </table></td>
            </tr>
            
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<%  If ubb.xml_tables("red_parrot.xml", "parrot_addnewslei") = "True" Or ubb.xml_tables("red_parrot.xml", "parrot_updatenewslei") = "True" Then%>



  <fieldset style="margin:10px 5px 5px 5px; padding:0px 5px 5px 5px;"><legend class="wuse12"><strong>添加新分类</strong><span class="huise12">&nbsp;--&nbsp;本部分功能需要首页模板中包含[!--UserControlF--][!--UserControlI--]标签！&nbsp;</span></legend>
                        <fieldset style="margin:10px 5px 5px 5px; padding:0px 5px 5px 5px;" id="divOne_1">
                      <legend class="wuse12">
                      <strong>基本设置</strong>
                      &nbsp;&nbsp;&nbsp;<a onClick="return click_a('divOne_2','divOne_1','divOne_3','divOne_4')" onmouseover= "this.style.cursor= 'hand' ">个性设置</a>
                          <%If parrot_user = True Then%>&nbsp;&nbsp;&nbsp;<a onClick="return click_a('divOne_3','divOne_1','divOne_2','divOne_4')" onmouseover= "this.style.cursor= 'hand' ">权限设置</a>
                          <%End If
                          If parrot_leinavcontrol = True Then%>&nbsp;&nbsp;&nbsp;<a onClick="return click_a('divOne_4','divOne_1','divOne_2','divOne_3')" onmouseover= "this.style.cursor= 'hand' ">导航设置</a>
                          <%End If%>
                      </legend>
                      <table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7" style="margin-top:5px;">
                        
                        <tr>
                          <td width="20%" height="30" align="center" bgcolor="#F6F6F6" class="hongse12">分类名称：</td>
                          <td height="30" colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="wuse12">
                            <tr>
                              <td width="250"><asp:TextBox ID="add_new_lei_bt" runat="server" 
                                        CssClass="text_autox22_cccccc" Width="300px" Height="24px" MaxLength="50"></asp:TextBox></td>
                              <td><asp:CheckBox ID="add_new_lei_photo" runat="server" CssClass="hongse12" 
                                                          Text="是否启用图文显示" /></td>
                            </tr>
                          </table></td>
                        </tr>
                        <tr>
                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">附加类别：</td>
                          <td height="30" colspan="3"><asp:TextBox ID="add_new_lei_catgory" runat="server"  CssClass="text_autox22_cccccc" Width="40%" Height="24px" MaxLength="255"></asp:TextBox>
                            <asp:CheckBox ID="up_new_lei_catgory_select" runat="server" CssClass="wuse12"  Text="应用到所有子类" Visible="False" />                            
                          <span class="hongse12">多个类别用（|）竖线区分，如：出售|收购</span></td>
                        </tr>
                          <% If ubb.xml_tables("red_parrot.xml", "parrot_form") = "True" Then%>
                        <tr>
                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">附加表单：</td>
                          <td height="30" colspan="3"><asp:DropDownList ID="add_new_lei_annex" runat="server" 
                                                  appenddatabounditems="True">
                            <asp:ListItem Value="False">不附加表单</asp:ListItem>
                          </asp:DropDownList>
                            <asp:CheckBox ID="up_new_lei_annex_select" runat="server" CssClass="wuse12" Text="应用到所有子类" Visible="False" /></td>
                        </tr>
                          <%end if %>
                        <tr>
                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">SEO关键字：</td>
                          <td height="30" colspan="3"><asp:TextBox ID="add_new_lei_keywords" runat="server" 
                                                  CssClass="text_autox22_cccccc" Width="100%" Height="24px" MaxLength="255"></asp:TextBox></td>
                        </tr>
                        <tr>
                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">SEO简介：</td>
                          <td height="30" colspan="3"><asp:TextBox ID="add_new_lei_description" 
                                                  runat="server" CssClass="text_autox22_cccccc" Height="24px" Width="100%" 
                                                  MaxLength="255"></asp:TextBox></td>
                        </tr>
                                                <tr>
                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">显示位置：</td>
                          <td height="30" colspan="2"><table border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td><asp:DropDownList ID="add_new_lei_wz" runat="server">
                                  <asp:ListItem>不显示</asp:ListItem>
                                  <asp:ListItem>首页大栏目</asp:ListItem>
                                  <asp:ListItem>首页小栏目</asp:ListItem>
                                  <asp:ListItem>子页小栏目</asp:ListItem>
                              </asp:DropDownList></td>
                              <td width="70" align="right"><span class="hongse12">显示排序：</span></td>
                              <td><asp:TextBox ID="add_new_lei_px" runat="server" 
                                        CssClass="text_autox22_cccccc" onkeydown="intjs()" Text='0' Width="50px"></asp:TextBox></td>
                                         <td width="70" align="right"><span class="hongse12">约显码：</span></td>
                              <td><asp:TextBox ID="add_new_lei_jsnumber" 
                                                  runat="server" CssClass="text_autox22_cccccc" Width="50px" Height="24px" MaxLength="10"></asp:TextBox></td>
                            </tr>
                          </table></td>
                        </tr>
                       
                      </table>
  </fieldset>
  
   <fieldset style="margin:10px 5px 5px 5px; padding:0px 5px 5px 5px; display:none;" id="divOne_2">
                      <legend class="wuse12">
                      <a onClick="return click_a('divOne_1','divOne_2','divOne_3','divOne_4')" onmouseover= "this.style.cursor= 'hand' ">基本设置</a>
                      &nbsp;&nbsp;&nbsp;<strong>个性设置</strong>
                          <%If parrot_user = True Then%>&nbsp;&nbsp;&nbsp;<a onClick="return click_a('divOne_3','divOne_1','divOne_2','divOne_4')" onmouseover= "this.style.cursor= 'hand' ">权限设置</a>
                          <%End If
                          If parrot_leinavcontrol = True Then%>&nbsp;&nbsp;&nbsp;<a onClick="return click_a('divOne_4','divOne_1','divOne_2','divOne_3')" onmouseover= "this.style.cursor= 'hand' ">导航设置</a>
                          <%End If%>
                      </legend>
                      <table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7" style="margin-top:5px;">
                        
                        
                        <tr>
                          <td width="20%" height="30" align="center" bgcolor="#F6F6F6" class="wuse12">图片显示设置：</td>
                          <td height="30"><table border="0" cellspacing="0" cellpadding="0" class="wuse12">
                            <tr>
                              <td width="40">图宽：</td>
                              <td><asp:TextBox ID="new_lei_photo_width" runat="server"  CssClass="text_autox22_cccccc" Width="30px" Height="24px" Text='211'></asp:TextBox></td>
                              <td>px</td>
                              <td width="50" align="right">图高：</td>
                              <td><asp:TextBox ID="new_lei_photo_height" runat="server" CssClass="text_autox22_cccccc" Width="30px" Height="24px" Text='211'></asp:TextBox></td>
                              <td>px</td>
                              <td width="50" align="right">显示： </td>
                              <td><asp:TextBox ID="new_lei_photo_itemcount" runat="server"   
                                      CssClass="text_autox22_cccccc" Width="30px" Text='7'></asp:TextBox></td>
                              <td>*3条/页</td>
                              <td width="50" align="right">样式： </td>
                              <td>
                                  <asp:DropDownList ID="new_lei_photo_style" runat="server">
                                      <asp:ListItem Value="0">默认样式</asp:ListItem>
                                      <asp:ListItem Value="1">图片简介</asp:ListItem>
                                  </asp:DropDownList>
                              </td>
                            </tr>
                          </table></td>
                          <td width="19%" colspan="-1" align="center">&nbsp;
                          <asp:CheckBox ID="up_new_lei_photo_px" runat="server" CssClass="wuse12"  Text="应用到所有子类" Visible="False" /></td>
                        </tr>
                        
                        
                                                <tr>
                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">文章模板：</td>
                          <td height="30"><span style="word-break: break-all">
                            <asp:TextBox ID="add_new_lei_formwork" runat="server" 
                                                  CssClass="text_autox22_cccccc" Width="99%" Height="50px" 
                                                  TextMode="MultiLine"></asp:TextBox>
                          </span></td>
                          <td colspan="-1" rowspan="2" align="center">&nbsp;
                            <asp:CheckBox 
                                  ID="up_new_lei_formwork_select" runat="server" CssClass="wuse12" Text="应用到所有子类" 
                                  Visible="False" /></td>
                        </tr>
                        <tr>
                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">自定代码：</td>
                          <td height="30"><span style="word-break: break-all">
                            <asp:TextBox ID="add_new_lei_diycode" runat="server" 
                                                  CssClass="text_autox22_cccccc" Width="99%" Height="50px" 
                                                  TextMode="MultiLine"></asp:TextBox>
                          </span></td>
                        </tr>
                        
                        <tr>
                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">绑定列表页：</td>
                          <td height="30"><span style="word-break: break-all">
                            <asp:TextBox ID="add_new_lei_binding_table" runat="server"  CssClass="text_autox22_cccccc" Width="99%" Height="24px"  MaxLength="255" ></asp:TextBox>
                          </span></td>
                          <td colspan="-1" rowspan="2" align="center">&nbsp;
                          <asp:CheckBox ID="up_new_lei_binding_select" runat="server" CssClass="wuse12" Text="应用到所有子类" Visible="False" /></td>
                        </tr>
                        <tr>
                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">绑定正文页：</td>
                          <td height="30"><span style="word-break: break-all">
                            <asp:TextBox ID="add_new_lei_binding_text" runat="server" 
                                        CssClass="text_autox22_cccccc" Width="99%" Height="24px" MaxLength="255"></asp:TextBox>
                          </span></td>
                        </tr>
                      </table>
  </fieldset>

                        <%If parrot_user = True Then%>
  <fieldset style="margin:10px 5px 5px 5px; padding:0px 5px 5px 5px; display:none;" id="divOne_3">
                      <legend class="wuse12">
                      <a onClick="return click_a('divOne_1','divOne_2','divOne_3','divOne_4')" onmouseover= "this.style.cursor= 'hand' ">基本设置</a>
                      &nbsp;&nbsp;&nbsp;<a onClick="return click_a('divOne_2','divOne_1','divOne_3','divOne_4')" onmouseover= "this.style.cursor= 'hand' ">个性设置</a>
                      &nbsp;&nbsp;&nbsp;<strong>权限设置</strong>
                          <%If parrot_leinavcontrol = True Then%>&nbsp;&nbsp;&nbsp;<a onClick="return click_a('divOne_4','divOne_1','divOne_2','divOne_3')" onmouseover= "this.style.cursor= 'hand' ">导航设置</a>
                          <%End If%>
                      </legend>
                      <table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7" style="margin-top:5px;">
                        <tr>
                          <td width="20%" height="30" align="center" bgcolor="#F6F6F6" class="wuse12">投稿权限：</td>
                          <td height="30" colspan="2"><asp:DropDownList ID="add_new_userlei_tougao" runat="server" 
                                                  appenddatabounditems="True">
                            <asp:ListItem Value="False">不开放投搞</asp:ListItem>
                          </asp:DropDownList></td>
                        </tr>
                        <tr>
                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12"><span class="lanse12">浏览权限：</span></td>
                          <td height="30" colspan="2"><asp:DropDownList ID="add_new_user_look" runat="server" 
                                                  appenddatabounditems="True">
                            <asp:ListItem Value="True">对所有人公开</asp:ListItem>
                          </asp:DropDownList></td>
                        </tr>
                        <tr>
                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12"><span class="lanse12">投稿审核：</span></td>
                          <td height="30" colspan="2"><asp:RadioButtonList ID="add_new_lei_tougao_sh" runat="server" 
                                                  CssClass="wuse12" RepeatDirection="Horizontal">
                            <asp:ListItem>已审</asp:ListItem>
                            <asp:ListItem Selected="True">未审</asp:ListItem>
                          </asp:RadioButtonList></td>
                        </tr>
                        <tr>
                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12"><span class="hongse12">置顶价格：</span></td>
                          <td width="56%" height="30"><table border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td class="wuse12"><asp:TextBox ID="add_new_lei_topmuch" runat="server"  CssClass="text_autox22_cccccc" Text='0' onkeydown="intjs()" Width="50px" Height="24px"></asp:TextBox></td>
                                <td class="wuse12"> 个红币/天</td>
                              </tr>
                            </table></td>
                          <td width="19%" colspan="-1" rowspan="2" align="center">
                            &nbsp;
                            <asp:CheckBox ID="up_new_lei_much_select" runat="server" CssClass="wuse12" Text="应用到所有子类" Visible="False" />                            
                         </td>
                        </tr>
                        <tr>
                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12"><span class="hongse12">套色价格：</span></td>
                          <td height="30"><table border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td class="wuse12"><asp:TextBox ID="add_new_lei_colormuch" runat="server"  CssClass="text_autox22_cccccc" Text='0' onkeydown="intjs()" Width="50px" Height="24px"></asp:TextBox></td>
                                <td class="wuse12"> 个红币/天</td>
                              </tr>
                            </table></td>
                        </tr>
                      </table>
  </fieldset>
      <%end if 
          If parrot_leinavcontrol = True Then%>       
  <fieldset style="margin:10px 5px 5px 5px; padding:0px 5px 5px 5px; display:none;" id="divOne_4">
                      <legend class="wuse12">
                      <a onClick="return click_a('divOne_1','divOne_2','divOne_3','divOne_4')" onmouseover= "this.style.cursor= 'hand' ">基本设置</a>
                      &nbsp;&nbsp;&nbsp;<a onClick="return click_a('divOne_2','divOne_1','divOne_3','divOne_4')" onmouseover= "this.style.cursor= 'hand' ">个性设置</a>
                          <%If parrot_user = True Then%>&nbsp;&nbsp;&nbsp;<a onClick="return click_a('divOne_3','divOne_1','divOne_2','divOne_4')" onmouseover= "this.style.cursor= 'hand' ">权限设置</a>
                          <%End If%>&nbsp;&nbsp;&nbsp;<strong>导航设置</strong>
                      </legend>
                      <table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7" style="margin-top:5px;">
                        <tr>
                          <td width="20%" height="30" align="center" bgcolor="#F6F6F6" class="wuse12">隶属导航：</td>
                          <td height="30" colspan="3"><table border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td><asp:DropDownList ID="add_navcatgory" runat="server" 
                                                  CssClass="lvsetext200x22"> </asp:DropDownList></td>
                              <td width="65" align="right" class="lanse12">导航排序：</td>
                              <td><asp:TextBox ID="add_navpx" runat="server" 
                                        CssClass="text_autox22_cccccc" Text='0' onkeydown="intjs()" Width="50px"></asp:TextBox></td>
                            </tr>
                          </table></td>
                        </tr>
                      </table>
  </fieldset>
      <%end if %>
                      
   <table width="100%" border="0" cellspacing="0" cellpadding="0">
     <tr>
       <td width="30%" align="center" class="wuse12"><a href="?">新建</a></td>
       <td><asp:Button ID="add_new_lei_ok" runat="server" CssClass="btn_2k3" Text=" 添加分类 " 
                                                  Enabled="False" />       
         <asp:Button ID="up_new_lei_ok" runat="server" CssClass="btn1_mouseout" Text=" 修改分类 " 
                                                  Enabled="False" />         
         <span class="hongse12">
         <asp:Label ID="add_new_lei_ts" runat="server">注意：每次完成所有操作后请手动同步分类列表！</asp:Label>
       </span></td>
     </tr>
   </table>
  
  </fieldset>
   <%End If%>

                                    <fieldset style="margin:10px 5px 5px 5px; padding:0px 5px 5px 5px;"><legend class="wuse12"><strong>已建立的分类项</strong><span class="huise12">&nbsp;--&nbsp;修改排序、添加分类及下级分类必须要同步列表才能正常显示！&nbsp;</span></legend>
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                      <tr>
                                        <td width="0%" align="right"><strong class="wuse12"><asp:LinkButton ID="LinkButton1" runat="server">同步分类列表</asp:LinkButton>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="admin_add_new_lei.aspx">更新列表</a>
                                            </strong></td>
                                      </tr>
                                    </table>
                                    <asp:Label ID="new_lei_tables" runat="server"></asp:Label>
                                    </fieldset>
    </form>
</body>