<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%session = request.getSession(true); %>

<%@ page session="true" import="servlets.*" %>
<%@ page session="true" import="classes.*" %>

<%@ page session="true" import="beans.*" %>
<%@ page session="true" import="java.sql.ResultSet" %>
<%@page import="java.util.List"%>
<%@page import="locadora.modelo.filmes.*"%>

<!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>Video locadora IME </title>
 
<link href="css/Principal.css" rel="stylesheet" type="text/css" />
<link href="css/submenu.css" rel="stylesheet" type="text/css" />
<link href="css/menu_antigo.css" rel="stylesheet" type="text/css" />

-->
</script>
<style type="text/css"> 
<!--
/* MASCARA */
	#mascara {
		z-index:900000;
		position:absolute;
		left:0;
		top:0;
		width:100%;
		height:1588px;
		background-color:#ba0000;
		display:table-cell;
		vertical-align:middle;
		opacity:.9;
		-moz-opacity:0.9;
		display:none;}
	
	/* CARREGA FOTO */
	#carrega-foto {
		position:absolute;
		width:100%;
		height:1052;
		top:10px;
		z-index:9000000;
		display:none;
		text-align:center;
		overflow:hidden;
	}
	#carrega-foto, #carrega-foto * 
	{
	    font-family:Arial, Verdana;    
	    font-size:13px;
	}
    #carrega-foto a
    {
        color:#FF0000;
        font-weight:bold;
    }
	#carrega-foto img {
		border:8px solid #EDEDED;
		margin:10px;
	}
	
		#mascara_amigo {
		z-index:900000;
		position:absolute;
		left:0;
		top:0;
		width:100%;
		height:100%;
		background-color:#9aa3ca;
		display:table-cell;
		vertical-align:middle;
		opacity:.9;
		-moz-opacity:0.9;
		display:none;}
	
	
	
-->
</style>
<style type="text/css"> 
<!--
.style1 {
	font-size: 24px;
	font-weight: bold;
	color: #55878e;
}
.style2 {color: #55878e}
-->
</style>
<!--[if lt IE 7.]>
<link href="/web/inc/ie6.css" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if IE]>
<link href="/web/inc/ie.css" rel="stylesheet" type="text/css" />
<![endif]-->
</head>

<body>

<div id="mascara"></div>

<div class="container">
<div class="I">

<div class="I_I" style="width:250px;height:120px;float:left;margin-right:139px; ">
<img src="imagens/LogoFH.png" alt="F-H sua locadora via internet" width="132" height="119" border="0" />
</div>

<div class="I_II" style="padding-top:5px;margin:0;width:389px;height:30px;float:right;background:url(/web/images/bgBUSCA.jpg);overflow: hidden;">

<div id="loading"><img src="imagens/fundo.gif" border="0" alt="" />&nbsp;&nbsp;Carregando...</div>

<form action="http://www.H-F.com.br/busca.jsp" method="post" style="margin: 0; padding: 0; margin-left: 85px;margin-top:0px;">
<img src="imagens/tBUSCApq.gif" width="24" height="7" />
<input name="PesquisaTextBox" id="PesquisaTextBox" style="border: solid 1px #ddd9d8;margin-left: 15px;" type="text" class="fd_busca" />
<input type="image" onmouseover="MM_swapImage('Image26','','imagens/bOKov.gif',1)" src="imagens/bOK.gif" 
style="margin-left: 5px;width:auto;" />
</form>
</div>
<div class="I_III" >
<div id="Login" class="Login" align="right">
<div class="I_III" >
<div id="Login" class="Login" align="right">

 <form action="/struts2/Login" method="post" name="form1" id="form1">	
<label></label>
<table width="200" border="0">
  <tr>
    <td width="50">Login: </td>
    <td width="140"><input name="email" id="email" style="border: solid 1px #ddd9d8;margin-left: 15px;" type="text" class="fd_busca"></td>
  </tr>
  <tr>
    <td>Senha: </td>
    <td><input name="senha" id="senha" style="border: solid 1px #ddd9d8;margin-left: 15px;" type="password" class="fd_busca" /></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><div align="right">
      <input name="image" type="image" 
style="margin-left: 5px;width:auto;" onmouseover="MM_swapImage('Image26','','imagens/bOKov.gif',1)" src="imagens/bOK.gif" />
    </div></td>
  </tr>
  <tr>
    <td colspan="2">
	  <% if (request.getParameter("msg_sucesso") != null) { %> 
            <div id="msg_sucesso"><% out.print(request.getParameter("msg_sucesso")); %></div>
            <% } %>
              <% if (request.getParameter("msg_erro") != null) { %> 
            <div id="msg_erro"><% out.print(request.getParameter("msg_erro")); %></div>
       <% } %> 
	
	
	
	</td>
    </tr>
</table>
<label></label>
  <br>
 <label><br />
 </label>
 </form>

<br>
</div>

</div>
<br>
</div>

</div>
</div>
<div class="II">
<link href="css/mascara.css" rel="stylesheet" type="text/css" />
<link href="css/menu_antigo.css" rel="stylesheet" type="text/css" />
 
<ul id="barra" class="menubar" style="background-color:#96132b;text-align: center; width: 770px;margin:0;padding-left:8px;z-index:1000000000000;">
	<li class="menuover"><a href="index.jsp" style="padding:10px 5px 10px 5px;margin:0;">Home</a></li>
	
    <li id="menu_produtos" class="menuvertical" style="cursor:pointer"><a href="produtos.jsp" style="padding:10px 5px;margin:0;cursor:default;">Produtos</a> </li>
    
<li id="menu_novidades" class="menuvertical" style="cursor:pointer;"><a href="IndicacaodeFilmes.jsp" style="padding:10px 5px;margin:0;cursor:default;">Dicas &amp; Novidades</a> </li>  
 
	<li id="menu_newsletter" class="menuvertical"><a href="newsletter.jsp" style="padding:10px 5px 10px 5px;margin:0;">Newsletter</a></li>
   
	<li id="menu_lojavirtual" class="menuvertical"><a href="ListaVideos" style="padding:10px 5px 10px 5px;margin:0;">Seleção de Filmes</a></li>
    
	<li id="menu_franquias" class="menuvertical" style="cursor:pointer;"><a href="associese.jsp" style="padding:10px 5px 10px 5px;margin:0;">Associe-se</a> </li>

	<li id="menu_institucional" class="menuvertical" style="cursor:pointer;"><a href="planos.jsp" style="padding:10px 5px;margin:0;cursor:default;">Nossoa Planos</a> </li>   
	
    <li id="menu_faleconosco" class="menuvertical" style="cursor:pointer;"><a href="FaleConosco.jsp" style="padding:10px 5px;margin:0;cursor:default;">Fale conosco</a> </li>
</ul>
 
</div>
<div id="Conteudo" style="margin:0;padding:0;">

<div class="IV_III" style="width:250px; text-align:center; position:absolute; left: 2px; top: 158px;">
  <div id="not_home" class="noticiasHome" style="padding-left:9px;"><br />
      <a  style="margin-bottom:0;"><b>FILMES LAN&#199;AMENTO </b><br />
      </a><br />
      <br />
      <img src="imagens/figura1.jpg" alt="F-H sua locadora via internet" border="0" /><br />
      <br />
      <img src="imagens/figura2.jpg" alt="F-H sua locadora via internet"  border="0" /><br />
      <br />
  </div>
  <p style="padding-left:25px">
<p style="padding-left:25px">
<p style="padding-left:25px"><span class="style2"><strong>Locação Rápida</strong><br />
  Quanto mais você aluga menos você paga. Divirta-se</span>
  
</div>


<div id="FormCadastroCliente" style="overflow: auto; margin:0; padding:0; width:495px; position:absolute; left: 263px; top: 167px; height: 269px;">

	<% List<Filme> filmes = (List<Filme>)session.getValue("listaFilmes"); %> 
				<table width="466" height="110" border="0">
                  <% for(int i = 0; i < filmes.size(); i++) {
					Filme filme = (Filme)filmes.get(i); 
				%>
				  <tr>
                    <td width="71" rowspan="2">
                    <img src="<% out.print(filme.getImagem());%>" width="60" height="85" /></td>
                    <td width="406"><span class="link_detalhe">
                    <% out.print(filme.getTitulo());%></span></td>
                  </tr>
                  <tr>
                    <td height="68"><% out.print(filme.getDescricao());%></td>
                  </tr>
               
				
				<%	
				 }
				%>  
	  </table>
       	
</div>


<div>
<div class="III" style="position:absolute; left: 0px; top: 411px;">
	<br />


</div>

<div id="fundo_home" style="height:460px;" >

</div>

</div></div>
<div class="V">
  <link href="Principal.css" rel="stylesheet" type="text/css" />
<div style="position:absolute; float:left; width:770px; padding-left:10px; padding-bottom:10px; vertical-align:bottom; display:table-cell; top: 568px; left: -1px;" >
  <div class="link_fot" style="text-decoration:none; float:left; width:550px; text-align:left"> <img src="imagens/logo2FH.png" width="60" height="60" align="left" /> <br />
  	<span style="text-align:right;">Produtos disponíveis para todo o território nacional.</span></div>
  <div style="float:right;text-decoration:none; width:150px; padding-right:10px;" align="right" class="link_fot"><br />
    VÍDEO lOCADORA&nbsp;-&nbsp;<a href="http://www.F-H.com.br" class="link_fot">by F-H</a><br />
  </div>
</div>
 
</div>
</div>

</body>
</html>
