Webshell Akmal archtte id
System:
Microsoft Windows NT 10.0.20348.0
Server:
Microsoft-IIS/10.0
User:
buyyou
Directory:
C:
\
MyData
\
WWW
\
asc365
\
Name
Size
Type
Actions
ASC365_CANADA
-
Directory
Rename
Delete
ASC365_Store01
-
Directory
Rename
Delete
aspnet_client
-
Directory
Rename
Delete
CompanyImage
-
Directory
Rename
Delete
TJGS_USA
-
Directory
Rename
Delete
zhijian
-
Directory
Rename
Delete
Memo.inc
0 bytes
.inc
Edit
Rename
Delete
web.config
213 bytes
.config
Edit
Rename
Delete
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <!--#include file="site_conn.asp" --> <title></title> <script type="text/javascript"> function check() { if(document.add.productid.value=="") { alert("请填写产品ID"); document.add.Menu_Name.focus(); return false } if(document.add.productname.value=="") { alert("请填写产品名称"); document.add.productname.focus(); return false } if(document.add.typeid.value=="") { alert("请填写产品分类"); document.add.typeid.focus(); return false } if(document.add.weight.value=="") { alert("请填写重量"); document.add.weight.focus(); return false } if(document.add.productprice.value=="") { alert("请填写价格"); document.add.productprice.focus(); return false } if(document.add.productnum.value=="") { alert("请填写库存数量"); document.add.productnum.focus(); return false } if(document.add.productdetail.value=="") { alert("请填写产品描述"); document.add.productdetail.focus(); return false } //正则表达式判断 var re2 = /^\d{6}$/;//判断字符串是否为数字 var re = /^[1-9]+[0-9]*]*$/;//判断字符串是否为正整数 if (!re.test(document.add.productnum.value)) { alert("数量填写有误"); document.add.productnum.focus(); return false; } if (!re2.test(document.add.productid.value) ) { alert("产品编码输入错误"); document.add.productid.focus(); return false; } var re1=/^(\d*\.)?\d+$/ if (!re1.test(document.add.productprice.value)) { alert("价格输入错误"); document.add.productprice.focus(); return false; } if (!re1.test(document.add.weight.value)) { alert("重量输入错误"); document.add.weight.focus(); return false; } return true; } </script> <% CheckAdmin1 %> <% id=request.QueryString("id") CMSpage=request.QueryString("CMSpage") productid=request.QueryString("productid") set rs=server.CreateObject("adodb.recordset") sql="select * from specialitem where id="&id&"" rs.open sql,conn,1,1 if not rs.eof then productname=rs("productname") typeid=rs("typeid") if typeid=1 then typename1="screenprinting" end if if typeid=2 then typename1="sublimation" end if if typeid=3 then typename1="buttonmaker" end if if typeid=4 then typename1="officesupply" end if if typeid=5 then typename1="package" end if if typeid=6 then typename1="padprinting" end if if typeid=7 then typename1="cuttingplotter" end if if typeid=8 then typename1="sports" end if weight=rs("weight") productprice=rs("price") productnum=rs("productnum") productdetail=rs("description") end if rs.close set rs=nothing if Request("Action")="edit" then id=request.Form("id") productid=trim(request.Form("productid")) productname=trim(request.Form("productname")) typeid=request.Form("typeid") weight=request.Form("weight") productprice=request.Form("productprice") productnum=request.Form("productnum") productdetail=request.Form("productdetail") adddate=now() aa=0 set rs1=server.CreateObject("adodb.recordset") rs1.open "select * from specialitem where id="&id&"",conn,3,3 rs1("id")=id rs1("productid")=productid rs1("productname")=productname rs1("typeid")=typeid rs1("weight")=weight rs1("price")=productprice rs1("productnum")=productnum rs1("description")=productdetail rs1("adddate")=now() rs1("useful")=1 rs1.update rs1.close set rs1=nothing conn.close set conn=nothing Response.Write("<script>alert('修改成功');location.href='special.asp?id="&ID&"&page="&CMSpage&"&productid="&productid&"';</script>") Response.End end if %> <style type="text/css"> <!-- .STYLE2 { font-size: 18px; font-weight: bold; } --> </style> </head> <body> <div id="cms_main"> <div class="main_title"><span class="page_content"> <% '检测菜单是属于哪个语言的,并把语言后台显示名显示出来 %></span></div> <div class="height5"></div> <div> <span class="STYLE2">Special Goods产品添加</span> <form name="edit" method="post" action="?Action=edit" onSubmit="return check()"> <table style=" margin-top:20px"> <tr> <td> 产品编码:</td> <td> <input type="hidden" id="id" name="id" value="<%=id%>" /> <input type="text" id="productid" name="productid" value="<%=productid%>" readonly="true"/> </td> </tr> <tr> <td> </td> </tr> <tr> <td> 产品名称: </td> <td> <input type="text" id="productname" name="productname" value="<%=productname%>" size="80"/> </td> </tr> <tr> <td> </td> </tr> <tr> <td>类型:</td> <td><select id="typeid" name="typeid"><option value="<%=typeid%>" selected="selected"><%=typename1%></option> <option value="1">screen printing</option> <option value="2">sublimation</option> <option value="3">button maker</option> <option value="4">office supply</option> <option value="5">package</option> <option value="6">padprinting</option> <option value="7">cuttingplotter</option> <option value="8">sports</option> </select> </td> </tr> <tr> <td> </td> </tr> <tr> <td>重量(KG):</td> <td><input type="text" id="weight" name="weight" value="<%=weight%>" /></td> </tr> <tr> <td> </td> </tr> <tr> <td>价格($):</td> <td><input type="text" id="productprice" name="productprice" value="<%=productprice%>" /></td> </tr> <tr> <td> </td> </tr> <tr> <td>产品数量:</td> <td><input type="text" id="productnum" name="productnum" value="<%=productnum%>" /></td> </tr> <tr> <td> </td> </tr> <tr> <td> 产品描述: </td> <td> <textarea id="productdetail" name="productdetail" style="width:500px; height:200px"><%=productdetail%></textarea> <strong></strong> </td> </tr> <tr> <td> </td> <td><strong></strong> </td> </tr> <tr> <td> </td> <td> <input type="image" name="menuadd" id="menuadd" src="images/submit.gif"> </td> </tr> </table> </form> </div> <% conn.close set conn=nothing %> </body> </html>