<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <%@include file="/include/include.jsp"%> <% login_tag = 1; %> <%@include file="/include/head.jsp"%> <%@include file="/cms_for_bcb/show_top.jsp"%>

<% String c_project_no = r_call(request.getParameter("c_project_no")); int c_now_propose = 0; if(c_project_no.equals("")){ %> <% }else{ String slq_chekc = "select * from tbl_apply_team where c_project_no = "+ c_project_no + " and c_member_no = " + session.getAttribute("member_no") + " and c_use = 0 "; ResultSet rs_check = stmt.executeQuery(slq_chekc); if (rs_check.next()) { String sql_up = " SELECT c.*, a.c_name as u_name, b.c_name as f_name "; sql_up = sql_up + " , (select c_now_propose from tbl_project_plan where c_relation = 0 and c_project_no = c.c_no) as c_now_propose " ; sql_up = sql_up + " from tbl_project c "; sql_up = sql_up + " inner join tbl_project a on a.c_no = c.c_up_no "; sql_up = sql_up + " inner join tbl_field b on b.c_no = a.c_field "; sql_up = sql_up + " where c.c_no = " + c_project_no; ResultSet rs_up = stmt.executeQuery(sql_up); if (rs_up.next()) { c_now_propose = rs_up.getInt("c_now_propose"); %>
System <%=rs_up.getString("f_name")%>
Category <%=rs_up.getString("u_name")%>
Program <%=rs_up.getString("c_name")%>
<% } rs_up.close(); %> <% int i = 0; int stu_check = 1; String sql_field = " SELECT * from tbl_apply_field where c_project_no = " + c_project_no +" order by c_order asc "; ResultSet rs_field = stmt.executeQuery(sql_field); while (rs_field.next()) { if(rs_field.getString("c_use_field").equals("c_grade")){ stu_check = 0; } i = i + 1; %> <% } rs_field.close(); %>
Article Contents
<%=rs_field.getString("c_name")%> <%if(rs_field.getInt("c_type") == 1){%> " value="<%=rs_check.getString(rs_field.getString("c_use_field"))%>" style="width:100%"> <%}%> <%if(rs_field.getInt("c_type") == 2){ %> <%}%> <%if(rs_field.getInt("c_type") == 3){%> <%}%> <%if(rs_field.getInt("c_type") == 4){%> Attach : <%=rs_check.getString(rs_field.getString("c_use_field"))%> " value="<%=rs_check.getString(rs_field.getString("c_use_field"))%>" type="hidden">
Change : " type="file">
form : "><%=rs_field.getString("c_content")%> <%}%>
<% String major_t = "Department"; String grade_t = "Grade"; if( stu_check == 1){ major_t = "Department"; grade_t = "Rank"; } %>
Team Leader Information <% String slq_t = "select * from tbl_apply_team_member where c_project_no = "+ c_project_no + " and c_team_no = " + rs_check.getInt("c_no") + " and c_use = 0 and c_type= 1 "; ResultSet rs_t = stmt2.executeQuery(slq_t); if (rs_t.next()) { %>
Email(ID) " readonly>
Name " readonly>
Mobile " >
<%=major_t%> " >
<%=grade_t%> <%if( stu_check == 0){%> <%}else{%> " > <%}%>
<%} rs_t.close(); %>
Team member information    +   - <% slq_t = "select * from tbl_apply_team_member where c_project_no = "+ c_project_no + " and c_team_no = " + rs_check.getInt("c_no") + " and c_use = 0 and c_type= 0 "; rs_t = stmt2.executeQuery(slq_t); int trr = 0; while(rs_t.next()) { trr = trr + 1; %>
Team Members<%=trr%>. Email(ID) " >
Name " >
Mobile " >
<%=major_t%> " >
<%=grade_t%> <%if( stu_check == 0){%> <%}else{%> " > <%}%>
<%} rs_t.close(); %> <%for(int ir = trr+ 1; ir<11; ir++){%>
Team Members<%=ir%>. Email(ID)
Name
Mobile
<%=major_t%>
<%=grade_t%> <%if( stu_check == 0){%> <%}else{%> <%}%>
<%}%>
Change content &show_no=<%=show_no%>&check_no=<%=check_no%>&c_relation=<%=c_relation%>&c_relation2=<%=c_relation2%>'}" style="width: 160px; line-height: 26px; text-align: center;display: inline-block; background: red; border: 1px solid #555; border-radius: 5px; color: #ffffff;">Cancel an app List
<%}else{%> <%} rs_check.close(); %> <%}%> <%@include file="/cms_for_bcb/show_bottom.jsp"%> <%@include file="/include/bottom.jsp"%> <%@include file="/include/include_b.jsp"%>