최초커밋

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

157
management/ip_list.asp Normal file
View File

@@ -0,0 +1,157 @@
<!-- #include virtual = "lib/config.asp" -->
<%
Dim tel_num : tel_num = Request("tel_num")
%>
<%
Response.CharSet="euc-kr"
Session.codepage="949"
Response.codepage="949"
Response.ContentType="text/html;charset=euc-kr"
%>
<style type="text/css">
.selectedRow {
background-color: #F9EDA5;
cursor: pointer;
}
.onSelect {
background-color: #b7efef;
}
.offSelect {
background-color: #ffffff;
}
</style>
<script type="text/javascript">
/*
$(document).ready(function () {
var ip_address = "<%=ip_address %>";
if (ip_address != "") {
$(opener.document).find("#txt_krc_ip").val(ip_address);
self.close();
}
});
function ip_chk(x,ip_add,chk)
{
if (chk == "1")
{
$("input[name=ip_address]").val(ip_add);
$("#ip_list").submit();
}
}
*/
$(document).ready(function () {
$(function () {
$('#mouse_over tr td').mouseover(function () {
$(this).addClass('selectedRow');
}).mouseout(function () {
$(this).removeClass('selectedRow');
});
});
$('[class^=tel_td]').each(function () {
$(this).click(function () {
var selected = $(this).hasClass("onSelect");
$('[class^=tel_td]').removeClass("onSelect");
if (!selected) {
$(this).addClass("onSelect");
}
//$("#tel_num").text($(this).text());
$("#tel_num").text($(this).children('input').val());
//alert($(this).text());
});
});
$('[class^=ip_td]').each(function () {
$(this).click(function () {
var selected = $(this).hasClass("onSelect");
$('[class^=ip_td]').removeClass("onSelect");
if (!selected) {
$(this).addClass("onSelect");
}
$("#ip_num").text($(this).text());
//alert($(this).text());
});
});
});
</script>
<p><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȣ: <span id="tel_num"><%If tel_num<>"" Then Response.Write tel_num%></span></p>
<p><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> IP: <span id="ip_num"></span></p>
<table id="mouse_over" cellspacing="0" cellpadding="0" border="1" style="width:100%;">
<thead>
<tr>
<td colspan="3" style="text-align:center;"><%if tel_num="" Then%><3E><>ȭ<EFBFBD><C8AD>ȣ<%else %>IP<%End If %> <20><><EFBFBD><EFBFBD></td>
</tr>
</thead>
<tbody>
<%
dim aa
dim bb
Dim iCnt : iCnt = 0
dim tCnt
If tel_num="" Then
Query = ""
'Query = Query&" Select * from ip_list where use_status='0' and left(IP_address,8)='10.10.13' "
Query = Query&" select A_Code+'-'+M_Code+'-'+L_Code as FullCode, L_Code from Tel_List "
Query = Query&" where Use_status='0' and Etc1='<27><><EFBFBD><EFBFBD>' "
adoRs.Open query, adoconn, 1
Redim aa(adoRs.RecordCount+1)
Redim bb(adoRs.RecordCount+1)
while not adoRs.eof
iCnt = iCnt +1
aa(iCnt) = adoRs("L_Code")
bb(iCnt) = adoRs("FullCode")
adoRs.movenext
wend
%>
<tr>
<%for tCnt=1 to iCnt %>
<td class="tel_td"><%=aa(tCnt) %><input type="hidden" name='FullNum' value='<%=bb(tCnt) %>' /></td>
<%if tCnt mod 3 = 0 Then %>
</tr>
<tr>
<%
End IF
NEXT
%>
</tr>
<%
adoRs.Close
Else
%>
<%
Query = ""
Query = Query&" Select * from ip_list where use_status='0' and left(IP_address,8)='10.10.13' "
'Query = Query&" select A_code, M_Code, L_Code from Tel_List "
'Query = Query&" where Use_status='0' and Etc1='<27><><EFBFBD><EFBFBD>' "
adoRs.Open query, adoconn, 1
Redim aa(adoRs.RecordCount+1)
while not adoRs.eof
iCnt = iCnt +1
aa(iCnt) = adoRs("IP_address")
adoRs.movenext
wend
%>
<tr>
<%for tCnt=1 to iCnt %>
<td class="ip_td"><%=aa(tCnt) %></td>
<%if tCnt mod 3 = 0 Then %>
</tr>
<tr>
<%
End IF
NEXT
%>
</tr>
<%
adoRs.Close
%>
<%
End If
%>
</tbody>
</table>