108 lines
4.0 KiB
Plaintext
108 lines
4.0 KiB
Plaintext
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
|
<%@include file="/field_manager/include/manager_head.jsp"%>
|
|
<%
|
|
String c_project_no = r_call(request.getParameter("c_project_no"));
|
|
String c_team_no = r_call(request.getParameter("c_team_no"));
|
|
if(c_team_no.equals("")){
|
|
%>
|
|
<script>
|
|
alert("잘못 된 접속입니다.")
|
|
location.href="/"
|
|
</script>
|
|
<%
|
|
}else{
|
|
String sql_up = " SELECT c.*, a.c_name as u_name, b.c_name as f_name, d.c_team_name 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 + " inner join tbl_team d on d.c_project_no = c.c_no ";
|
|
sql_up = sql_up + " where c.c_no = " + c_project_no + " and d.c_no = " + c_team_no;
|
|
|
|
ResultSet rs_up = stmt.executeQuery(sql_up);
|
|
if (rs_up.next()) {
|
|
|
|
|
|
%>
|
|
<script>
|
|
function go(){
|
|
if(document.bcb.c_id.value == ""){
|
|
alert("Member ID(이메일)를 입력해 주세요.");
|
|
document.bcb.c_id.focus();
|
|
}else{
|
|
|
|
document.bcb.action = "insert_ok.jsp";
|
|
document.bcb.target = "exec";
|
|
document.bcb.method = "post";
|
|
document.bcb.submit();
|
|
}
|
|
}
|
|
</script>
|
|
<center>
|
|
<table width="800" cellSpacing="0" cellPadding="0" border="0">
|
|
<tr >
|
|
<td >
|
|
<table width="100%" cellSpacing="0" cellPadding="0" border="0" bgcolor=ffffff>
|
|
<tr >
|
|
<td height="60" style="font-weight:bold;">
|
|
Member 등록
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!---------------------------------------------------------------------------------------->
|
|
<table width="100%" cellSpacing="0" cellPadding="0" border="0" bgcolor=ffffff>
|
|
<tr >
|
|
<td align=right style="line-height:120%">
|
|
<font color=red>
|
|
* 표시가 있는 항목은 반드시 입력해 주세요.
|
|
</font>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor=eeeeee >
|
|
<form name="bcb" method="post" >
|
|
<input name="c_project_no" value="<%=c_project_no%>" type="hidden">
|
|
<input name="c_team_no" value="<%=c_team_no%>" type="hidden">
|
|
<tr bgcolor=ffffff>
|
|
<td width="15%" align=center style="font-weight:bold;"> 메인필드 </td>
|
|
<td width="85%" style="padding:5px"> <b><%=rs_up.getString("f_name")%> </td>
|
|
</tr>
|
|
<tr bgcolor=ffffff>
|
|
<td align=center style="font-weight:bold;"> Category </td>
|
|
<td style="padding:5px"> <b><%=rs_up.getString("u_name")%> </td>
|
|
</tr>
|
|
<tr bgcolor=ffffff>
|
|
<td align=center style="font-weight:bold;"> Project명 </td>
|
|
<td style="padding:5px"> <b><%=rs_up.getString("c_name")%> </td>
|
|
</tr>
|
|
<tr bgcolor=ffffff>
|
|
<td align=center style="font-weight:bold;"> Team명 </td>
|
|
<td style="padding:5px"> <font color=red><b><%=rs_up.getString("c_team_name")%></b></font> </td>
|
|
</tr>
|
|
<tr height=30 bgcolor=ffffff>
|
|
<td align=center style="font-weight:bold;"> <font color=red>*</font>Member ID(이메일) </td>
|
|
<td style="padding:5px">
|
|
<textarea style="width:400px" rows=10 name="c_id"></textarea><font color=red>* 엔터를 구분하여 여러개 입력 가능
|
|
</td>
|
|
</tr>
|
|
</form>
|
|
</table>
|
|
<!---------------------------------------------------------------------------------------->
|
|
<table width="100%">
|
|
<tr>
|
|
<td height="35" align="right" colspan="5" style="padding-bottom:10px;padding-top:10px;font-weight:bold;">
|
|
<a href="#none" onclick="go()" style="width: 50px; line-height: 26px; text-align: center;display: inline-block; background: #5e7cc4; border: 1px solid #555; border-radius: 5px; color: #ffffff;">등록</a>
|
|
<a href="../list.jsp?c_project_no=<%=c_project_no%>" style="width: 50px; line-height: 26px; text-align: center;display: inline-block; background: #ededed; border: 1px solid #555; border-radius: 5px; color: #000000;">취소</a>
|
|
</td>
|
|
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<iframe name="exec" width=0 height=0 src=""></iframe>
|
|
<%
|
|
}
|
|
rs_up.close();
|
|
%>
|
|
<%}%>
|
|
<%@include file="/field_manager/include/manager_bottom.jsp"%>
|