최초등록

This commit is contained in:
sp1000je
2026-02-23 10:01:00 +09:00
commit 7bc9767bf4
3120 changed files with 198447 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
<!--#include virtual = "/common/lib/dbcon.asp" -->
<!--#include virtual = "/common/lib/func.asp" -->
<!--#include file = "config.asp" -->
<%
R_Fields = "poc_idx, poc_topinclude, poc_btminclude"
Call RequestAll (R_Fields, "")
poc_tophtml = InputValue4( request("poc_tophtml") )
poc_btmhtml = InputValue4( request("poc_btmhtml") )
If poc_idx = "" Then ' 저장
sql = "truncate table poll_conf"
Dbcon.execute sql
R_Fields_i = "poc_topinclude, poc_tophtml, poc_btminclude, poc_btmhtml, poc_wdate"
poc_wdate = getDateFm(now,3)
Call InsertQuery(R_Fields_i, "poll_conf")
ok_url = "conf.asp"
Else ' 수정
R_Fields_u = "poc_topinclude, poc_tophtml, poc_btminclude, poc_btmhtml, poc_wdate"
nsc_wdate = getDateFm(now,3)
Call UpdateQuery (R_Fields_u, "poll_conf", "where poc_idx="&poc_idx)
ok_url = "conf.asp"
End if
Dbcon.close
Call loding("0", ok_url)
%>