<?
	include("adm/conexao_e_agenda.php");
	include("adm/funcoes.php");
	include("mostradata.php");
	session_start();
	  if (isset($_GET['id'])){
	  $id=$_GET['id'];
  } else {
	  $id="";
  }

 $sql_c="select * from imoveis where id='$id'";
 $result_c=mysqli_query($conexao,$sql_c) or die (mysqli_error($conexao));		  
 $linha=mysqli_fetch_array($result_c);
 //$data_comp = datapadrao_data($linha["dt_veiculo"]);
 //$placa = $linha["placa"];
		   $codigo    =   $linha['id'];
		   $titulo    =   $linha["titulo"];//minusc_inicia_maiusc($chave["titulo"]);
		   $tipo_imovel     =   minusc_inicia_maiusc(descricao(tipos,$linha['tipo'],desc_tipo));
		   $cidade    =   descricao(cidades,$linha['cidade'],cidade)."/".descricao(uf,descricao(cidades,$linha['cidade'],uf),uf);
		   $uf = descricao(uf,descricao(cidades,$linha['cidade'],uf),uf);
		   $cidade_maps = descricao(cidades,$linha['cidade'],cidade_maps);
		   $bairro = descricao(bairros,$linha['bairro'],bairro);
		   $endereco  = $linha["endereco"];
		   $preco     =   $linha["valor"];	
		   $tipoimovel = (($linha["tipo"]=='4' || $linha["tipo"]=='5') ? "t" : "c");
		   $tipopertence = (($linha["tipo"]=='4' || $linha["tipo"]=='5') ? "pertence='t'" : "pertence_pre='c'");
		   $referencia = $linha['id'];
?>
<!DOCTYPE html>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>ADRIANO THEODORO IM&Oacute;VEIS, FOZ DO IGUA&Ccedil;U - PR</title>
<? include("metatags.php"); ?>

<link rel="stylesheet" type="text/css" href="css/demo.css" />

		<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
        </style>
	<noscript>
			<link rel="stylesheet" type="text/css" href="css/noscript.css" />
		</noscript>


<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<!--[if lt IE 9]>
  <script type="text/javascript" src="../js/excanvas/excanvas.js"></script>
<![endif]-->
<script type="text/javascript" src="js/spinners/spinners.min.js"></script>
<script type="text/javascript" src="js/lightview/lightview.js"></script>

<link rel="stylesheet" type="text/css" href="css/lightview/lightview.css" />

<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="js/jquery.cycle.all.js"></script>
<style type="text/css">
.slideshow_ { height: 332px; width: 332px; margin: auto }
.slideshow_ img { padding: 5px; border: 1px solid #ccc; background-color: #eee; }
</style>
<script type="text/javascript">
$(document).ready(function() {
    $('.slideshow_').cycle({
		fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		delay:   -4000
	});
});
</script> 	
<link rel="stylesheet" href="js/css/lightbox.min.css">
<script src="jss/js/lightbox-plus-jquery.min.js"></script>
    <?php include("browser.php"); ?>
    <!--<link rel="stylesheet" href="css/newclick.css">-->	
</head>

<body>
<!-- inicio -->
<? include("cabecalho.php"); ?>	<br />
<!-- fim -->
<div id="wrapper_i">
<div id="branding_i">
</div> 

<div id="content_i"> 
<div id="mainContent_i">
<!--inicio--> <br />
<table width="754" border="0">
  <tr>
    <td bgcolor="#F5F5F5"><div align="left"><img src="label_imoveis_detalhes.png"></div></td>
    <td bgcolor="#F5F5F5"><div align="left"><a href="javascript:history.go(-1)" target="_self"><img src="btn_voltar_anterior.gif" borde="0"/></a></div></td>
  </tr>
</table>
          
<style type="text/css">
<!--
.style2 {color: #FFFFFF}
-->
</style>
<br />
<table width="627" border="0" align="center" cellpadding="0" cellspacing="0"  bgcolor="#FFFFFF">
  <tr>
    <td><div align="right">
      
        <table width="754" border="0" align="left" cellpadding="3" cellspacing="0">
          <tr>
            <td height="10" colspan="3" class="texto2b"><div align="right">REFER&Ecirc;NCIA: <? echo $linha['id']; ?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div></td>
          </tr>
 <tr>
 <td>
 <table width="624" border="0" cellpadding="0" cellspacing="0"> 
  <tr>   
    <td width="308"><table width="300" border="0" align="right">

                    <td width="38%" rowspan="8"><div align="left"> 
                    <div class="slideshow_"><? 
					$sql_fotos1="select * from fotos where fk_categoria='$id' order by id asc";
                    $result_fotos1=mysqli_query($conexao,$sql_fotos1) or die (mysqli_error($conexao));		
                    while($linha_fotos1=mysqli_fetch_array($result_fotos1)) { 
                   
                    $nome_foto1 = $linha_fotos1['caminho_foto'];					
					$imagem_mini    =   "fotos"."/".$linha_fotos1['caminho_foto'];
	                $imagem    =   "fotos/".$linha_fotos1['caminho_foto']; 
		            $legenda = $linha_fotos1['modelo'];
			  /*if($nome_foto1!=""){
	  
			  print "<img src=\"fotos"."/".$nome_foto1."\" widht='250' height='250' border='0'>";
			  } else {
			  print "<img src=\"fotos"."/"."sem_fotografia.jpg"."\" border='0'>";
			  } */
			  ?>
             
    <? /*while($linha_cad=mysqli_fetch_array($result_cad)) { 
	$galeria = $linha_cad['id']; 
	$select_cads = "SELECT * FROM galerias_fotos WHERE fk_galeria='$galeria' order by dt_foto desc limit 1"; //where id='5' 
    $result_cads = mysqli_query($conexao,$select_cads) or die(mysqli_error($conexao));
	$linha_cads=mysqli_fetch_array($result_cads);
	$fotocaminho = $linha_cads["caminho_foto"];	*/
	?>
    <a href='<? echo $imagem; ?>'
     class='lightview'
     data-lightview-group='example1'
     data-lightview-title=""
     data-lightview-caption="">
    <img src='<? echo $imagem_mini; ?>'  width="300" height="300"/>
  </a>       
    
	
<? } ?>
</div>
              
              
                    </div></td>
 </tr>
    </table></td>
    <td width="300"><table width="300" border="0" align="left" cellpadding="0" cellspacing="0">
      <tr>
<td width="50%" class="texto"></td>
              <td width="50%"></td>
        </tr>
   <tr>
   <td colspan="2" class="texto2"><div align="center"><?  echo $linha['titulo']; ?></div></td>
   </tr>  
         <tr>
<td width="50%" class="texto">&nbsp;</td>
              <td width="50%"></td>
        </tr>      
        <tr>
   <td class="texto2"><div align="right"><strong>&nbsp;&nbsp;&nbsp;VALOR:</strong></div></td>
   <td bgcolor="#F5F5F5" class="texto2b">
     <div align="left">&nbsp;
     R$
       <? 
	  $pa = $linha['tipo'];
      $manutencao = true;
      $palavras = array("14","15","16");	
	  if ( ($manutencao) && (in_array ($pa, $palavras)) ){	 // && $p2a==$cadastro
	    $valor_imovel = "ADESÃO";
	  }	 else {
		$valor_imovel = $linha['valor'];  
	  }	   
	   echo $valor_imovel; ?>
&nbsp;  &nbsp;&nbsp;&nbsp;</div></td>
  </tr>
  <? if($tipoimovel=="c"){ 
       if(strlen($linha['condominio'])>0){
  ?>
   <tr>
   <td class="texto2"><div align="right">CONDOM&Iacute;NIO:</div></td>
   <td bgcolor="#F5F5F5" class="texto2b"><div align="left">&nbsp;&nbsp;R$&nbsp;<?  echo $linha['condominio']; ?></div></td>
 </tr>
  <? } ?>
  <?  if($linha['quarto']!=""){ ?>
 <tr>
   <td class="texto2"><div align="right"><strong>DORMIT&Oacute;RIO(S):</strong></div></td>
   <td bgcolor="#F5F5F5" class="texto2b">     <div align="left">&nbsp;
     <? echo $linha['quarto']; ?>
   </div></td>
  </tr>
  <?  } if($linha['suite']!=""){ ?>
 <tr>
   <td class="texto2"><div align="right"><strong>SU&Iacute;TE(S):&nbsp;</strong></div></td>
   <td bgcolor="#F5F5F5" class="texto2b">
     <div align="left">&nbsp;
  <? echo $linha['suite']; ?>
  &nbsp;&nbsp;   </div></td>
  </tr>
  <? } if($linha['area']!=""){ ?>
 <tr>
   <td class="texto2"><div align="right"><strong>ÁREA CONSTRUÍDA:</strong></div></td>
   <td bgcolor="#F5F5F5" class="texto2b"><div align="left">&nbsp;
     <? echo $linha['area']; ?></div></td>
  </tr>
  <? } } ?>
   <?  if($linha['terreno']!=""){ ?>
 <tr>
   <td class="texto2"><div align="right"><strong>&nbsp;&Aacute;REA DO TERRENO:</strong></div></td>
   <td bgcolor="#F5F5F5" class="texto2b"><div align="left">&nbsp;     
     <? echo $linha['terreno']; ?>
   </div></td>
  </tr>
   <? } if($linha['frente']!=""){ ?>
 <tr>
   <td class="texto2"><div align="right"><strong>FRENTE:</strong></div></td>
   <td bgcolor="#F5F5F5" class="texto2b"><div align="left">&nbsp;     
     <?  echo $linha['frente']; ?>
   </div></td>
  </tr>
   <? } if($linha['fundo']!=""){ ?>
 <tr>
   <td class="texto2"><div align="right"><strong>&nbsp;FUNDO:</strong></div></td>
   <td bgcolor="#F5F5F5" class="texto2b"><div align="left">&nbsp;
       <? echo $linha['fundo'];  ?>
</div></td>
  </tr>
<? } if($tipoimovel=="c"){ 
       if(strlen($linha['area_util'])>0){
  ?>
 <tr>
   <td class="texto2"><div align="right"><strong>&nbsp;&Aacute;REA &Uacute;TIL:</strong></div></td>
   <td bgcolor="#F5F5F5" class="texto2b">&nbsp;<?  echo $linha['area_util']; ?> </td>
 </tr>
  <? } }?>
    </table></td>
  </tr>
</table>
 </td> 
              
 </tr>
 <tr>
   <td height="10" colspan="3" class="verdana1">&nbsp;&nbsp;<div align="right"><a href="mostra_imovel.php?id=<? echo $id; ?>#localizacao"><img src="btn_fazerumaproposta.png" width="247" height="34"></a>
     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>&nbsp;&nbsp;</td>
   </tr>
    <tr>
   <td height="10" colspan="3" class="verdana1"><div align="left"><? $caminho_texto = "http://www.adrianosoutoimoveis.com.br".$_SERVER['REQUEST_URI'];
      include("compartilhar_noticia.php");   ?>
     </div></td>
   </tr>
     <tr>
   <td height="20" colspan="3" bgcolor="#F5F5F5" class="verdana1"><div align="left"><img src="label_imoveis_endereco.png"></div></td>
   </tr>
   <tr>
   <td valign="top" colspan="3" class="font11b">Endere&ccedil;o:&nbsp;<?  echo $linha["endereco"]; ?><br />
Bairro: <?  echo descricao(bairros,$linha["bairro"],bairro); ?><br />

Cidade/Estado: <?  echo descricao(cidades,$linha['cidade'],cidade)."/".descricao(uf,descricao(cidades,$linha['cidade'],uf),uf); ?>
&nbsp;&nbsp;<a href="mostra_imovel.php?id=<? echo $id; ?>#localizacao"><img src="mapalocalizacao.png" width="32" height="30" align="absmiddle">Visualiza no mapa</a></td>
  </tr>     
     <tr>
   <td height="20" colspan="3" bgcolor="#F5F5F5" class="verdana1"><div align="left"><img src="label_imoveis_detalhes_simples.png"></div></td>
   </tr>
      <tr>
   <td colspan="3"><div align="left">&nbsp;<?  echo $linha["detalhes"]; ?></div></td
  ></tr>
       <tr>
   <td height="5" colspan="3" class="verdana1">&nbsp;</td>
   </tr>
 <tr>
   <td height="5" colspan="3" class="verdana1"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="textosimples">
     <tr>
       <td height="20" colspan="3">
           </td>
     </tr>
     <tr>
       <td colspan="3">&nbsp;<?php include("detalhes_imoveis.php"); ?></td>
       
     </tr>
     <tr>
       <td height="10" colspan="3">
           </td>
     </tr>
          <tr>
       <td height="40" colspan="3"><a href="mostra_imovel.php?id=<? echo $id; ?>#opcoes"><img src="btn_maisinformacoes.png" width="400" height="50"></a> </td>
     </tr>
          <tr>
       <td height="10" colspan="3">
     <? $select_cad = "SELECT * FROM videos where categoria='imovel' and fk_categoria='$id'";  
  $result_cad = mysqli_query($conexao,$select_cad) or die(mysqli_error($conexao));	
  $linha_cad = mysqli_fetch_array($result_cad); 
?>
  <table width="700" border="0" cellpadding="0" align="center" cellspacing="0">
      <tr>
      <td height="20">&nbsp;</td>
    </tr>
    <tr>
      <td><div align="center"><? echo $linha_cad["caminho_arquivo"]; ?></div></td>
    </tr>
  </table>
     
           </td>
     </tr>
          <tr>
       <td height="20" colspan="3" bgcolor="#F5F5F5">
           <div align="left"><img src="label_imoveis_fotos.png"></div></td>
     </tr>
   </table>
    </td>
 </tr>
        </table>
         
    </div></td>
  </tr>
</table> 
<br>
<? 
	  //if($linha['foto']>0){ ?>
<!--inicio-->
                        <table width="256"  border="0" align="left" cellpadding="0" cellspacing="0">
                          <tr>
                            <?
	   $total = 5;	 
	   //EXIBE OS PRODUTOS	 
 $sql_fotos="select * from fotos where fk_categoria='$id' order by id asc";
 $result_fotos=mysqli_query($conexao,$sql_fotos) or die (mysqli_error($conexao));		
 while($linha_fotos=mysqli_fetch_array($result_fotos)){
  $data_foto = $linha_fotos["dt_foto"];
  $id_foto = $linha_fotos["id"];
  $nome_foto = $linha_fotos['caminho_foto'];
		   

		   $imagem_mini    =   "fotos"."/".$linha_fotos['caminho_foto'];
	       $imagem    =   "fotos/".$linha_fotos['caminho_foto']; 
		   $legenda = $linha_fotos['modelo'];

           //VERIFICA
	       if($total == $atual) {
		      echo "</tr><tr>";
			  $atual = 0;
		   }	   
		  ?>
          <td width="5%" height="100">&nbsp;&nbsp;</td>
                            <td width="59%" height="108"><div align="left"> <a href='<? echo $imagem; ?>'
     class='lightview'
     data-lightview-group='example'
     data-lightview-title=""
     data-lightview-caption="">
    <img src='<? echo $imagem_mini; ?>'  width="100" height="100" border="1"  alt=''/>
  </a>                      
                            &nbsp;&nbsp;<br />
                            <? echo $legenda; ?><br />
                              <br />
                            </div></td>
                            <td width="17%">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                            <td width="24%">&nbsp;</td>
                            <?
	      //SOMA 1 A VARI&Aacute;VEL CONTROLADORA
	      $atual++;
	   }//FEHA FOR ?>
                          </tr>
                </table>                        
                        <br>
      <!--fim-->

<? //} ?> 
    <table width="750" align="center" border="0">
                 <tr>
                   <td height="28" valign="top" bgcolor="#F5F5F5" class="font13b"><div align="left"><img src="label_imoveis_localizacao.png"></div></td>
        </tr>
                            <tr>
                              <td valign="top" class="font13b">
                              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                              <tr>
                                    <td width="64%" valign="top"><br /><div align="center"><a name="localizacao" id="localizacao"></a>
                                            
											<iframe src="http://sitedeimobiliarias.tempsite.ws/googlemaps/pagina2.php?endereco=<?  echo removerCaracter($endereco).", ".removerCaracter($bairro).", ".removerCaracter($cidade_maps).", ".removerCaracter($uf); ?>&amp;frase=<b><?  echo $linha["titulo"]; ?></b><br>
							  <?  echo $endereco.", ".$bairro.", ".$cidade_maps."-".$uf; ?>&amp;lat=&amp;lng=" name="maps" width="700" height="300" scrolling="No" frameborder="0" id="maps"></iframe>
                                         
											
                                    </div></td>
                                  </tr>
                                  <tr>
                                    <td valign="top" class="font11b">Endere&ccedil;o:<?  echo $endereco; ?><br />
Bairro: <?  echo $bairro; ?><br />

Cidade/Estado: <?  echo $cidade; ?></td>
                                  </tr>
                                  <tr>
                                    <td valign="top" class="font11b">&nbsp;</td>
                                  </tr>                                  
                              </table>
</td>
                                  </tr>
                              </table>
                              
    <table width="750" align="center" border="0">
                 <tr>
                   <td height="28" valign="top" bgcolor="#F5F5F5" class="font13b"><div align="left"><img src="label_imoveis_maisinformacoes.png"></div></td>
        </tr>
                            <tr>
                              <td valign="top" class="font13b">
                              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                              <tr>
                                    <td width="64%" valign="top"><br /><div align="center"><a name="opcoes" id="opcoes"></a>
          <? //$imovel = $tipo_imovel." | ".$endereco." | ".$bairro." | ".$cidade; ?>                           
          <form action="envia_email_imoveis_adm.php" method="post" name="form_mail">
          <input type="hidden" name="ip" size="62" maxlength="50" value="<? echo $_SERVER['REMOTE_ADDR']; ?>">
          <input type="hidden" name="referencia" size="62" maxlength="50" value="<? echo $referencia; ?>">
        
		       <table width="564" border="0" cellpadding="0" cellspacing="0" class="cant_chumbo">
                <tr> 
                  <td width="21%" height="20" class="verdana1"> <div align="right" >Seu Nome :</div></td>
                  <td width="79%" height="25" class="verdana1"><div align="left">&nbsp;&nbsp;&nbsp;
<input name="nome" type="text" class="input_text" id="nome" size="62" maxlength="60" value="<? echo $_SESSION["nome"] ?>">
</div></td>
                </tr>
                <tr>
                  <td width="21%" height="20" class="verdana1"> <div align="right">Cidade :</div></td>
            <td height="25"><div align="left">&nbsp;&nbsp;
              <input name="cidade" type="text" class="input_text_medio" id="cidade" size="62" maxlength="60" value="<? echo $_SESSION["cidade"] ?>"></div></td>
                </tr>
                                <tr>
                  <td width="21%" height="20" class="verdana1"> <div align="right">Estado :</div></td>
            <td height="25"><div align="left">&nbsp;&nbsp;                      
                  <select name="uf" class="input_uf" style="width: 200px;">
                  <option selected>.. Escolha o Estado ..</option>
                  <option value="ACRE" <? if ($_SESSION["uf"]=="ACRE") echo "selected"; ?>>ACRE</option>
                  <option value="ALAGOAS" <? if ($_SESSION["uf"]=="ALAGOAS") echo "selected"; ?>>ALAGOAS</option>
                  <option value="AMAPÁ" <? if ($_SESSION["uf"]=="AMAPÁ") echo "selected"; ?>>AMAPÁ</option>
                  <option value="AMAZONAS" <? if ($_SESSION["uf"]=="AMAZONAS") echo "selected"; ?>>AMAZONAS</option>
                  <option value="BAHIA" <? if ($_SESSION["uf"]=="BAHIA") echo "selected"; ?>>BAHIA</option>
                  <option value="CEARÁ" <? if ($_SESSION["uf"]=="CEARÁ") echo "selected"; ?>>CEARÁ</option>
                  <option value="DISTRITO FEDERAL" <? if ($_SESSION["uf"]=="DISTRITO FEDERAL") echo "selected"; ?>>DISTRITO FEDERAL</option>
                  <option value="ESPÍRITO SANTO" <? if ($_SESSION["uf"]=="ESPÍRITO SANTO") echo "selected"; ?>>ESPÍRITO SANTO</option>
                  <option value="GOIÁS" <? if ($_SESSION["uf"]=="GOIÁS") echo "selected"; ?>>GOIÁS</option>
                  <option value="MARANHÃO" <? if ($_SESSION["uf"]=="MARANHÃO") echo "selected"; ?>>MARANHÃO</option>
                  <option value="MATO GROSSO" <? if ($_SESSION["uf"]=="MATO GROSSO") echo "selected"; ?>>MATO GROSSO</option>
                  <option value="MATO GROSSO DO SUL" <? if ($_SESSION["uf"]=="MATO GROSSO DO SUL") echo "selected"; ?>>MATO GROSSO DO SUL</option>
                  <option value="MINAS GERAIS" <? if ($_SESSION["uf"]=="MINAS GERAIS") echo "selected"; ?>>MINAS GERAIS</option>
                  <option value="PARANÁ" <? if ($_SESSION["uf"]=="PARANÁ") echo "selected"; ?>>PARANÁ</option>
                  <option value="PARAÍBA" <? if ($_SESSION["uf"]=="PARAÍBA") echo "selected"; ?>>PARAÍBA</option>
                  <option value="PARÁ" <? if ($_SESSION["uf"]=="PARÁ") echo "selected"; ?>>PARÁ</option>
                  <option value="PERNAMBUCO" <? if ($_SESSION["uf"]=="PERNAMBUCO") echo "selected"; ?>>PERNAMBUCO</option>
                  <option value="PIAUÍ" <? if ($_SESSION["uf"]=="PIAUÍ") echo "selected"; ?>>PIAUÍ</option>
                  <option value="RIO DE JANEIRO" <? if ($_SESSION["uf"]=="RIO DE JANEIRO") echo "selected"; ?>>RIO DE JANEIRO</option>
                  <option value="RIO GRANDE DO NORTE" <? if ($_SESSION["uf"]=="RIO GRANDE DO NORTE") echo "selected"; ?>>RIO GRANDE DO NORTE</option>
                  <option value="RIO GRANDE DO SUL" <? if ($_SESSION["uf"]=="RIO GRANDE DO SUL") echo "selected"; ?>>RIO GRANDE DO SUL</option>
                  <option value="RONDÔNIA" <? if ($_SESSION["uf"]=="RONDÔNIA") echo "selected"; ?>>RONDÔNIA</option>
                  <option value="RORAIMA" <? if ($_SESSION["uf"]=="RORAIMA") echo "selected"; ?>>RORAIMA</option>
                  <option value="SANTA CATARINA" <? if ($_SESSION["uf"]=="SANTA CATARINA") echo "selected"; ?>>SANTA cATARINA</option>
                  <option value="SÃO PAULO" <? if ($_SESSION["uf"]=="SÃO PAULO") echo "selected"; ?>>SÃO PAULO</option>
                  <option value="SERGIPE" <? if ($_SESSION["uf"]=="SERGIPE") echo "selected"; ?>>SERGIPE</option>
                  <option value="TOCANTINS" <? if ($_SESSION["uf"]=="TOCANTINS") echo "selected"; ?>>TOCANTINS</option>
                </select>
            </div></td>
                </tr>
                <tr>
                  <td width="21%" height="20" class="verdana1"><div align="right">Seu e-mail :</div></td>
                  <td height="25">&nbsp;&nbsp;
                    <input name="email" type="text" class="input_text" id="email" size="62" maxlength="60" value="<? echo $_SESSION["email"] ?>"></td>
                </tr>
                <tr> 
                  <td width="21%" height="10" class="verdana1"><div align="right">Telefone :</div></td>
                  <td height="25">&nbsp;&nbsp;
                    <input name="telefone" type="text" class="input_tel" id="telefone" size="62" maxlength="60" value="<? echo $_SESSION["telefone"] ?>">
                    (99) 9999-9999</td>
                </tr>
                <tr> 
                  <td width="21%" height="10" class="verdana1"><div align="right">Celular :</div></td>
                  <td height="25">&nbsp;&nbsp;
                    <input name="telefone2" type="text" class="input_tel" id="telefone2" size="62" maxlength="60" value="<? echo $_SESSION["telefone2"] ?>">
                    (99) 9999-9999</td>
                </tr>                
                <tr>
                  <td width="21%" height="25" class="verdana1">&nbsp;</td>
                  <td>&nbsp;</td>
                </tr>
                <tr> 
                  <td width="21%" height="20" class="verdana1"> <div align="right" >Assunto :</div></td>
                  <td width="79%" height="25" class="verdana1"><div align="left">&nbsp;&nbsp;&nbsp;
<input name="assunto" type="text" class="input_text" id="assunto" size="62" maxlength="60" value="<? echo $_SESSION["assunto"] ?>">
</div></td>
                </tr>                
                <tr> 
                  <td width="21%" class="verdana1"><div align="right">Mensagem :</div></td>
                <td rowspan="2"><div align="left">&nbsp; 
                      <textarea name="texto" cols="50" rows="10" style="width: 400px;" class="input_text_area" ><? echo $_SESSION["texto"] ?></textarea>
                    </div></td>
                 </tr>
                <tr>
                  <td><div align="center"></div></td>
                </tr>
                <tr>
                  <td width="21%" height="7" rowspan="2">&nbsp;</td>
                  <td height="6">&nbsp;&nbsp;&nbsp;Este &eacute; o seu IP: <? echo $_SERVER['REMOTE_ADDR']; ?></td>
                </tr>
                <tr>
                  <td height="6">&nbsp;</td>
                </tr>
                <tr>
                  <td height="3"><div align="center"></div></td>
                  <td height="3">Digite o c&oacute;digo de seguran&ccedil;a da imagem:</td>
                </tr>
                <tr>
                  <td width="21%" height="3">&nbsp;</td>
                  <td height="3">
                    <div align="left">
                      <input name="minhaPalavra" type="text" />
                      </div></td>
                </tr>
                <tr>
                  <td width="21%" height="7">&nbsp;</td>
                  <td height="7"><div align="left"><img src="img.php" alt="" /></div></td>
                </tr>
                <tr> 
                  <td></td>
                  <td><div align="right">
                    <input name="Submit" type="submit" class="botao1" style="cursor:hand" value="Enviar Solicitação">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div></td>
                </tr>
                <tr> 
                  <td height="20" colspan="2">
<div align="center"></div></td>
                </tr>
              </table>
            </form>										
                                         
											
                                    </div></td>
                                  </tr>
                                  <tr>
                                    <td valign="top" class="font11b">&nbsp;</td>
                                  </tr>
                              </table>
</td>
                                  </tr>
                              </table>                              
      <!--fim--><br /><br />
</div>
<div id="mainContent_right_i">
<br /><? echo "<span class='textosimples'>".$mostra_data."&nbsp;</span>"; ?><br />
<? include("menu_lateral_direito.php"); ?>

</div>

</div>

</div>

  <div id="footer_i">
    <p><br />
     <? //echo include("rodape.php"); ?></p>
    </div>

</div> 
<? include("rodape.php"); ?>    
</body>
</html>
