<%@ page language="java" pageEncoding="UTF-8"%>
<jsp:directive.page import="java.util.*"/>
<jsp:directive.page import="com.itjob.dao.model.TRight"/>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %>
<%@ page isELIgnored="false" %> 
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>微博权限管理系统</title>
        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/common.css" />
        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/menu.css" />
    </head>
    <body>
    	<table>
            <tr>
                <td id="treeBox" style="width:430px;height:523px;border:1px solid #cccccc;" valign=top>
			        <table width="100%">
			        	<%
			        	List rightList = (List) request.getSession().getAttribute("rightList");
			        	TRight right = null;
			        	for (int i = 0; i < rightList.size(); i++) {
			        		right = (TRight) rightList.get(i);
			        	%>
			        		<tr align="center">
				                <td align="center">
				                	<a href="<%=request.getContextPath() + right.getRightUrl() %>" target="winFrm"><%=right.getRightName() %></a>
				                	<hr  style="border: 1px dashed  #cccccc"/>
				                	
				                </td>
				            </tr>
				        <%
				        }
				        %>
			        </table>
			    </td>
            </tr>
        </table>
    </body>
</html>
