📄 enable.asp
字号:
<!-- #include file="conn.asp" -->
<html>
<head>
</head>
<body bgcolor="">
<Center>
<br><br><br>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
<tr>
<td width="38%"> </td>
<td width="32%">
<FONT face=Georgia color=#cc0033 size=2><b>Welcome Administrator</B></font></td>
<td width="30%">
<b>::</b> <a href="admin_options.asp" target=detail>Back to Option</a>
</td>
</tr>
</table>
<%
if session("admin") = "" then
response.redirect "administrator.asp"
end if
count = 1
Set oRs = Server.CreateObject("ADODB.RecordSet")
SQL = "select * from disabled"
Set oRs = objcon.execute(SQL)
if oRs.EOF then
response.write "No disabled product available"
else
response.write "<Font face=Tahoma size=2>Disabled Products</font>"
end if
while not oRs.EOF
response.write "<center><Font face=Tahoma size=1>Disabled Product#"&count&"</center></Font><center><table Border=2 align=center bordercolor=#0000cc width=700>"&_
"<tr><td><Font face=Tahoma size=2>Product Name</td><td>"&oRs.Fields("Name")&"</font></td></tr>"&_
"<tr><td><Font face=Tahoma size=2>Quality</td><td>"&oRs.Fields("quality")&"</Font></td></tr>"&_
"<tr><td><Font face=Tahoma size=2>Main TextTile Product Group </td><td>"&oRs.Fields("type")&"</Font></td></tr>"&_
"<tr><td><Font face=Tahoma size=2>price</td><td>"&oRs.Fields("price")&"</Font></td></tr>"&_
"<tr><td><Font face=Tahoma size=2>tech id</td><td>"&oRs.Fields("techid")&"</Font></td></tr>"&_
"<tr><td><Font face=Tahoma size=2>Image Path</td><td>"&oRs.Fields("imagepath")&"</Font></td></tr></table>"
response.write "<center><a href=enableproduct.asp?product_id="&oRs.Fields("productid")&"><Font face=Tahoma size=1><b>Enable this product</b></Font></a></center><br><br>"
count = count + 1
oRs.MoveNext
wend
oRs.close
Set oRs = nothing
'response.write "<br><Font face=Tahoma size=1><a href=admin_options.asp>Go to options page</a></Font>"
%> </p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -