    

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Graph Encryption for Top-K Nearest Keyword Search Queries on Cloud </title>
<link href="css/styles.css" rel="stylesheet" type="text/css" />
<link href='http://fonts.googleapis.com/css?family=Lobster+Two' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Rokkitt' rel='stylesheet' type='text/css'>

<!---menu--->
<link rel="stylesheet" href="css/superfish.css" media="screen">
     <link rel="icon" href="images/13.jpg">
<script src="js/jquery-1.9.0.min.js"></script>
<script src="js/hoverIntent.js"></script>
<script src="js/superfish.js"></script>
<script>

		// initialise plugins
		jQuery(function(){
			jQuery('#example').superfish({
				//useClick: true
			});
		});

		</script>

</head>
<body>
    
     <%
            if (request.getParameter("msg") != null) {%>
        <script>alert('File Upload Successfully');</script>
        <%}
            if (request.getParameter("msgg") != null) {%>
        <script>alert(' Failed ');</script> 
        
        <%}
        %>
    
<div class="header-wrap">
  <div class="logo">
    <h2>Graph Encryption for Top-K Nearest Keyword Search Queries on Cloud </h2>
  </div>
  <div class="menu"> <img src="images/menu-left.png" alt="image"/>
    	<ul class="sf-menu" id="example">
        <li><a href="ownerhome.jsp">Home</a></li>
         <li><a href="fileupload.jsp">File Upload</a></li>
        <li> <a href="viewfiles.jsp">Key Generation</a> </li>
        <li> <a href="graph.jsp">View Graph </a> </li>
           <li> <a href="filesendtocloud.jsp">File Send to Cloud</a> </li>
           <li> <a href="index.html">Log out</a> </li>
        
      </ul>
    <img src="images/menu-right.png" alt="image"/> </div>
</div>
<!---header-wrap--->
<div class="clear"></div>
<div class="banner-wrap">
    <center><div class="banner"> <img src="images/keygen.jpg" alt="banner" /> </div>
</div>


    
   
  
<div class="clear"></div>

</body>
</html>
 
  <div class="content">
    <div class="content_resize">
      <div class="mainbar">
        <div class="article">
           <center> <br><h2>Uploaded File Details</h2><br>
         <div class="clr"></div>
         <!---Start Body --->
         <table border="1" style="text-align: center;margin-left: 0px">
                           
                            <tr>
                         
   <%@ page language="java" import="java.sql.*,java.io.*" contentType="text/html; charset=ISO-8859-1"   pageEncoding="ISO-8859-1"%>

  <%@page import="java.sql.*"%>
<%@page import="Dna.Sources.Dbconnection"%>
<%@ page session="true" %>
        
        <center> <table style="width:80%" border="2">
            <br>
             
  <tr>
    
     
    <th><font color="red"> Movie Category</th>
     
     <th><font color="red"> Movie Name</th>
   
  <th><font color="red"> Movie Collections</th>
  <th><font color="red">Owner </th>
  
 
     
     
<th><font color="red"> View</th>
     
</tr>

 <%
                                    Connection con = null;
                                    Statement st = null;
                                    ResultSet rs = null;
                                    try {
                                        con = Dbconnection.getConnection();
                                        st = con.createStatement();
                                        rs = st.executeQuery("select * from upload");
                                        while(rs.next())
                                            
                                        {%>
                                        <td><%=rs.getString(1)%></td> 
                                        <td><%=rs.getString(2)%></td> 
                                        <td><%=rs.getString(3)%></td> 
                                       <td><%=rs.getString(4)%></td> 
                                         
                                         
                                        
                                       <td><a href="keygeneration.jsp?category=<%=rs.getString(1)%>&moviename=<%=rs.getString(2)%>&moviec=<%=rs.getString(3)%>&owner=<%=rs.getString(4)%>">submit</td>
                                         <tr />
                                        <%
                                      
                                        
                                        } 
                                    } catch (Exception ex) {
                                        ex.printStackTrace();
                                    }

                                %>
        </table>
</body>
</html>

