📄 savestyle.asp
字号:
<!--#include file="cookies.asp"-->
<!--#include file="conn.asp"-->
<%
if request("action")="save" then
sql="update product_small_sort set sort_width='"&request.form("sort_width")&"',sort_height='"&request.form("sort_height")&"',sort_rows="&cint(request.form("sort_rows"))&",sort_cols="&cint(request.form("sort_cols"))&" where id="&request.form("sort_id")
elseif request("action")="saveall" then
sql="update product_small_sort set sort_width='"&request.form("sort_width")&"',sort_height='"&request.form("sort_height")&"',sort_rows="&cint(request.form("sort_rows"))&",sort_cols="&cint(request.form("sort_cols"))
else
response.write("<script>window.alert('参数不足!');history.go(-1);</script>")
response.end()
end if
conn.execute sql
conn.close
set conn=nothing
response.write("<script>window.alert('页面布局修改成功!');history.go(-1);</script>")
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -