<%@ Page Language="C#" AutoEventWireup="true" Inherits="EoyooCMS.ManageCode.ProductBrand_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/ProductBrand_Manage_Control.js"></script>
</head>
<body>
    <form id="FormControl" action="<%=getFormUrl %>?com=<%=com%>&naviid=<%=naviid %>&naviname=<%=naviname %>&brandid=<%=brandid %>" method="post" enctype="multipart/form-data" >

<!-- 隐藏域 -->
<input id="brandPicPath_hide" name="brandPicPath_hide" type="hidden" value="<%=_productBrandPicPath %>" />
<input id="brandId_hide" name="brandId_hide" type="hidden" value="<%=brandid %>" />
<!-- end 隐藏域 -->

<div Brand="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 Brand="item">--%>
                <input tabindex="1" id="productBrandName_txt" value="<%=_productBrandName %>" class="isNull input200" name="productBrandName_txt" type="text" />         
                <span class="point ico-remind V">品牌名(中文,字母,数字,下划线组成的字符)</span>
            </p>
           
            <p>
                <label class="name">品牌图标:</label> 
                <span class="interval">
                <img id="brandPicPath_txt" class="small-border-images" src="<%=_productBrandPicPath == "" ? "images/none-large-pic.gif" : "../Upload/Ico/" + _productBrandPicPath  %>" />
                </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="productBrand_select" name="productBrand_select" tabindex="1" class="select">
                    <option value="0">直接大类</option>
                    <% System.Data.DataTable _brandDat = _productBrandDat(naviid); %>
                    <%for (int i = 0; i < _brandDat.Rows.Count; i++) %>
                    <%{ %>
                    <option <%=_productBrandParent==_brandDat.Rows[i]["id"].ToString()?"selected=selected":"" %> value="<%=_brandDat.Rows[i]["id"].ToString() %>"><%=_brandDat.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=""><%=_productBrandKeyWord%></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=""><%=_productBrandDescription%></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=""><%=_productBrandIntro%></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>
