📄 addmsg2.asp
字号:
<!--#include file="conn.asp" -->
<!--#include file="session.asp" -->
<!--#include file="../function/ubb.asp" -->
<!--#include file="../function/function.asp" -->
<%
web_id1="../language/"
web_id=web_id1&l_id&"/WELCOM_MSG.ASP"
call include(web_id)
id=request.Form("id")
msg_user=session_cookie_name
msg_gid=session_cookie_gid
msg_text=trim(request.Form("msg_text"))
log_url="class_msg.asp"
if msg_text="" or len(msg_text)>200 then
log_msg="<h1>"&L_WELCOM_MSG1&"</h1><br>"&L_WELCOM_MSG2&"<br>"&L_WELCOM_MSG3
%>
<!--#include file="welcom.asp" -->
<%
response.end
end if
msg_time=now()
if id="" then
add_sql="insert into class_msg (msg_text,msg_user,msg_time,g_id) VALUES ('" &msg_text& "','"& msg_user &"','"& msg_time &"','"&msg_gid&"')"
conn.execute(add_sql)
up_money=momey_inof + addmsg_money
update_user=session_cookie_name
call up_money_f(up_money,update_user)
log_msg=L_WELCOM_MSG4
else
sql="update class_msg set msg_text='"& msg_text &"' where id="&id
conn.execute(sql)
log_msg=L_WELCOM_MSG5
end if
%>
<!--#include file="welcom.asp" -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -