📄 index.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../Inc/Dataconn.asp" -->
<!--#include file="../Inc/Funcs.asp" -->
<%
Call CheckAdmin '删除编号对应的图片
if request.QueryString("Action")="DelPIC" then
SPImageID=request.QueryString("SPImageID")
conn.execute "delete from Images where SPImageID="&SPImageID
end if
%>
<script language="JavaScript">
function DelRecord(TPID)
{
var ifDel = window.confirm("真的要删除吗?单击取消停止!");
if (ifDel) {
window.location="index.asp?Action=DelPIC&SPImageID=" + TPID
}else window.alert("删除操作被取消!");
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
</script>
<html>
<link href="../inc/css.css" rel="stylesheet" type="text/css">
<!--#include file="../inc/hlink.asp" -->
<style type="text/css">
<!--
.STYLE1 {color: #FFFFFF}
.STYLE2 {font-size: 12}
.STYLE3 {font-size: 12px}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.STYLE4 {color: #000033}
-->
</style>
<body>
<table width="612" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<form action="process.asp" method=post enctype="multipart/form-data" name="mainForm">
<td height="25" align="center" background="../Images/tbtitle.jpg" bgcolor="#000033" class="black STYLE1 STYLE3">
<span class="STYLE4">商品图片上传,请选择商品图片: </span>
<input name=mefile type=file class="inputBox">
<input name=ok type=submit class="submit" value=" 上传 "></td>
</form>
</tr>
</table>
<!--#include file="list.asp" -->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -