최초커밋
This commit is contained in:
113
project/cli_modi.asp
Normal file
113
project/cli_modi.asp
Normal file
@@ -0,0 +1,113 @@
|
||||
<!-- #include virtual = "lib/config.asp" -->
|
||||
<%
|
||||
cli_name = request("cli_name")
|
||||
mod_cli = request("mod_cli")
|
||||
|
||||
'Client <20><><EFBFBD><EFBFBD>
|
||||
dim tmp_cliform(99)
|
||||
|
||||
query = "SELECT * "
|
||||
query = query & "FROM Client_Type "
|
||||
query = query & "ORDER BY sort_key "
|
||||
|
||||
rsc.Open query, adoConn, 1
|
||||
if rsc.RecordCount > 0 then
|
||||
for i = 1 to rsc.RecordCount
|
||||
|
||||
tmp_cliform(int(rsc("c_type_code"))) = rsc("c_type_name")
|
||||
|
||||
rsc.MoveNext
|
||||
next
|
||||
end if
|
||||
rsc.Close
|
||||
|
||||
query = "SELECT * "
|
||||
query = query & "FROM Client "
|
||||
query = query & "WHERE c_code='" & mod_cli & "' "
|
||||
query = query & "ORDER BY c_name "
|
||||
'Response.Write query
|
||||
rsc.Open query, adoConn, 1
|
||||
|
||||
%>
|
||||
<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>
|
||||
</title>
|
||||
<script language=javascript>
|
||||
|
||||
|
||||
function cancelit() {
|
||||
history.back();
|
||||
}
|
||||
|
||||
function modit() {
|
||||
if (document.pms.c_name.value.trim() == '') {
|
||||
alert('Client <20≯<EFBFBD><CCB8><EFBFBD> <20>ۼ<EFBFBD><DBBC><EFBFBD> <20>ּ<EFBFBD><D6BC><EFBFBD>');
|
||||
document.pms.c_name.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
document.pms.c_name.value = document.pms.c_name.value.trim();
|
||||
|
||||
if (document.pms.c_type.value == '') {
|
||||
alert('Client Type<70><65> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ּ<EFBFBD><D6BC><EFBFBD>');
|
||||
document.pms.c_type.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
document.pms.action = 'cli_modi_ok.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="cli_name" value="<%=cli_name%>">
|
||||
<input type="hidden" name="mod_cli" value="<%=mod_cli%>">
|
||||
|
||||
<table border="1" cellspacing="0" cellpadding="0" width="335" bgcolor="white">
|
||||
<tr align="center" height="20">
|
||||
<td><font color="blue"><b>Code</b></font></td>
|
||||
<td><font color="blue"><b>Client Name</b></font></td>
|
||||
<td><font color="blue"><b>Type</b></font></td>
|
||||
</tr>
|
||||
<tr align="center">
|
||||
<td><%=rsc("c_code")%></td>
|
||||
<td>
|
||||
<input class="input" type="text" size="15" name="c_name" value="<%=rsc("c_name")%>">
|
||||
</td>
|
||||
<td>
|
||||
<select name="c_type">
|
||||
<option value=""><3E><><EFBFBD><EFBFBD></option>
|
||||
<%
|
||||
for i = 4 to ubound(tmp_cliform)
|
||||
if tmp_cliform(i) <> "" then
|
||||
%>
|
||||
<option value="<%=i%>"><%=tmp_cliform(i)%></option>
|
||||
<%
|
||||
end if
|
||||
next
|
||||
%>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="335" bgcolor="white">
|
||||
<tr align="center">
|
||||
<td colspan="99">
|
||||
<img src="/images/common/btn_modify2.jpg" style="cursor:pointer" border="0" onClick="modit()" title = "<22><><EFBFBD><EFBFBD>">
|
||||
|
||||
<img src="/images/common/btn_cancel2.jpg" style="cursor:pointer" border="0" onClick="cancelit()" title = "<22><><EFBFBD><EFBFBD>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%
|
||||
rsc.Close
|
||||
set rsc = nothing
|
||||
%>
|
||||
Reference in New Issue
Block a user