c-innovacion2/resoft/manager_for_cms_ne/process/manager/insert.jsp

101 lines
4.7 KiB
Plaintext

<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@include file="/manager_for_cms/include/manager_head.jsp"%>
<script>
function go(){
if(document.bcb.c_name.value == ""){
alert("관리자명을 입력해 주세요.");
document.bcb.c_name.focus();
}else if(document.bcb.c_id.value == ""){
alert("ID를 입력해 주세요.");
document.bcb.c_id.focus();
}else if(document.bcb.c_pass.value == ""){
alert("Pasword를 입력해 주세요.");
document.bcb.c_pass.focus();
}else if(document.bcb.c_pass2.value == ""){
alert("Pasword 확인을 입력해 주세요.");
document.bcb.c_pass2.focus();
}else if(document.bcb.c_pass.value != document.bcb.c_pass2.value){
alert("Pasword 확인이 잘못 되었습니다.");
document.bcb.c_pass2.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;">
총괄관리자 등록
</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" >
<tr height=30 bgcolor=ffffff>
<td width="15%" align=center style="font-weight:bold;"> <font color=red>*</font>관리자명 </td>
<td width="85%" style="padding:5px"> <input type="text" name="c_name" id="" style="width:60px" maxlength="10"/> </td>
</tr>
<tr height=30 bgcolor=ffffff>
<td width="15%" align=center style="font-weight:bold;"> <font color=red>*</font>ID </td>
<td width="85%" style="padding:5px"> <input type="text" name="c_id" id="" style="width:100px" maxlength="20"/> <font color=red>* ID는 보안에 주의하여 등록하세요.</font></td>
</tr>
<tr height=30 bgcolor=ffffff>
<td width="15%" align=center style="font-weight:bold;"> <font color=red>*</font>Password </td>
<td width="85%" style="padding:5px"> <input type="password" name="c_pass" id="" style="width:100px" maxlength="20"/> <font color=red>* Password는 보안에 주의하여 등록하세요.</font></td>
</tr>
<tr height=30 bgcolor=ffffff>
<td width="15%" align=center style="font-weight:bold;"> <font color=red>*</font>Password 확인</td>
<td width="85%" style="padding:5px"> <input type="password" name="c_pass2" id="" style="width:100px" maxlength="20"/> <font color=red>* 같은 Password를 한번 더 입력하세요.</font></td>
</tr>
<tr bgcolor=ffffff>
<td width="15%" align=center style="font-weight:bold;"> 소속 </td>
<td width="85%" style="padding:5px"> <input type="text" name="c_part" id="" style="width:150px" /> </td>
</tr>
<tr bgcolor=ffffff>
<td width="15%" align=center style="font-weight:bold;"> 직급 </td>
<td width="85%" style="padding:5px"> <input type="text" name="c_position" id="" style="width:120px" maxlength="20"/> </td>
</tr>
<tr bgcolor=ffffff>
<td width="15%" align=center style="font-weight:bold;"> 연락처 </td>
<td width="85%" style="padding:5px"> <input type="text" name="c_phone" id="" style="width:100px" maxlength="20"/> </td>
</tr>
<tr bgcolor=ffffff>
<td width="15%" align=center style="font-weight:bold;"> 이메일 </td>
<td width="85%" style="padding:5px"> <input type="text" name="c_email" id="" style="width:200px" maxlength="50"/> </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" 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>
<%@include file="/manager_for_cms/include/manager_bottom.jsp"%>