<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ page import="java.util.*;" %>
<HTML>
    <HEAD>
        <TITLE> View Meeting Requests </TITLE>
        <META NAME="Generator" CONTENT="EditPlus">
        <META NAME="Author" CONTENT="">
        <META NAME="Keywords" CONTENT="">
        <META NAME="Description" CONTENT="">
        
        <script type='text/javascript' src='zapatec.js'></script>
        
        <!-- Custom includes -->	
                <!-- import the calendar script -->
        <script type="text/javascript" src="calendar.js"></script>
        
        <!-- import the language module -->
        <script type="text/javascript" src="calendar-en.js"></script>
        
        <!-- Theme css -->
        <link href="forest.css" rel="stylesheet" type="text/css">
        
        
        <script>
            function confirmpage(){
                document.schedule.submit();
                                
            }
            
            
            function logoff()
            {
                var answer = confirm("Do you really want to Log off?");
                if(answer)
                {
                    location.href = "LogOut.jsp";
                }
                else
                {
                    return false;
                }

            }

        </script>
        
    </HEAD>
    
    <body background="_themes/aftrnoon/background_aftrnoon.gif" bgcolor="#FFFFFF" text="#000000" link="#983738" vlink="#703637" alink="#C76565"><!--mstheme-->
            
            <%
            Hashtable<String,String> ht=(Hashtable<String,String>)request.getSession().getAttribute("urls");
            %>
            <form name="schedule" action="confirmPage.jsp" method="get">
                <font size="3">
                    
                
                <table  width="100%" align="center" >
                    
                    
                    <tr>
                        <td align="center" colspan="2" width="100%">
                            <jsp:include page="banner.html"></jsp:include>
                        </td>
                    </tr>
                    <tr>
                        
                    </tr>
                </table>
                <table  width="90%" align="center" >
                    <tr>
                        <tr>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                        <td align="center" width="100%">
                            <h3>
                                <u>
                                    View Meeting Requests
                                </u>
                            </h3>
                            
                        </td>
                        <td align="right" nowrap width=5%">
                            <a href="admin.jsp">Home</a>
                            &nbsp;&nbsp;&nbsp;
                            <a href="#" onclick="logoff();">Sign out</a>
                        </td>
                       
                    </tr>
                    
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                </table>
                
                 <%
                        if(ht!=null){%>
                        <table cellpadding = "10" align="center" width="60%" border ="1">
                            <% 
                                Enumeration<String> e=ht.keys();
                                while(e.hasMoreElements()){
                                    String status=e.nextElement();
                                    String url=ht.get(status);
                                    String agenda=url.substring(url.indexOf("=")+1); 
                                    %>
                                <tr>
                                 <td width="60%">
                                    <a href="<%=url%>"><%=agenda%></a>
                        </td>
                        <td width="40%"> <%=status%>
                        </td>
                    </tr>
                            <%}
                        }
                    %>
                   
              </table>
            </font>
            </form>
    <!--mstheme--></body>
</HTML>
