159 lines
6.4 KiB
Plaintext
159 lines
6.4 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 http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">
|
|
<link rel="shortcut icon" type="image/x-icon" href="../../img/favicon-16x16.png" />
|
|
<title>키위서베이</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>
|
|
|
|
<link href="/css/jquery.alert.css" rel="stylesheet" />
|
|
<script src="/js/jquery.alert.min.js"></script>
|
|
|
|
|
|
<!-- js 기능 모듈화 -->
|
|
<script src="/js/kfunc.js?ver=4.1"></script>
|
|
<script src="/js/knode.js?ver=3.1"></script>
|
|
<script src="/js/polyfill.js?ver=3.1"></script>
|
|
<script src="/js/bluebird.min.js"></script>
|
|
<script src="/module/survey.js?dt=<%=date_time() %>"></script>
|
|
<script src="/store/store_.js?ver=3.1"></script>
|
|
<script src="/module/ToastrCustom.js?ver=3.1"></script>
|
|
|
|
<!-- 그리는 js -->
|
|
<script src="/module/Qmodule/attr.js?ver=3.1"></script>
|
|
<script src="/module/Qmodule/single.js?ver=3.1"></script>
|
|
<script src="/module/Qmodule/com.js?ver=3.1"></script>
|
|
<script src="/module/Qmodule/open.js?ver=3.1"></script>
|
|
<script src="/module/Qmodule/multi.js?ver=3.1"></script>
|
|
<script src="/module/Qmodule/rank.js?ver=3.1"></script>
|
|
<script src="/module/Qmodule/scale.js?ver=3.1"></script>
|
|
<script src="/module/Qmodule/group.js?ver=3.1"></script>
|
|
<script src="/module/Qmodule/description.js?ver=3.1"></script>
|
|
|
|
|
|
<!-- 문항 생성 및 문항 내부 로직 모듈화 -->
|
|
<script src="/module/CreateQuestion.js?ver=3.1"></script>
|
|
|
|
|
|
<!-- 자그마한 이미지 -->
|
|
<link href="/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
|
|
|
<!-- 폰트 -->
|
|
<link href='//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSansNeo.css' rel='stylesheet' type='text/css'>
|
|
|
|
<!-- <script type="text/javascript" src="//dapi.kakao.com/v2/maps/sdk.js?appkey=404907026ac1b7b457ea280d42a8cb8e&libraries=services"></script> -->
|
|
<link rel="stylesheet" href="./css/style.css?ver=4.1">
|
|
<style>
|
|
*{ font-family: "Spoqa Han Sans Neo", "sans-serif" !important;}
|
|
</style>
|
|
<script>
|
|
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(e){
|
|
$(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");
|
|
}
|
|
})
|
|
e.stopPropagation();
|
|
});
|
|
$(document).on("click", ".singleBtn", function(e){
|
|
$(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");
|
|
}
|
|
});
|
|
e.stopPropagation();
|
|
});
|
|
$(document).on("click", "tr[id^='row_']", function(e){
|
|
if($(this).children(".singleBtn").length > 0){
|
|
$(this).children(".singleBtn").click();
|
|
}
|
|
e.stopPropagation();
|
|
});
|
|
});
|
|
</script>
|
|
</head>
|
|
<!--#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
|
|
h_companytype_logo = "kiwi_logo_2.svg"
|
|
%>
|
|
|