<%@ Page Language="C#" AutoEventWireup="true" Inherits="EoyooCMS.ManageCode.DownLoadClass_Manage_Control" %>

<!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>
    <title><%=com == "add" ? "添加下载分类" : "编辑下载分类"%></title>
    <link href="Style/Iframe.css" rel="stylesheet" type="text/css" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <script type="text/javascript" src="Script/Jquery.js"></script>
    <script type="text/javascript" src="Script/Common.js"></script>
    <script type="text/javascript" src="Script/Eoyoo.FormControl.js"></script>
    <script type="text/javascript" src="Script/DownLoadClass_Manage_Control.js"></script>
</head>
<body>
    <form id="FormControl" action="<%=getFormUrl %>?com=<%=com%>&naviid=<%=naviid %>&naviname=<%=naviname %>&classid=<%=classid %>" method="post" enctype="multipart/form-data" >

<!-- 隐藏域 -->

<!-- end 隐藏域 -->

<div class="wrapper-div">
	<!-- 添加分类 -->
    	<div class="title1">
        	<div class="right">
            	<span class="title-ico f_right titico3 X"> Ctrl + S 快捷保存</span>
            	<span class="title-ico titico2 F B"><%=com == "add" ? "添加下载分类" : "编辑下载分类"%></span>
            </div>
        </div>
        
        <!-- 表单 -->
        <div class="tbox_form">

            <p>
                <label class="name">分类名:</label> 
                <%--<label class="item">--%>
                <input tabindex="1" id="downloadClassName_txt" value="<%=_downloadClassName %>" class="isNull input200" name="downloadClassName_txt" type="text" />         
                <span class="point ico-remind V">分类名(中文,字母,数字,下划线组成的字符)</span>
            </p>
           
            
            <p>
                <label class="name">所属分类:</label>
                <select  <%=com != "add" ? "disabled=disabled" : ""%> id="downloadClass_select" name="downloadClass_select" tabindex="1" class="select">
                    <option value="0">直接大类</option>
                    <% System.Data.DataTable _downclassDat = _downloadClassDat(naviid); %>
                    <%for (int i = 0; i < _downclassDat.Rows.Count; i++) %>
                    <%{ %>
                    <option <%=_downloadClassParent==_downclassDat.Rows[i]["id"].ToString()?"selected=selected":"" %> value="<%=_downclassDat.Rows[i]["id"].ToString() %>"><%=_downclassDat.Rows[i]["name"].ToString()%></option>
                    <%} %>
                </select>
                <span class="point ico-remind V">请选择下载所属分类（小类大类）</span>
            </p>
            
            <p>
                <label class="name">Seo关键词语:</label> <textarea name="downloadKeyWord_txt" id="downloadKeyWord_txt" class="input400" tabindex="1" cols="" rows=""><%=_downloadClassKeyWord%></textarea>
                <span class="point ico-remind V">下载分类推广关键词</span>
           </p>
           <p>
			    <label class="name">Seo说明描述:</label> <textarea name="downloadDescription_txt" id="downloadDescription_txt" class="input400" tabindex="1" cols="" rows=""><%=_downloadClassDescription%></textarea>
                <span class="point ico-remind V">下载推广说明描述</span>
            </p>
            <p>
                <label class="name">分类简介:</label> <textarea name="downloadIntro_txt" id="downloadIntro_txt" class="input400" tabindex="1" cols="" rows=""><%=_downloadClassIntro%></textarea>
                <span class="point ico-remind V">下载分类简短介绍</span>
            </p>
             <hr />
            <p>
                <label class="name">&nbsp;</label>
                <input type="submit" class="bule-btn W" value="确定保存" />
                <span ></span>
            </p>
        </div>
        <!-- end 表单 -->
    <!-- end 添加身份 -->
</div>
    </form>
</body>
</html>
