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

<!-- 隐藏域 -->
<input id="Id_hide" name="classId_hide" type="hidden" value="<%=id %>" />
<!-- 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="industryName_txt" value="<%=_industryName %>" class="isNull input200" name="industryName_txt" type="text" />         
                <span class="point ico-remind V">行业名(中文,字母,数字,下划线组成的字符)</span>
            </p>
            
            <p <%=type=="0"?"style=display:none":"" %>>
                <label class="name">所属行业大类:</label>
                <select id="Industry_select" name="Industry_select" tabindex="1" class="select">
                    <option value="0">直接大类</option>

                    <%for (int i = 0; i < _parentDat.Rows.Count; i++) %>
                    <%{ %>
                    <option <%=_industryParent==_parentDat.Rows[i]["id"].ToString()?"selected=selected":"" %> value="<%=_parentDat.Rows[i]["id"].ToString() %>"><%=_parentDat.Rows[i]["name"].ToString()%></option>
                    <%} %>
                </select>
                <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>
