122 lines
5.3 KiB
Plaintext
122 lines
5.3 KiB
Plaintext
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
|
<%
|
|
String c_syl[] = new String[10];
|
|
c_syl[0] = "Syllabus to Display - None";
|
|
c_syl[1] = "1 - Opportunity Assessment";
|
|
c_syl[2] = "2 - Value Propositions";
|
|
c_syl[3] = "3 - Customer Segments";
|
|
c_syl[4] = "4 - Channels";
|
|
c_syl[5] = "5 - Customer Relationships";
|
|
c_syl[6] = "6 - Revenue Streams";
|
|
c_syl[7] = "7 - Key Partners";
|
|
c_syl[8] = "8 - Resource, Activities, And Costs";
|
|
c_syl[9] = "9 - Lessons Learned";
|
|
%>
|
|
<div class="row">
|
|
<div class="col-lg-3 col-md-3" style="background:#ffffff;padding-top:8px;padding-bottom:4px">
|
|
<div class="tab tab-border">
|
|
<div class="tab-content white-bg" style="padding:10px">
|
|
<img src="/images/icon/pts.png" width="20px"> <b>Presentation
|
|
<%if(session.getAttribute("member_type").equals("1") || session.getAttribute("member_type").equals("2")){%>
|
|
<a href="/cms_for_bcb/process/presentation/presentation/insert.jsp?<%=para_t%>" style="width: 150px; line-height: 20px; 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/pts.png" width="16px">Insert Presentation</a>
|
|
<%}%>
|
|
</b><br><br>
|
|
<table width="100%" cellpadding=0 cellspacing=0>
|
|
<script>
|
|
function p_td_call(flag){
|
|
if(document.getElementById("p_td" + flag).style.display == "none"){
|
|
document.getElementById("p_td" + flag).style.display = "block"
|
|
}else{
|
|
document.getElementById("p_td" + flag).style.display = "none"
|
|
}
|
|
}
|
|
</script>
|
|
<%
|
|
String s_p_team = r_call(request.getParameter("c_p_team"));
|
|
String c_presentation_name = "";
|
|
int c_p_team = 0;
|
|
if(!s_p_team.equals("")){
|
|
c_p_team = Integer.parseInt(s_p_team);
|
|
}
|
|
String s_presentation_no = r_call(request.getParameter("c_presentation_no"));
|
|
int c_presentation_no = 0;
|
|
if(!s_presentation_no.equals("")){
|
|
c_presentation_no = Integer.parseInt(s_presentation_no);
|
|
}
|
|
String check_project = "";
|
|
String sql_p = "select * from tbl_presentation where c_project_no = " + session.getAttribute("member_project_no") + " and c_use = 0 order by c_no desc ";
|
|
ResultSet rs_p = stmt2.executeQuery(sql_p);
|
|
int pt_count = 0;
|
|
while(rs_p.next()){
|
|
pt_count = pt_count + 1;
|
|
if(pt_count == 1 && c_presentation_no == 0){
|
|
c_presentation_no = rs_p.getInt("c_no");
|
|
}
|
|
if(c_presentation_no == rs_p.getInt("c_no")){
|
|
check_project = rs_p.getString("c_project_no");
|
|
c_presentation_name = rs_p.getString("c_name") + " / " + rs_p.getString("c_presentation_date");
|
|
}
|
|
%>
|
|
<tr style="background:<%if(c_presentation_no == rs_p.getInt("c_no")){%>#FFF223<%}else{%>#ededed<%}%>">
|
|
<td height="30px" align=left style="padding-left:5px">
|
|
<a href="/cms_for_bcb/process/presentation/list.jsp?<%=para_t%>&c_presentation_no=<%=rs_p.getInt("c_no")%>" title="Presentation 이동">
|
|
<img src="/images/icon/pts.png" width="20px"> <b><%=rs_p.getString("c_name")%></b> / <%=rs_p.getString("c_presentation_date")%>
|
|
</a>
|
|
</td>
|
|
<td width="50px" align=right style="padding-right:5px">
|
|
<%if(session.getAttribute("member_type").equals("1") || session.getAttribute("member_type").equals("2")){%>
|
|
<a href="/cms_for_bcb/process/presentation/presentation/edit.jsp?<%=para_t%>&c_presentation_no=<%=rs_p.getInt("c_no")%>" title="Presentation Edit"><img src="/images/setting.png" width="14" alt=""></a>
|
|
<%}%>
|
|
|
|
<a href="#none" onclick="p_td_call(<%=rs_p.getInt("c_no")%>)" title="View team list">
|
|
<font color="#989898"><b>▼</b></font></a>
|
|
</td>
|
|
</tr>
|
|
<tr style="background:#ffffff">
|
|
<td colspan=2 id="p_td<%=rs_p.getInt("c_no")%>" style="display:<%if(c_presentation_no == rs_p.getInt("c_no")){%><%}else{%>none<%}%>;padding-bottom:10px;padding-left:10px;padding-top:5px;line-height:200%">
|
|
<%
|
|
String sql_p_t = "select a.c_no, b.c_team_name,a.c_team_no from tbl_presentation_team a ";
|
|
sql_p_t = sql_p_t + " inner join tbl_team b on b.c_no = a.c_team_no ";
|
|
sql_p_t = sql_p_t + " where a.c_presentation_no = " + rs_p.getInt("c_no") + " and a.c_use = 0 order by b.c_team_name asc, a.c_no desc ";
|
|
ResultSet rs_p_t = stmt2.executeQuery(sql_p_t);
|
|
while(rs_p_t.next()){
|
|
%>
|
|
<img src="/images/icon/team.png" width="16px">
|
|
<a href="/cms_for_bcb/process/presentation/team/view.jsp?<%=para_t%>&c_p_team=<%=rs_p_t.getInt("c_no")%>&c_presentation_no=<%=rs_p.getInt("c_no")%>">
|
|
<%if(c_p_team == rs_p_t.getInt("c_no")){%>
|
|
<font color="#454545"><b>
|
|
<%=rs_p_t.getString("c_team_name")%>
|
|
</b></font>
|
|
<%}else{%>
|
|
<%=rs_p_t.getString("c_team_name")%>
|
|
<%}%>
|
|
</a>
|
|
<%if(session.getAttribute("member_type").equals("0") && session.getAttribute("member_team_no").equals(rs_p_t.getString("c_team_no"))){%>
|
|
<a href="/cms_for_bcb/process/presentation/team/edit.jsp?<%=para_t%>&c_p_team=<%=rs_p_t.getInt("c_no")%>&c_presentation_no=<%=rs_p.getInt("c_no")%>" title="Team Presentation Edit"><img src="/images/setting.png" width="14" alt=""></a>
|
|
<%}%>
|
|
<br>
|
|
<%
|
|
}
|
|
rs_p_t.close();
|
|
%>
|
|
</td>
|
|
</tr>
|
|
<%
|
|
}
|
|
rs_p.close();
|
|
%>
|
|
</table>
|
|
<% if(check_project.equals("")){%>
|
|
|
|
<%}else{%>
|
|
<%if(!check_project.equals(session.getAttribute("member_project_no"))){%>
|
|
<script>
|
|
alert("Account is wrong.")
|
|
location.href="/"
|
|
</script>
|
|
<%}%>
|
|
<%}%>
|
|
</div>
|
|
</div>
|
|
</div>
|