<!--#include file="../Include/Head.asp"-->

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="../Main/Right.asp">首页</a></li>
    <li><a href="Type.asp">栏目类型设置</a></li>
    </ul>
    </div>
    
    
    <div class="formbody">
    
    <table class="tablelist">
    	<thead>
    	<tr>
        <th width="60">序号</th>
        <th width="160">类型名称</th>
        <th width="160">英文名称</th>
        <th>类型介绍</th>
        <th width="120">操作</th>
        </tr>
        </thead>
        <tbody>
        <%
		Set Rs=server.createobject("adodb.recordSet")
		Sql="select * from Jin_ClassType order by SortID asc,sysID desc"
		Rs.open Sql,conn,1,3
		For i=1 to rs.recordcount
		acount=rs.recordcount
		%>
        <tr height="40" <%If Rs("Show")=false Then%>class="filter"<%End If%>>
        <td><input name="SortID" type="text" class="newinput60 SortID" value="<%=Rs("SortID")%>" id2="<%=Rs("sysID")%>" style="width:95%;"/></td>
        <td><input name="TypeName" type="text" class="newinput200 TypeName" value="<%=Rs("TypeName")%>" id2="<%=Rs("sysID")%>"  style="width:95%;"/></td>
        <td><input name="TypeName_en" type="text" class="newinput200 TypeName_en" value="<%=Rs("TypeName_en")%>" id2="<%=Rs("sysID")%>"  style="width:95%;"/></td>
        <td><input name="Content" type="text" class="newinput450 Content" value="<%=Rs("Content")%>"  id2="<%=Rs("sysID")%>" style="width:95%; max-width:450px;"/></td>
        <td>
        <%If Rs("Show") Then%>
        <a href="javascript:void(0)" class="tablelink TypeShowNo" id2="<%=Rs("sysID")%>">不使用</a> | 
        <%else%>
        <a href="javascript:void(0)" class="tablelink TypeShow" id2="<%=Rs("sysID")%>">使&nbsp;&nbsp;&nbsp;用</a> | 
        <%End IF%>
        <a href="javascript:void(0)" class="tablelink TypeDel" id2="<%=Rs("sysID")%>">删除</a></td>
        </tr> 
        <%
		Rs.movenext
		next
		Rs.close
		Set Rs=nothing
		%>
        <form name="addtype" action="?Action=addtype" method="post">
        <tr height="40" class="hidden">
        <td><input name="SortID" type="text" class="dfinput" value="<%=acount+1%>" style="width:55px;"/></td>
        <td><input name="TypeName" type="text" class="dfinput" value=""  style="width:120px;"/></td>
        <td><input name="TypeName_en" type="text" class="dfinput" value=""  style="width:120px;"/></td>
        <td><input name="Content" type="text" class="dfinput" value="" style="width:300px;"/></td>
        <td><a href="javascript:void(0)" onclick="document.addtype.submit();" class="tablelink">添加</a></td>
        </tr> 
        </form>
        <tr height="35">
        <td></td>
        <td></td>
        <td></td>
        <td></td>
        <td><a href="javascript:void(0)" id2="<%=acount+1%>" class="tablelink TypeAdd">添加</a></td>
        </tr> 
        
    
        </tbody>
    </table>
    
    </div> 
    </div> 
    
    
<script>
$(document).ready(function(e){
autoAdd("TypeAdd");
autoSave("SortID");
autoSave("TypeName");
autoSave("TypeName_en");
autoSave("Content");
autoClick("TypeShow");
autoClick("TypeShowNo");
autoDel("TypeDel");
});
</script>


<%Call BackFoot()%>