Files
KON/ProjectTemplate/include/Header.asp
2026-08-07 12:53:18 +09:00

148 lines
5.9 KiB
Plaintext

<!--#include File="Config.asp"-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="google" content="notranslate">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width">
<link id="favicon" rel="shortcut icon" type="image/x-icon" href="../../img/favicon.ico" />
<title>KRI ONLINE</title>
<!-- Custom Theme JavaScript -->
<script src="/js/jquery-1.10.2.min.js"></script>
<!-- Bootstrap Core JavaScript -->
<link href="/bootstrap-4.4.1/css/bootstrap.min.css" rel="stylesheet" />
<script src="/bootstrap-4.4.1/js/bootstrap.min.js"></script>
<!-- js 기능 모듈화 -->
<script src="/js/kfunc.js?ver=4.1"></script>
<script src="/js/knode.js"></script>
<script src="/js/polyfill.js"></script>
<script src="/js/bluebird.min.js"></script>
<script src="/module/survey.js?dt=<%=date_time() %>"></script>
<script src="/store/store_.js"></script>
<script src="/module/ToastrCustom.js?ver=1"></script>
<!-- 그리는 js -->
<script src="/module/Qmodule/attr.js"></script>
<script src="/module/Qmodule/single.js"></script>
<script src="/module/Qmodule/com.js"></script>
<script src="/module/Qmodule/open.js"></script>
<script src="/module/Qmodule/multi.js"></script>
<script src="/module/Qmodule/rank.js"></script>
<script src="/module/Qmodule/scale.js"></script>
<script src="/module/Qmodule/group.js"></script>
<script src="/module/Qmodule/description.js"></script>
<!-- 문항 생성 및 문항 내부 로직 모듈화 -->
<script src="/module/CreateQuestion.js"></script>
<!-- 자그마한 이미지 -->
<link href="/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!--#include virtual = "/Lib/RSExec.asp" -->
<%
'//--- 프로젝트 정보 호출
Dim h_SQL, h_Rcset, h_rs
Dim h_PKEY, h_title, h_status, h_report, h_companytype, h_companytype_logo
h_companytype_logo = "non_logo.png"
h_SQL = " select PKEY "
h_SQL = h_SQL + ", JSON_VALUE(PROJECTJSON,'$.must.title') as title "
h_SQL = h_SQL + ", JSON_VALUE(PROJECTJSON,'$.must.status') as status "
h_SQL = h_SQL + ", JSON_VALUE(PROJECTJSON,'$.must.report') as report "
h_SQL = h_SQL + ", JSON_VALUE(PROJECTJSON,'$.must.companytype') as companytype "
h_SQL = h_SQL + " from PROJECT "
h_SQL = h_SQL & " where PKEY = '"& PRJCODE &"' "
h_SQL = h_SQL & "order by id desc "
'response.write "<br>========================================="& SQL
'response.write fncRequestVariables("LOCAL_ADDR")
Set h_rs = DBExec(h_SQL,"kon")
If Not h_rs.EOF Then
h_PKEY = h_rs(0)
h_title = h_rs(1)
h_status = h_rs(2)
h_report = h_rs(3)
h_companytype = h_rs(4)
End If
Call DBExecClose(h_rs)
'response.write "<br>DBExec TEST [ "& h_PKEY &" ] , [ "& h_title &" ] , [ "& h_status &" ] , [ "& h_report &" ] , [ "& h_companytype &" ] "
if( h_companytype = 2 )then
h_companytype_logo = "non_krc_logo.png"
end if
if( h_companytype = 6 )then
h_companytype_logo = "KRd_logo.jpg"
end if
%>
<!-- 폰트 -->
<% if h_companytype = 3 then %>
<% h_companytype_logo = "kiwi_logo_2.svg" %>
<link href='//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSansNeo.css' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="./css/style_kiwi.css">
<script>
$("#favicon").attr("href","../../img/favicon-16x16.png");
document.title = "키위서베이";
function resSurvey(winWidth){
if(winWidth > 992){
$("#btn-box").removeClass("position-fixed d-inline-flex");
if($("#btn-box").children().length == 1){
$("#btn-box").children().removeClass("w-100 p-2");
}
$("#btn-box").children().addClass("w-auto h-auto");
}else{
$("#btn-box").addClass("position-fixed d-inline-flex");
if($("#btn-box").children().length == 1){
$("#btn-box").children().addClass("w-100 p-2");
}
$("#btn-box").children().removeClass("w-auto h-auto");
}
}
$(function(){
$(window).resize(function(){
resSurvey($(window).width());
});
resSurvey($(window).width());
$(document).on("click", ".list-group-item-action input", function(){
$(".list-group-item-action").each(function(){
if($(this).find("input:checked").length > 0){
$(this).addClass("cusInput-active");
}else{
$(this).removeClass("cusInput-active");
}
})
});
$(document).on("click", ".scaleBtn", function(){
$(this).find("input[type=radio]").prop("checked", true);
$(".scaleBtn").each(function(){
if($(this).find("input:checked").length > 0){
$(this).addClass("cusInput-active");
}else{
$(this).removeClass("cusInput-active");
}
})
});
$(document).on("click", ".singleBtn", function(){
$(this).find("input[type=radio]").prop("checked", true);
$(".singleBtn").each(function(){
if($(this).find("input:checked").length > 0){
$(this).parent().addClass("cusInput-active");
}else{
$(this).parent().removeClass("cusInput-active");
}
})
});
});
</script>
<% else %>
<link href="https://fonts.googleapis.com/css?family=Nanum+Gothic&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./css/style.css">
<% end if %>
</head>