Current File : //home/obabain/anms_obaba_in/MenuPermission.jsp |
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ include file="Connection.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<form method="post">
<%@include file="master.jsp"%>
<div class="content">
<div class="row">
<div class="col-md-9">
<div class="panel panel-success">
<div class="panel-heading main-color-bg">
<h3 class="panel-title">Menu Permission</h3>
</div>
</div>
<!--
<table class="table" style="background-color:white;">
<thead>
<tr>
<th>UserId</th>
<th>User</th>
<th>Module</th>
<th></th>
</tr>
</thead>
<tbody>
<%
Statement st=con.createStatement();
ResultSet rs=st.executeQuery("select * from ip_menu_creation tb inner join role ts where tb.menu_parent_id=0");
while(rs.next())
{
%>
<tr>
<td><%=rs.getString("ts.id") %></td>
<td><%=rs.getString("description") %></td>
<td><%=rs.getString("menu_name") %></td>
<td><input type="checkbox"></td>
</tr>
<%} %>
</tbody>
</table>
<table class="table" style="background-color:white;">
<thead>
<tr>
<th>UserId</th>
<th>User</th>
<th>Module</th>
<th></th>
</tr>
</thead>
<tbody>
<%
Statement st1=con.createStatement();
ResultSet rs1=st1.executeQuery("select * from ip_menu_creation tb inner join role ts where tb.menu_parent_id<>0");
while(rs1.next())
{
%>
<tr>
<td><%=rs1.getString("ts.id") %></td>
<td><%=rs1.getString("description") %></td>
<td><%=rs1.getString("menu_name") %></td>
<td><input type="checkbox"></td>
</tr>
<%} %>
</tbody>
</table>
-->
<input type="submit" value="submit" class="btn btn-success">
</div>
</div>
</div>
<%@include file="footer.jsp" %>
</form>
</body>
</html>