82 lines
3.0 KiB
Plaintext
82 lines
3.0 KiB
Plaintext
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
|
<%@include file="/manager_for_cms/include/manager_head.jsp"%>
|
|
<%
|
|
String c_home = r_call(request.getParameter("c_home"));
|
|
String c_no = r_call(request.getParameter("c_no"));
|
|
%>
|
|
<script>
|
|
function go(){
|
|
if(document.bcb.c_name.value == ""){
|
|
alert("Please enter the evaluation index.");
|
|
document.bcb.c_name.focus();
|
|
}else{
|
|
|
|
document.bcb.action = "edit_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;">
|
|
Change in evaluation index
|
|
</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>
|
|
* Please be sure to enter items marked with a mark..
|
|
</font>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<%
|
|
String sql1=" SELECT * from tbl_point_ji where c_home = " + c_home + " and c_maker = 0 and c_use=0 and c_change=0 and c_no = " + c_no;
|
|
ResultSet rst = stmt.executeQuery(sql1);
|
|
if (rst.next()) {
|
|
%>
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor=eeeeee >
|
|
<form name="bcb" method="post" >
|
|
<input name="c_home" value="<%=c_home%>" type="hidden">
|
|
<input name="c_no" value="<%=c_no%>" type="hidden">
|
|
<tr height=30 bgcolor=ffffff>
|
|
<td width="15%" align=center style="font-weight:bold;"> <font color=red>*</font>Evaluation index name</td>
|
|
<td width="85%" style="padding:5px"> <input type="text" name="c_name" value="<%=rst.getString("c_name")%>" id="" style="width:300px" maxlength="50"/> </td>
|
|
</tr>
|
|
</form>
|
|
</table>
|
|
<% }else{
|
|
%>
|
|
<script>
|
|
alert("Wrong Connection.")
|
|
location.href="list.jsp?c_home=<%=c_home%>"
|
|
</script>
|
|
<%
|
|
}
|
|
rst.close();
|
|
%>
|
|
<!---------------------------------------------------------------------------------------->
|
|
<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;">Edit/a>
|
|
<a href="list.jsp?c_home=<%=c_home%>" style="width: 50px; line-height: 26px; text-align: center;display: inline-block; background: #ededed; border: 1px solid #555; border-radius: 5px; color: #000000;">Cancel</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"%>
|