maor1985 maor1985
关注数: 22 粉丝数: 1 发帖数: 223 关注贴吧数: 1
为什么ASP页面为空恩 <%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%> <!--#include file="dk_conn.asp"--> <!--#include file="dk_session.asp"--> <!--#include file="fckeditor/fckeditor.asp"--> <% If request.Form("submit") = "确认添加" Then      If request.Form("dk_products_name") = "" Then          Call infoback("产品名称不能为空!")      End If      If request.Form("dk_uploadfile") = "" Then          Call infoback("缩略图不能为空!")      End If      If request.Form("dk_products_content") = "" Then          Call infoback("详细介绍不能为空!")      End If      Set rs = server.CreateObject("adodb.recordset")      sql = "select * from dk_products"      rs.Open sql, conn, 1, 3      rs.addnew      rs("dk_products_name") = request.Form("dk_products_name")      rs("dk_products_category") = request.Form("dk_products_category")      rs("dk_uploadfile") = request.Form("dk_uploadfile")      rs("dk_products_keywords") = request.Form("dk_products_keywords")      If request.Form("dk_products_rec") = "" Then          rs("dk_products_rec") = False      Else          rs("dk_products_rec") = request.Form("dk_products_rec")      End If      If request.Form("dk_products_hot") = "" Then          rs("dk_products_hot") = False      Else          rs("dk_products_hot") = request.Form("dk_products_hot")      End If      rs("dk_products_content") = request.Form("dk_products_content")      rs.update      Call close_rs      Call close_conn      Call infohref("产品添加成功!点击确认继续添加!", "dk_products_add.asp") End If %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fwww.w3.org%2FTR%2Fxhtml1%2FDTD%2Fxhtml1-transitional.dtd&urlrefer=e9b2a1e0c6d358d677c4ee0138b67400"> <html xmlns="http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml&urlrefer=d0f4243b5ce5e5fa54fdafc10831c319"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>后台管理</title> <link href="dk_style.css" rel="stylesheet" type="text/css" /> </head> <body> <!--#include file="dk_top.asp"--> <div id="sub_navigation" class="layout_center">
1 下一页