⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 photodel.asp

📁 不是我做的一个留言板
💻 ASP
字号:
<!--#include file="../main/conn.asp" -->
<!--#include file="../main/session.asp" -->
<!--#include file="../function/function.asp" -->
<%
web_id="../language/"&l_id
web_id=web_id&"/WELCOM_MSG.ASP"
call include(web_id)

group=request.QueryString("group")

file=request.QueryString("filename")

photoid=request.QueryString("photoid")

strsql="delete from photo_msg where photo_id='"&photoid&"'"

conn.execute(strsql)

strsql2="delete from photo where photoid="&photoid

conn.execute(strsql2)

up_money=momey_inof - addphoto_money
update_user=session_cookie_name
call up_money_f(up_money,update_user)
conn.close

set conn=nothing

set MyFileObject=Server.CreateOBject("Scripting.FileSystemObject")
MyFileObject.DeleteFile""&Server.MapPath("./"&photopath&"/"&file&"")&""

if group="admin" THEN
log_url="../class_admin/admin_photo.asp?sid=相册管理"
else
log_url="../main/user_photo.asp?sid=我的相册"
end if
log_msg=L_WELCOM_MSG11
%>

<!--#include file="welcom.asp" -->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -