288 lines
11 KiB
Plaintext
288 lines
11 KiB
Plaintext
<!-- #include virtual = "lib/config.asp" -->
|
||
<%
|
||
call Time_Check(Session("Login_Check"))
|
||
'<!-- ???????? ??? ?? -->
|
||
if request("request_chk") = "" then
|
||
%>
|
||
<!-- #include virtual="login/request_check.asp" -->
|
||
<%
|
||
end if
|
||
|
||
Response.Charset = "EUC-KR"
|
||
Response.codePage = "949"
|
||
Response.ContentType="text/html;charset=euc-kr"
|
||
%>
|
||
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="euc-kr">
|
||
<meta name="viewport" content="width=1800">
|
||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
|
||
<title><%=GNB_TITLE%></title>
|
||
<% If Request("dialog") <> "1" Then %>
|
||
<% If Request("command") <> "excel" Then %>
|
||
<!-- Font Awesome Icons -->
|
||
<link rel="stylesheet" href="/css/all.min.css">
|
||
<!-- Template style -->
|
||
<link rel="stylesheet" href="/css/AdminLTE.css">
|
||
<!-- kiwi style -->
|
||
<link rel="stylesheet" href="/css/koin.css">
|
||
<!-- jQuery Ui -->
|
||
<link rel="stylesheet" href="/css/jquery-ui.min.css">
|
||
<!-- jQuery Confirm -->
|
||
<link rel="stylesheet" href="/css/jquery-confirm.min.css">
|
||
<!-- Bootstrap Select -->
|
||
<link rel="stylesheet" href="/css/bootstrap-select.min.css"/>
|
||
<!-- chartjs -->
|
||
<link rel="stylesheet" href="/css/Chart.min.css">
|
||
<!-- datatables -->
|
||
<link rel="stylesheet" href="/css/datatables.min.css"/>
|
||
<!-- tree js -->
|
||
<link rel="stylesheet" href="/css/treejs.min.css">
|
||
<!-- Work Process -->
|
||
<link rel="stylesheet" href="/css/style.css">
|
||
<!-- common style -->
|
||
<link rel="stylesheet" href="/css/main-common.css?ver=<%=date_time() %>">
|
||
<% End If %>
|
||
|
||
<!-- jQuery -->
|
||
<script src="/js/jquery.min.js"></script>
|
||
<!-- jQuery Pjax -->
|
||
<script src="/js/jquery.pjax.min.js"></script>
|
||
<!-- Bootstrap 4 -->
|
||
<script src="/js/bootstrap.bundle.min.js"></script>
|
||
<!-- AdminLTE App -->
|
||
<script src="/js/adminlte.min.js"></script>
|
||
<!-- jQuery Ui -->
|
||
<script src="/js/jquery-ui.min.js"></script>
|
||
<!-- jQuery Cookie -->
|
||
<script src="/js/jquery.cookie.js"></script>
|
||
<!-- jQuery Dialog Extend -->
|
||
<script src="/js/jquery.dialogextend.js"></script>
|
||
<!-- jQuery Confirm -->
|
||
<script src="/js/jquery-confirm.min.js"></script>
|
||
<!-- jQuery Form -->
|
||
<script src="/js/jquery.form.min.js"></script>
|
||
<!-- jQuery AjaxCall -->
|
||
<script src="/js/jquery-ajax-call.js"></script>
|
||
<!-- jQuery table2excel -->
|
||
<script src="/js/jquery.table2excel.js?v=1"></script>
|
||
<!-- Bootstrap Select -->
|
||
<script src="/js/bootstrap-select.min.js"></script>
|
||
<!-- Moment -->
|
||
<script src="/js/moment.js"></script>
|
||
<!-- chartjs -->
|
||
<script src="/js/Chart.js"></script>
|
||
<!-- datatables -->
|
||
<script src="/js/datatables.min.js"></script>
|
||
<!-- filterDropDown -->
|
||
<script src="/js/filterDropDown.js"></script>
|
||
<!-- Pagination Js -->
|
||
<script src="/js/pagination.js"></script>
|
||
<!-- FileSaver -->
|
||
<script src="/js/FileSaver.min.js"></script>
|
||
<!-- tree js -->
|
||
<script src="/js/tree.min.js"></script>
|
||
<!-- sort js -->
|
||
<script src="/js/sort-table.js"></script>
|
||
<!-- pdf js -->
|
||
<script src="/js/pdf.js"></script>
|
||
<script src="/js/pdf.worker.js"></script>
|
||
<!-- common -->
|
||
<script src="/js/common.js?ver=<%=date_time() %>"></script>
|
||
<% End If %>
|
||
<script>
|
||
<% If Request("cutmenu") <> "1" Then %>
|
||
<% if tmp_support_chk = "1" and False Then %>
|
||
var alarmTimer2 = setInterval('alarm_seal_Ajax()', 1000 * 60 * 5);
|
||
function alarm_seal_Ajax(){
|
||
ajaxCallJson("/include/alarm_seal.asp", null, null, "post", "alarm_seal_result()");
|
||
}
|
||
function alarm_seal_result() {
|
||
if(ajaxResponse != "xx") {
|
||
if(ajaxResponse.substring(0,1) == "o"){
|
||
if(ajaxResponse.substring(1,2) == "o"){
|
||
//oo
|
||
if(confirm("?????? ???? ????? ??????? ?????? ??????\n??? ???? ?????? ??????.\n?????<3F><>??????")){
|
||
location.href="/other/seal_week.asp";
|
||
}
|
||
}else{
|
||
//ox
|
||
if(confirm("??????? ?????? ??????\n??? ???? ?????? ??????.\n?????<3F><>??????")){
|
||
location.href="/other/company_seal.asp";
|
||
}
|
||
}
|
||
}else{
|
||
if(ajaxResponse.substring(1,2) == "o"){
|
||
//xo
|
||
if(confirm("?????? ???? ????\n??? ???? ?????? ??????.\n?????<3F><>??????")){
|
||
location.href="/other/seal_week.asp";
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
<% End If %>
|
||
<% if session("User_Number") = "20190301" Then %>
|
||
var alarmTimer3 = setInterval('alarm_prj_rate_Ajax()', 1000 * 60 * 5);
|
||
function alarm_prj_rate_Ajax(){
|
||
ajaxCallJson("/include/alarm_prj_rate.asp", null, null, "post", "alarm_prj_rate_result()");
|
||
}
|
||
function alarm_prj_rate_result(){
|
||
if(ajaxResponse == "1"){
|
||
if(confirm("???? ??????? ??? ????\n???????? ????????? ??????.\n??? ?????<3F><>??????")){
|
||
location.href="/project/project_contactlist_rate_chk.asp";
|
||
}
|
||
}
|
||
}
|
||
<% End If %>
|
||
$(function(){
|
||
$(".sendWebSite").on("change", function(){
|
||
var selUrl = $(this).children("option:selected").val();
|
||
$(this).val("");
|
||
|
||
if(selUrl == "wait"){
|
||
alert("???? ?????????.");
|
||
return false;
|
||
}
|
||
|
||
if(selUrl != ""){
|
||
window.open(selUrl);
|
||
}
|
||
});
|
||
});
|
||
<% End If %>
|
||
/*
|
||
window.onload = function () {
|
||
if (window.Notification) {
|
||
Notification.requestPermission();
|
||
}
|
||
}
|
||
|
||
var logChkTime = 30 * 60 * 1000;
|
||
if("<%=session("User_number")%>" == "20190108"){
|
||
logChkTime = 5 * 1000;
|
||
}
|
||
setInterval(function () {
|
||
loginCheck();
|
||
}, logChkTime);
|
||
|
||
var okLogging = function() {
|
||
var okLoggingNoti = new Notification('KRi Auto Logging System', {
|
||
icon: 'http://10.10.10.7:8888/images/time.png',
|
||
body: '?<3F><>? ??? ???',
|
||
});
|
||
setTimeout(function(){
|
||
okLoggingNoti.close();
|
||
}, 5000);
|
||
}
|
||
|
||
function loginCheck() {
|
||
if (Notification.permission !== 'granted') {
|
||
console.log("Notifacation is disabled !!");
|
||
}else{
|
||
var notification = new Notification('KRi Auto Logging System', {
|
||
icon: 'http://10.10.10.7:8888/images/time.png',
|
||
body: 'Click ?? ?<3F><>?? ??????',
|
||
});
|
||
|
||
|
||
|
||
notification.onclick = function () {
|
||
ajaxCall("/time.asp", null, null, "post", "okLogging()");
|
||
};
|
||
|
||
setTimeout(function(){
|
||
notification.close();
|
||
}, 30 * 1000);
|
||
}
|
||
}
|
||
*/
|
||
|
||
|
||
var workDialog;
|
||
$(function(){
|
||
workDialog = $("#workDialog").dialog({
|
||
autoOpen: false,
|
||
modal: true,
|
||
resizable: false,
|
||
height: 740,
|
||
width: 1400,
|
||
title: '???????? ????'
|
||
});
|
||
|
||
workDialog.dialog("option", "position", {
|
||
my: 'center',
|
||
at: 'center',
|
||
of: window
|
||
});
|
||
});
|
||
|
||
function workDialogOpen() {
|
||
workDialog.dialog("open");
|
||
}
|
||
|
||
|
||
</script>
|
||
</head>
|
||
<body class="hold-transition sidebar-mini">
|
||
<div class="wrapper">
|
||
<!-- Navbar -->
|
||
<% If Request("cutmenu") <> "1" And Request("command") <> "excel" Then %>
|
||
<nav class="main-header navbar navbar-expand">
|
||
<!-- Mobile logo -->
|
||
<a href="/index" class="brand-logo-mobile d-lg-none">
|
||
<i class="icon-logo"><span class="sr-only">Koin</span></i>
|
||
</a>
|
||
<!-- Left navbar links -->
|
||
<ul class="navbar-nav">
|
||
<li class="nav-item">
|
||
<a href="#" data-widget="pushmenu" role="button"><i class="icon-menu"></i></a>
|
||
</li>
|
||
<li class="nav-item">
|
||
<select class="form-control sendWebSite">
|
||
<option value="">Work Site</option>
|
||
<option value="http://10.10.10.7:8088/krc_module/contact">Contact Site</option>
|
||
<option value="http://10.10.10.7:8088/krc_module">K-FCS/K-CATI Site</option>
|
||
<option value="http://10.10.10.7:8888/nk/neakeun_login.asp">?????? ????????</option>
|
||
<!--<option value="https://gang.krcpanel.com/admin.asp">?<3F><>?? ????(GMS)</option>-->
|
||
<!--<option value="wait">?<3F><>?? ????</option>-->
|
||
<!--<option value="http://10.10.10.7:8088/krc_module/system/">?<3F>X????</option>-->
|
||
<option value="https://ums.dreamline.co.kr/">??????</option>
|
||
</select>
|
||
</li>
|
||
<li class="nav-item ml-1">
|
||
<select class="form-control sendWebSite">
|
||
<option value="">Family Site</option>
|
||
<option value="https://kr.co.kr">KRi</option>
|
||
<option value="https://kon.kric.com">K-ON</option>
|
||
<option value="https://kart.kric.com">KART</option>
|
||
<option value="https://kiwisurvey.kr">KiwiSurvey Panel</option>
|
||
<option value="https://info.kiwisurvey.kr">KiwiSurvey Micro</option>
|
||
</select>
|
||
</li>
|
||
<!--
|
||
<li class="nav-item ml-1">
|
||
<button type="button" class="btn btn-outline-secondary" onclick="workDialogOpen();">?????????+DCO ????????</button>
|
||
</li>
|
||
-->
|
||
|
||
</ul>
|
||
<!-- Right navbar links -->
|
||
<ul class="navbar-nav ml-auto">
|
||
<li class="nav-item d-none d-lg-block">
|
||
<p class="welcome">
|
||
Welcome, <strong><%= Session("loginuser") %></strong>
|
||
</p>
|
||
</li>
|
||
<li class="nav-item">
|
||
<a href="/logout.asp" class="btn-logout"><i class="icon-logout"><span class="sr-only">Logout</span></i></a>
|
||
</li>
|
||
</ul>
|
||
</nav>
|
||
<% End If %>
|
||
<!-- /.navbar -->
|
||
|
||
|
||
|