97 lines
2.5 KiB
Plaintext
97 lines
2.5 KiB
Plaintext
<!-- #include virtual = "lib/config.asp" -->
|
|
<%
|
|
dim Query
|
|
dim adors
|
|
dim new_id : new_id = request("new_id")
|
|
|
|
set adors = server.CreateObject("adodb.recordset")
|
|
%>
|
|
<html>
|
|
<head>
|
|
<script LANGUAGE="JavaScript" SRC="/js/common.js"></script>
|
|
<script src="/js/jquery.min.js"></script>
|
|
<script src="/js/jquery-ajax-call.js"></script>
|
|
<script src="/js/jquery.form.min.js"></script>
|
|
<script language=javascript>
|
|
|
|
</script>
|
|
<meta http-equiv="content-type" content="text/html; charset=EUC-KR">
|
|
<link rel="StyleSheet" href="/css/basic.css" type="text/css">
|
|
<style>
|
|
.container{
|
|
font-size: 17px;
|
|
letter-spacing: 1px;
|
|
margin: 15px 45px;
|
|
font-family: 'malgun gothic';
|
|
}
|
|
|
|
.h_work{
|
|
border: 2px solid black;
|
|
padding: 10px;
|
|
text-align: center;
|
|
border-radius: 20px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.b_work{
|
|
text-align: center;
|
|
margin-top: 10px;
|
|
height: 367px;
|
|
overflow-y: scroll;
|
|
border: 1px solid #eaeaea;
|
|
padding: 10px;
|
|
border-radius: 23px;
|
|
}
|
|
.b_work > div{
|
|
width: 30%;
|
|
font-size:13px;
|
|
text-align: center;
|
|
border: 1px solid #8d8d8d;
|
|
margin: 2px auto;
|
|
padding: 4px;
|
|
padding-top: 0px;
|
|
border-radius: 8px;
|
|
letter-spacing: -1px;
|
|
display:inline-block;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<%
|
|
Query = ""
|
|
Query = Query & " SELECT max(div) as div, date FROM " & Vbcrlf
|
|
Query = Query & " ( " & Vbcrlf
|
|
Query = Query & " SELECT '내근직 업무일지' as div, date FROM neakeun_in_out_time WHERE neakeun_name = (SELECT top 1 m_name FROM man where new_id = '" & new_id & "') UNION ALL " & Vbcrlf
|
|
Query = Query & " SELECT 'CATI 로그인' as div, login_date AS date FROM new_cati.dbo.login WHERE myun_id = (SELECT top 1 id FROM man where new_id = '" & new_id & "') UNION ALL " & Vbcrlf
|
|
Query = Query & " SELECT 'K-FCS(검증)' as div, r_date as date FROM res WHERE m_no = '" & new_id & "' " & Vbcrlf
|
|
|
|
Query = Query & " ) T " & Vbcrlf
|
|
Query = Query & " GROUP BY date " & Vbcrlf
|
|
Query = Query & " ORDER BY date " & Vbcrlf
|
|
|
|
adors.open Query, adoconn, 1
|
|
%>
|
|
<div class="container">
|
|
<% If adors.recordCount > 0 Then %>
|
|
<div class="h_work">
|
|
<span id="st_date"><% adors.moveFirst %><%= adors("date")%></span> ~ <span id="ed_date"><% adors.moveLast %><%= adors("date")%></span> (총 <span id="cnt_date"><%= adors.recordCount%></span>일)
|
|
</div>
|
|
<div class="b_work">
|
|
<%
|
|
adors.moveFirst
|
|
Do While Not adors.Eof
|
|
%>
|
|
<div><%= adors("div")%></div>-<div><%= adors("date") %></div><br>
|
|
<%
|
|
adors.MoveNext
|
|
Loop
|
|
%>
|
|
</div>
|
|
<% End If %>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
<%
|
|
set adors = nothing
|
|
|
|
%> |