최초등록
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
<!--#include virtual = "/common/lib/dbcon.asp" -->
|
||||
<!--#include virtual = "/common/lib/func.asp" -->
|
||||
<%
|
||||
|
||||
p_page_m_id = InputValue(request("p_page_m_id"))
|
||||
p_page_url = lcase( InputValue(request("p_page_url")) )
|
||||
|
||||
|
||||
sql = "select p_num from page_master where p_page_url = '"&p_page_url&"'"
|
||||
Set Rs = Dbcon.Execute (sql)
|
||||
|
||||
If rs.eof Then
|
||||
Call InsertQuery("p_page_m_id, p_page_url", "page_master")
|
||||
else
|
||||
Call UpdateQuery("p_page_m_id", "page_master", "where p_page_url = '"&p_page_url&"'")
|
||||
End If
|
||||
rs.close : Set rs = Nothing
|
||||
Dbcon.close : Set Dbcon = nothing
|
||||
%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko" lang="ko">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
opener.location.replace(eval("opener.location.href"));
|
||||
|
||||
window.opener = 'nothing';
|
||||
window.open('','_parent','');
|
||||
window.close();
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user