최초커밋
This commit is contained in:
97
inspection/interviewer_work_day.asp
Normal file
97
inspection/interviewer_work_day.asp
Normal file
@@ -0,0 +1,97 @@
|
||||
<!-- #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 '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' 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 <20>α<EFBFBD><CEB1><EFBFBD>' 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(<28><><EFBFBD><EFBFBD>)' 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> (<28><> <span id="cnt_date"><%= adors.recordCount%></span><3E><>)
|
||||
</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
|
||||
|
||||
%>
|
||||
Reference in New Issue
Block a user