676 lines
28 KiB
Plaintext
676 lines
28 KiB
Plaintext
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
|
<%@include file="/include/include.jsp"%>
|
|
<%@include file="/include/head.jsp"%>
|
|
<%@include file="/cms_for_bcb/show_top.jsp"%>
|
|
|
|
<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>
|
|
</p>
|
|
|
|
<%
|
|
String c_channel = r_call(request.getParameter("c_channel"));
|
|
String c_no = r_call(request.getParameter("c_no"));
|
|
if(c_no.equals("")){
|
|
%>
|
|
<script>
|
|
alert("login.")
|
|
location.href="/"
|
|
</script>
|
|
<%
|
|
}else{
|
|
String sql_hypo_detail = "select a.*, b.c_name ";
|
|
sql_hypo_detail = sql_hypo_detail + ", (select count(c.c_no) as 2count from tbl_interview_point c inner join tbl_interview d on d.c_no = c.c_interview_no and d.c_use = 0 where c.c_hypo_no = a.c_no and c_point= 2) as 2count";
|
|
sql_hypo_detail = sql_hypo_detail + ", (select count(c.c_no) as 1count from tbl_interview_point c inner join tbl_interview d on d.c_no = c.c_interview_no and d.c_use = 0 where c.c_hypo_no = a.c_no and c_point= 1) as 1count";
|
|
sql_hypo_detail = sql_hypo_detail + ", (select count(c.c_no) as 0count from tbl_interview_point c inner join tbl_interview d on d.c_no = c.c_interview_no and d.c_use = 0 where c.c_hypo_no = a.c_no and c_point= 0) as 0count";
|
|
sql_hypo_detail = sql_hypo_detail + " from tbl_hypo a inner join tbl_member b on b.c_no = a.c_member_no where a.c_no = "+ c_no +" ";
|
|
ResultSet rs_hypo_detail = stmt2.executeQuery(sql_hypo_detail);
|
|
if(rs_hypo_detail.next()){
|
|
|
|
|
|
String[] hy_title = new String[10];
|
|
hy_title[1] = "Key Partners";
|
|
hy_title[2] = "Key Activities";
|
|
hy_title[3] = "Value Propositions";
|
|
hy_title[4] = "Customer Relationships";
|
|
hy_title[5] = "Customer Segments";
|
|
hy_title[6] = "Key Resources";
|
|
hy_title[7] = "Channels";
|
|
hy_title[8] = "Cost Structure";
|
|
hy_title[9] = "Revenue Streams";
|
|
String[] span_title = new String[10];
|
|
span_title[1] = "We need to partner with...";
|
|
span_title[2] = "The most important things to do for our business model to work are...";
|
|
span_title[3] = "Our customers need help...";
|
|
span_title[4] = "We plan to GET/KEEP/GROW using...";
|
|
span_title[5] = "We are helping...";
|
|
span_title[6] = "The most important assets for our business model to work are...";
|
|
span_title[7] = "We deliver our product/service to our customer via...";
|
|
span_title[8] = "One of our operational costs to run the business is...";
|
|
span_title[9] = "We make money by...";
|
|
%>
|
|
<div class="row">
|
|
<div class="col-lg-12 col-md-12" style="background:#ededed;padding-top:8px;padding-bottom:4px">
|
|
<div class="col-lg-10 col-md-10" >
|
|
<h5 class="theme-color" style="color:#22455E;text-align:left">
|
|
<table cellspacing=0 cellpadding=0 align=center>
|
|
<tr><td>
|
|
<table width=50 cellspacing=1 cellpadding=0 bgcolor=ffffff height="30px">
|
|
<%for(int i = 1; i<10 ; i++){%>
|
|
<%if(i==1 || i==6 || i==8){%>
|
|
<tr >
|
|
<%}%>
|
|
<td id="td_<%=i%>" style="border:1px solid #343434;text-align:center" bgcolor="<%if(i == rs_hypo_detail.getInt("c_channel")){%>#EE0000<%}else{%>#ededed<%}%>" <%if(i<6){%>width="20%"<%}%> <%if(i==8 || i==9){%> width="50%" colspan=3<%}%> <%if(i==1 || i==3 || i==5){%>rowspan=2<%}%> <%if(i==3){%>colspan=2<%}%>>
|
|
</td>
|
|
<%if(i==5 || i==7 || i==9){%>
|
|
</tr>
|
|
<%}%>
|
|
<%}%>
|
|
</table>
|
|
</td><td style="padding-left:10px">
|
|
<%=hy_title[rs_hypo_detail.getInt("c_channel")]%>
|
|
<img src="/images/icon/exp.png" height="26px">
|
|
<%if(rs_hypo_detail.getInt("c_channel") == 5){%>
|
|
<font color="#<%=rs_hypo_detail.getString("c_color")%>">■</font>
|
|
<%}%>
|
|
<font color="787878"><%=rs_hypo_detail.getString("c_title")%></font>
|
|
</td></tr></table>
|
|
</h5>
|
|
</div>
|
|
<div class="col-lg-2 col-md-2" style="text-align:right">
|
|
<%if(rs_hypo_detail.getInt("c_use") == 0){%>
|
|
<%if(session.getAttribute("member_type").equals("0") && session.getAttribute("member_team_no").equals(c_team) && make_ok == 0){%>
|
|
<a href="edit_hypo.jsp?<%=para_t%>&c_team=<%=c_team%>&c_no=<%=rs_hypo_detail.getInt("c_no")%>" style="width: 40px; line-height: 24px; text-align: center;display: inline-block; background: blue; border: 1px solid #ffffff;border-radius: 12px; color: #ffffff;font-weight:400;font-size: 13px;"><span id="a34">Edit</span></a>
|
|
<a href="#none" onclick="if(confirm('If you delete this, all data will be deleted.\nDelete?')){location.href='delete_hypo.jsp?<%=para_t%>&c_team=<%=c_team%>&c_no=<%=rs_hypo_detail.getInt("c_no")%>'}" style="width: 40px; line-height: 24px; text-align: center;display: inline-block; background: #454545; border: 1px solid #ffffff;border-radius: 12px; color: #ffffff;font-weight:400;font-size: 13px;"><span id="a35">Delete</span></a>
|
|
<%}%>
|
|
<%}else{%>
|
|
<font color=red><b>Deleted</b></font>(<%=rs_hypo_detail.getString("c_use_date").substring(0,10)%>)
|
|
<%}%>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-6 col-md-6" style="padding:10px;text-align:left" >
|
|
<div class="col-lg-12 col-md-12" style="line-height:150%" >
|
|
<img src="/images/icon/point3.png" height="20px"> <b id="a1">Process</b><br><br>
|
|
<script>
|
|
function go_pro(flag){
|
|
var pro_title = "";
|
|
if(flag == 1){
|
|
pro_title = "Why are you validating this hypothesis?";
|
|
document.getElementById("pro1").style.display = "none";
|
|
}
|
|
if(flag == 0){
|
|
pro_title = "Why are you returning this hypothesis to testing?";
|
|
document.getElementById("pro1").style.display = "none";
|
|
}
|
|
if(flag == 2){
|
|
pro_title = "Why are you invalidating this hypothesis?";
|
|
document.getElementById("pro1").style.display = "block";
|
|
}
|
|
document.bcb_pro.c_now.value = flag;
|
|
document.getElementById("pro2").style.display = "block";
|
|
document.getElementById("pro0").style.display = "block";
|
|
document.getElementById("pro0").innerHTML = "<b>" + pro_title + "</b>";
|
|
}
|
|
function go_pro2(){
|
|
if(document.bcb_pro.c_now_exp.value == ""){
|
|
alert("Insert the reason.")
|
|
}else{
|
|
document.bcb_pro.method = "post"
|
|
document.bcb_pro.target = "exec"
|
|
document.bcb_pro.action = "insert_history_ok.jsp"
|
|
document.bcb_pro.submit()
|
|
}
|
|
}
|
|
</script>
|
|
<div class="col-lg-8 col-md-8" style="padding:10px;text-align:left" >
|
|
<%
|
|
int now_process = 0;
|
|
int process_history = 0;
|
|
String sql_pro = " select c_now from tbl_hypo_history ";
|
|
sql_pro = sql_pro + " where c_hypo_no = "+ rs_hypo_detail.getInt("c_no") +" order by c_no desc";
|
|
ResultSet rs_pro = stmt.executeQuery(sql_pro);
|
|
if(rs_pro.next()){
|
|
process_history = 1;
|
|
now_process = rs_pro.getInt("c_now");
|
|
}
|
|
rs_pro.close();
|
|
%>
|
|
<%if(now_process == 1){%>
|
|
<font color=blue><b id="a2"><img src="/images/icon/exp_val.png" height="26px"> validated</b></font>
|
|
<%}else{%>
|
|
<%if(session.getAttribute("member_type").equals("0") && make_ok == 0){%>
|
|
<a href="#none" onclick="go_pro(1)" >
|
|
<%}%>
|
|
<font color=#787878><b id="a7">validated</b></font>
|
|
</a>
|
|
<%}%>
|
|
|
|
<%if(now_process == 0){%>
|
|
<font color=#000000><b id="a3"><img src="/images/icon/exp_ani.gif" height="26px"> Testing</b></font>
|
|
<%}else{%>
|
|
<%if(session.getAttribute("member_type").equals("0") && make_ok == 0){%>
|
|
<a href="#none" onclick="go_pro(0)">
|
|
<%}%>
|
|
<font color=#787878><b id="a4">Testing</b></font>
|
|
</a>
|
|
<%}%>
|
|
|
|
<%if(now_process == 2){%>
|
|
<font color=red><b id="a5"><img src="/images/icon/exp_inval.png" height="26px"> Invalidated</b></font>
|
|
<%}else{%>
|
|
<%if(session.getAttribute("member_type").equals("0") && make_ok == 0){%>
|
|
<a href="#none" onclick="go_pro(2)">
|
|
<%}%>
|
|
<font color=#787878><b id="a6">Invalidated</b></font>
|
|
</a>
|
|
<%}%>
|
|
</div>
|
|
<div class="col-lg-4 col-md-4" style="padding:10px;text-align:right" >
|
|
|
|
</div>
|
|
<form name="bcb_pro">
|
|
<input name="c_now" value="" type="hidden">
|
|
<input name="c_hypo_no" value="<%=rs_hypo_detail.getInt("c_no")%>" type="hidden">
|
|
<div class="col-lg-12 col-md-12" style="line-height:150%;display:none;padding-top:10px;padding-bottom:5px;font-weight:600" id="pro0">
|
|
|
|
</div>
|
|
<div class="col-lg-12 col-md-12" style="line-height:150%;display:none" id="pro1">
|
|
<input name="c_now_type" value="Customers do not care" type="checkbox"><span id="a8">Customers do not care</span><br>
|
|
<input name="c_now_type" value="Part of a major pivot" type="checkbox"><span id="a9">Part of a major pivot</span><br>
|
|
<input name="c_now_type" value="Majority of experiments failed" type="checkbox"><span id="a10">Majority of experiments failed</span><br>
|
|
<input name="c_now_type" value="By recommendation of mentor/instructor" type="checkbox"><span id="a11">By recommendation of mentor/instructor</span><br>
|
|
<input name="c_now_type" value="Other" type="checkbox"><span id="a12">Other
|
|
</div>
|
|
<div class="col-lg-12 col-md-12" style="line-height:150%;display:none" id="pro2" >
|
|
<textarea name="c_now_exp" style="width:100%;height:80px"></textarea>
|
|
<div class="col-lg-12 col-md-12" style="text-align:right">
|
|
<a href="#none" onclick="go_pro2()" style="width: 80px; line-height: 30px; text-align: center;display: inline-block; background: #5E9ECA; border: 1px solid #ffffff;border-radius: 15px; color: #ffffff;font-weight:400;font-size: 13px;"><span id="a13"> Change</span></a>
|
|
<a href="#none" onclick="document.getElementById('pro1').style.display='none';document.getElementById('pro2').style.display='none';document.getElementById('pro0').style.display='none';" style="width: 60px; line-height: 30px; text-align: center;display: inline-block; background: #787878; border: 1px solid #ffffff;border-radius: 15px; color: #ffffff;font-weight:400;font-size: 13px;"><span id="a14">Cnacel</span></a>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
<div class="col-lg-12 col-md-12" style="line-height:150%">
|
|
<%if(process_history == 1){%>
|
|
<img src="/images/icon/point3.png" height="14px"> <b id="a15">Process History</b><br>
|
|
<table width="100%" cellpadding=0 cellspacing=0>
|
|
<%
|
|
sql_pro = " select a.*, b.c_name from tbl_hypo_history a ";
|
|
sql_pro = sql_pro + " inner join tbl_member b on b.c_no = a.c_member_no ";
|
|
sql_pro = sql_pro + " where a.c_hypo_no = "+ rs_hypo_detail.getInt("c_no") +" order by a.c_no desc";
|
|
rs_pro = stmt.executeQuery(sql_pro);
|
|
while(rs_pro.next()){
|
|
%>
|
|
<tr><td style="background:#ededed;padding-left:5px;">
|
|
reason for
|
|
<%if(rs_pro.getInt("c_now") == 0){%>
|
|
<span id="a24">returning to Testing</span>
|
|
<%}%>
|
|
<%if(rs_pro.getInt("c_now") == 1){%>
|
|
<span id="a25">validated</span>
|
|
<%}%>
|
|
<%if(rs_pro.getInt("c_now") == 2){%>
|
|
<span id="a26">Invalidated</span>
|
|
<%}%>
|
|
/ <%=rs_pro.getString("c_name")%>
|
|
<%if(rs_pro.getInt("c_member_type") == 0){%>
|
|
<span id="a27">Team_member</span>
|
|
<%}%>
|
|
/ <%=rs_pro.getString("c_date").substring(0,10)%>
|
|
</td></tr>
|
|
<%if(rs_pro.getInt("c_now") == 2){%>
|
|
<tr><td style="padding-left:20px">
|
|
<i><%=rs_pro.getString("c_now_type")%></i>
|
|
</td></tr>
|
|
<%}%>
|
|
<tr><td style="padding-left:20px;padding-bottom:5px">
|
|
<%=rs_pro.getString("c_now_exp").replaceAll("\r\n","<br>")%>
|
|
</td></tr>
|
|
<%
|
|
}
|
|
rs_pro.close();
|
|
%>
|
|
</table>
|
|
<%}%>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-3 col-md-3" style="padding:10px" >
|
|
<div class="col-lg-12 col-md-12" style="line-height:150%">
|
|
<%if(rs_hypo_detail.getInt("c_channel") == 5 ){%>
|
|
<img src="/images/icon/point3.png" height="20px"> <b id="a16">Hypothesis Relation </b><br><br>
|
|
<table width="100%" cellpadding=0 cellspacing=0>
|
|
<% String sql_hypo = " select b.c_no, b.c_title, b.c_channel from tbl_hypo_cs a ";
|
|
sql_hypo = sql_hypo + " inner join tbl_hypo b on b.c_no = a.c_hypo_no and b.c_use = 0";
|
|
sql_hypo = sql_hypo + " where a.c_cs_no = "+ rs_hypo_detail.getInt("c_no") +" order by a.c_no asc";
|
|
ResultSet rs_hypo = stmt.executeQuery(sql_hypo);
|
|
while(rs_hypo.next()){
|
|
%>
|
|
<tr>
|
|
<td valign=top style="width:10px; height:26px"" align=right >
|
|
■
|
|
</td><td valign=top style="padding-left:10px">
|
|
<a href="view.jsp?<%=para_t%>&c_team=<%=c_team%>&c_channel=<%=rs_hypo.getInt("c_channel")%>&c_no=<%=rs_hypo.getInt("c_no")%>">
|
|
<%=rs_hypo.getString("c_title")%>
|
|
</a>
|
|
</td></tr>
|
|
<%
|
|
}
|
|
rs_hypo.close();
|
|
%>
|
|
</table>
|
|
<%}else{%>
|
|
<img src="/images/icon/point3.png" height="20px"> <b id="a02">Customer Segment</b><br><br>
|
|
<table width="100%" cellpadding=0 cellspacing=0>
|
|
<% String sql_hypo = " select b.c_no, b.c_color, b.c_title from tbl_hypo_cs a ";
|
|
sql_hypo = sql_hypo + " inner join tbl_hypo b on b.c_no = a.c_cs_no and b.c_use = 0 ";
|
|
sql_hypo = sql_hypo + " where a.c_hypo_no = "+ rs_hypo_detail.getInt("c_no") +" order by a.c_no asc";
|
|
ResultSet rs_hypo = stmt.executeQuery(sql_hypo);
|
|
while(rs_hypo.next()){
|
|
%>
|
|
<tr>
|
|
<td valign=top style="width:10px; height:26px"" align=right >
|
|
<font color="#<%=rs_hypo.getString("c_color")%>">■</font>
|
|
</td><td valign=top style="padding-left:10px">
|
|
<a href="view.jsp?<%=para_t%>&c_team=<%=c_team%>&c_channel=5&c_no=<%=rs_hypo.getInt("c_no")%>">
|
|
<%=rs_hypo.getString("c_title")%>
|
|
</a>
|
|
</td></tr>
|
|
<%
|
|
}
|
|
rs_hypo.close();
|
|
%>
|
|
</table>
|
|
<%}%>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-3 col-md-3" style="padding:10px" >
|
|
<div class="col-lg-12 col-md-12" style="line-height:150%">
|
|
|
|
<img src="/images/icon/point3.png" height="20px"> <b id="a03">Interview Relation </b><br><br>
|
|
<b><nobr><font color=blue><img src="/images/icon/good.png" height="26px"> <%=rs_hypo_detail.getInt("2count")%></font></nobr>
|
|
|
|
<nobr><font color=#121212><img src="/images/icon/soso.png" height="26px"> <%=rs_hypo_detail.getInt("1count")%></font></nobr>
|
|
|
|
<nobr><font color=Orange><img src="/images/icon/bad.png" height="26px"> <%=rs_hypo_detail.getInt("0count")%></nobr></font></b>
|
|
<br>
|
|
<table width="100%" cellpadding=0 cellspacing=0>
|
|
<tr><td height=1 bgcolor="#cdcdcd" colspan=2></td></tr>
|
|
<tr><td height=10 colspan=2></td></tr>
|
|
<% String sql_it = " select a.c_point, b.c_title, b.c_no from tbl_interview_point a ";
|
|
sql_it = sql_it + " inner join tbl_interview b on a.c_interview_no = b.c_no and b.c_use = 0 ";
|
|
sql_it = sql_it + " where a.c_hypo_no = " + rs_hypo_detail.getInt("c_no") + " ";
|
|
sql_it = sql_it + " order by a.c_point desc ";
|
|
ResultSet rs_it = stmt.executeQuery(sql_it);
|
|
while(rs_it.next()){
|
|
%>
|
|
<tr>
|
|
<td valign=top style="width:40px; height:30px"" align=right >
|
|
<%if(rs_it.getInt("c_point") == 2){%>
|
|
<b><font color=blue><img src="/images/icon/good.png" height="20px"> </font></b>
|
|
<%}%>
|
|
<%if(rs_it.getInt("c_point") == 1){%>
|
|
<b><font color=#121212><img src="/images/icon/soso.png" height="20px"> </font></b>
|
|
<%}%>
|
|
<%if(rs_it.getInt("c_point") == 0){%>
|
|
<b><font color=Orange><img src="/images/icon/bad.png" height="20px"> </font></b>
|
|
<%}%>
|
|
</td>
|
|
<td valign=top style="padding-left:10px">
|
|
<a href="/cms_for_bcb/process/bcb/interview/view.jsp?<%=para_t%>&&c_team=<%=c_team%>&c_no=<%=rs_it.getInt("c_no")%>&c_hypo_no=<%=rs_hypo_detail.getInt("c_no")%>"><%=rs_it.getString("c_title")%></a>
|
|
</td>
|
|
</tr>
|
|
<%
|
|
}
|
|
rs_it.close();
|
|
%>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-7 col-md-7" style="padding:10px;text-align:left" >
|
|
<div class="col-lg-12 col-md-12" style="line-height:150%" >
|
|
<img src="/images/icon/point3.png" height="20px"> <b id="a01">Experiment</b><br><br>
|
|
<table width="100%" cellpadding=0 cellspacing=0>
|
|
|
|
<% sql_it = " select a.c_title, a.c_now, a.c_no, a.c_file from tbl_hypo_experiment a ";
|
|
sql_it = sql_it + "where a.c_use = 0 and a.c_hypo_no = "+ rs_hypo_detail.getString("c_no") +" order by a.c_no asc ";
|
|
rs_it = stmt.executeQuery(sql_it);
|
|
String td_bg = "ffffff";
|
|
while(rs_it.next()){
|
|
if(td_bg == "efefef"){
|
|
td_bg = "ffffff";
|
|
}else{
|
|
td_bg = "efefef";
|
|
}
|
|
%>
|
|
<tr bgcolor="<%=td_bg%>">
|
|
<td style="height:30px;padding-left:5px" align=left >
|
|
<%=rs_it.getString("c_title")%>
|
|
</td>
|
|
<td style="padding-right:10px;width:80px" align=right>
|
|
<%if(rs_it.getInt("c_now") == 1){%>
|
|
<font color=blue><b>Pass</b></font>
|
|
<%}else{%>
|
|
<%if(session.getAttribute("member_type").equals("0") && make_ok == 0){%><a href="change_pass_ok.jsp?c_no=<%=rs_it.getInt("c_no")%>&c_now=1" target="exec"><%}%><font color=#999999><b id="a20">Pass</b></font></a>
|
|
<%}%>
|
|
|
|
<%if(rs_it.getInt("c_now") == 2){%>
|
|
<font color=red><b>Fail</b></font>
|
|
<%}else{%>
|
|
<%if(session.getAttribute("member_type").equals("0") && make_ok == 0){%><a href="change_pass_ok.jsp?c_no=<%=rs_it.getInt("c_no")%>&c_now=2" target="exec"><%}%><font color=#999999><b id="a21">Fail</b></font></a>
|
|
<%}%>
|
|
</td>
|
|
</tr>
|
|
<%if(!rs_it.getString("c_file").equals("")){%>
|
|
<tr bgcolor="<%=td_bg%>">
|
|
<td style="height:30px;padding-left:25px" align=left >
|
|
<span id="a23"> Attach :</span> <a href="/upload/hypo/<%=rs_it.getString("c_file")%>"><%=rs_it.getString("c_file")%></a>
|
|
</td>
|
|
<td style="padding-right:10px;width:80px" align=right>
|
|
|
|
</td>
|
|
</tr>
|
|
<%}%>
|
|
<%
|
|
}
|
|
rs_it.close();
|
|
%>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-12 col-md-12" style="padding-top:20px;padding-bottom:20px">
|
|
<div class="col-lg-12 col-md-12" >
|
|
|
|
<b>√</b> <%=rs_hypo_detail.getString("c_name")%> / <%=rs_hypo_detail.getString("c_date").substring(0,10)%>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-lg-12 col-md-12" >
|
|
<div class="divider mb-20" ></div>
|
|
<!---------------------comment---------------------------->
|
|
<div class="col-lg-12 col-md-12" >
|
|
<img src="/images/icon/comment.png" height="26px"> <b id="a0"> Comment with Instructor, Mentor</b><br><br>
|
|
<%if((session.getAttribute("member_type").equals("0") || session.getAttribute("member_type").equals("1") || session.getAttribute("member_type").equals("2")) && make_ok == 0){%>
|
|
<script>
|
|
function go_comment(){
|
|
if(document.bcb_comment.c_content.value == ""){
|
|
alert("Please enter your comment.")
|
|
}else{
|
|
document.bcb_comment.method = "post"
|
|
document.bcb_comment.target = "exec"
|
|
document.bcb_comment.action = "/cms_for_bcb/process/comment/insert_ok.jsp"
|
|
document.bcb_comment.submit()
|
|
}
|
|
}
|
|
</script>
|
|
<form name="bcb_comment">
|
|
<input name="c_team_no" value="<%=c_team%>" type="hidden">
|
|
<input name="c_type" value="0" type="hidden">
|
|
<input name="c_relation" value="<%=rs_hypo_detail.getInt("c_no")%>" type="hidden">
|
|
<div class="col-lg-7 col-md-7" >
|
|
<table width="100%" cellpadding=0 cellspacing=0>
|
|
<% String sql_in = "select c_photo from tbl_member where c_no = " + session.getAttribute("member_no");
|
|
ResultSet rs_in = stmt.executeQuery(sql_in);
|
|
if(rs_in.next()){
|
|
%>
|
|
<tr>
|
|
<td style="width:56px">
|
|
<%if(!rs_in.getString("c_photo").equals("")){%>
|
|
<img src="/upload/photo/<%=rs_in.getString("c_photo")%>" width="50" height=50 style="border: 1px solid #ededed;border-radius: 50px; ">
|
|
<%}%>
|
|
|
|
</td>
|
|
<td >
|
|
<textarea name="c_content" style="width:100%;height:100px"></textarea>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td >
|
|
</td>
|
|
<td style="font-size:15px;vertical-align:bottom;text-align:right">
|
|
<a href="#none" onclick="go_comment()" style="width: 60px; line-height: 30px; text-align: center;display: inline-block; background: #5E9ECA; border: 1px solid #ffffff;border-radius: 15px; color: #ffffff;font-weight:400;font-size: 13px;"><span id="a40">Insert</span></a>
|
|
</td>
|
|
</tr>
|
|
<tr><td colspan=2 style="height:30px"></td></tr>
|
|
<%
|
|
}
|
|
rs_in.close();
|
|
%>
|
|
</table>
|
|
</div>
|
|
<div class="col-lg-5 col-md-5">
|
|
|
|
</div>
|
|
</form>
|
|
<%}%>
|
|
<div class="col-lg-12 col-md-12" >
|
|
<table width="100%" cellpadding=0 cellspacing=0>
|
|
<% String sql_comment = " select a.c_content, a.c_date, b.c_photo, b.c_name, a.c_member_type from tbl_comment a ";
|
|
sql_comment = sql_comment + " inner join tbl_member b on b.c_no = a.c_member_no ";
|
|
sql_comment = sql_comment + " where a.c_type= 0 and a.c_relation = " + rs_hypo_detail.getInt("c_no") + " order by a.c_no desc ";
|
|
ResultSet rs_comment = stmt.executeQuery(sql_comment);
|
|
while(rs_comment.next()){
|
|
%>
|
|
<tr>
|
|
<td style="width:56px">
|
|
<%if(!rs_comment.getString("c_photo").equals("")){%>
|
|
<img src="/upload/photo/<%=rs_comment.getString("c_photo")%>" width="50" height=50 style="border: 1px solid #ededed;border-radius: 50px; ">
|
|
<%}%>
|
|
|
|
</td>
|
|
<td >
|
|
<img src="/images/icon/comment.png" height="20px">
|
|
|
|
<%=rs_comment.getString("c_name")%>[
|
|
<%if(rs_comment.getInt("c_member_type") ==0){%>
|
|
<span id="a27">Team Member</span>
|
|
<%}%>
|
|
<%if(rs_comment.getInt("c_member_type") ==1){%>
|
|
<span id="a28">Instructor</span>
|
|
<%}%>
|
|
<%if(rs_comment.getInt("c_member_type") ==2){%>
|
|
|
|
<span id="a29">Mentor</span>
|
|
<%}%>
|
|
]
|
|
/
|
|
<%=rs_comment.getString("c_date")%>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td >
|
|
</td>
|
|
<td style="font-size:15px;">
|
|
<font color="#676767"><%=rs_comment.getString("c_content").replaceAll("\r\n","<br>")%></font>
|
|
</td>
|
|
</tr>
|
|
<tr><td colspan=2 style="height:30px"></td></tr>
|
|
<%
|
|
}
|
|
rs_comment.close();
|
|
%>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<!---------------------comment-E--------------------------->
|
|
|
|
</div>
|
|
</div>
|
|
<div class="text-center">
|
|
<a href="../list.jsp?<%=para_t%>&c_team=<%=c_team%>" style="width: 150px; line-height: 40px; text-align: center;display: inline-block; background: #787878; border: 1px solid #ffffff;border-radius: 20px; color: #ffffff;font-weight:400;font-size: 13px;"><span id="a031"> Go to BMC</span></a>
|
|
|
|
</div>
|
|
<br />
|
|
|
|
<%}else{
|
|
%>
|
|
<script>
|
|
alert("Wrong connection.")
|
|
location.href="/"
|
|
</script>
|
|
<%
|
|
|
|
}
|
|
rs_hypo_detail.close();
|
|
%>
|
|
<%}%>
|
|
|
|
<script>
|
|
// 다국어 처리를 위한 i18n 객체
|
|
var i18n = {
|
|
en: {
|
|
a0: "Comment with Instructor, Mentor",
|
|
|
|
a01: "Experiment",
|
|
a02: "Customer Segment",
|
|
a03: "Interview Relation",
|
|
a031: "Go to BMC",
|
|
|
|
a1: "Process",
|
|
// a2: "validated",
|
|
// a3: "Testing",
|
|
// a4: "Testing",
|
|
// a5: "Invalidated",
|
|
a6: "Invalidated",
|
|
a7: "validated",
|
|
a8: "Customers do not care",
|
|
a9: "Part of a major pivot",
|
|
a10: "Majority of experiments failed",
|
|
a11: "By recommendation of mentor/instructor",
|
|
//a12: "Other",
|
|
//a13: "Change",
|
|
//a14: "Cnacel",
|
|
a15: "Process History",
|
|
a16: "Hypothesis Relation",
|
|
// a17: "Customer Segment",
|
|
// a18: "Interview Relation",
|
|
//a19: "Experiment",
|
|
a20: "Pass",
|
|
a21: "Fail",
|
|
a22: "Comment with Instructor, Mentor",
|
|
a23: " Attach :",
|
|
a24: "returning to Testing",
|
|
a25: "validated",
|
|
a26: "Invalidated",
|
|
a27: "Team member",
|
|
a28: "Team Member",
|
|
a29: "Instructor",
|
|
a30: "Mentor",
|
|
// a31: "Go to BMC"
|
|
// a34: "Edit",
|
|
//a35: "Delete"
|
|
a40: "Insert"
|
|
},
|
|
es_PE: {
|
|
a0: "Comentario con Instructor, Mentor",
|
|
|
|
a01: "Experimento",
|
|
a02: "Segmento de clientes",
|
|
a03: "Relación de entrevista",
|
|
|
|
a031: "Ir a BMC",
|
|
a1: "Proceso",
|
|
|
|
//a2: "validado",
|
|
//a3: "Prueba",
|
|
//a4: "Prueba",
|
|
//a5: "Invalidado",
|
|
a6: "Invalidado",
|
|
a7: "validado",
|
|
a8: "A los clientes no les importa",
|
|
a9: "Parte de un gran pivote",
|
|
a10: "La mayoría de los experimentos fallaron",
|
|
a11: "Por recomendación del mentor/instructor",
|
|
//a12: "Otro",
|
|
//a13: "Cambiar",
|
|
//a14: "Cancelar",
|
|
a15: "Historial de procesos",
|
|
a16: "Relación de hipótesis",
|
|
//a17: "Segmento de clientes",
|
|
//a18: "Relación de entrevista",
|
|
//a19: "Experimento",
|
|
a20: "Pasar",
|
|
a21: "Fallo",
|
|
a22: "Comentario con Instructor, Mentor",
|
|
a23: " Adjuntar :",
|
|
a24: "regresando a Pruebas",
|
|
a25: "validado",
|
|
a26: "Invalidado",
|
|
a27: "Miembro del equipo",
|
|
a28: "Miembro del equipo",
|
|
a29: "Instructor",
|
|
a30: "Maestro",
|
|
//a31: "Ir a BMC"
|
|
//a34: "Editar",
|
|
//a35: "Borrar"
|
|
a40: "Insertar"
|
|
|
|
}
|
|
};
|
|
|
|
// 선택된 언어에 따라 다국어 텍스트 설정
|
|
function setLanguage(lang) {
|
|
var langData = i18n[lang];
|
|
document.getElementById("a0").innerText = langData.a0;
|
|
|
|
document.getElementById("a01").innerText = langData.a01;
|
|
document.getElementById("a02").innerText = langData.a02;
|
|
document.getElementById("a03").innerText = langData.a03;
|
|
|
|
document.getElementById("a031").innerText = langData.a031;
|
|
document.getElementById("a1").innerText = langData.a1;
|
|
|
|
//document.getElementById("a2").innerText = langData.a2;
|
|
//document.getElementById("a3").innerText = langData.a3;
|
|
//document.getElementById("a4").innerText = langData.a4;
|
|
//document.getElementById("a5").innerText = langData.a5;
|
|
document.getElementById("a6").innerText = langData.a6;
|
|
document.getElementById("a7").innerText = langData.a7;
|
|
document.getElementById("a8").innerText = langData.a8;
|
|
document.getElementById("a9").innerText = langData.a9;
|
|
document.getElementById("a10").innerText = langData.a10;
|
|
document.getElementById("a11").innerText = langData.a11;
|
|
|
|
//document.getElementById("a12").innerText = langData.a12;
|
|
//document.getElementById("a13").innerText = langData.a13;
|
|
//document.getElementById("a14").innerText = langData.a14;
|
|
document.getElementById("a15").innerText = langData.a15;
|
|
|
|
document.getElementById("a16").innerText = langData.a16;
|
|
document.getElementById("a17").innerText = langData.a17;
|
|
document.getElementById("a18").innerText = langData.a18;
|
|
//document.getElementById("a19").innerText = langData.a19;
|
|
document.getElementById("a20").innerText = langData.a20;
|
|
document.getElementById("a21").innerText = langData.a21;
|
|
document.getElementById("a22").innerText = langData.a22;
|
|
document.getElementById("a23").innerText = langData.a23;
|
|
document.getElementById("a24").innerText = langData.a24;
|
|
document.getElementById("a25").innerText = langData.a25;
|
|
|
|
document.getElementById("a26").innerText = langData.a26;
|
|
document.getElementById("a27").innerText = langData.a27;
|
|
document.getElementById("a28").innerText = langData.a28;
|
|
document.getElementById("a29").innerText = langData.a29;
|
|
document.getElementById("a30").innerText = langData.a30;
|
|
//document.getElementById("a31").innerText = langData.a31;
|
|
// document.getElementById("a34").innerText = langData.a34;
|
|
//document.getElementById("a35").innerText = langData.a35;
|
|
document.getElementById("a40").innerText = langData.a40;
|
|
|
|
|
|
|
|
}
|
|
</script>
|
|
|
|
<script>
|
|
setLanguage('<%= request.getLocale().toString() %>');
|
|
</script>
|
|
|
|
|
|
<%@include file="/cms_for_bcb/show_bottom.jsp"%>
|
|
<%@include file="/include/bottom.jsp"%>
|
|
<%@include file="/include/include_b.jsp"%>
|