<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FlistADM.aspx.cs" Inherits="FlashV1.Bask.FlistADM" %>
<%@ Register src="/Controls/Editor.ascx" tagname="Editor" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
 <link href="Style/right.css" rel="stylesheet" type="text/css" />
    <script src="js/bask.js" type="text/javascript"></script>
    <script>
        function k(id) {
            return document.getElementById(id);
        }
        function selChg(obj) {
//            if (obj.selectedIndex == obj.length - 1) {
//                if (k(question).style.display == "none") k(question).style.display = ""
//            }
//            else {
//                if (k(question).style.display == "") k(question).style.display = "none";
//            }
            k(question).value = obj.options[obj.selectedIndex].value;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="1%"></td>
<td width="97%"></td>  
<td width="1%"></td>
</tr>

<tr>
<td></td>
<td>&nbsp;</td>
<td></td>
</tr>
<tr>
<td></td>
<td class="title"><label class="ico32_8"></label><span>资源管理</span></td>
<td></td>
</tr>


<tr>
<td></td>
<td>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td  class="menu_top">
<div class="menu_top_1" ><label>资源管理</label><span>&nbsp;&nbsp;&nbsp;</span><label class="menu_top_2_1"></label><span class="right"><a>power by kling</a></span> </div>
</td>
</tr>
<tr><td class="menu_midd">
<span class="menu_block" style="width:90px">ID：</span>
<asp:TextBox ID="id" runat="server" Width="80px" Enabled="false"></asp:TextBox>
<span class="desc"></span>
</td></tr>
<tr>
<td class="menu_midd">
<span class="menu_block" style="width:90px">类别：</span>
<asp:DropDownList ID="kid" runat="server" DataTextField="name" DataValueField="id"  AutoPostBack="true" onselectedindexchanged="kid_SelectedIndexChanged"></asp:DropDownList>
类型：<asp:DropDownList ID="tid" runat="server" DataTextField="name" DataValueField="id" onchange="selChg(this)"></asp:DropDownList>
<asp:TextBox ID="sid" runat="server" Width="20px" Text="0"></asp:TextBox>  
<script>
    var question = "<%=sid.ClientID %>";
 </script> 
</td>
</tr>
<tr>
<td class="menu_midd">
<span class="menu_block" style="width:90px">标题：</span><asp:TextBox ID="title" runat="server" Width="500px"></asp:TextBox> 
<a href="javascript:void(0);" onclick="k('<%=title.ClientID %>').value+='《》';">书名号</a> &nbsp;&nbsp;
<a href="javascript:void(0);" onclick="k('<%=title.ClientID %>').value+='【】';">方括号</a> &nbsp;&nbsp;
<a href="javascript:void(0);" onclick="k('<%=title.ClientID %>').value+='()';">括号</a> &nbsp;&nbsp;
<a href="javascript:void(0);" onclick="k('<%=title.ClientID %>').value+='_';">下载线</a>  &nbsp;&nbsp;
<a href="javascript:void(0);" onclick="k('<%=title.ClientID %>').value+='：';">冒号</a>    
</td>
</tr>
<tr>
<td class="menu_midd">
<span class="menu_block" style="width:90px">短名：</span><asp:TextBox ID="name" runat="server" Width="500px"></asp:TextBox>     
</td>
</tr>
<tr>
<td class="menu_midd">
<span class="menu_block" style="width:90px">keys：</span><asp:TextBox ID="keys" runat="server"  Width="600px" ></asp:TextBox>
</td>
</tr>
<tr>
<td class="menu_midd">
<span class="menu_block" style="width:90px">Pre：</span><asp:TextBox ID="pre" runat="server" Width="600px" Height="50px" TextMode="MultiLine"></asp:TextBox>     
</td>
</tr>

<tr>
<td class="menu_midd">
<span class="menu_block" style="width:90px"></span> &nbsp; 
</td>
</tr>
<tr>
<td class="menu_midd">
<span class="menu_block" style="width:90px">内容编辑：</span>
<uc1:Editor ID="ubb" runat="server" Enabled="true" Visible="true" />	 
</td>
</tr>

<tr>
<td class="menu_midd">
<span class="menu_block" style="width:90px">下载地址：</span><asp:TextBox ID="url" runat="server"  Width="700px" ></asp:TextBox>
</td>
</tr>
<tr>
<td class="menu_midd">
<span class="menu_block" style="width:90px">图片地址：</span><asp:TextBox ID="url1" runat="server"  Width="700px" ></asp:TextBox>
</td>
</tr>
<tr>
<td class="menu_midd">
<span class="menu_block" style="width:90px">添加时间：</span><asp:TextBox ID="atime" runat="server" Width="200px"></asp:TextBox>     
修改时间：<asp:TextBox ID="utime" runat="server" Width="200px"></asp:TextBox>  
</td>
</tr>
<tr>
<td class="menu_midd">
<span class="menu_block" style="width:90px">推荐指数：</span><asp:TextBox ID="ircmd" runat="server"  Width="60px" ></asp:TextBox>
<span class="desc">1:推荐 2:热点,3：热门 底部执门：4-5-6-7：底部左－右</span>
</td>
</tr>
<tr>
<td class="menu_midd">
<span class="menu_block" style="width:90px">已删除：</span><asp:CheckBox ID="del" runat="server" Text="已删除" />
<asp:CheckBox ID="disabled" runat="server" Text="已禁用" /> cre:<asp:TextBox ID="cre" runat="server"  Width="10px" ></asp:TextBox>
</td>
</tr>



<tr><td class="menu_midd">
<span class="menu_block" style="width:90px"></span>    

<asp:Button ID="Button1" runat="server" Text="保存修改" CssClass="button1" onclick="Button1_Click" />

</td></tr>
<tr><td class="menu_foot">&nbsp;</td></tr>
</table>


</td>
<td></td>
</tr>


<tr>
<td></td>
<td>&nbsp;</td>
<td></td>
</tr>
</table>

    </form>
<%Response.WriteFile("_foot.inc"); %>
</body>
</html>
<%=JsStr %>