<!--#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_open,升序$|降序$desc"

c_h="<form name=jins_template_sort action='admin_template_output_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='40%' align=left>模版方案名</td>"
c_h=c_h+"<td height=30 width='20%' align=center>加入日期</td>"
c_h=c_h+"<td height=30 width='14%' align=center>开关</td>"
c_h=c_h+"<td height=30 width='20%' 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='40%' align=left>"
c=c+"<a target=_blank title='点击查看此模版方案详细信息' href='admin_template_edit.asp?id=$$sort_id$$'><font color=green style='font-size:10pt'>$$sort_name$$</font></a>" 
c=c+"</td>"

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

c=c+"<td height=30  width='14%' 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='20%' align=center>"
c=c+"<a title='点击导出此模版！' href='admin_template_output_handle.asp?ids=$$sort_id$$'>"
c=c+"<img border='0' src='Images/icon07.gif' align='bottom' alt='点击导出此模版！'></a>"
c=c+"</td>"

c=c+"</tr><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_up=0 "

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" -->