242 lines
9.4 KiB
Plaintext
242 lines
9.4 KiB
Plaintext
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
|
<%
|
|
int make_ok = 0;
|
|
String show_no = r_call(request.getParameter("show_no"));
|
|
String check_no = r_call(request.getParameter("check_no"));
|
|
String c_relation = r_call(request.getParameter("c_relation"));
|
|
String c_relation2 = r_call(request.getParameter("c_relation2"));
|
|
int menu_ok = 0;
|
|
String menu_name = "";
|
|
String page_content = "";
|
|
int menu_no = 0;
|
|
int my_no = 0;
|
|
int project_now = 0;
|
|
|
|
String sql_menu= "select * from tbl_menu where c_use = 0 and c_view = 0 and c_no = "+ show_no +" and c_up_no = "+ check_no +" and c_relation = "+ c_relation +" and c_relation2 = " + c_relation2;
|
|
ResultSet rs_menu=stmt.executeQuery(sql_menu);
|
|
if(rs_menu.next()){
|
|
menu_name = rs_menu.getString("c_name");
|
|
menu_no = rs_menu.getInt("c_up_no");
|
|
my_no = rs_menu.getInt("c_no");
|
|
page_content= rs_menu.getString("c_content");
|
|
}else{
|
|
menu_ok = 1;
|
|
}
|
|
rs_menu.close();
|
|
if (menu_ok ==0){
|
|
%>
|
|
|
|
<div class="container" style="background:#ffffff;padding-top:10px;padding-bottom:10px;width:100%">
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12 col-md-12 page-content" >
|
|
<div class="row">
|
|
|
|
|
|
|
|
|
|
<div class="col-lg-12 col-md-12" style="padding-top:5px;padding-bottom:0px">
|
|
<h4 class="theme-color" style="color:#22455E;text-align:center">
|
|
<img src="/images/icon/m<%=show_no%>.gif" alt="" height="40px">
|
|
|
|
|
|
<%if(show_no.equals("7") ){
|
|
if( temp_state == 0 && session.getAttribute("member_type").equals("0") && !c_team.equals(session.getAttribute("member_team_no"))){%>
|
|
<script>
|
|
location.href="/"
|
|
alert("Use login.")
|
|
</script>
|
|
<%}else{
|
|
%>
|
|
|
|
Business Model Canvas
|
|
|
|
<%
|
|
String sql_team = " select c_team_name from tbl_team where c_use = 0 and c_no = "+ c_team;
|
|
ResultSet rs_team = stmt2.executeQuery(sql_team);
|
|
if(rs_team.next()){
|
|
%>
|
|
|
|
<font color="#5E9ECA">[<%=rs_team.getString("c_team_name")%>]</font>
|
|
<%
|
|
}
|
|
rs_team.close();
|
|
}
|
|
%>
|
|
|
|
|
|
<%}else{%>
|
|
|
|
<%if(show_no.equals("8")){
|
|
String sql_team = " select * from tbl_project where c_use = 0 and c_no = "+ session.getAttribute("member_project_no");
|
|
ResultSet rs_team = stmt2.executeQuery(sql_team);
|
|
if(rs_team.next()){
|
|
%>
|
|
<%=menu_name%> / <%=rs_team.getString("c_name")%>
|
|
|
|
<%
|
|
}
|
|
rs_team.close();
|
|
%>
|
|
<%}else{%>
|
|
<%=menu_name%>
|
|
<%}%>
|
|
|
|
|
|
<%}%>
|
|
</h4>
|
|
|
|
</div>
|
|
<%
|
|
if(show_no.equals("7") || show_no.equals("6")){%>
|
|
<div class="col-lg-12 col-md-12" style="padding-bottom:10px" >
|
|
<%
|
|
|
|
if(Integer.parseInt(today.replaceAll("-","")) > Integer.parseInt(c_p_e_d.replaceAll("-",""))){
|
|
project_now = 1;
|
|
make_ok = 1;
|
|
|
|
%>
|
|
<div class="col-lg-4 col-md-4" style="text-align:left;">
|
|
|
|
|
|
<table >
|
|
<tr>
|
|
<%for (int i = 1; i < c_p_p + 1; i++){%>
|
|
<td align=center valign="top" style="padding-top:14px" width="42px" height="36px" background="/images/icon/cal2.gif">
|
|
<a href="/cms_for_bcb/process/<% if(show_no.equals("7")){%><%if(temp_state == 1){%>order_<%}%>bcb<%}%><% if(show_no.equals("6")){%>leaderboard<%}%>/list.jsp?<%=para_t%>&call_period=<%=i%>&c_team=<%=c_team%>" title="Period : <%=a_w_s[i]%> ~ <%=a_w_e[i]%>">
|
|
<%if(call_period == i){%>
|
|
<font color=red>
|
|
<%}else{%>
|
|
<font color=787878>
|
|
<%}%>
|
|
<b><%=i%>P</b>
|
|
</font>
|
|
</a>
|
|
</td>
|
|
|
|
|
|
<%}%>
|
|
|
|
</tr></table>
|
|
</div>
|
|
<div class="col-lg-4 col-md-4" style="text-align:center">
|
|
<br>
|
|
[ <img src="/images/icon/cal.gif" alt="" height="18px"> <b>Today : <%=today%></b> / <b>Data Period : <%=a_w_s[1]%> ~ <%=a_w_e[call_period]%></b> ]
|
|
</div>
|
|
<div class="col-lg-4 col-md-4" style="text-align:right; ">
|
|
<!--
|
|
<br>
|
|
<%if(session.getAttribute("member_type").equals("0") && session.getAttribute("member_team_no").equals(c_team)){%>
|
|
<a href="/cms_for_bcb/process/bcb/hypo/insert_hypo.jsp?<%=para_t%>&c_team=<%=c_team%>" style="width: 150px; line-height: 40px; text-align: center;display: inline-block; background: #D06200; border: 1px solid #ffffff;border-radius: 20px; color: #ffffff;font-weight:400;font-size: 13px;"><img src="/images/icon/exp.png" alt="" height="30px"> <b>Insert Hypothesis</b></a>
|
|
<a href="/cms_for_bcb/process/bcb/interview/insert_interview.jsp?<%=para_t%>&c_team=<%=c_team%>" style="width: 150px; line-height: 40px; text-align: center;display: inline-block; background: #5E9ECA; border: 1px solid #ffffff;border-radius: 20px; color: #ffffff;font-weight:400;font-size: 13px;"><img src="/images/icon/mic.png" alt="" height="30px"> <b>Insert Interview</b></a>
|
|
<%}%>
|
|
-->
|
|
</div>
|
|
<%}else if(Integer.parseInt(today.replaceAll("-","")) < Integer.parseInt(c_p_s_d.replaceAll("-",""))){
|
|
make_ok = 1;
|
|
%>
|
|
<div class="col-lg-4 col-md-4" style="text-align:left;">
|
|
<table >
|
|
|
|
<tr>
|
|
<%for (int i = 1; i < c_p_p + 1; i++){%>
|
|
<td align=center valign="top" style="padding-top:14px" width="42px" height="36px" background="/images/icon/cal2.gif">
|
|
<a title="Period : <%=a_w_s[i]%> ~ <%=a_w_e[i]%>">
|
|
<font color=98989>
|
|
<%=i%>P
|
|
</font>
|
|
</a>
|
|
</td>
|
|
|
|
<%}%>
|
|
</tr></table>
|
|
</div>
|
|
<%}else{%>
|
|
<div class="col-lg-4 col-md-4" style="text-align:left;">
|
|
<table >
|
|
|
|
<tr>
|
|
<%for (int i = 1; i < c_p_p + 1; i++){%>
|
|
<%if(i < today_period){%>
|
|
<td align=center valign="top" style="padding-top:14px" width="42px" height="36px" background="/images/icon/cal2.gif">
|
|
<a href="/cms_for_bcb/process/<% if(show_no.equals("7")){%>bcb<%}%><% if(show_no.equals("6")){%>leaderboard<%}%>/list.jsp?<%=para_t%>&call_period=<%=i%>&c_team=<%=c_team%>" title="Period : <%=a_w_s[i]%> ~ <%=a_w_e[i]%>">
|
|
<%if(call_period == i){%>
|
|
<font color=red>
|
|
<%}else{%>
|
|
<font color=787878>
|
|
<%}%>
|
|
<b><%=i%>P</b>
|
|
</font>
|
|
</a>
|
|
</td>
|
|
|
|
<%}%>
|
|
<%if(today_period == i){%>
|
|
<td align=center valign="top" style="padding-top:14px" width="42px" height="36px" background="/images/icon/cal2.gif">
|
|
<a href="/cms_for_bcb/process/<% if(show_no.equals("7")){%>bcb<%}%><% if(show_no.equals("6")){%>leaderboard<%}%>/list.jsp?<%=para_t%>&call_period=<%=i%>&c_team=<%=c_team%>" title="Period : <%=a_w_s[i]%> ~ <%=a_w_e[i]%>">
|
|
<%if(call_period == i){%>
|
|
<font color=red>
|
|
<%}else{%>
|
|
<font color=blue>
|
|
<%}%>
|
|
<b><%=i%>P</b>
|
|
</font>
|
|
</a>
|
|
</td>
|
|
|
|
<%}%>
|
|
<%if(i > today_period){%>
|
|
<td align=center valign="top" style="padding-top:14px" width="42px" height="36px" background="/images/icon/cal2.gif">
|
|
<a title="Period : <%=a_w_s[i]%> ~ <%=a_w_e[i]%>">
|
|
<font color=cdcdcd>
|
|
<b><%=i%>P
|
|
</font>
|
|
</a>
|
|
</td>
|
|
|
|
<%}%>
|
|
<%}%>
|
|
|
|
</tr></table>
|
|
</div>
|
|
<div class="col-lg-4 col-md-4" style="text-align:center">
|
|
<%
|
|
String v_e = "";
|
|
if(today_period == call_period){
|
|
v_e = today;
|
|
}else{
|
|
v_e = a_w_e[call_period];
|
|
}
|
|
|
|
%>
|
|
<br>
|
|
[ <img src="/images/icon/cal.gif" alt="" height="18px"> <b>Today : <%=today%></b> / <b>Data Period : <%=a_w_s[1]%> ~ <%=v_e%></b> ]
|
|
</div>
|
|
<div class="col-lg-4 col-md-4" style="text-align:right; ">
|
|
<%if(session.getAttribute("member_type").equals("0") && session.getAttribute("member_team_no").equals(c_team)){%>
|
|
<a href="/cms_for_bcb/process/bcb/hypo/insert_hypo.jsp?<%=para_t%>&c_team=<%=c_team%>" style="width: 130px; line-height: 28px; text-align: center;display: inline-block; background: #D06200; border: 1px solid #ffffff;border-radius: 20px; color: #ffffff;font-weight:400;font-size: 13px;"><img src="/images/icon/exp.png" alt="" height="24px"> Insert Hypothesis</b></a>
|
|
<a href="/cms_for_bcb/process/bcb/interview/insert_interview.jsp?<%=para_t%>&c_team=<%=c_team%>" style="width: 130px; line-height: 28px; text-align: center;display: inline-block; background: #5E9ECA; border: 1px solid #ffffff;border-radius: 20px; color: #ffffff;font-weight:400;font-size: 13px;"><img src="/images/icon/mic.png" alt="" height="24px"> Insert Interview</b></a>
|
|
<%}%>
|
|
</div>
|
|
<%}%>
|
|
|
|
</div>
|
|
<%}%>
|
|
|
|
|
|
</div>
|
|
<div>
|
|
<!--
|
|
<select id="language_select" onchange="setLanguage(this.value)">
|
|
<option value="en" <%= (request.getLocale().toString().equals("en") ? "selected" : "") %>>English</option>
|
|
<option value="es_PE" <%= (request.getLocale().toString().equals("es_PE") ? "selected" : "") %>>Spanish (Peru)</option>
|
|
</select>
|
|
-->
|
|
|
|
<br>
|
|
<p></p>
|
|
</div>
|
|
<div class="col-lg-12 col-md-12" >
|
|
<div class="tab tab-border">
|
|
<div class="tab-content white-bg" style="padding:10px"> |