|
|
|
¤Ñ¤Ì / 2001-12-01 / ¿ÀÈÄ 3:48:42 / 211.245.244.179
Á¶È¸¼ö : 137
|
[Áú¹®] ÀÚ·á½Ç ¼öÁ¤ºÎºÐÀε¥.... |
¾Æ¹«·± ¹ÝÀÀÀÌ ¾ø¾î¿ä.. ¼öÁ¤µµ ¸øÇϱ¸.... ¿¡·¯µµ ¾ø±¸... ¿Ö ÀÌ·¯´ÂÁö...
ÀÚ·á½Ç ¼öÁ¤ºÎºÐ ¼Ò½º ÀÔ´Ï´Ù.
¿¡·¯µµ ¾ø´Âµ¥ ¹ÝÀÀµµ ¾ø³×¿ä... ±×³É ºó°ø°£¸¸ ´ú··~
ÀÚ·á½Ç ¼öÁ¤ºÎºÐÀε¥.... ¼öÁ¤ÆäÀÌÁö¿¡¼ ¾Æ¹«·± ¿¡·¯¸Þ¼¼Áöµµ ¾øÀÌ ¾Ï°Íµµ ¾È³ª¿Í¿ä.. ¿Ö ÀÌ·²±î¿ä...
elseif method="edit" then
num=cint(UploadForm("num"))
page=cint(UploadForm("page"))
content_num = UploadForm("content_num")
content_num = Replace(content_num," ","....")
content_num = trim(Replace(content_num,"'","''"))
record_date = UploadForm("record_date")
record_date = Replace(record_date," ","....")
record_date = trim(Replace(record_date,"'","''"))
hname = UploadForm("hname")
hname = Replace(hname," ","....")
hname = Trim(Replace(hname,"'","''"))
place = UploadForm("place")
place = Replace(place," ","....")
place = Trim(Replace(place,"'","''"))
branch = UploadForm("branch")
branch = Replace(branch," ","....")
branch = Trim(Replace(branch,"'","''"))
couplet_title = UploadForm("couplet_title")
couplet_title = Replace(couplet_title," ","....")
couplet_title = Trim(Replace(couplet_title,"'","''"))
announcement = UploadForm("announcement")
announcement = Replace(announcement," ","....")
announcement = Trim(Replace(announcement,"'","''"))
issue = UploadForm("issue")
issue = Replace(issue," ","....")
issue = Trim(Replace(issue,"'","''"))
summary = UploadForm("summary")
summary = Replace(summary," ","....")
passwd=Trim(UploadForm("passwd"))
sqlmStr="select passwd from uos_uis where num='"&num&"'"
Set rsm = DbCon.Execute(sqlmStr)
rsm_pass=rsm(0)
rsm.close
set rsm=nothing
if rsm_pass=passwd then
sql="UPDATE test SET content_num='"&content_num&"', record_date='"&record_date&"',
hname='"&hname&"',place='"&place&"', writeday=now(),
branch='"&branch& "',couplet_title='"&couplet_title&"',announcement='"&announcement&"',issue='"&issue&"',s
ummary='"&summary&"' "
sql = sql & " WHERE num=" & num
DbCon.Execute(sql)
else
response.redirect "edit.asp?sort1="&sort1&"&sort2="&sort2&"&page="&page&"&num="&num
end if
re="couplet_list.asp?sort1="&sort1&"&sort2="&sort2&"&page="&page
response.redirect re
DbCon.Close
ÀÚ·á½Ç ¼öÁ¤ºÎºÐ ¼Ò½º ÀÔ´Ï´Ù.
¿¡·¯µµ ¾ø´Âµ¥ ¹ÝÀÀµµ ¾ø³×¿ä... ±×³É ºó°ø°£¸¸ ´ú··~
ÀÚ·á½Ç ¼öÁ¤ºÎºÐÀε¥.... ¼öÁ¤ÆäÀÌÁö¿¡¼ ¾Æ¹«·± ¿¡·¯¸Þ¼¼Áöµµ ¾øÀÌ ¾Ï°Íµµ ¾È³ª¿Í¿ä.. ¿Ö ÀÌ·²±î¿ä...
elseif method="edit" then
num=cint(UploadForm("num"))
page=cint(UploadForm("page"))
content_num = UploadForm("content_num")
content_num = Replace(content_num," ","....")
content_num = trim(Replace(content_num,"'","''"))
record_date = UploadForm("record_date")
record_date = Replace(record_date," ","....")
record_date = trim(Replace(record_date,"'","''"))
hname = UploadForm("hname")
hname = Replace(hname," ","....")
hname = Trim(Replace(hname,"'","''"))
place = UploadForm("place")
place = Replace(place," ","....")
place = Trim(Replace(place,"'","''"))
branch = UploadForm("branch")
branch = Replace(branch," ","....")
branch = Trim(Replace(branch,"'","''"))
couplet_title = UploadForm("couplet_title")
couplet_title = Replace(couplet_title," ","....")
couplet_title = Trim(Replace(couplet_title,"'","''"))
announcement = UploadForm("announcement")
announcement = Replace(announcement," ","....")
announcement = Trim(Replace(announcement,"'","''"))
issue = UploadForm("issue")
issue = Replace(issue," ","....")
issue = Trim(Replace(issue,"'","''"))
summary = UploadForm("summary")
summary = Replace(summary," ","....")
passwd=Trim(UploadForm("passwd"))
sqlmStr="select passwd from uos_uis where num='"&num&"'"
Set rsm = DbCon.Execute(sqlmStr)
rsm_pass=rsm(0)
rsm.close
set rsm=nothing
if rsm_pass=passwd then
sql="UPDATE test SET content_num='"&content_num&"', record_date='"&record_date&"',
hname='"&hname&"',place='"&place&"', writeday=now(),
branch='"&branch& "',couplet_title='"&couplet_title&"',announcement='"&announcement&"',issue='"&issue&"',s
ummary='"&summary&"' "
sql = sql & " WHERE num=" & num
DbCon.Execute(sql)
else
response.redirect "edit.asp?sort1="&sort1&"&sort2="&sort2&"&page="&page&"&num="&num
end if
re="couplet_list.asp?sort1="&sort1&"&sort2="&sort2&"&page="&page
response.redirect re
DbCon.Close
|
|
|
|