<%@ Page language="c#" Codebehind="VideoCatAdd.aspx.cs" AutoEventWireup="true" Inherits="XpShop.Manage.VideoCatAdd" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
  <head>
		<!--#include file="../inc/head2.inc"-->
        <title>添加视频分类</title>
		<script type="text/javascript" src="../inc/commond.js"></script>
        <script type="text/javascript">
            $(document).ready(function(){
                $('#btnCancel').click(function(){
                    <%if(Request.QueryString["vid"] != null) {%>
                        $('#frmModify',window.parent.document).hide().siblings(':not(\"#loadingContainer\")').show();	
                        window.parent.BindList();
                    <%}else{ %>
                        window.location.href='VideoCat.aspx';
                    <%} %>
                    return false;
                });
            });
        </script>
  </head>
  <body>
		<div class="container">
		<div class="sub_container">
		<div class="sub_container_title"><a href="<%=AdminDefault%>" target="_top">桌面</a><img src="../images/admin_title.jpg" height="9" width="8" align="absMiddle"><asp:label id="lblTitleInfo" Runat="server" CssClass="tableHeaderText">视频分类添加</asp:label></div>
		<div class="sub_container_content">
		<form id="Form1" method="post" runat="server">
		    <div class="frame">
		        <div class="frame_title"><asp:Label ID="lbTitle" Runat="server" CssClass="tableHeaderText">视频分类添加</asp:Label></div>
		        <div class="frame_content">
			        <table cellSpacing="0" cellPadding="0" class="ptable" style="width:99%">
				        <tr>
					        <th class="tl">视频分类名称：</th>
					        <td class="tr">
					            <asp:textbox id="txtTitle" runat="server" Columns="30" MaxLength="50"></asp:textbox>
					            
					        </td>
				        </tr>
				        <tr>
				            <th class="tl">上级分类：</th>
				            <td class="tr">
				                <asp:DropDownList ID="ddlCategory" runat="server"></asp:DropDownList>
				            </td>
				        </tr>
				        <tr>
				            <th class="tl">状态：</th>
				            <td class="tr">
				                <asp:RadioButtonList ID="rblStatus" runat="server" RepeatDirection="horizontal">
				                    <asp:ListItem Value="1" Selected="true">发布</asp:ListItem>
				                    <asp:ListItem Value="0">未发布</asp:ListItem>
				                </asp:RadioButtonList>
				            </td>
				        </tr>
				        <tr>
					        <th class="tl">
						        
						    </th>
						    <td class="tr">
						        <asp:button id="btnSave" OnClick="btnSave_Click" runat="server" Text="保存" CssClass="inputbtn"></asp:button>
						        <%--<asp:button id="btnCancel" OnClick="btnCancel_Click" runat="server" Text="取消" CausesValidation="False" CssClass="inputbtn"></asp:button>--%>
						    </td>
				        </tr>
			        </table>
		        </div>
	        </div>
		</form>
		
		
		</div>
		</div>
		</div>
		
  </body>
</html>
