<!--#include file="te_config.asp"-->
<%

	lConnID = request("cid")
	sTableName = request("tablename")
	
	OpenRS arrConn(lConnID)

	if (request("sure") <> "") and bFldDel then
		sSQL = "DROP TABLE [" & sTableName & "]"
		conn.execute sSQL
		response.redirect "te_listtables.asp?cid=" & lConnID
	end if

	conn.close
	set rs=nothing
	set conn=nothing

%>
<!--#include file="te_header.asp"-->

<table border=0 cellspacing=1 cellpadding=2 bgcolor = "#ffe4b5" width=100%>
	<tr>
		<td class="smallertext">
			<a href="index.asp">管理首页</a> <a href="te_admin.asp">编辑页面</a> <a href="te_listtables.asp?cid=<%=request("cid")%>"><%=arrDesc(request("cid"))%></a> 删除表格
		</td>
		<td class="smallerheader" width=130 align=right>
		<%
		if bProtected then 
			response.write session("teFullName")
			response.write "<a href=""te_logout.asp""> (退出)</a>" 
		end if
		%>
		</td>
	</tr>
</table>

	<p class="smallerheader"><%=sErr%>你确定要删除这个表格 "<%=sTableName%>"</p>
	<a href="te_tableremove.asp?<%=request.querystring%>&sure=1">是</a>&nbsp;
	<a href="<%=request.servervariables("http_referer")%>">不</a>
			
<!--#include file="te_footer.asp"-->
 

