Files
KIN/project/cli_new_2014.asp
2025-09-29 17:55:08 +09:00

72 lines
2.1 KiB
Plaintext

<!-- #include virtual = "lib/config.asp" -->
<%
p_cli_company_cd = ""
p_cli_company_cd = request("p_cli_company_cd")
%>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<LINK rel="stylesheet" type="text/css" href="/lib/text.css">
<title>
클라이언트 추가
</title>
<script language=javascript>
function cancelit() {
history.back();
}
function newit() {
if (document.pms.p_cli_company_nm.value.trim() == '') {
alert('회사 이름을 작성하세요');
document.pms.p_cli_company_nm.value = '';
document.pms.p_cli_company_nm.focus();
return false;
}
document.pms.p_cli_company_nm.value = document.pms.p_cli_company_nm.value.trim();
if (document.pms.p_cli_company_cd.value == "") {
document.pms.action = 'cli_new_ok_2014.asp';
} else {
document.pms.action = 'cli_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%>">
<table border="1" cellspacing="0" cellpadding="0" width="335" height="50" bgcolor="white" bordercolordark="gray" bordercolorlight="white">
<tr align="center" height="20">
<td><font color="blue"><b>회사 이름을 작성하여 주십시오.</b></font></td>
</tr>
<tr align="center">
<td>
<input class="input" type="text" size="45" name="p_cli_company_nm">
</td>
</tr>
</table>
<br>
<table border="0" cellspacing="0" cellpadding="0" width="335" bgcolor="white">
<tr align="center">
<td colspan="99">
<%if p_cli_company_cd <> "" then %>
<img src="/images/common/btn_modify2.jpg" style="cursor:pointer" border="0" onClick="newit()" title = "수정">
<% else %>
<img src="/images/common/btn_save.jpg" style="cursor:pointer" border="0" onClick="newit()" title = "저장">
<% end if %>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<img src="/images/common/btn_cancel2.jpg" style="cursor:pointer" border="0" onClick="cancelit()" title = "취소">
</td>
</tr>
</table>