Jump to content
Fórum Script Brasil
  • 0

(Resolvido) Paginação não funciona com o IE


karlosrapanui

Question

Pessoal, boa tarde

Tenho esse script de pesquisa que gera uma paginação

http://www.casaeoferta.com.br/combo.pesqui...stadosTESTE.php

O problema é que no Firefox funciona legal, porem no IE não.

alguém tem uma ideia do que possa ser ?

O código da paginacao é essa

<?php
require_once('Connections/connTiposImoveis.php');
// FILTRO NO TOPO
$passo = isset($_GET['passo']) ? $_GET['passo'] : '';

if ($passo == 2) {
   if(isset($_POST['procura'])){
      $procura = $_POST['procura'];
      session_start();
      $procura=$_SESSION['procura'];
   }

   $cidade = $_GET['cidade'];
   session_start();
   $_SESSION['cidade'] = $_GET["cidade"];
   $cidade=$_SESSION['cidade'];
}
// FIM FILTRO NO TOPO

if(isset($_POST['pageNum_rsExibirImoveis'])){
  $pageNum_rsExibirImoveis = $_POST['pageNum_rsExibirImoveis'];
}

if ($pageNum_rsExibirImoveis == ""){
    session_start();
    $_SESSION['opcao'] = $_POST["rd-opcao"];
    $opcao=$_SESSION['opcao'];

    if ($passo <> 2) {
       session_start();
       $_SESSION['cidade'] = $_POST["cidade"];
       $cidade=$_SESSION['cidade'];
    }

    session_start();
    $_SESSION['tipoimovel'] = $_POST["tipoimovel"];
    $tipoimovel=$_SESSION['tipoimovel'];

    session_start();
    $_SESSION['vlrAluguelDE'] = $_POST["vlrAluguelDE"];
    $vlrAluguelDE=$_SESSION['vlrAluguelDE'];

    session_start();
    $_SESSION['vlrAluguelATE'] = $_POST["vlrAluguelATE"];
    $vlrAluguelATE=$_SESSION['vlrAluguelATE'];

    session_start();
    $_SESSION['de'] = $_POST["de"];
    $de=$_SESSION['de'];

    session_start();
    $_SESSION['ate'] = $_POST["ate"];
    $ate=$_SESSION['ate'];

    session_start();
    $_SESSION['imobiliaria'] = $_POST["imobiliaria"];
    $imobiliaria=$_SESSION['imobiliaria'];

    session_start();
    $_SESSION['bairro'] = $_POST["bairro"];
    $bairro=$_SESSION['bairro'];

    session_start();
    $_SESSION['dormitorios'] = $_POST["dormitorios"];
    $dormitorios=$_SESSION['dormitorios'];

    session_start();
    $_SESSION['suites'] = $_POST["suites"];
    $suites=$_SESSION['suites'];

    session_start();
    $_SESSION['garagem'] = $_POST["garagem"];
    $garagem=$_SESSION['garagem'];
}elseif ($pageNum_rsExibirImoveis != ""){
    session_start();
    $opcao=$_SESSION['opcao'];

    if ($passo <> 2) {
       session_start();
       $cidade=$_SESSION['cidade'];
    }

    session_start();
    $de=$_SESSION['de'];

    session_start();
    $ate=$_SESSION['ate'];

    session_start();
    $tipoimovel=$_SESSION['tipoimovel'];

    session_start();
    $imobiliaria=$_SESSION['imobiliaria'];

    session_start();
    $bairro=$_SESSION['bairro'];

    session_start();
    $dormitorios=$_SESSION['dormitorios'];

    session_start();
    $suites=$_SESSION['suites'];

    session_start();
    $garagem=$_SESSION['garagem'];
}

mysql_query("SET NAMES 'latin1'");
mysql_query('SET character_set_connection=latin1');
mysql_query('SET character_set_client=latin1');
mysql_query('SET character_set_results=latin1');
?>

<?
if ($pageNum_rsExibirImoveis == ""){
if ($passo <> 2){
   if (($opcao == '') or ($estado == '') or ($cidade == '')) {
      echo "<script type=\"text/javascript\">window.alert(\"Dados insuficientes para pesquisar\")</script>";
      echo "<script language= \"JavaScript\">";
      echo "location.href=\"index.php\"";
      echo "</script>";
   }
}}
?>

<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
  $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;

  $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  }
  return $theValue;
}
}

$maxRows_rsExibirImoveis = 15;
$pageNum_rsExibirImoveis = 0;
if (isset($_GET['pageNum_rsExibirImoveis'])) {
  $pageNum_rsExibirImoveis = $_GET['pageNum_rsExibirImoveis'];
}
$startRow_rsExibirImoveis = $pageNum_rsExibirImoveis * $maxRows_rsExibirImoveis;

mysql_select_db($database_connTiposImoveis, $connTiposImoveis);

$query_rsExibirImoveis = sprintf("select l.id, l.catrc, l.codimb, l.bairro, c.cidade cidadeimovel, l.foto1, l.obs, l.vvenda, l.vlocacao, l.endereco, l.nro, l.idtipo, l.ndorm, l.nsuites, l.nvagas, b.bairro nomebairro, t.tipo, i.id idimob, i.imobiliaria, i.endereco enderecoimob, i.nro numeroimob, i.bairro bairroimob, i.uf ufimob, i.cep cepimob,
i.telefone telefoneimob, i.email,  i.site, i.logotipo, i.cnpj FROM imobiliarias i, imoveis l, cidades c, bairros b, tipos t
WHERE l.liberacao = 'on'
AND   l.cliente   = i.cnpj
AND   l.idtipo    = t.codigo
AND   l.cidade    = c.codigo
AND   l.bairro    = b.codigo
AND   c.codigo    = b.codcidade
AND   l.cidade    = $cidade ");

// SE VIER PESQUISA DO TOPO
if ($passo == 2) {
   $query_rsExibirImoveis = $query_rsExibirImoveis."AND ((l.codimb      like '%$procura%') or
                                                         (i.imobiliaria like '%$procura%') or
                                                         (i.endereco    like '%$procura%') or
                                                         (i.telefone    like '%$procura%') or
                                                         (i.historico   like '%$procura%') or
                                                         (l.vvenda      like '%$procura%') or
                                                         (l.vlocacao    like '%$procura%') or
                                                         (l.endereco    like '%$procura%') or
                                                         (l.nro         like '%$procura%') or
                                                         (l.obs         like '%$procura%') or
                                                         (c.cidade      like '%$procura%') or
                                                         (t.tipo        like '%$procura%') or
                                                         (b.bairro      like '%$procura%')) ";
}else{
   // TIPO DO IMOVEL
   if ($tipoimovel <> '') {
      $query_rsExibirImoveis = $query_rsExibirImoveis."AND l.idtipo = $tipoimovel ";
   }

   // ALUGAR / TEMPORADA
   if (($opcao == 1) or ($opcao == 3)) {
      if (($de+$ate) > 0)
         {
         $query_rsExibirImoveis = $query_rsExibirImoveis."AND l.vlocacao BETWEEN '$de' and '$ate' ";
         }else{
         $query_rsExibirImoveis = $query_rsExibirImoveis."AND l.vlocacao > 0 ";
      }
      if (($vlrAluguelDE+$vlrAluguelATE) > 0)
         {
         $query_rsExibirImoveis = $query_rsExibirImoveis."AND l.vlocacao BETWEEN '$vlrAluguelDE' and '$vlrAluguelATE' ";
         }else{
         $query_rsExibirImoveis = $query_rsExibirImoveis."AND l.vlocacao > 0 ";
      }
   }
   // VENDA
   if ($opcao == 2) {
      if (($de+$ate) > 0)
         {
         $query_rsExibirImoveis = $query_rsExibirImoveis."AND l.vvenda BETWEEN '$de' and '$ate' ";
         }else{
         $query_rsExibirImoveis = $query_rsExibirImoveis."AND l.vvenda > 0 ";
     }
      if (($vlrAluguelDE+$vlrAluguelATE) > 0)
         {
         $query_rsExibirImoveis = $query_rsExibirImoveis."AND l.vvenda BETWEEN '$de' and '$ate' ";
         }else{
         $query_rsExibirImoveis = $query_rsExibirImoveis."AND l.vvenda > 0 ";
      }
   }

   // IMOBILIARIA
   if ($imobiliaria <> '') {
      $query_rsExibirImoveis = $query_rsExibirImoveis."AND i.id = $imobiliaria ";
   }

   // BAIRRO
   if ($bairro <> '') {
      $query_rsExibirImoveis = $query_rsExibirImoveis."AND l.bairro = '$bairro' ";
   }

   // DORMITORIOS
   if ($dormitorios <> '') {
      $query_rsExibirImoveis = $query_rsExibirImoveis."AND l.ndorm <= $dormitorios ";
   }

   // SUITES
   if ($suites <> '') {
      $query_rsExibirImoveis = $query_rsExibirImoveis."AND l.nsuites <= $suites ";
   }

   // GARAGENS
   if ($garagem <> '') {
      $query_rsExibirImoveis = $query_rsExibirImoveis."AND l.nvagas <= $garagem ";
   }
}
$query_rsExibirImoveis = $query_rsExibirImoveis."ORDER BY l.vvenda, l.vlocacao ";

// SE FOR PASSO 2
if ($passo == 2) {
   $maxRows_rsExibirImoveis = 30;
   $query_limit_rsExibirImoveis = sprintf("%s LIMIT %d, %d", $query_rsExibirImoveis, $startRow_rsExibirImoveis, $maxRows_rsExibirImoveis);
}else{
   $query_limit_rsExibirImoveis = sprintf("%s LIMIT %d, %d", $query_rsExibirImoveis, $startRow_rsExibirImoveis, $maxRows_rsExibirImoveis);
}

$rsExibirImoveis     = mysql_query($query_limit_rsExibirImoveis, $connTiposImoveis) or die(mysql_error());
$row_rsExibirImoveis = mysql_fetch_assoc($rsExibirImoveis);

// SE NÃO FOR ENCONTRADO NENHUM REGISTRO
$countImoveis = mysql_num_rows($rsExibirImoveis);

if (isset($_GET['totalRows_rsExibirImoveis'])) {
  $totalRows_rsExibirImoveis = $_GET['totalRows_rsExibirImoveis'];
} else {
  $all_rsExibirImoveis       = mysql_query($query_rsExibirImoveis);
  $totalRows_rsExibirImoveis = mysql_num_rows($all_rsExibirImoveis);
}
$totalPages_rsExibirImoveis = ceil($totalRows_rsExibirImoveis/$maxRows_rsExibirImoveis)-1;

$paginaTotal = $totalPages_rsExibirImoveis;

if ($paginaTotal == 0) {
   $paginaTotal = 1;
}

//print $query_rsExibirImoveis; exit;
?>

<? include("login.php"); ?>
<style type="text/css">
.bannerHolder1 {    float:center;
    margin:01px;
    padding:11px;
    background:#f7f7f7;
    border:1px solid #eee;
    /* CSS3 rounded corners */

    -moz-border-radius:12px;
    -webkit-border-radius:12px;
    border-radius:12px;
}
</style>

<!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"><!-- InstanceBegin template="/Templates/casaeoferta_newsletter.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>CASAeOFERTA . Seu Portal de Im&oacute;veis e Contru&ccedil;&atilde;o Civil</title>

<script>
function abrir(pagina,largura,altura) {

//pega a resolução do visitante
w = screen.width;
h = screen.height;

//divide a resolução por 2, obtendo o centro do monitor
meio_w = w/2;
meio_h = h/2;

//diminui o valor da metade da resolução pelo tamanho da janela, fazendo com q ela fique centralizada
altura2 = altura/2;
largura2 = largura/2;
meio1 = meio_h-altura2;
meio2 = meio_w-largura2;

//abre a nova janela, já com a sua devida posição
window.open(pagina,'','height=' + altura + ', width=' + largura + ', top='+meio1+', left='+meio2+'');
}
</script>


<!-- Script Inicio -->
<script type="text/javascript">

 var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-20021812-1']);
  _gaq.push(['_trackPageview']);

 (function() {
  var ga = document.createElement('script'); ga.type = 'text/javascript';
 ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : ' http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0];
 s.parentNode.insertBefore(ga, s);
  })();

 </script>
 <!-- Script Final -->


    <?

  $v = $_SERVER["SCRIPT_NAME"];
     $vb script: abrir('login_vai.php','400','200');" alt="Efetuar login no sistema" />
  <area shape="rect" coords="17,26,104,42" href="anuncie.php" target="_blank" alt="Cadastrar an&uacute;ncio" />
  <area shape="rect" coords="113,3,204,40" href="lista.php?acao=verlista" target="_blank" alt="Minha lista" />
</map>
<map name="MapMap" id="MapMap">
  <area shape="rect" coords="5,23,51,65" href="http://twitter.com/CasaeOferta" target="_blank" />
  <area shape="rect" coords="83,22,129,67" href=" http://www.orkut.com.br/Main#Profile?rl=pv&amp;uid=4508085633589609255" target="_blank" />
  <area shape="rect" coords="216,23,260,64" href="http://www.facebook.com/profile.php?id=100001401053262&amp;ref=search" target="_blank" />
  <area shape="rect" coords="148,23,194,68" href="http://www.youtube.com/user/CASAeOFERTA" target="_blank" />
</map>
</form>
</th>
      </tr>
    </table></th>
  </tr>

  <tr>
    <td colspan="2" valign="top" bgcolor="#094D7E"><table width="100%" border="0" cellpadding="3" cellspacing="0" bordercolor="#094D7E" bgcolor="#094D7E">
        <tr>
          <td width="24%" bgcolor="#094D7E">


          <center>
            <?php include ('rotinaBannerHome.php');
          // EXIBIR BANNER 1
          if (file_exists($localBanner1)) {
                echo "<a href='$linkBanner1' target='_blank' rel='lightbox[roadtrip]'>";
                echo "<img src='$localBanner1' border=\'0\' width=200 height=85 /></a>";
             }else{
                echo "<img src='images/casaeoferta.jpg' width=200 height=85 />";
             }
          ?>
          </center>          </td>
          <td width="56%" rowspan="3" valign="middle" nowrap="nowrap" bgcolor="#094D7E">
          <center>
          <?php include ('rotinaBannerHome.php');
          // EXIBIR BANNER 3
          if (file_exists($localBanner3)) {
             echo "<a href='$linkBanner3' target='_blank' rel='lightbox[roadtrip]'>";
             echo "<img src='$localBanner3' width=480 height=180 /></a>";
          }else{
             echo "<img src='images/casaeoferta.jpg' width=480 height=180 />";
          }
          ?>
          </center>                    </td>
          <td width="24%" rowspan="2" valign="middle" bgcolor="#094D7E">
          <center>
          <?php include ('rotinaBannerHome.php');
          // EXIBIR BANNER 4
          if (file_exists($localBanner4)) {
             echo "<a href='$linkBanner4' target='_blank' rel='lightbox[roadtrip]'>";
             echo "<img src='$localBanner4' width=200 height=85 /></a>";
          }else{
             echo "<img src='images/casaeoferta.jpg' width=200 height=85 />";
          }
          ?>
          </center>          </td>
        </tr>

        <tr>
          <td rowspan="2" valign="middle" bgcolor="#094D7E">
          <center>
          <?php include ('rotinaBannerHome.php');
          // EXIBIR BANNER 2
          if (file_exists($localBanner2)) {
             echo "<a href='$linkBanner2' target='_blank' rel='lightbox[roadtrip]'>";
             echo "<img src='$localBanner2' width=200 height=85 /></a>";
          }else{
             echo "<img src='images/casaeoferta.jpg' width=200 height=85 />";
          }
          ?>
          </center>                    </td>
        </tr>

        <tr>
          <td width="24%" valign="middle" bgcolor="#094D7E">
          <center>
          <?php include ('rotinaBannerHome.php');
          // EXIBIR BANNER 5
          if (file_exists($localBanner5)) {
             echo "<a href='$linkBanner5' target='_blank' rel='lightbox[roadtrip]'>";
             echo "<img src='$localBanner5' width=200 height=85 /></a>";
          }else{
             echo "<img src='images/casaeoferta.jpg' width=200 height=85 />";
          }
          ?>
          </center>                    </td>
        </tr>
      </table>
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td bgcolor="#094D7E"><center>
          <!-- InstanceBeginEditable name="combohome" -->







<!-- INICIO DO NUMERO DE PAGINAS -->
<table width="903" align="center">
  <tr>



<?php if($countImoveis > 0){ ?>
    <th width="20%" scope="col"><div align="left"><font color="#FFFFFF">
    Exibindo: <?php echo $pageNum_rsExibirImoveis + 1; ?> de <?php echo $paginaTotal + 1; ?> </font></div></th>
<?php } ?>
    <th width="20%" scope="col"><center><?php if ($pageNum_rsExibirImoveis > 0) { // Show if not first page ?>
                      <a href="<?php printf("%s?pageNum_rsExibirImoveis=%d%s", $currentPage, 0, $queryString_rsExibirImoveis); ?>">
                      <input type="button" value="&lt;&lt;&nbsp;In&iacute;cio" class="botao" name="B2" style="width:110px;"></a>
                      <?php } // Show if not first page ?>
    </center>    </th>
    <th width="20%" scope="col"><center> <?php if ($pageNum_rsExibirImoveis > 0) { // Show if not first page ?>
                      <a href="<?php printf("%s?pageNum_rsExibirImoveis=%d%s", $currentPage, max(0, $pageNum_rsExibirImoveis - 1), $queryString_rsExibirImoveis); ?>">
                      <input type="button" value="&lt;&lt;&nbsp;Anterior" class="botao" name="B2" style="width:110px;"></a>
                      <?php } // Show if not first page ?>
    </center>    </th>


    <th width="20%" scope="col"><center><?php if ($pageNum_rsExibirImoveis < $totalPages_rsExibirImoveis) { // Show if not last page ?>
                      <a href="<?php printf("%s?pageNum_rsExibirImoveis=%d%s", $currentPage, min($totalPages_rsExibirImoveis, $pageNum_rsExibirImoveis + 1), $queryString_rsExibirImoveis); ?>">
<input type="button" value="Pr&oacute;xima&nbsp;&gt;&gt;" class="botao" name="B2" style="width:110px;"></a>
                      <?php } // Show if not last page ?>
    </center>    </th>


    <th width="20%" scope="col"><center><?php if ($pageNum_rsExibirImoveis < $totalPages_rsExibirImoveis) { // Show if not last page ?>
                    <a href="<?php printf("%s?pageNum_rsExibirImoveis=%d%s", $currentPage, $totalPages_rsExibirImoveis, $queryString_rsExibirImoveis); ?>"><input type="button" value="&Uacute;ltima" class="botao" name="B2" style="width:110px;"></a>
                      <?php } // Show if not last page ?>
    </center>    </th>
  </tr>
</table>
<?php //} ?>
<!-- FIM DO NUMERO DE PAGINAS -->








<table width="903" align="center" bordercolor="#FFFFFF">
<tr>
            <td width="869" valign="top">

<!-- INICIO DA PAGINAÇÃO -->
    <?php
         if($countImoveis > 0){
    ?>
    <?php do { ?>
        <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="bannerHolder1" id="primeira" style="background-color:#F6F7F9; border: 1px solid #E5E5E5">
          <tr bgcolor="#FFFFFF">
            <!-- LOGOTIPO -->
            <td width="126" height="30" valign="middle" bgcolor="#F6F7F9"><div align="center">
                <?php
                       $localfoto = "imoveis/".$row_rsExibirImoveis["foto1"];
                       if (file_exists($localfoto)) {
                       ?>

<a href="verimoveis.php?id=<? echo $row_rsExibirImoveis['id']; ?>" target="_blank"><img src='<?php echo $localfoto; ?>' class="thumb"/></a></a>








                <?php
                       } else {
                         echo "<img src='images/casaeoferta.jpg' class=\"thumb\" />";
                       }
                    ?>
              </div>


                <div align="center"></div></td>
            <td width="477" valign="top" bgcolor="#F6F7F9"><div align="left"><strong><font style="font-size:17px; font-family:Tahoma, Geneva, sans-serif;"><?php echo strtoupper($row_rsExibirImoveis['tipo']); ?> <?php echo htmlentities($row_rsExibirImoveis['nomebairro']); ?></font><font face="Geneva, Arial, Helvetica, sans-serif"><br />
                      </font></strong><font face="Geneva, Arial, Helvetica, sans-serif"> <a href="verimoveis.php?id=<? echo $row_rsExibirImoveis['id']; ?>" target="_blank"><font color="#000000"> <?php echo htmlentities(substr($row_rsExibirImoveis['obs'],0,300)); ?></font></a></font> <br />
                    <br />
                    <strong><font face="Geneva, Arial, Helvetica, sans-serif"><font size="3"><?php echo htmlentities($row_rsExibirImoveis['cidadeimovel']); ?></font></font></strong></div></td>
            <td width="289" bgcolor="#F6F7F9"><div align="center"><strong><font color="#FF0000" size="4" face="Geneva, Arial, Helvetica, sans-serif"></font><font color="#FF0000" face="Geneva, Arial, Helvetica, sans-serif"><font size="4">
                <?php
                            if ($passo != 2) {
                                echo 'R$&nbsp;';

                               if ($opcao == 1) {
                                  echo number_format($row_rsExibirImoveis['vlocacao'], 2 , ',' , '.');
                               }
                               if ($opcao == 2) {
                                  echo number_format($row_rsExibirImoveis['vvenda'], 2 , ',' , '.');
                               }
                               if ($opcao == 3) {
                                  echo number_format($row_rsExibirImoveis['vlocacao'], 2 , ',' , '.');
                               }
                            }
                            ?>
                </font></font><font face="Geneva, Arial, Helvetica, sans-serif"> <br />
                <br />
                <font color="#000000" size="3"> <?php echo htmlentities($row_rsExibirImoveis['imobiliaria']); ?></font></font> <font face="Geneva, Arial, Helvetica, sans-serif"><br />
                <font size="3"> <?php echo $row_rsExibirImoveis['telefoneimob']; ?></font></font></strong><br />
                <strong><br />
                <font color="#FF0000"> <a href="perfilimob.php?id=<?=$row_rsExibirImoveis['cnpj']?>" target="_blank"><img src="images/bt_maisinfo.jpg" width="156" height="22" /></a></font> </a></strong><br />
            </div></td>
          </tr>
        </table>
        <br />

          <?php } while ($row_rsExibirImoveis = mysql_fetch_assoc($rsExibirImoveis)); ?>
<? }else{
    // não ACHOU NADA<p></p>
    echo "<table border=0 align=center>";
    echo "  <tr>";
    echo "    <td><img src=images/nenhum_resultado.png /></td>";
    echo "  </tr>";
    echo "</table>";
}
?>            </td>
     <td width="22" valign="top">
    <p align="right">
        <?php
        if($countImoveis > 0){
          include('banner.paginacao.exibir_banner.imoveis.php');
        }
        ?>
    </p></td>
      </tr>
        </table>




<!-- INICIO DO NUMERO DE PAGINAS -->
<table width="903" align="center">
  <tr>
<!--
<?php if($countImoveis > 0){ ?>
    <th width="20%" scope="col"><div align="left"><font color="#FFFFFF">
    Exibindo: <?php echo $pageNum_rsExibirImoveis + 1; ?> de <?php echo $paginaTotal + 1; ?> </font></div></th>
<?php } ?>

    <th width="20%" scope="col"><center><?php if ($pageNum_rsExibirImoveis > 0) { // Show if not first page ?>
                      <a href="<?php printf("%s?pageNum_rsExibirImoveis=%d%s", $currentPage, 0, $queryString_rsExibirImoveis); ?>">
                      <input type="button" value="&lt;&lt;&nbsp;In&iacute;cio" class="botao" name="B2" style="width:110px;"></a>
                      <?php } // Show if not first page ?>
    </center>    </th>
    <th width="20%" scope="col"><center> <?php if ($pageNum_rsExibirImoveis > 0) { // Show if not first page ?>
                      <a href="<?php printf("%s?pageNum_rsExibirImoveis=%d%s", $currentPage, max(0, $pageNum_rsExibirImoveis - 1), $queryString_rsExibirImoveis); ?>">
                      <input type="button" value="&lt;&lt;&nbsp;Anterior" class="botao" name="B2" style="width:110px;"></a>
                      <?php } // Show if not first page ?>
    </center>    </th>
    <th width="20%" scope="col"><center><?php if ($pageNum_rsExibirImoveis < $totalPages_rsExibirImoveis) { // Show if not last page ?>
                      <a href="<?php printf("%s?pageNum_rsExibirImoveis=%d%s", $currentPage, min($totalPages_rsExibirImoveis, $pageNum_rsExibirImoveis + 1), $queryString_rsExibirImoveis); ?>">
<input type="button" value="Pr&oacute;xima&nbsp;&gt;&gt;" class="botao" name="B2" style="width:110px;"></a>
                      <?php } // Show if not last page ?>
    </center>    </th>
    <th width="20%" scope="col"><center><?php if ($pageNum_rsExibirImoveis < $totalPages_rsExibirImoveis) { // Show if not last page ?>
                    <a href="<?php printf("%s?pageNum_rsExibirImoveis=%d%s", $currentPage, $totalPages_rsExibirImoveis, $queryString_rsExibirImoveis); ?>"><input type="button" value="&Uacute;ltima" class="botao" name="B2" style="width:110px;"></a>
                      <?php } // Show if not last page ?>
    </center>    </th>
  </tr>
</table>
<?php //} ?>
<!-- FIM DO NUMERO DE PAGINAS -->


<!-- InstanceEndEditable -->
          </center>          </td>
        </tr>
      </table>    </td>
  </tr>
  <tr>
    <td colspan="2">

    <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td></td>
  </tr>
  <tr>
    <td>


<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td colspan="4" align="center" valign="bottom" bgcolor="#094D7E">&nbsp;</td>
  </tr>
  <tr>
    <td height="10" colspan="4" align="center" valign="bottom" bgcolor="#FFFFFF"> <!-- InstanceBeginEditable name="conteudo" -->



    <!-- InstanceEndEditable -->
      <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr bgcolor="#094D7E">
          <td width="20%"><center>
            <?php include ('rotinaBannerHome.php');
        // EXIBIR BANNER 6
          if (file_exists($localBanner6)) {
           echo "<a href='$linkBanner6' target='_blank' rel='lightbox[roadtrip]'>";
           echo "<img src='$localBanner6' width=170 height=60 /></a>";
        }else{
           echo "<img src='images/casaeoferta.jpg' width=170 height=60 />";
        }
        ?>
          </center></td>
          <td width="20%"><center>
            <?php include ('rotinaBannerHome.php');
        // EXIBIR BANNER 7
          if (file_exists($localBanner7)) {
           echo "<a href='$linkBanner7' target='_blank' rel='lightbox[roadtrip]'>";
           echo "<img src='$localBanner7' width=170 height=60 /></a>";
        }else{
           echo "<img src='images/casaeoferta.jpg' width=170 height=60 />";
        }
        ?>
          </center></td>
          <td width="20%"><center>
            <?php include ('rotinaBannerHome.php');
        // EXIBIR BANNER 8
          if (file_exists($localBanner8)) {
           echo "<a href='$linkBanner8' target='_blank' rel='lightbox[roadtrip]'>";
           echo "<img src='$localBanner8' width=170 height=60 /></a>";
        }else{
           echo "<img src='images/casaeoferta.jpg' width=170 height=60 />";
        }
        ?>
          </center></td>
          <td width="20%"><center>
            <?php include ('rotinaBannerHome.php');
        // EXIBIR BANNER 9
          if (file_exists($localBanner9)) {
           echo "<a href='$linkBanner9' target='_blank' rel='lightbox[roadtrip]'>";
           echo "<img src='$localBanner9' width=170 height=60 /></a>";
        }else{
           echo "<img src='images/casaeoferta.jpg' width=170 height=60 />";
        }
        ?>
          </center></td>
          <td width="20%"><center>
            <?php include ('rotinaBannerHome.php');
        // EXIBIR BANNER 10
          if (file_exists($localBanner10)) {
           echo "<a href='$linkBanner10' target='_blank' rel='lightbox[roadtrip]'>";
           echo "<img src='$localBanner10' width=170 height=60 /></a>";
        }else{
           echo "<img src='images/casaeoferta.jpg' width=170 height=60 />";
        }
        ?>
          </center></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td colspan="4" align="center" valign="bottom" bgcolor="#336699"><img src="topo_ultimos.png" width="259" height="27" /></td>
    </tr>
  <tr>
    <td align="center" valign="top"><img src="images/topo_imoveis.jpg"  /></td>
    <td align="center" valign="top"><img src="images/topo_prod.jpg"  /></td>
    <td align="center" valign="top"><img src="images/topo_cr.jpg"  /></td>
    <td align="center"  valign="top"><img src="images/topo_imb.jpg"  /></td>
  </tr>
  <tr>
    <td width="25%" align="center" valign="top">

    <?

                   $sql_txt="select l.id idi, l.foto1 foto1, vvenda, vlocacao, idacao, idtipo, l.bairro bairro, l.cidade cidade from imoveis l, anuncios a, imobiliarias ii
                   where
                   liberacao='on' and ii.cnpj = l.cliente and ii.status = 'on'
                   and l.id=idimovel
                   ";


                   $sql_txt=$sql_txt." order by l.id DESC LIMIT 5";

                //echo "SQL: ".$sql_txt;
                //echo mysql_error();
                $sql=mysql_query($sql_txt,$db);
              if (!$sql) {echo "Houve um erro de MySQL 2"; echo mysql_error();}
                else if (mysql_num_rows($sql) > 0) {
                 $i=0;
                   while (@$x=mysql_fetch_object($sql)){
                        $idz[$i]=$x->idi;
                        $foto[$i]= $x->foto1;
                        $endereco[$i]= $x->endereco;
                        $nro[$i]=$x->nro;
                        //
                        $txt="select cidade from cidades where codigo=$x->cidade";
                        //echo $txt;
                        $sqla=mysql_query($txt,$db);
                        @$yy=mysql_fetch_object($sqla);
                        $cidadea[$i]= $yy->cidade;

                        //
                        $txt="select bairro from bairros where codigo=$x->bairro";
                        //echo $txt;
                        $sqla=mysql_query($txt,$db);
                        @$yy=mysql_fetch_object($sqla);
                        //
                        $bairroa[$i]= $yy->bairro;
                        //
                        $txt="select tipo from tipos where codigo=$x->idtipo";
                        //echo $txt;
                        $sqla=mysql_query($txt,$db);
                        @$yy=mysql_fetch_object($sqla);

                        //
                        $tipoa[$i]= $yy->tipo;

                        $idacao[$i] = $x->idacao;
                        $vvenda[$i] = $x->vvenda;
                        $vlocacao[$i] = $x->vlocacao;

                        $i++;

                   }

                //echo $i; ?>

  <table border="0" width="98%" cellpadding="4" cellspacing="3" align="center" >
            <? $j=0; $linha=0;
          while ($j < $i) {
             if ($linha==0) {
                echo "<TR>";
             }

            if ($linha==1) {
                echo "</TR>";
                $linha=0;
             }
             ?>
                <td align="center" valign="top"><table width="195" height="75" border="0" cellspacing="3" cellpadding="3" style="background-color:#DEDEDD;">
                <tr>
                  <td width="15%"> <a href="verimoveis.php?id=<? echo $idz[$j]; ?>" class=\"a2\"><img src="imoveis/<? echo $foto[$j] ?>" width="75" height="50" border="0" /></a></td>
                  <td align="left" valign="top"><b><font style="font-size:10px; font-family:Tahoma, Geneva, sans-serif;"><? echo $tipoa[$j]; echo " em ".$cidadea[$j]; ?></font></b><br />
                    <div style="font-size:8px"><font style="color:#900; font-size:10px;"><?  if ($idacao[$j] == 1) { echo "Alugar"; } else if ($idacao[$j] == 2) { echo "Vender"; } else { echo "Temporada"; }  ?></font></div>
                    <? if ($idacao[$j] == 2) { ?>
                    <div style="color:#900; font-family:Tahoma, Geneva, sans-serif; font-size:9px;">R$ <? echo number_format($vvenda[$j],2,",","."); ?><br />
                    <? } else { ?>
                       <div style="color:#900; font-family:Tahoma, Geneva, sans-serif; font-size:9px;">R$ <? echo number_format($vlocacao[$j],2,",","."); ?><br />
                    <? } ?>
                      </div><div style="color:#000; font-family:Tahoma, Geneva, sans-serif; font-size:18px;"></div></td>
                  </tr>
                </table><b>
             <?
             //



             echo "</b></a></td>";

            $linha++;
            $j++;
        }

      ?>
       </table>

         <?   } ?>    </td>
    <td width="27%" align="center" valign="top">

    <?

                   $sql_txt="select p.foto1 foto1, p.nome nome, p.preço preço, p.id id, p.idemp idemp from produtos p, empresas e where cnpj = idemp and e.status='on' order by id DESC LIMIT 5
                   ";




                //echo "SQL: ".$sql_txt;
                $sql=mysql_query($sql_txt,$db);
                echo mysql_error();
              if (!$sql) {echo "Houve um erro de MySQL 3";}
                else if (mysql_num_rows($sql) > 0) {
                 $i=0;
                   while ($x=mysql_fetch_object($sql)){
                        $idz[$i]=$x->id;
                        $foto[$i]= $x->foto1;
                        $produto[$i]= $x->nome;

                        //
                        $txt="select c.cidade cidade from cidades c, empresas p where c.codigo=p.cidade and p.cnpj='$x->idemp'";
                        //echo $txt;
                        $sqla=mysql_query($txt,$db);
                        $yy=mysql_fetch_object($sqla);
                        $cidadea[$i]= $yy->cidade;




                        //
                        //$tipoa[$i]= $yy->tipo;


                        $vvenda[$i] = $x->preço;


                        $i++;

                   }

                //echo $i; ?>

  <table border="0" width="98%" cellpadding="4" cellspacing="3" align="center" >
            <? $j=0; $linha=0;
          while ($j < $i) {
             if ($linha==0) {
                echo "<TR>";
             }

            if ($linha==1) {
                echo "</TR>";
                $linha=0;
             }
             ?>
                <td align="center"><table width="195" height="75" border="0" cellspacing="3" cellpadding="3" style="background-color:#DEDEDD;">
                <tr>
                  <td width="15%"> <a href="verprodutos.php?id=<? echo $idz[$j]; ?>" class=\"a2\"><img src="imoveis/<? echo $foto[$j] ?>" width="75" height="50" border="0" /></a></td>
                  <td align="left" valign="top"><b><font style="font-size:10px; font-family:Tahoma, Geneva, sans-serif;"><? echo substr($produto[$j],0,20);  ?><BR /><? echo $cidadea[$j]; ?></font></b><br />
                    <div style="font-size:8px"></div><BR />



                     <div style="color:#900; font-family:Tahoma, Geneva, sans-serif; font-size:9px;"><? if ($vvenda[$j] != "0.00") { ?>R$ <? echo number_format($vvenda[$j],2,",","."); ?><? } else { ?>Confira<? } ?>
                     </div></td>
                  </tr>
                </table><b>
             <?
             //



             echo "</b></a></td>";

            $linha++;
            $j++;
        }

      ?>
       </table>

         <?   } ?>    </td>
    <td width="25%" align="center" valign="top">

    <?

                   $sql_txt="select * from empresas where status='on'";


                   $sql_txt=$sql_txt." order by id DESC LIMIT 5";

                //echo "SQL: ".$sql_txt;
                $sql=mysql_query($sql_txt,$db);
              if (!$sql) {echo "Houve um erro de MySQL 2";}
                else if (mysql_num_rows($sql) > 0) {
                 $i=0;
                   while ($x=mysql_fetch_object($sql)){
                        $idz[$i]=$x->cnpj;
                        if($x->logotipo != "") {
                        $foto[$i]= $x->logotipo;
                        } else {
                          $foto[$i] = "foto_universal.jpg";
                        }
                        $endereco[$i]= $x->endereco;
                        $nro[$i]=$x->nro;

                        $nomea[$i]=$x->imobiliaria;

                        $uf[$i] = $x->uf;
                        //
                        $txt="select cidade from cidades where codigo=$x->cidade";
                        //echo $txt;
                        $sqla=mysql_query($txt,$db);
                        $yy=mysql_fetch_object($sqla);
                        $cidadea[$i]= $yy->cidade;

                        //

                        //
                        $bairroa[$i]= $x->bairro;
                        //


                        //

                        $tel[$i] = $x->telefone;

                        $i++;

                   }

                //echo $i; ?>

  <table border="0" width="98%" cellpadding="4" cellspacing="3" align="center" >
            <? $j=0; $linha=0;
          while ($j < $i) {
             if ($linha==0) {
                echo "<TR>";
             }

            if ($linha==1) {
                echo "</TR>";
                $linha=0;
             }
             ?>
                <td align=center><table width="195" height="75" border="0" cellspacing="3" cellpadding="3" style="background-color:#DEDEDD;">
                <tr>
                  <td width="15%"> <a href="perfilemp.php?id=<? echo $idz[$j]; ?>" class=\"a2\"><img src="imoveis/<? echo $foto[$j] ?>" width="75" height="50" border="0" /></a></td>
                  <td align="left" valign="top"><b><font style="font-size:10px; font-family:Tahoma, Geneva, sans-serif;"><? echo $nomea[$j]; ?></font></b><br />
                    <div style="font-size:8px"><font style="color:#900; font-size:8px;"><?  echo $cidadea[$j]."/".$uf[$j];   ?></font></div>
                    <div style="color:#900; font-family:Tahoma, Geneva, sans-serif; font-size:9px;"></td>
                  </tr>
                </table><b>
             <?
             //



             echo "</b></a></td>";

            $linha++;
            $j++;
        }

      ?>
       </table>

         <?   } ?>    </td>
    <td align="center"  valign="top">


     <?

                   $sql_txt="select * from imobiliarias where status='on'";


                   $sql_txt=$sql_txt." order by id DESC LIMIT 5";

                //echo "SQL: ".$sql_txt;
                $sql=mysql_query($sql_txt,$db);
              if (!$sql) {echo "Houve um erro de MySQL 2";}
                else if (mysql_num_rows($sql) > 0) {
                 $i=0;
                   while ($x=mysql_fetch_object($sql)){
                        $idz[$i]=$x->cnpj;

                        if($x->logotipo != "") {
                        $foto[$i]= $x->logotipo;
                        } else {
                          $foto[$i] = "foto_universal.jpg";
                        }
                        //$foto[$i]= $x->logotipo;
                        $endereco[$i]= $x->endereco;
                        $nro[$i]=$x->nro;
                        $nomeb[$i]=$x->imobiliaria;

                        $uf[$i] = $x->uf;
                        //
                        $txt="select cidade from cidades where codigo=$x->cidade";
                        //echo $txt;
                        $sqla=mysql_query($txt,$db);
                        @$yy=mysql_fetch_object($sqla);
                        $cidadea[$i]= $yy->cidade;

                        //

                        //
                        $bairroa[$i]= $x->bairro;
                        //


                        //

                        $tel[$i] = $x->creci;

                        $i++;

                   }

                //echo $i; ?>

  <table border="0" width="98%" cellpadding="4" cellspacing="3" align="center" >
            <? $j=0; $linha=0;
          while ($j < $i) {
             if ($linha==0) {
                echo "<TR>";
             }

            if ($linha==1) {
                echo "</TR>";
                $linha=0;
             }
             ?>
                <td align=center><table width="195" height="75" border="0" cellspacing="3" cellpadding="3" style="background-color:#DEDEDD;">
                <tr>
                  <td width="15%"> <a href="perfilimob.php?id=<? echo $idz[$j]; ?>" class=\"a2\"><img src="imoveis/<? echo $foto[$j] ?>" width="75" height="50" border="0" /></a></td>
                  <td align="left" valign="top"><b><font style="font-size:10px; font-family:Tahoma, Geneva, sans-serif;"><? echo $nomeb[$j]; ?></font></b><br />
                    <div style="font-size:8px"><font style="color:#900; font-size:9px;"><?  echo $cidadea[$j]."/".$uf[$j];   ?></font></div>
                    <div style="color:#900; font-family:Tahoma, Geneva, sans-serif; font-size:9px;">CRECI: <? echo $tel[$j]; ?></div>                 </td>
                  </tr>
                </table><b>
             <?
             //



             echo "</b></a></td>";

            $linha++;
            $j++;
        }

      ?>
       </table>

         <?   } ?>    </td>
  </tr>
</table></td>
  </tr>
    </table>   </td>
  </tr>
  <tr>
    <td>    </td>
    <td width="894">    </td>
  </tr>
  <tr>
    <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td>

        <table width="661" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><img src="images/tit_apoio.png" width="671" height="27" /></td>
  </tr>
   <tr>
    <td height="226" bgcolor="#FFFCC8">

    <table width="661" border="0" cellspacing="6" cellpadding="6">
  <tr>

    <td> <?
    $sql_txt="select * from banners where id=1";
    $sql=mysql_query($sql_txt,$db);
    $verifica=mysql_fetch_object($sql);
     if ($verifica->banner == "") {
    ?>
      <img src="images/semapoio.png" width="195" height="96" alt="">
      <? } else { ?>
      <a href="<? if ($verifica->link <> "") { echo  "http://".$verifica->link; } else { echo "#"; } ?>" target="_blank"><img src="banners/<? echo $verifica->banner; ?>" width="195" height="96" alt="<? echo $verifica->nome; ?>" border="0"></a>
      <? } ?></td>

    <td><?
    $sql_txt="select * from banners where id=2";
    $sql=mysql_query($sql_txt,$db);
    $verifica=mysql_fetch_object($sql);
     if ($verifica->banner == "") {
    ?>
      <img src="images/semapoio.png" width="195" height="96" alt="">
      <? } else { ?>
      <a href="<? if ($verifica->link <> "") { echo  "http://".$verifica->link; } else { echo "#"; } ?>" target="_blank" title="<? echo $verifica->nome; ?>"><img src="banners/<? echo $verifica->banner; ?>" width="195" height="96" alt="<? echo $verifica->nome; ?>" border="0"></a>
      <? } ?></td>

    <td><?
    $sql_txt="select * from banners where id=3";
    $sql=mysql_query($sql_txt,$db);
    $verifica=mysql_fetch_object($sql);
     if ($verifica->banner == "") {
    ?>
      <img src="images/semapoio.png" width="195" height="96" alt="">
      <? } else { ?>
      <a href="<? if ($verifica->link <> "") { echo  "http://".$verifica->link; } else { echo "#"; } ?>" target="_blank" title="<? echo $verifica->nome; ?>"><img src="banners/<? echo $verifica->banner; ?>" width="195" height="96" alt="<? echo $verifica->nome; ?>" border="0"></a>
      <? } ?></td>
  </tr>
  <tr>

    <td><?
    $sql_txt="select * from banners where id=4";
    $sql=mysql_query($sql_txt,$db);
    $verifica=mysql_fetch_object($sql);
     if ($verifica->banner == "") {
    ?>
      <img src="images/semapoio.png" width="195" height="96" alt="">
      <? } else { ?>
      <a href="<? if ($verifica->link <> "") { echo  "http://".$verifica->link; } else { echo "#"; } ?>" target="_blank" title="<? echo $verifica->nome; ?>"><img src="banners/<? echo $verifica->banner; ?>" width="195" height="96" alt="<? echo $verifica->nome; ?>" border="0"></a>
      <? } ?></td>

    <td><?
    $sql_txt="select * from banners where id=5";
    $sql=mysql_query($sql_txt,$db);
    $verifica=mysql_fetch_object($sql);
     if ($verifica->banner == "") {
    ?>
      <img src="images/semapoio.png" width="195" height="96" alt="">
      <? } else { ?>
      <a href="<? if ($verifica->link <> "") { echo  "http://".$verifica->link; } else { echo "#"; } ?>" target="_blank" title="<? echo $verifica->nome; ?>"><img src="banners/<? echo $verifica->banner; ?>" width="195" height="96" alt="<? echo $verifica->nome; ?>" border="0"></a>
      <? } ?></td>

    <td><?
    $sql_txt="select * from banners where id=6";
    $sql=mysql_query($sql_txt,$db);
    $verifica=mysql_fetch_object($sql);
     if ($verifica->banner == "") {
    ?>
      <img src="images/semapoio.png" width="195" height="96" alt="">
      <? } else { ?>
      <a href="<? if ($verifica->link <> "") { echo  "http://".$verifica->link; } else { echo "#"; } ?>" target="_blank" title="<? echo $verifica->nome; ?>"><img src="banners/<? echo $verifica->banner; ?>" width="195" height="96" alt="<? echo $verifica->nome; ?>" border="0"></a>
      <? } ?></td>
  </tr>
</table></td>
  </tr>
</table>        </td>
        <td background="destaques.png" width="231" height="243" style="background-repeat:no-repeat">

         <table width="184" border="0" cellspacing="3" cellpadding="3" align="center">
  <tr>
    <td height="15">&nbsp;</td>
  </tr>
  <?  $txt = "select * from msgs order by rand() LIMIT 6";
      $sqlN = mysql_query($txt);
      while($n = mysql_fetch_object($sqlN)) {

  ?>
  <tr>
    <td height="25" style="font-size:9px;" align="middle"><a href="noticia.php?id=<? echo $n->id; ?>" style="color:#000"><? echo $n->sub; ?></a></td>
  </tr>
  <? } ?>
  <tr>
    <td align="right"><a href="todas.php"><img src="images/bt_todas.png" width="69" height="14" border="0" /></a></td></tr>
</table>        </td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="right" valign="top"><img src="images/siga.png" width="276" height="73" border="0" usemap="#Map" /></td>
        <td width="627" height="73" valign="top" background="images/rodape.png" bgcolor="#336699" style="background-repeat:no-repeat; font-size:9px; margin: 0px; font-family:Tahoma, Geneva, sans-serif; color:#FFF; padding-top:3px; padding-left: 3px; padding-right: 3px; text-align:justify;"><?
        $txt = "select * from regras where codigo=2";
        $tt = mysql_query($txt);
        $texto = mysql_fetch_object($tt);
        echo $texto->texto;

    ?></td>
      </tr>
      <tr>
        <td colspan="2" align="center">Desenvolvimento Web: <a href="http://www.logobyfogo.com.br" target="_blank" style="color:#003">Logobyfogo</a></td>
        </tr>
    </table></td>
  </tr>
</table>
<map name="Map" id="Map">
  <area shape="rect" coords="5,23,51,65" href="http://twitter.com/CasaeOferta" target="_blank" />
  <area shape="rect" coords="83,22,129,67" href=" http://www.orkut.com.br/Main#Profile?rl=pv&amp;uid=4508085633589609255" target="_blank" />
  <area shape="rect" coords="216,23,260,64" href="http://www.facebook.com/profile.php?id=100001401053262&amp;ref=search" target="_blank" />
  <area shape="rect" coords="148,23,194,68" href="http://www.youtube.com/user/CASAeOFERTA" target="_blank" />
</map>

<map name="Map2" id="Map2">
  <area shape="rect" coords="20,21,238,135" href="index.php" />
</map>

<map name="Map3" id="Map3">
  <area shape="rect" coords="6,9,61,31" href="index.php" alt="Home" />
  <area shape="rect" coords="68,11,170,33" href="quemsomos.php" alt="Quem Somos" />
  <area shape="rect" coords="182,8,286,32" href="topsemana.php" alt="Top da Semana" />
  <area shape="rect" coords="299,7,369,35" href="imprensa.php" alt="Imprensa" />
  <area shape="rect" coords="383,12,440,36" href="contato.php" alt="Contato" />
  <area shape="rect" coords="453,9,607,33" href="anuncie.php" />
</map>
</body>
<!-- InstanceEnd --></html>
<?php
mysql_free_result($rsExibirImoveis);
?>

[]'s

Carlos

Edited by karlosrapanui
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Então, pelo o que vi, você está colocando um BUTTON dentro da tag <a href="#"><input type=button></a>, realmente também tenho problemas no IE quando coloco um botão como link, cola um texto normal <a href=#> proxima </a> e vê o que dá, creio que funcione, foi assim q resolvi meu problema.

Aproveitando o ensejo, se alguém souber porque isso acontece no IE quando se coloca o button como link eu ficaria grato

Abs.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      152.2k
    • Total Posts
      652k
×
×
  • Create New...