<%@ Page Language="C#" AutoEventWireup="true" Inherits="EoyooCMS.ManageCode.ProductClass_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="Plugin/Uploadify/jquery.uploadify.min.js"></script>
    <script type="text/javascript" src="Script/Eoyoo.FormControl.js"></script>
    <script type="text/javascript" src="Script/ProductClass_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" >

<!-- 隐藏域 -->
<input id="classPicPath_hide" name="classPicPath_hide" type="hidden" value="<%=_productClassPicPath %>" />
<input id="classId_hide" name="classId_hide" type="hidden" value="<%=classid %>" />
<!-- 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="productClassName_txt" value="<%=_productClassName %>" class="isNull input200" name="productClassName_txt" type="text" />         
                <span class="point ico-remind V">分类名(中文,字母,数字,下划线组成的字符)</span>
            </p>
           
            <p>
                <label class="name">分类图标:</label> 
                <span class="interval">
                <img id="classPicPath_txt" class="small-border-images" src="<%=_productClassPicPath == "" ? "images/none-large-pic.gif" : "../Upload/Ico/" + _productClassPicPath  %>" />
                </span>
                <span class="interval">
                <span id="uploadMsg" class="point ico-remind V">产品分类图标上传</span><br />
                <span class="uploadBtn"><input type="file" name="uploadImgBtn" id="uploadImgBtn" /></span>
                </span>
            </p>
            
            <p>
                <label class="name">所属分类:</label>
                <select <%=com != "add" ? "disabled=disabled" : ""%> id="productClass_select" name="productClass_select" tabindex="1" class="select">
                    <option value="0">直接大类</option>
                    <% System.Data.DataTable _proclassDat = _productClassDat(naviid); %>
                    <%for (int i = 0; i < _proclassDat.Rows.Count; i++) %>
                    <%{ %>
                    <option value="<%=_proclassDat.Rows[i]["id"].ToString() %>"><%=_proclassDat.Rows[i]["name"].ToString()%></option>
                    <%} %>
                </select>
                <span class="point ico-remind V">请选择产品所属分类（小类大类）</span>
            </p>
            
            <p>
                <label class="name">Seo关键词语:</label> <textarea name="productKeyWord_txt" id="productKeyWord_txt" class="input400" tabindex="1" cols="" rows=""><%=_productClassKeyWord%></textarea>
                <span class="point ico-remind V">产品分类推广关键词</span>
           </p>
           <p>
			    <label class="name">Seo说明描述:</label> <textarea name="productDescription_txt" id="productDescription_txt" class="input400" tabindex="1" cols="" rows=""><%=_productClassDescription%></textarea>
                <span class="point ico-remind V">产品推广说明描述</span>
            </p>
            <p>
                <label class="name">分类简介:</label> <textarea name="productIntro_txt" id="productIntro_txt" class="input400" tabindex="1" cols="" rows=""><%=_productClassIntro%></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>
