<%@ Page Language="C#" EnableViewState="false" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Forum.Web.Admin.mulu.Default" %>

<%@ Register assembly="Forum.Control" namespace="Forum.Control" tagprefix="cc1" %>

<html>
<head id="Head1" runat="server">
    <title></title>
<link href="../styles/control.css" type="text/css" rel="stylesheet" />
    <link href="../styles/dntmanager.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
<!--
#td_l {
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: dashed;
	border-left-style: dashed;
	border-right-color: #CCCCCC;
	border-left-color: #CCCCCC;
}
.STYLE1 {color: #FF0000}
-->
    </style>
</head>
<script src="../js/public.js" type="text/javascript"></script>
<body  class="ContentBody">
<form id="form2" runat="server">
<cc1:Hint ID="Hint1" runat="server" HintImageUrl="../" />
<div class="ManagerForm">
		<fieldset>
		    <legend style="background:url(../images/icons/icon25.jpg) no-repeat 6px 50%;">添加/修改分类结构</legend>

        
<div class="MainDiv">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" bordercolordark="#ffffff" bordercolorlight="#cfd3de">
   <tr>
		 <td valign="top" style="padding:5px; width:300px" id="td_yc">
             <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
                 <tr>
                     <td style="height: 20px;">
                         <strong>分类结构图</strong></td>
                 </tr>
                 <tr>
                     <td  valign="top" >
                         <iframe id='if1' src="Forum_list.aspx" frameborder=0 width=100% height=100% scrolling=auto ></iframe></td>
                 </tr>
           </table>
         </td>
         <td height="460"
             valign="middle" id="td_l" style="padding-right: 3px; padding-left: 3px; cursor: hand; width: 5px;" onClick="yc();">
                 <img border="0" id='jiao' src="../images/BttnLeft.gif" width="9" height="16" /></td>
  <td valign="top" style="padding-right: 5px; padding-left: 5px; padding-bottom: 5px; padding-top: 5px">
             <table border="0" bordercolordark="#ffffff" bordercolorlight="#cfd3de" cellpadding="0"
                 cellspacing="0" style="width: 100%" height="100%">
    <tr>
      <td height="30" style="padding-left: 5px; font-weight: bold;"><span class="STYLE1">提示:为了防止部分站长不会设置无限级分类,本系统将文章分类固定为两层,如：&quot;新闻&gt;&gt;国内新闻&quot;</span></td>
    </tr>
    <tr>
                     <td style="padding-left: 5px; font-weight: bold; height: 25px">
                         <span id='sp1'><img align="absMiddle" border="0" src="../images/add.gif" width="16" height="16" />
                             添加新分类到指定分类下</span><span id='sp2' style="display:none;"><img
                             align="absMiddle" src="../images/icon_edit.gif" width="16" height="16" />
                             编辑所选择的分类</span></td>
               </tr>
                 <tr>
                     <td valign="top" style="padding-right: 5px; padding-left: 5px; padding-bottom: 5px; padding-top: 5px">
                   <table border="0" cellpadding="0" cellspacing="0" 
                             style="width: 100%; padding-right: 5px;">
<tr>
                                 <td height="40" align="right" style="padding-right: 5px"><strong>
                                   分类名称:</strong></td>
<td>
                                      &nbsp;
<cc1:TextBox ID="Text1" HintInfo="英文汉字均可,不能为空" runat="server" Width="210px" HintShowType="down"></cc1:TextBox>
                    <span style="display:none;"><input id="Text2" style="width: 12px" type="text" /></span></td>
                     </tr>
                             <tr>
                                 <td height="40" align="right" style="padding-right: 5px; width:100px"><strong>
                                   名称颜色:</strong></td>
                               <td>
		 &nbsp;                        <select id="title_color">
		<option value="">请选择颜色</option>
<option style="background-color:#FF0000;color: #FF0000" value='#FF0000'>#FF0000</option>
<option style="background-color:#0000FF;color: #0000FF" value="#0000FF">#0000FF</option>
<option style="background-color:#008800;color: #008800" value="#008800">#008800</option>
<option style="background-color:#FFFF00;color: #FFFF00" value="#FFFF00">#FFFF00</option>
<option style="background-color:#9900FF;color: #9900FF" value="#9900FF">#9900FF</option>
<option style="background-color:#808080;color: #808080" value="#808080">#808080</option>
<option style="background-color:#00FFFF;color: #00FFFF" value="#00FFFF">#00FFFF</option>
<option style="background-color:#998566;color: #998566" value="#998566">#998566</option>
<option style="background-color:#FFCC00;color: #FFCC00" value="#FFCC00">#FFCC00</option>
      </select>                                     </td>
                     </tr>
                             <tr>
                                 <td height="40" align="right" style="padding-right: 5px"><strong>
                                   分类说明:</strong></td>
<td>
                                      &nbsp;
                        <cc1:TextBox 
                                          ID="TextArea1" HintInfo="简单的说明" runat="server" Width="300px" Height="80px" 
                                          TextMode="MultiLine"></cc1:TextBox></td>
                     </tr>
                             <tr >
                                 <td height="40" align="right">首页显示:&nbsp;  </td>
                               <td height="50"> &nbsp;
                                   <label for="m_xianshi"><input id="m_xianshi" type="checkbox" checked=checked />选择后将会在首页导航里显示</label></td>
                     </tr>
                             <tr style="display:none;">
                                 <td height="40" align="right"><strong>版主:&nbsp; </strong></td>
                               <td height="50">
 &nbsp;
 <cc1:TextBox ID="f_baizhu" HintInfo="输入用户名即可,多个管理员用∪隔开,如:hanbing∪hao888∪ha66" runat="server" Width="220" HintShowType="up"></cc1:TextBox> </td>
                     </tr>
                             <tr>
                                 <td height="40" align="right"><strong>关键字:&nbsp; </strong> </td>
                               <td height="50">
                                   &nbsp;&nbsp;<cc1:TextBox ID="f_keyword" HintInfo="用,隔开,如:C#,asp.net" 
                                       runat="server" Width="300px" 
                                       HintShowType="up"></cc1:TextBox></td>
                     </tr>
                             <tr>
                                 <td height="40" align="right"><strong>排序:&nbsp; </strong></td>
                               <td height="50">
 &nbsp;
 <cc1:TextBox ID="f_paixu" HintInfo="请输入0-1000的数字,数值越小排列就越靠前,默认为0" runat="server" Width="34px" HintShowType="up"></cc1:TextBox> </td>
                     </tr>
                             <tr>
                                 <td height="40" align="right"><strong>图片:&nbsp; </strong></td>
                             <td height="40">&nbsp;
                           <cc1:TextBox ID="f_tu" 
                                       HintInfo="形象图标" runat="server" 
                                       Width="120px" HintShowType="up"></cc1:TextBox>
                                   
                                   <cc1:Button ID="Button3" runat="server" AutoPostBack="False" 
                                       ButtonImgUrl="../images/arrow_undo.gif" Text=" 浏 览" ValidateForm="False" 
                                       ScriptContent="tu_()" /></td>
                     </tr>
                             <tr id="z_fl" style="display:none;">
                                 <td height="40" align="right"><strong>分类调整:&nbsp; </strong></td>
<td height="50">
                                      &nbsp;
<select id="fu_fllist" name="D1">
                      </select></td>
                     </tr>
                             <tr>
                                 <td height="40">&nbsp; </td>
                               <td height="50">
                                 <span id='sp3'>
<cc1:Button ID="Button4" runat="server" AutoPostBack="False" 
                                       ButtonImgUrl="../images/add.gif" Text=" 添 加" ValidateForm="False" 
                                       ScriptContent="return Button1_onclick()" /></span>&nbsp;<span id='sp4' style="display:none;"><cc1:Button ID="Button1" runat="server" AutoPostBack="False" 
                                       ButtonImgUrl="../images/icon_edit.gif" Text=" 修 改" ValidateForm="False" 
                                       ScriptContent="return Button2_onclick()" /></span></td>
                     </tr>
                       </table>                   </td>
                 </tr>
           </table>
	    </td>
	 </tr>
	</table>    <script src="script/Default.js" type="text/javascript">
    </script>
</div>
		</fieldset>
        <div class="Navbutton" style="display:none;">

        </div>
        </div>
    </form>

</body>
</html>