최초커밋
This commit is contained in:
138
project/cp_modi_2014.asp
Normal file
138
project/cp_modi_2014.asp
Normal file
@@ -0,0 +1,138 @@
|
||||
<!-- #include virtual = "lib/config.asp" -->
|
||||
<%
|
||||
p_cli_per_cd = ""
|
||||
p_cli_per_cd = request("p_cli_per_cd")
|
||||
p_cli_company_cd = request("p_cli_company_cd")
|
||||
mod_cli = request("mod_cli")
|
||||
x = request("x") 'project_lsit2_thanksmail<69><6C><EFBFBD><EFBFBD> 1<><31> <20><><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD>Ϸ<EFBFBD> <20><> â<><C3A2> <20>ݱ<EFBFBD> <20><><EFBFBD><EFBFBD>)
|
||||
|
||||
query = " SELECT * "
|
||||
query = query & " FROM V_CLIENT_PERSON "
|
||||
query = query & " WHERE p_cli_per_cd='" & p_cli_per_cd & "' and p_cli_company_cd = '" & p_cli_company_cd & "' "
|
||||
'Response.Write query
|
||||
rsc.Open query, adoConn, 1
|
||||
|
||||
|
||||
p_cli_depart = ""
|
||||
p_cli_per_nm = ""
|
||||
p_cli_per_com_tel = ""
|
||||
p_cli_per_tel = ""
|
||||
p_cli_per_email = ""
|
||||
|
||||
if p_cli_per_cd <> "" then
|
||||
p_cli_depart = rsc("p_cli_depart")
|
||||
p_cli_per_nm = rsc("p_cli_per_nm")
|
||||
p_cli_per_com_tel = rsc("p_cli_per_com_tel")
|
||||
p_cli_per_tel = rsc("p_cli_per_tel")
|
||||
p_cli_per_email = rsc("p_cli_per_email")
|
||||
end if
|
||||
|
||||
%>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
|
||||
<LINK rel="stylesheet" type="text/css" href="/lib/text.css">
|
||||
<title>
|
||||
Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
</title>
|
||||
<script language=javascript>
|
||||
|
||||
|
||||
function cancelit(a) {
|
||||
if (a == 1)
|
||||
{
|
||||
self.close();
|
||||
}
|
||||
else
|
||||
{
|
||||
history.back();
|
||||
}
|
||||
}
|
||||
|
||||
function modit() {
|
||||
if (document.pms.p_cli_per_nm.value.trim() == '') {
|
||||
alert('Client <20><><EFBFBD><EFBFBD><EFBFBD>ڸ<EFBFBD> <20>ۼ<EFBFBD><DBBC>ϼ<EFBFBD><CFBC><EFBFBD>');
|
||||
document.pms.p_cli_per_nm.value = '';
|
||||
document.pms.p_cli_per_nm.focus();
|
||||
return false;
|
||||
}
|
||||
document.pms.p_cli_per_nm.value = document.pms.p_cli_per_nm.value.trim();
|
||||
|
||||
/*if (document.pms.p_cli_per_com_tel.value.trim() == '' && document.pms.p_cli_per_tel.value.trim() == '' && document.pms.p_cli_per_email.value.trim() == '') {
|
||||
alert('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ȸ<><C8B8><EFBFBD><EFBFBD>ȭ, <20>ڵ<EFBFBD><DAB5><EFBFBD>, <20><><EFBFBD><EFBFBD> <20><> 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20>Է<EFBFBD><D4B7>ؾ<EFBFBD> <20>մϴ<D5B4>. ');
|
||||
document.pms.p_cli_per_com_tel.value = '';
|
||||
document.pms.p_cli_per_com_tel.focus();
|
||||
return false;
|
||||
}*/
|
||||
document.pms.p_cli_depart.value = document.pms.p_cli_depart.value.trim();
|
||||
|
||||
if (document.pms.p_cli_per_cd.value == "") {
|
||||
document.pms.action = 'cp_new_ok_2014.asp';
|
||||
} else {
|
||||
document.pms.action = 'cp_modi_ok_2014.asp';
|
||||
}
|
||||
document.pms.submit();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<!--meta http-equiv="refresh" content="300;url=onfile.asp"-->
|
||||
<body>
|
||||
<form name="pms" method="post">
|
||||
|
||||
<input type="hidden" name="p_cli_company_cd" value="<%=p_cli_company_cd%>">
|
||||
<input type="hidden" name="p_cli_per_cd" value="<%=p_cli_per_cd%>">
|
||||
<input type="hidden" name="mod_cli" value="<%=mod_cli%>">
|
||||
<input type="hidden" name="x" value="<%=x%>">
|
||||
|
||||
<table border="1" cellspacing="0" cellpadding="0" width="335" bgcolor="white">
|
||||
<tr align="center" >
|
||||
<td><font color="blue"><b>Client <20>μ<EFBFBD></b></font></td>
|
||||
<td>
|
||||
<input class="input" type="text" size="20" name="p_cli_depart" value="<%=p_cli_depart%>">
|
||||
</td>
|
||||
</tr>
|
||||
<tr align="center" height="20">
|
||||
<td><font color="blue"><b>Client <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></b></font></td>
|
||||
<td>
|
||||
<input class="input" type="text" size="20" name="p_cli_per_nm" value="<%=p_cli_per_nm%>">
|
||||
</td>
|
||||
</tr>
|
||||
<tr align="center" >
|
||||
<td><font color="blue"><b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ȸ<><C8B8> <20><>ȭ</b></font></td>
|
||||
<td>
|
||||
<input class="input" type="text" size="20" name="p_cli_per_com_tel" value="<%=p_cli_per_com_tel%>">
|
||||
</td>
|
||||
</tr>
|
||||
<tr align="center" >
|
||||
<td><font color="blue"><b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ڵ<EFBFBD><DAB5><EFBFBD></b></font></td>
|
||||
<td>
|
||||
<input class="input" type="text" size="20" name="p_cli_per_tel" value="<%=p_cli_per_tel%>">
|
||||
</td>
|
||||
</tr>
|
||||
<tr align="center" >
|
||||
<td><font color="blue"><b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD></b></font></td>
|
||||
<td>
|
||||
<input class="input" type="text" size="20" name="p_cli_per_email" value="<%=p_cli_per_email%>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
|
||||
<br>
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="335" bgcolor="white">
|
||||
<tr align="center">
|
||||
<td colspan="99">
|
||||
<%if p_cli_per_cd <> "" then %>
|
||||
<img src="/images/common/btn_modify2.jpg" style="cursor:pointer" border="0" onClick="modit()" title = "<22><><EFBFBD><EFBFBD>">
|
||||
<% else %>
|
||||
<img src="/images/common/btn_save.jpg" style="cursor:pointer" border="0" onClick="modit()" title = "<22><><EFBFBD><EFBFBD>">
|
||||
<% end if %>
|
||||
|
||||
<img src="/images/common/btn_cancel2.jpg" style="cursor:pointer" border="0" onClick="cancelit('<%=x%>')" title = "<22><><EFBFBD><EFBFBD>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%
|
||||
rsc.Close
|
||||
set rsc = nothing
|
||||
%>
|
||||
Reference in New Issue
Block a user