<!--#include file="admin_start.asp" -->
<body topmargin="30" marginwidth="10" marginheight="10">
<div id=search_open style='display:none'>
<table cellspacing=3 cellpadding=3 width=98% bgcolor='#f7f7f7' align=center style='border:1px dashed #b7b7b7 '>
<tr><td>暂时没有搜索项</td></tr>
</table>
<br>
</div>
<%
c_order="模版名称$sort_name|加入日期$sort_addtime|模版标识$sort_mark|是否打开$sort_open,升序$|降序$desc"

c_h="<form name=jins_template_sort action='admin_template_list_handle.asp' method=post>"
c_h=c_h+"<table cellspacing=0 cellpadding=0 align=center width=98% bgcolor=#F7F7F7 style='border-top: 1px solid #EBEBEB; '>"
c_h=c_h+"<tr>"
c_h=c_h+"<td height=30 width='6%' align=center>选择</td>"
c_h=c_h+"<td height=30 width='29%' align=left> 模版标识</td>"
c_h=c_h+"<td height=30 width='15%' align=left>模版名</td>"
c_h=c_h+"<td height=30 width='15%' align=left>所属模版方案</td>"
c_h=c_h+"<td height=30 width='10%' align=center>加入日期</td>"
c_h=c_h+"<td height=30 width='10%' align=center>开关</td>"
c_h=c_h+"<td height=30 width='10%' align=center>查看详情</td>"
c_h=c_h+"<td height=30 width='5%' align=center>删除</td>"
c_h=c_h+"</tr>"
c_h=c_h+"<tr>"
c_h=c_h+"<td height='1' width='100%' colspan='10' background='images/dot03.gif'></td>"
c_h=c_h+"</tr>"
c_h=c_h+"</table>"

c="<table cellspacing=0 cellpadding=0 width=98% align=center >"
c=c+"<tr onmouseover=""this.style.background='#ebebeb';"" onmouseout=""this.style.background='#ffffff';"">"
c=c+"<td height=30  width='6%' align=center>"
c=c+"<input type=checkbox name=ids value='$$sort_id$$'> "
c=c+"</td>"

c=c+"<td height=30  width='29%' align=left >"
c=c+"<font style=""font-size:10pt"" >$$sort_mark$$</font>"
c=c+"</td>"

c=c+"<td height=30  width='15%' align=left>"
c=c+"$$sort_name$$" 
c=c+"</td>"

c=c+"<td height=30  width='15%' align=left>"
c=c+"<%"&vbcrlf
c=c+"MySys.guide_sort="""""&vbcrlf
c=c+"MySys.GuideSort ""jins_template_sort"",""$$sort_id$$"",""admin_template_sort.asp"" "&vbcrlf
c=c+"if MySys.guide_sort<>"""" then "&vbcrlf
c=c+"if ubound(split(MySys.guide_sort,"">""))>1 then"&vbcrlf
c=c+"response.write ""<a href='admin_template_sort.asp'> ""&split(MySys.guide_sort,"">"")(2)&""</a>"" "&vbcrlf
c=c+"else "&vbcrlf
c=c+"response.write ""未知"""&vbcrlf
c=c+"end if"&vbcrlf
c=c+"else"&vbcrlf
c=c+"response.write ""未知"""&vbcrlf
c=c+"end if"&vbcrlf
c=c+"%\>"&vbcrlf
c=c+"</td>"

c=c+"<td height=30  width='10%' align=center>"
c=c+"$$sort_addtime$$" 
c=c+"</td>"

c=c+"<td height=30  width='10%' align=center>"
c=c+"<select name=sort_open_$$sort_id$$ >"
c=c+"<option value=1 <%if $$sort_open$$=1 then response.write ""selected"" %\> >打开</option>"
c=c+"<option value=0 <%if $$sort_open$$=0 then response.write ""selected"" %\> >关闭</option>"
c=c+"</select>"
c=c+"</td>"

c=c+"<td height=30  width='10%' align=center>"
c=c+"<a title='点击进行详细设置！' href='admin_template_edit.asp?id=$$sort_id$$'>"
c=c+"<img border='0' src='Images/icon07.gif' align='bottom' alt='点击进行详细设置！'></a>"
c=c+"</td>"
		
c=c+"<td height=30 width='5%' align=center>"
c=c+"<%if $$sort_base$$=0 then response.write ""<a title='点击删除此项！' href='admin_template_edit_handle.asp?action=delete&ids=$$sort_id$$'>"
c=c+"<img border='0' src='Images/delete.gif' align='bottom' alt='点击删除此项！'></a>""%\>"
c=c+"</td></tr>"
c=c+"<tr>"
c=c+"<td height='1' width='100%' colspan='10' background='images/dot03.gif'></td>"
c=c+"</tr>"
c=c+"</table>"

dim ins(2)

'sql=MySys.search(trim(request("s_n")))

sql=sql&" and  sort_mark='"&request("mark")&"' "

if sql<>"" then sql=" where 1=1 "&sql

MySys.ListThings c_order,c_h,c,sql,"jins_template_sort","sort_id",ins
%>
<!--#include file="admin_end.asp" -->