c-innovacion2/apply/cms_for_bcb/process/community_spain/insert.jsp

80 lines
3.1 KiB
Plaintext

<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%request.setCharacterEncoding("utf-8");%>
<%@include file="/include/include.jsp"%>
<%
login_tag = 1;
%>
<%@include file="/include/head.jsp"%>
<%@include file="/cms_for_bcb/show_top.jsp"%>
<%
String para_t = "show_no="+ show_no +"&check_no="+ check_no + "&c_relation=" + c_relation + "&c_relation2=" + c_relation2;
%>
<script>
function go(){
if(document.ss.c_name.value == ""){
alert("Insertar nombre de comunidad")
document.ss.c_name.focus()
}else if(document.ss.c_target.value == ""){
alert("Insertar objetivo de comunidad")
document.ss.c_target.focus()
}else if(document.ss.c_exp.value == ""){
alert("Insertar Explicación de la comunidad")
document.ss.c_exp.focus()
}else{
document.ss.action = "insert_ok.jsp?<%=para_t%>"
document.ss.method = "post"
document.ss.target = "exec"
document.ss.submit()
}
}
</script>
<form name="ss">
<input name="c_home" value="<%=c_home%>" type="hidden">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12" style="">
<div style="padding-bottom:10px">
<b>◎ Hacer comunidad</b>
</div>
<div class="col-lg-12 col-md-12 col-sm-12" style="border:1px solid #cdcdcd;padding:10px;padding-left:20px;padding-right:20px">
<table style="width:100%">
<tr><td style="width:20%;text-align:center;height:30px">
<font color=red>*</font>Nombre de la comunidad</b>
</td><td style="width:80%;text-align:left;padding:10px">
<input name="c_name" style="width:80%;height:30px;border:solid 1px #cdcdcd" maxlength="300">
</td></tr>
<tr><td style="text-align:center;height:30px">
<font color=red>*</font>Comunidad <b> objetivo</b>
</td><td style="text-align:left;padding:10px">
<input name="c_target" style="width:100%;height:30px;border:solid 1px #cdcdcd" maxlength="300">
</td></tr>
<tr><td style="text-align:center;height:30px;vertical-align:top;padding-top:20px">
<font color=red>*</font>Comunidad <b> Explique</b>
</td><td style="text-align:left;padding:10px">
<textarea name="c_exp" style="width:100%;height:300px;border:solid 1px #cdcdcd"></textarea>
</td></tr>
</table>
</div>
</div>
<div class="col-lg-12 col-md-12 col-sm-12" style="padding-top:30px">
<table width="100%">
<tr>
<td align="center" style="padding-bottom:10px;padding-top:10px;font-weight:bold;">
<a href="#none" onclick="go()" style="width: 150px; line-height: 26px; text-align: center;display: inline-block; background: #F5E0CB; border: 1px solid #555; border-radius: 5px; color: #000000;">Hacer comunidad</a>
&nbsp;&nbsp;&nbsp;
<a href="list.jsp?<%=para_t%>" style="width: 100px; line-height: 26px; text-align: center;display: inline-block; background: #ededed; border: 1px solid #555; border-radius: 5px; color: #000000;">Cancelar</a>
</td>
</tr>
</table>
</div>
</div>
</form>
<iframe name="exec" id="exec" width="0px" height="0px"></iframe>
<%@include file="/cms_for_bcb/show_bottom.jsp"%>
<%@include file="/include/bottom.jsp"%>
<%@include file="/include/include_b.jsp"%>