96 lines
3.5 KiB
Plaintext
96 lines
3.5 KiB
Plaintext
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
|
<%@include file="/field_manager/include/manager_head.jsp"%>
|
|
<%
|
|
String c_home = r_call(request.getParameter("c_home"));
|
|
int col_no = 7;
|
|
%>
|
|
<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;">
|
|
Management of evaluation indicators
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!---------------------------------------------------------------------------------------->
|
|
|
|
|
|
<table width="100%" cellSpacing="1" cellPadding="0" border="0" bgcolor=cdcdcd>
|
|
<tr bgcolor=ededed style="font-weight:bold;">
|
|
<td height=30 width="40" align=center>No</td>
|
|
<td align=center>Evaluation index name</td>
|
|
<td width="80" align=center>Item management</td>
|
|
<td width="80" align=center>Whether to change</td>
|
|
<td width="60" align=center>Edit</td>
|
|
<td width="60" align=center>Del</td>
|
|
</tr>
|
|
<%
|
|
|
|
|
|
String sql1=" SELECT * from tbl_point_ji where c_home = " + c_home + " and c_maker = 0 and c_use=0 order by c_no desc";
|
|
ResultSet rst = stmt.executeQuery(sql1);
|
|
int i_no = 0;
|
|
while (rst.next()) {
|
|
i_no = i_no + 1;
|
|
%>
|
|
<tr bgcolor=ffffff onMouseover="this.bgColor='#FFF669'" onMouseout="this.bgColor='#FFFFFF'">
|
|
<td height="30px" align=center bgcolor=ffffff>
|
|
<%=i_no%>
|
|
</td>
|
|
<td align=left style="font-weight:bold;padding-left:10px">
|
|
<a href="detail/list.jsp?c_home=<%=c_home%>&c_ji_no=<%=rst.getInt("c_no")%>"><%=rst.getString("c_name")%></ㅁ>
|
|
</td>
|
|
<td align=center>
|
|
<a href="detail/list.jsp?c_home=<%=c_home%>&c_ji_no=<%=rst.getInt("c_no")%>">[Item management]</a>
|
|
</td>
|
|
|
|
<td align=center>
|
|
<%if(rst.getInt("c_change") == 0){%>
|
|
<a href="#none" onclick="if(confirm('If you change it to immutable, you cannot modify or delete it..\nDo you really want to change it to immutable?')){location.href='change.jsp?c_home=<%=c_home%>&c_no=<%=rst.getInt("c_no")%>'}">[changeable]</a>
|
|
<%}else{%>
|
|
<font color=red>Immutable
|
|
<%}%>
|
|
</td>
|
|
<td align=center>
|
|
<%if(rst.getInt("c_change") == 0){%>
|
|
<a href="edit.jsp?c_home=<%=c_home%>&c_no=<%=rst.getInt("c_no")%>">[Edit]</a>
|
|
<%}%>
|
|
</td>
|
|
<td align=center>
|
|
<%if(rst.getInt("c_change") == 0){%>
|
|
<a href="#none" onclick="if(confirm('If you delete it, all questions will be deleted.\nAre you sure you want to delete it??')){location.href='delete.jsp?c_home=<%=c_home%>&c_no=<%=rst.getInt("c_no")%>'}">[Del]</a>
|
|
<%}%>
|
|
</td>
|
|
<td align=center>
|
|
|
|
</tr>
|
|
|
|
<!------------------project----------------------------------->
|
|
|
|
<%
|
|
}
|
|
if(i_no == 0){
|
|
%>
|
|
<tr bgcolor=ffffff>
|
|
<td colspan="<%=col_no%>" height="60" align="center">There is no data.</td>
|
|
</tr>
|
|
<% }
|
|
rst.close();
|
|
%>
|
|
</table>
|
|
<!---------------------------------------------------------------------------------------->
|
|
<table width="100%" cellSpacing="0" cellPadding="0" border="0">
|
|
<tr>
|
|
<td height="40" align="right" style="font-weight:bold;"">
|
|
<a href="insert.jsp?c_home=<%=c_home%>" style="width: 90px; line-height: 24px; text-align: center;display: inline-block; background: #5e7cc4; border: 1px solid #ededed; border-radius: 5px; color: #ffffff;">Insert</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<%@include file="/field_manager/include/manager_bottom.jsp"%>
|