최초커밋

This commit is contained in:
2025-09-29 17:55:08 +09:00
parent 90af30c0d0
commit e39813395a
3334 changed files with 338522 additions and 0 deletions

185
project/cli_search.asp Normal file
View File

@@ -0,0 +1,185 @@
<!-- #include virtual = "lib/config.asp" -->
<%
v = request("v")
'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 "
if request("cli_name") <> "" then
query = query & "WHERE c_name like '%" & request("cli_name") & "%' "
end if
query = query & "ORDER BY c_name "
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>Ʈ ã<><C3A3>
</title>
<script language=javascript>
function sltit(z,y,x,w,v) {
//z:Client code, y:Client name, x:Client type code, w:Client type name, v:page(1=modi, 2.3.4=search)
if (v == 1) {
opener.document.pms.p_cli_code.value = z;
opener.document.pms.p_cli_company.value = y;
opener.document.pms.p_cli_type.value = x;
opener.document.pms.p_cli_type2.value = x;
opener.document.pms.p_cli_name.value = "";
opener.document.pms.p_cli_depart.value = "";
} else if (v == 2) {
opener.document.pms.p_cli_code.value = z;
opener.document.pms.p_cli_company.value = y;
} else if (v == 3) {
opener.document.pms.p_cli_code2.value = z;
opener.document.pms.p_client_2.value = y;
} else if (v == 4) {
opener.document.pms.p_cli_code3.value = z;
opener.document.pms.p_client_3.value = y;
} else if (v == 5) {
opener.document.pms.p_cli_code1.value = z;
opener.document.pms.p_client_1.value = y;
}
self.close();
}
function search_cli() {
//if (document.pms.cli_name.value.trim() == '') {
// alert('Ŭ<><C5AC><EFBFBD>̾<EFBFBD>Ʈ<EFBFBD><C6AE><EFBFBD><EFBFBD> <20>ۼ<EFBFBD><DBBC><EFBFBD> <20>ּ<EFBFBD><D6BC><EFBFBD>');
// document.pms.cli_name.value = '';
// document.pms.cli_name.focus();
// return false;
//}
document.pms.cli_name.value = document.pms.cli_name.value.trim();
//document.pms.action = 'search_cli.asp';
document.pms.submit();
}
function modit(z) {
var tmp_ok = 0;
if (z > 1)
{
for (i = 1; i <= z; i++) {
if (document.pms.mod_cli[i-1].checked == true) {
tmp_ok = 1;
}
}
if (tmp_ok != 1) {
alert('Client<6E><74> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ּ<EFBFBD><D6BC><EFBFBD>');
document.pms.mod_cli[0].focus();
return false;
}
}
else
{
if (document.pms.mod_cli.checked == true) {
tmp_ok = 1;
}
if (tmp_ok != 1) {
alert('Client<6E><74> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ּ<EFBFBD><D6BC><EFBFBD>');
document.pms.mod_cli.focus();
return false;
}
}
document.pms.action = 'cli_modi.asp';
document.pms.submit();
}
function newit() {
document.pms.action = 'cli_new.asp';
document.pms.submit();
}
</script>
</head>
<body onLoad="javascript:document.pms.cli_name.focus();">
<form name="pms" method="post">
<div style="position: absolute; left: 10px; top: 4px; z-index: 10;">
<table border="0" cellspacing="0" cellpadding="0" width="335" bgcolor="white">
<tr align="center">
<td>
<img src="/images/common/btn_add.gif" onClick="newit()" style="CURSOR:pointer;">
&nbsp;&nbsp;&nbsp;&nbsp;
<img src="/images/common/btn_reply_modify.jpg" onclick="modit('<%=rsc.RecordCount%>')" style="CURSOR:pointer;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input class="input" type="text" name="cli_name" value="<%=request("cli_name")%>" size="15" style="IME-MODE: active;background:#FFFFFF">
<img src="/images/common/btn_topsrch.gif" title="ã<><C3A3>" onClick="search_cli()" style="CURSOR:pointer;">
</td>
</tr>
</table>
</div>
<div style="position: absolute; left: 10px; top: 34px; z-index: 10;">
<table border="1" cellspacing="0" cellpadding="0" width="335" bgcolor="white">
<tr align="center" height="20">
<td width="20"></td>
<td width="40"><font color="blue"><b><3E>ڵ<EFBFBD></b></font></td>
<td><font color="blue"><b>Client<6E><74></b></font></td>
<td width="80"><font color="blue"><b>TYPE</b></font></td>
</tr>
</table>
</div>
<br>
<div style="width: 335px; height: 250px; overflow-y: auto;">
<table border="1" cellspacing="0" cellpadding="0" width="335">
<tr align="center" height="20">
<td width="20"></td>
<td width="40"><font color="blue"><b><3E>ڵ<EFBFBD></b></font></td>
<td><font color="blue"><b>Client<6E><74></b></font></td>
<td width="80"><font color="blue"><b>TYPE</b></font></td>
</tr>
<%
for i = 1 to rsc.RecordCount
%>
<tr>
<td><input type="radio" name="mod_cli" value="<%=rsc("c_code")%>"></td>
<td align="center"><%=rsc("c_code")%></td>
<td>&nbsp;<a href="javascript:sltit('<%=rsc("c_code")%>','<%=rsc("c_name")%>','<%=rsc("c_type")%>','<%=tmp_cliform(rsc("c_type"))%>','<%=v%>')"><font color="blue"><%=rsc("c_name")%></font></a></td>
<td align="center"><%=tmp_cliform(rsc("c_type"))%></td>
</tr>
<%
rsc.MoveNext
next
%>
</table>
</div>
<br>
<font color="red">*</font> Client TYPE<50><45> <font color="blue"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></font>, <font color="blue"><3E>ؿܱ<D8BF><DCB1><EFBFBD></font>, <font color="blue"><3E><><EFBFBD><EFBFBD>ȸ<EFBFBD><C8B8></font><3E><> <font color="red"><b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></b></font><3E>Դϴ<D4B4>.
<br>
<font color="red">*</font> TYPE<50><45> <font color="red"><3E><><EFBFBD><EFBFBD></font><3E>Ϸ<EFBFBD><CFB7><EFBFBD> Client <20>ڵ<EFBFBD><DAB5><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ư<EFBFBD><C6B0> <20><><EFBFBD><EFBFBD><EFBFBD>ϰ<EFBFBD> <br>&nbsp;&nbsp;&nbsp;<3B><><EFBFBD><EFBFBD> <20><>ư<EFBFBD><C6B0> <20><><EFBFBD><EFBFBD> <20>ּ<EFBFBD><D6BC><EFBFBD>.
<%
rsc.Close
set rsc = nothing
%>