Ir para conteúdo
Fórum Script Brasil

Andre H.S. Mendes

Membros
  • Total de itens

    119
  • Registro em

  • Última visita

Tudo que Andre H.S. Mendes postou

  1. var_dump($confirma) Resultado: bool(false) está correto.
  2. estou tentando usar a mema variavel, mas ela aparece como indefinida quando vou usar. dentro do If ela funciona depois eu tento usar ela e não consigo. if ($confirma) { // RECEBE OS DADOS ENVIADOS PELA PagSeguro E ARMAZENA EM VARIÁVEIS //Selecione aqui todos os parâmetros enviados pela PagSeguro $TransacaoID = $_POST['TransacaoID']; } se eu for usar ela aki de novo eu não consigo.
  3. Olá, o programa todo é esse aqui. <? include ( './config.php' ); include ( PATH . '/defaults.php' ); $title = $conf['website_name_short'] . ' - Dados da Compra'; include ( PATH . '/templates/' . $cookie_template . '/header.php' ); function tep_not_null($value) { if (is_array($value)) { if (sizeof($value) > 0) { return true; } else { return false; } } else { if (($value != '') && (strtolower($value) != 'null') && (strlen(trim($value)) > 0)) { return true; } else { return false; } } } //DEFINE O LOGIN E SENHA PARA CONEXÃO COM O BANCO DE DADOS $ConnLocal = "####"; $ConnLogin = "####"; $ConnSenha = "####"; $ConnDatabase = "#####"; // CONECTA-SE COM O BANCO DE DADOS MySQL $Conn = mysql_connect($ConnLocal, $ConnLogin, $ConnSenha) or print ('Não foi possível conectar<br />' . mysql_error()); $db2 = mysql_select_db($ConnDatabase, $Conn) or print(mysql_error()); // RECEBE O POST ENVIADO PELA PagSeguro E ADICIONA OS VALORES PARA VALIDAÇÃO DOS DADOS $PagSeguro = 'Comando=validar'; $PagSeguro .= '&Token=0123456789'; $Cabecalho = ""; foreach ($_POST as $key => $value) { $value = urlencode(stripslashes($value)); $PagSeguro .= "&$key=$value"; } if (function_exists('curl_exec')) { //Prefira utilizar a função CURL do PHP //Leia mais sobre CURL em: http://us3.php.net/curl $curl = true; } elseif ( (PHP_VERSION >= 4.3) && ($fp = @fsockopen ('ssl://pagseguro.uol.com.br', 443, $errno, $errstr, 30)) ) { $fsocket = true; } elseif ($fp = @fsockopen('pagseguro.uol.com.br', 80, $errno, $errstr, 30)) { $fsocket = true; } // ENVIA DE VOLTA PARA A PagSeguro OS DADOS PARA VALIDAÇÃO if ($curl == true) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://pagseguro.uol.com.br/Security/NPI/Default.aspx'); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $PagSeguro); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_TIMEOUT, 30); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $resp = curl_exec($ch); if (!tep_not_null($resp)) { curl_setopt($ch, CURLOPT_URL, 'https://pagseguro.uol.com.br/Security/NPI/Default.aspx'); $resp = curl_exec($ch); } curl_close($ch); $confirma = (strcmp ($resp, "VERIFICADO") == 0); } elseif ($fsocket == true) { $Cabecalho = "POST /Security/NPI/Default.aspx HTTP/1.0\r\n"; $Cabecalho .= "Content-Type: application/x-www-form-urlencoded\r\n"; $Cabecalho .= "Content-Length: " . strlen($PagSeguro) . "\r\n\r\n"; if ($fp || $errno>0) { fputs ($fp, $Cabecalho . $PagSeguro); $confirma = false; $resp = ''; while (!feof($fp)) { $res = @fgets ($fp, 1024); $resp .= $res; // Verifica se o status da transação está VERIFICADO if (strcmp ($res, "VERIFICADO") == 0) { $confirma=true; break; } } fclose ($fp); } else { echo "$errstr ($errno)<br />\n"; // ERRO HTTP } } if ($confirma) { // RECEBE OS DADOS ENVIADOS PELA PagSeguro E ARMAZENA EM VARIÁVEIS //Selecione aqui todos os parâmetros enviados pela PagSeguro $TransacaoID = $_POST['TransacaoID']; $Referencia = $_POST['Referencia']; $StatusTransacao = $_POST['StatusTransacao']; $CliNome = $_POST['CliNome']; $NumItens = $_POST['NumItens']; // Verifique se a TransacaoID não foi previamente processada // Verifique se o email recebido (VendedorEmail) é o seu email // Verifique se o valor do pagamento está correto // Processe o pagamento salvando os dados em seu banco de dados $SQL = "INSERT INTO TransacoesPagSeguro (" . "TransacaoID, " . "Referencia, " . "StatusTransacao, " . "CliNome, " . "NumItens" . ") VALUES (" . "" . "'" . $TransacaoID . "', " . "'" . $Referencia . "', " . "'" . $StatusTransacao . "', " . "'" . $CliNome . "', " . "'" . $NumItens . "'" . ")"; $Executa = mysql_query($SQL) or print(mysql_error()); } echo '<div class="span-5 last" id="head_dadoscompra"> </div> <div class="span-5 last" id="corpo_dadoscompra"> '; $resultado = mysql_query("SELECT * FROM TransacoesPagSeguro WHERE TransacaoID='$TransacaoID'"); $linhas = mysql_num_rows($resultado); for ($i=0; $i<$linhas; $i++) { $reg = mysql_fetch_row($resultado); echo 'Identificação da Transação: $reg[0] <br>'; echo 'Referencia: $reg[1] <br>'; echo 'Status Transacao: $reg[2] <br>'; echo 'Nome do Cliente: $reg[3] <br>'; echo 'Numero de Pacotes comprados: $reg[4] <br><br>'; } echo '</div> <div class="span-5 last" id="foot_dadoscompra"> </div> '; // FECHA A CONEXÃO mysql_close($Conn); include ( PATH . '/templates/' . $cookie_template . '/footer.php' ); ?>
  4. Olá Antes de tudo quero parabenizar esse forum que é muito bom. muita gente disposta pra ajudar.!!!!! bom meu problema é o seguinte. eu quero usar uma variavel, que está no mesmo programa de php porém quando eu chamo ela de novo aparece o erro que eu não defini ela antes. $TransacaoID = $_POST['TransacaoID']; NESSE MOMENTO ELA PEGA O VALOR CORRETAMENTE $resultado = mysql_query("SELECT * FROM TransacoesPagSeguro WHERE TransacaoID='$TransacaoID'"); Já nessa linha ela se torna inválida. porque? PARTE DO COGIDO: if ($confirma) { // RECEBE OS DADOS ENVIADOS PELA PagSeguro E ARMAZENA EM VARIÁVEIS //Selecione aqui todos os parâmetros enviados pela PagSeguro $TransacaoID = $_POST['TransacaoID']; $Referencia = $_POST['Referencia']; $StatusTransacao = $_POST['StatusTransacao']; $CliNome = $_POST['CliNome']; $NumItens = $_POST['NumItens']; // Verifique se a TransacaoID não foi previamente processada // Verifique se o email recebido (VendedorEmail) é o seu email // Verifique se o valor do pagamento está correto // Processe o pagamento salvando os dados em seu banco de dados $SQL = "INSERT INTO TransacoesPagSeguro (" . "TransacaoID, " . "Referencia, " . "StatusTransacao, " . "CliNome, " . "NumItens" . ") VALUES (" . "" . "'" . $TransacaoID . "', " . "'" . $Referencia . "', " . "'" . $StatusTransacao . "', " . "'" . $CliNome . "', " . "'" . $NumItens . "'" . ")"; $Executa = mysql_query($SQL) or print(mysql_error()); } echo '<div class="span-5 last" id="head_dadoscompra"> </div> <div class="span-5 last" id="corpo_dadoscompra"> '; $resultado = mysql_query("SELECT * FROM TransacoesPagSeguro WHERE TransacaoID='$TransacaoID'"); $linhas = mysql_num_rows($resultado); for ($i=0; $i<$linhas; $i++) { $reg = mysql_fetch_row($resultado); echo 'Identificação da Transação: $reg[0] <br>'; echo 'Referencia: $reg[1] <br>'; echo 'Status Transacao: $reg[2] <br>'; echo 'Nome do Cliente: $reg[3] <br>'; echo 'Numero de Pacotes comprados: $reg[4] <br><br>'; } echo '</div> <div class="span-5 last" id="foot_dadoscompra"> </div> '; // FECHA A CONEXÃO mysql_close($Conn); include ( PATH . '/templates/' . $cookie_template . '/footer.php' );
  5. Wanderson Camargo o resultado foi: Array ( [username] => andre [senha] => 123 [submit] => Enviar ) array(3) { ["username"]=> string(5) "andre" ["senha"]=> string(3) "123" ["Submit"]=> string(6) "Enviar" } aparentemente correto! isso deve se coisa do demo! Resolvido. Troquei o nome da VARIAVEL $SENHA por $PASS não sei porque mas alguma coisa estava interfirindo na variavel $senha obrigado pela ajuda de todos.
  6. Beraldo $senha = $_POST["senha"]; está vindo vindo sem valor algum, mas porque?????? CÓDIGO DO FORMULÁRIO: <form method="post" action="/Pedidos Online/executa_login.php"> <fieldset> <legend>Painel de Controle</legend> <p>Usu&aacute;rio:<br /> <label> <input name="username" type="text" id="username" maxlength="15" /> </label> <br /> Senha:<br /> <label> <input type="password" name="senha" id="senha" maxlength="10" /> </label> <br /> </p> <p> <label> <input class="submit" type="submit" name="Submit" id="Submit" value="Enviar" /> </label> <br /> </p> </fieldset> </form> oO
  7. Olá estou montando um programa pra fazer pedidos. essa é a parte onde verifica usuario e senha, porém mesmo a senha estando correta acusa SENHA INVALIDA. OBS: $resultado ESTÁ DANDO : Resource id #5 acho que isso não é normal, é? <?php //PEGANDO OS VALORES DIGITADOS $username = $_POST["username"]; $senha = $_POST["senha"]; //ACESSO AO BANCO DE DADOS include ('D:\wamp\www\Pedidos Online\includes\conectabd.php'); $resultado = mysql_query("SELECT * FROM usuarios WHERE username='$username'"); $linhas = mysql_num_rows($resultado); //TESTANDO SE A CONSULTA RETORNOU ALGO if($linhas==0) { echo "<html><body>"; echo "<p align=\"center\">Usu&aacute;rio n&atilde;o encontrado!</p>"; echo "<p align=\"center\"><a href=\"login.html\">Voltar</a></p>"; echo "</html></body>"; } else { //CONFERE SENHA if($senha != mysql_result($resultado, 0, "senha")) { echo "<html><body>"; echo "<p align=\"center\">A senha est&aacute; incorr&eacute;ta!</p>"; echo "<p align=\"center\"><a href=\"login.html\">Voltar</a></p>"; echo "</html></body>"; } else { //USUARIO E SENHA CORRETOS. CRIANDO COOKIES setcookie("nome_usuario", $username); setcookie("senha_usuario", $senha); //DIRECIONA PARA A PÁGINA INICIAL DE USUARIOS CADASTRADOS header ("location: painelusuario.php"); } } //FOOT include ('D:\wamp\www\Pedidos Online\includes\foot.php'); ?> TABELA NO MYSQL: -------------------------------------------- USERNAME (primarykey) SENHA EMAIL -------------------------------------------- --------------------------------------------- USERNAME | SENHA | EMAIL --------------------------------------------- andre | 123 | a@a.com --------------------------------------------- abraço
  8. Beraldo Muito obrigado pela sua ajuda! agora deu tudo certo, vlw pela ajuda abraços
  9. Olá estou me embaralhando um pouco com esse Autoincremente do MySql. Eu tenho tabela: ID (AUTOINCREMENT - PRIMARY KEY) NOME SOBRENOME ENDEREÇO etc onde ID é AUTOINCREMENT. a minha duvida é a seguinte. como devo usar o INSERT do mysql corretamente? ex: $sql = "INSERT INTO clientes VALUES "; $sql .= "('$nome','$sobrenome','$email','$empresa','$site','$endereco','$bairro','$cidade','$estado','$telefone')"; $resultado = mysql_query($sql); echo "CADASTRO EFETUADO COM SUCESSO"; Tenho que agregar algum valor ao ID????? ou ele gera sozinho? vlw!!!! t+
  10. Olá eu peguei um script aqui só q ele é imenso. ele é voltado para o ingles logo em partes que você escreve informações sobre cadastro etc, não deixa colocar acentos. alguém tem idéia de como poderia estar escrito esse código em php q faz esse bloqueio? que dai eu vou mandar procurar... vlws!
  11. Resolvi. dentro da ultima <div></div> decidi colocar tags que fecham as tabelas, mesmo que eu não abri nenhuma e deu certo. ex: <div> </td></tr></table> </div> locura mas deu certo e fechou aquele buraco nada ve. vlwws
  12. Se quiser pode usar um desses. [uM BEM SIMPLES SEM VERIFIÇÃO DOS CAMPOS] <? // Coloque a mensagem que irá ser enviada para seu e-mail abaixo: $msg = "Mensagem enviada em ".date("d/m/Y").", os dados seguem abaixo:\n"; while(list($campo, $valor) = each($HTTP_POST_VARS)) { $msg .= ucwords($campo).": ".$valor."\n"; } // Agora iremos fazer com que o PHP envie os dados do Formulário para seu e-mail: mail("nome@gmail.com", "Assunto do E-mail",$msg,"From: SeuSite"); echo "Sua mensagem foi enviada com sucesso. Obrigado"; ?> [ESSE VALIDA OS CAMPOS] <html> <body> <?php $recebenome = $_POST["nome"]; $recebemail = $_POST["email"]; $recebemsg = $_POST["tel"]; // Proibindo que os campos fiquem em branco if (($recebenome == "") || ($recebemail == "") || ($recebemsg == "")) { echo "<script>alert('Nenhum campo com (*) pode ficar em branco.');</script>"; echo "<script>history.go(-1);</script>"; exit; } // Validando o campo com E-mail if (substr_count($recebemail,"@") == 0 || substr_count($recebemail,".") == 0) { echo "<script>alert('Por favor, utilize um e-mail valido');</script>"; echo "<script>history.go(-1);</script>"; exit; } // Coloque a mensagem que irá ser enviada para seu e-mail abaixo: $msg = "Mensagem enviada em ".date("d/m/Y").", os dados seguem abaixo:\n"; while(list($campo, $valor) = each($HTTP_POST_VARS)) { $msg .= ucwords($campo).": ".$valor."\n"; } // Agora iremos fazer com que o PHP envie os dados do Formulário para seu e-mail: mail("ciskoskiimoveis@ciskoskiimoveis.com.br", "Compra",$msg,"From: Site Ciskoski"); print "<script>window.location=('sucesso.html')</script>"; ?> </body> </html>
  13. rc.maccord vlw pela ajuda, vou tentar item por item vamos ver no que da ^^ esses bug são muito nada ve ta loco... vlw abraços
  14. Olá, obrigado pela ajuda. Estou fazendo um template para esse script em PHP, ele esta todo em tabelas infelizmente. estou tirando as tabelas onde posso, digo os módulos eu deixo em tabelas e o restando eu usa as <DIV> Esse bug esta dando na coluna esquerda, quaquer item q ficar por ultimo nela vai ter aquele defeito. Esse "ta" que aparece, não é erro de tag etc. são as ultimas 2 letras da ultima palavra que aparece, se a palavra muda, mudamas letras tb.. e assim vai. nessa foto eu tirei a parte de baixo para mostrar esse "ta" porque acredito q seja ele o causador do buraco. CÓDIGO FONTE INTEIRO DA PÁGINA ABAIXO. <html dir="ltr> <head> <meta name="author" content="Local Imóveis - Seu imóvel no lugar certo"> <meta name="copyright" content="Copyright 2007. All rights reserved."> <meta name="title" content="Imoveis"> <meta name="description" content="imoveis"> <meta name="keywords" content="php, sql, mysql, script, real, estate, immovable property, directory"> <meta name="robots" content="index, follow"> <meta name="revisit-after" content="7 days"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Style-Type" content="text/css"> <title>Imoveis</title> <link rel="stylesheet" href="http://testes..com/realstate/templates/Tema1/css/screen.css" media="screen, projection"> <link rel="stylesheet" href="http://testes..com/realstate/templates/Tema1/css/print.css" type="text/css" media="print"> <!--[if IE]><link rel="stylesheet" href="templates/Tema1/css/ie.css" type="text/css" media="screen, projection"><![endif]--> <script type="text/javascript"> // Limits the textarea field function textCounter (field, countfield, maxlimit) { if (field.value.length > maxlimit) field.value = field.value.substring(0, maxlimit); else countfield.value = maxlimit - field.value.length; } // Opens the page in a new window function windowOpen (mypage, w, h) { if(screen.width) { var winl = (screen.width-w)/2; var wint = (screen.height-h)/2; } else { winl = 0;wint =0; } if (winl < 0) winl = 0; if (wint < 0) wint = 0; var settings = 'height=' + h + ','; settings += 'width=' + w + ','; settings += 'top=' + wint + ','; settings += 'left=' + winl + ','; settings += ' scrollbars=yes '; var myname = ''; win = window.open(mypage,myname,settings); win.window.focus(); } function confirmDelete(msg) { if (!msg) {msg="Are you sure?"} var agree=confirm(msg); if (agree) return true; else return false; } </script> </head> <body> <div class="container"> <div class="span-7" id="header"> <div class="span-4" id="logo"> </div> <div class="span-3 last" id="casinha"> </div> </div> <div align="center" class="span-7" id="nav1"> <center> <!-- Menu : start --> <ul><li><a class="primeiro" href="http://testes..com/realstate">Início</a></li> <li><a href="http://testes..com/realstate/alerts.php">Alerta de Imóvel</a></li> <li><a href="http://testes..com/realstate/advsearchform.php">Pesquisa</a></li> <li><a href="http://testes..com/realstate/usersearch.php">Localizar Corretor</a></li><li><a href="http://testes..com/realstate/sitemap.php">Mapa do Site</a></li> <li><a href="http://testes..com/realstate/mail.php">Contato</a></li> </ul> <!-- Menu : stop --> </center> </div> <div class="span-2" id="coluna_esquerda"> <div class="span-2 last" id="login"> </div> <div class="span-2 last" id="bglogin"> <form action="http://testes..com/realstate/login.php" method="POST">Login&nbsp;<input type="text" size="7" name="login" maxlength="50"><br/>Senha<input type="password" size="7" name="password" maxlength="50"><br/><input class="submit" type="submit" value="Login"></form><br> <a href="http://testes..com/realstate/submit.php">Registrar</a><br></div> <div class="span-2 last" id="login-foot"> </div> <!-- Simple search form Vertical : start --> <div class="span-2 last" id="head_procurar"> </div> <div class="span-2 last" id="corpo_procurar"> <form action="http://testes..com/realstate/search.php" method="GET"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left" valign="top"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td> Seu CEP<br> <input type="text" style="width:150px;" name="your_zip" maxlength="10"> </td> </tr> <tr> <td> Dentro do raio<br> <input type="text" size="5" name="miles" maxlength="5"> </td> </tr> <tr> <td> <br> </td> </tr> <tr> <td> Opção de negócio<br> <select name="type2" style="width:150px;"> <option value="ANY">Qualquer Opção de negócio</option> <option value="6">Alugar</option><option value="4">Comprar</option><option value="5">Vender</option> </select> </td> </tr> <tr> <td> Localização<br> <select name="location" style="width:150px;"> <option value="ANY">Qualquer Localização</option> <option value="4">Minas Gerais</option><option value="2">Parana</option><option value="3">são Paulo</option> </select> </td> </tr> <tr> <td> Cidade<br> <select name="city" style="width:150px;"> <option value="">Qualquer Cidade</option> <option value="Cambe">Cambe</option><option value="Cumbica">Cumbica</option><option value="Curitiba">Curitiba</option><option value="Kikuma">Kikuma</option><option value="Londres">Londres</option><option value="Londrina">Londrina</option><option value="Ximbica">Ximbica</option> </select> </td> </tr> <tr> <td> Faixa de preço<br> <select name="price_min" style="width:150px;"> <option value="ANY">Qualquer</option> <option value="50000">R$ 50,000</option> <option value="100000">R$ 100,000</option> <option value="150000">R$ 150,000</option> <option value="200000">R$ 200,000</option> <option value="250000">R$ 250,000</option> <option value="300000">R$ 300,000</option> <option value="350000">R$ 350,000</option> <option value="400000">R$ 400,000</option> <option value="450000">R$ 450,000</option> <option value="500000">R$ 500,000</option> <option value="550000">R$ 550,000</option> <option value="600000">R$ 600,000</option> <option value="650000">R$ 650,000</option> <option value="700000">R$ 700,000</option> <option value="750000">R$ 750,000</option> <option value="800000">R$ 800,000</option> <option value="850000">R$ 850,000</option> <option value="900000">R$ 900,000</option> <option value="950000">R$ 950,000</option> <option value="1000000">R$ 1,000,000</option> </select><br> para <br> <select name="price_max" style="width:150px;"> <option value="ANY">Qualquer</option> <option value="50000">R$ 50,000</option> <option value="100000">R$ 100,000</option> <option value="150000">R$ 150,000</option> <option value="200000">R$ 200,000</option> <option value="250000">R$ 250,000</option> <option value="300000">R$ 300,000</option> <option value="350000">R$ 350,000</option> <option value="400000">R$ 400,000</option> <option value="450000">R$ 450,000</option> <option value="500000">R$ 500,000</option> <option value="550000">R$ 550,000</option> <option value="600000">R$ 600,000</option> <option value="650000">R$ 650,000</option> <option value="700000">R$ 700,000</option> <option value="750000">R$ 750,000</option> <option value="800000">R$ 800,000</option> <option value="850000">R$ 850,000</option> <option value="900000">R$ 900,000</option> <option value="950000">R$ 950,000</option> <option value="1000000">R$ 1,000,000</option> </select> </td> </tr> <tr> <td> Quartos<br> <select name="bedrooms" style="width:150px;"> <option value="">Qualquer</option> <option>0</option> <option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> <option>6</option> <option>7</option> <option>8</option> <option>9</option> <option>10</option> </select> </td> </tr> <tr> <td> Banheiros<br> <select name="bathrooms" style="width:150px;"> <option value="">Qualquer</option> <option>0</option> <option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> <option>6</option> <option>7</option> <option>8</option> <option>9</option> <option>10</option> </select> </td> </tr> </tr> <tr> <td> Tipo de imóvel<br> <select name="type" style="width:150px;"> <option value="ANY">Qualquer Tipo de imóvel</option> <option value="10">Apartamento</option><option value="8">Casa</option><option value="12">Chacara</option><option value="11">Flet</option><option value="13">Rural</option> </select> </td> </tr> <tr> <td>Ordenar por<br> <select name="order_by" style="width:150px;"> <option value="ANY">Qualquer</option> <option value="price">Preço</option> <option value="bedrooms">Quartos</option> <option value="bathrooms">Banheiros</option> <option value="city">Cidade</option> <option value="date_added">Data de cadastro</option> </select> </td> </tr> <tr> <td> <input type="submit" name="property_search" value="Pesquisa" class="submit"> </td> </tr> </table> </td> </tr> </table> </form> </div> <div class="span-2 last" id="foot_procurar"> </div> <!-- Simple search form Vertical : stop --> <!-- Menu : start --> <div class="span-2 last" id="head_menu"> </div> <div class="span-2 last" id="corpo_menu"> <ul><li> <a href="http://testes..com/realstate/">Início</a></li><br><li> <a href="http://testes..com/realstate/submit.php">Registrar</a></li><li> <a href="http://testes..com/realstate/login.php">Login</a></li><li> <a href="http://testes..com/realstate/compare.php">Comparar Pacotes</a></li><li> <a href="http://testes..com/realstate/mail.php">Contato</a></li><li> <a href="http://testes..com/realstate/sitemap.php">Mapa do Site</a></li><br><li> <a href="http://testes..com/realstate/admin/">Área Restrita</a></li></ul></div> <div class="span-2 last" id="foot_menu"> </div> <!-- Menu : stop --> <div class="span-2 last" id="head_opt"> </div> <div class="span-2 last" id="corpo_opt"> <!-- Choose language and template forms : start --> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td align="center" valign="middle"> Lingua: <br> <form action="" method="POST"> <select name="option_language" onchange="this.form.submit();"> <option value="portugues" SELECTED>portugues</option> <option value="english" >english</option> </select> </form> </td> <td align="center" valign="middle"> Tema: <br> <form action="" method="POST"> <select name="option_template" onchange="this.form.submit();"> <option value="default" >default</option> <option value="Tema1" SELECTED>Tema1</option> </select> </form> </td> </tr> </table> </div> <div class="span-2 last" id="foot_opt"> </div> <!-- Choose language and template forms : stop --> </div> <div class="span-5 last" id="conteudo"> <!-- Simple search form Horizontal : start --> <div class="span-5 last" id="head_procurar2"> </div> <div class="span-5 last" id="bgpcorurar2"> <form action="http://testes..com/realstate/search.php" method="POST"> <table cellspacing="0" cellpadding="10" border="0" width="100%"> <tr> <td width="33%" align="left" valign="top" style="border-right : 1px dotted #DADADA;"> Opção de negócio<br> <select name="type2"> <option value="ANY">Qualquer Opção de negócio</option> <option value="6">Alugar</option><option value="4">Comprar</option><option value="5">Vender</option> </select> <br><br> Tipo de imóvel<br> <select name="type"> <option value="ANY">Qualquer Tipo de imóvel</option> <option value="10">Apartamento</option><option value="8">Casa</option><option value="12">Chacara</option><option value="11">Flet</option><option value="13">Rural</option> </select> <br><br> Titulo do imóvel<br> <input type="text" name="title" size="20"> <br><br> Palavra chave<br> <input type="text" name="description" size="20"> <br><br> <input type="checkbox" name="image_uploaded" value="1"> Listar apenas com imagens </td> <td width="33%" align="left" valign="top" style="border-right : 1px dotted #DADADA;"> Localização<br> <select name="locationX[]" multiple size="3"> <option value="4">Minas Gerais</option><option value="2">Parana</option><option value="3">são Paulo</option> </select> <br><br> Cidade<br> <input type="text" name="city" size="20"> <br><br> Endereço<br> <input type="text" name="address" size="20"> </td> <td width="33%" align="left" valign="top"> Faixa de preço<br> <select name="price_min"> <option value="ANY">Qualquer</option> <option value="50000">R$ 50,000</option> <option value="100000">R$ 100,000</option> <option value="150000">R$ 150,000</option> <option value="200000">R$ 200,000</option> <option value="250000">R$ 250,000</option> <option value="300000">R$ 300,000</option> <option value="350000">R$ 350,000</option> <option value="400000">R$ 400,000</option> <option value="450000">R$ 450,000</option> <option value="500000">R$ 500,000</option> <option value="550000">R$ 550,000</option> <option value="600000">R$ 600,000</option> <option value="650000">R$ 650,000</option> <option value="700000">R$ 700,000</option> <option value="750000">R$ 750,000</option> <option value="800000">R$ 800,000</option> <option value="850000">R$ 850,000</option> <option value="900000">R$ 900,000</option> <option value="950000">R$ 950,000</option> <option value="1000000">R$ 1,000,000</option> </select><br> para <br> <select name="price_max"> <option value="ANY">Qualquer</option> <option value="50000">R$ 50,000</option> <option value="100000">R$ 100,000</option> <option value="150000">R$ 150,000</option> <option value="200000">R$ 200,000</option> <option value="250000">R$ 250,000</option> <option value="300000">R$ 300,000</option> <option value="350000">R$ 350,000</option> <option value="400000">R$ 400,000</option> <option value="450000">R$ 450,000</option> <option value="500000">R$ 500,000</option> <option value="550000">R$ 550,000</option> <option value="600000">R$ 600,000</option> <option value="650000">R$ 650,000</option> <option value="700000">R$ 700,000</option> <option value="750000">R$ 750,000</option> <option value="800000">R$ 800,000</option> <option value="850000">R$ 850,000</option> <option value="900000">R$ 900,000</option> <option value="950000">R$ 950,000</option> <option value="1000000">R$ 1,000,000</option> </select> <br><br> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td width="50%" align="left"> Quartos<br> <input type="text" name="bedrooms" size="10"> </td> <td width="50%" align="left"> Banheiros<br> <input type="text" name="bathrooms" size="10"> </td> </table> <br><br> <input type="submit" name="property_search" value="Pesquisa" class="submit"></br> <a href="http://testes..com/realstate/advsearchform.php">Pesquisa Avançada</a> </td> </tr> </table> </form> </div> <div class="span-5 last" id="procurar2_foot"> </div> <!-- Simple search form Horizontal : stop --> <p align="center"><a href="http://testes..com/realstate/viewlisting.php?id=12"><img src="http://testes..com/realstate/banners/12.gif" border="0" class="image" alt=""><br></a><br><a href="http://testes..com/realstate/viewlisting.php?id=12">Casa legal 6</a></p> <iframe src="http://testes..com/realstate/featured-iframe-main.php" height="200" width="100%" frameborder="0" border="0"></iframe> <table width="100%" cellpadding="5" cellspacing="0" border="0"> <tr> <td valign="middle" bgcolor=""> </td> <td width="25%" valign="top" style="border-bottom : 1px dotted #BABABA;" bgcolor=""> <a href="http://testes..com/realstate/viewlisting.php?id=10"><img src="http://testes..com/realstate/images/10-resampled.jpg?nocache=15806" class="images" border="0" alt=""><br></a><br> </td> <td width="60%" valign="top" style="border-bottom : 1px dotted #BABABA;" bgcolor=""> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%"><a href="http://testes..com/realstate/viewlisting.php?id=10"> <span class="bold"> Casa legal 4<br><br> </span></a> </td> <td width="50%"><span style="padding: 2px; background-color: #5678A2; color: white;">Alugar</span> <span style="padding: 2px; background-color: #E6BA9D; color: white;">NOVO</span> <span style="padding: 2px; background-color: #ABB592; color: white;">ATUALIZADO</span> <span style="padding: 2px; background-color: #DF7A72; color: white;">DESTAQUE</span></td> </tr> <tr> <td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><span class="price">R$ 800,000</span><br><br></td> </tr> <tr> <td>são Paulo / Londrina</td> </tr> </table> </td> <td valign="top">asdasddasdadadasdasdad s asd asd <br>asds asdas das asd sd asd asd s as <br>dasd as asd s ... <a href="http://testes..com/realstate/viewlisting.php?id=10">&gt;&gt;</a></td> </tr> </table> </td> <td width="15%" style="border-bottom : 1px dotted #BABABA;" bgcolor=""> <table width="100%" border="0" cellspacing="0" cellpadding="10"> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/bed.gif" alt=""> 5</td> </tr> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/bath.gif" alt=""> 5</td> </tr> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/car.gif" alt=""> 5</td> </tr> </table></td> </tr> <tr> <td valign="middle" bgcolor="#EAEAEA"> </td> <td width="25%" valign="top" style="border-bottom : 1px dotted #BABABA;" bgcolor="#EAEAEA"> <a href="http://testes..com/realstate/viewlisting.php?id=12"><img src="http://testes..com/realstate/images/12-resampled.jpg?nocache=332724" class="images" border="0" alt=""><br></a><br> </td> <td width="60%" valign="top" style="border-bottom : 1px dotted #BABABA;" bgcolor="#EAEAEA"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%"><a href="http://testes..com/realstate/viewlisting.php?id=12"> <span class="bold"> Casa legal 6<br><br> </span></a> </td> <td width="50%"><span style="padding: 2px; background-color: #5678A2; color: white;">Alugar</span> <span style="padding: 2px; background-color: #E6BA9D; color: white;">NOVO</span> <span style="padding: 2px; background-color: #ABB592; color: white;">ATUALIZADO</span> <span style="padding: 2px; background-color: #DF7A72; color: white;">DESTAQUE</span></td> </tr> <tr> <td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><span class="price">R$ 800,000</span><br><br></td> </tr> <tr> <td>Minas Gerais / </td> </tr> </table> </td> <td valign="top">asdasd ad a a dasd ada sd ad asd <br>asdas d as dasd aad asds d ... <a href="http://testes..com/realstate/viewlisting.php?id=12">&gt;&gt;</a></td> </tr> </table> </td> <td width="15%" style="border-bottom : 1px dotted #BABABA;" bgcolor="#EAEAEA"> <table width="100%" border="0" cellspacing="0" cellpadding="10"> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/bed.gif" alt=""> 5</td> </tr> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/bath.gif" alt=""> 5</td> </tr> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/car.gif" alt=""> 8</td> </tr> </table></td> </tr> </table><div class="span-5 last" id="head_tipos"> </div> <div class="span-5 last" id="corpo_tipos"> <table width="100%" cellpadding="5" cellspacing="0" border="0"> <tr> <td width="33.3333333333%" align="left" valign="top"> <ul> <li> <a href="http://testes..com/realstate/search.php?type=10">Apartamento</a> [8]<br><li> <a href="http://testes..com/realstate/search.php?type=8">Casa</a> [0]<br> </ul> </td> <td width="33.3333333333%" align="left" valign="top"> <ul> <li> <a href="http://testes..com/realstate/search.php?type=12">Chacara</a> [1]<br><li> <a href="http://testes..com/realstate/search.php?type=11">Flet</a> [0]<br> </ul> </td> <td width="33.3333333333%" align="left" valign="top"> <ul> <li> <a href="http://testes..com/realstate/search.php?type=13">Rural</a> [0]<br> </ul> </td> </tr> </table> </div> <div class="span-5 last" id="foot_tipos"> </div><div class="span-5 last" id="head_visitados"> </div> <div class="span-5 last" id="corpo_visitados"> <div class="span-5 last" id="lista_visitados"> <div class="span-1-2 last" id="item_lista"> <a href="http://testes..com/realstate/viewlisting.php?id=12"><img src="http://testes..com/realstate/images/12-resampled.jpg?nocache=464177" class="images" border="0" alt=""><br></a><br /> <span style="padding: 2px; background-color: #5678A2; color: white;">Alugar</span><br /> <a href="http://testes..com/realstate/viewlisting.php?id=12"><span class="bold">Casa legal 6</span></a><br /> <br /> R$ 800,000 </div> <div class="span-1-2 last" id="item_lista"> <a href="http://testes..com/realstate/viewlisting.php?id=13"><img src="http://testes..com/realstate/images/13-resampled.jpg?nocache=651181" class="images" border="0" alt=""><br></a><br /> <span style="padding: 2px; background-color: #5678A2; color: white;">Alugar</span><br /> <a href="http://testes..com/realstate/viewlisting.php?id=13"><span class="bold">Casa legal 7</span></a><br /> Londres<br /> R$ 7,000,000 </div> <div class="span-1-2 last" id="item_lista"> <a href="http://testes..com/realstate/viewlisting.php?id=10"><img src="http://testes..com/realstate/images/10-resampled.jpg?nocache=599268" class="images" border="0" alt=""><br></a><br /> <span style="padding: 2px; background-color: #5678A2; color: white;">Alugar</span><br /> <a href="http://testes..com/realstate/viewlisting.php?id=10"><span class="bold">Casa legal 4</span></a><br /> Londrina<br /> R$ 800,000 </div> <div class="span-1-2 last" id="item_lista"> <a href="http://testes..com/realstate/viewlisting.php?id=11"><img src="http://testes..com/realstate/images/11-resampled.jpg?nocache=946480" class="images" border="0" alt=""><br></a><br /> <span style="padding: 2px; background-color: #5678A2; color: white;">Alugar</span><br /> <a href="http://testes..com/realstate/viewlisting.php?id=11"><span class="bold">Casa legal 5</span></a><br /> Cambe<br /> R$ 80,000 </div> <div class="span-1-2 last" id="item_lista"> <a href="http://testes..com/realstate/viewlisting.php?id=7"><img src="http://testes..com/realstate/images/7-resampled.jpg?nocache=741975" class="images" border="0" alt=""><br></a><br /> <span style="padding: 2px; background-color: #5678A2; color: white;">Alugar</span><br /> <a href="http://testes..com/realstate/viewlisting.php?id=7"><span class="bold">Casa legal 1</span></a><br /> Londrina<br /> R$ 100,000 </div> <div class="span-1-2 last" id="item_lista"> <a href="http://testes..com/realstate/viewlisting.php?id=8"><img src="http://testes..com/realstate/images/8-resampled.jpg?nocache=32696" class="images" border="0" alt=""><br></a><br /> <span style="padding: 2px; background-color: #5678A2; color: white;">Alugar</span><br /> <a href="http://testes..com/realstate/viewlisting.php?id=8"><span class="bold">Casa legal 2</span></a><br /> Cumbica<br /> R$ 500,000 </div> <div class="span-1-2 last" id="item_lista"> <a href="http://testes..com/realstate/viewlisting.php?id=9"><img src="http://testes..com/realstate/images/9-resampled.jpg?nocache=802223" class="images" border="0" alt=""><br></a><br /> <span style="padding: 2px; background-color: #5678A2; color: white;">Alugar</span><br /> <a href="http://testes..com/realstate/viewlisting.php?id=9"><span class="bold">Casa legal 3</span></a><br /> Curitiba<br /> R$ 500,000 </div> <div class="span-1-2 last" id="item_lista"> <a href="http://testes..com/realstate/viewlisting.php?id=14"><img src="http://testes..com/realstate/images/14-resampled.jpg?nocache=504302" class="images" border="0" alt=""><br></a><br /> <span style="padding: 2px; background-color: #5678A2; color: white;">Alugar</span><br /> <a href="http://testes..com/realstate/viewlisting.php?id=14"><span class="bold">Casa legal 8</span></a><br /> Ximbica<br /> R$ 10,000 </div> </div></div> <div class="span-5 last" id="foot_visitados"> </div><div class="span-5 last" id="head_recentes"> </div> <div class="span-5 last" id="corpo_recentes"> <table width="100%" cellpadding="5" cellspacing="0" border="0"> <tr> <td valign="middle" bgcolor=""> </td> <td width="25%" valign="top" style="border-bottom : 1px dotted #BABABA;" bgcolor=""> <a href="http://testes..com/realstate/viewlisting.php?id=15"><img src="http://testes..com/realstate/images/15-resampled.jpg?nocache=671987" class="images" border="0" alt=""><br></a><br> </td> <td width="60%" valign="top" style="border-bottom : 1px dotted #BABABA;" bgcolor=""> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%"><a href="http://testes..com/realstate/viewlisting.php?id=15"> <span class="bold"> Casa legal 9<br><br> </span></a> </td> <td width="50%"><span style="padding: 2px; background-color: #5678A2; color: white;">Alugar</span> <span style="padding: 2px; background-color: #E6BA9D; color: white;">NOVO</span> </td> </tr> <tr> <td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><span class="price">R$ 900,000</span><br><br></td> </tr> <tr> <td>Parana / Kikuma</td> </tr> </table> </td> <td valign="top">das dad s ad a a a a adas dasd sd asd asdasd asd asd ada a a a sd as ... <a href="http://testes..com/realstate/viewlisting.php?id=15">&gt;&gt;</a></td> </tr> </table> </td> <td width="15%" style="border-bottom : 1px dotted #BABABA;" bgcolor=""> <table width="100%" border="0" cellspacing="0" cellpadding="10"> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/bed.gif" alt=""> 5</td> </tr> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/bath.gif" alt=""> 5</td> </tr> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/car.gif" alt=""> 7</td> </tr> </table></td> </tr> <tr> <td valign="middle" bgcolor="#EAEAEA"> </td> <td width="25%" valign="top" style="border-bottom : 1px dotted #BABABA;" bgcolor="#EAEAEA"> <a href="http://testes..com/realstate/viewlisting.php?id=14"><img src="http://testes..com/realstate/images/14-resampled.jpg?nocache=841721" class="images" border="0" alt=""><br></a><br> </td> <td width="60%" valign="top" style="border-bottom : 1px dotted #BABABA;" bgcolor="#EAEAEA"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%"><a href="http://testes..com/realstate/viewlisting.php?id=14"> <span class="bold"> Casa legal 8<br><br> </span></a> </td> <td width="50%"><span style="padding: 2px; background-color: #5678A2; color: white;">Alugar</span> <span style="padding: 2px; background-color: #E6BA9D; color: white;">NOVO</span> </td> </tr> <tr> <td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><span class="price">R$ 10,000</span><br><br></td> </tr> <tr> <td>Minas Gerais / Ximbica</td> </tr> </table> </td> <td valign="top">asdasd sd sad asd asdasdasdqweqw das asd asd asd as dasd asd as das dasdasdsadas s asd as ad ... <a href="http://testes..com/realstate/viewlisting.php?id=14">&gt;&gt;</a></td> </tr> </table> </td> <td width="15%" style="border-bottom : 1px dotted #BABABA;" bgcolor="#EAEAEA"> <table width="100%" border="0" cellspacing="0" cellpadding="10"> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/bed.gif" alt=""> 5</td> </tr> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/bath.gif" alt=""> 5</td> </tr> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/car.gif" alt=""> 5</td> </tr> </table></td> </tr> <tr> <td valign="middle" bgcolor=""> </td> <td width="25%" valign="top" style="border-bottom : 1px dotted #BABABA;" bgcolor=""> <a href="http://testes..com/realstate/viewlisting.php?id=13"><img src="http://testes..com/realstate/images/13-resampled.jpg?nocache=46562" class="images" border="0" alt=""><br></a><br> </td> <td width="60%" valign="top" style="border-bottom : 1px dotted #BABABA;" bgcolor=""> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%"><a href="http://testes..com/realstate/viewlisting.php?id=13"> <span class="bold"> Casa legal 7<br><br> </span></a> </td> <td width="50%"><span style="padding: 2px; background-color: #5678A2; color: white;">Alugar</span> <span style="padding: 2px; background-color: #E6BA9D; color: white;">NOVO</span> </td> </tr> <tr> <td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><span class="price">R$ 7,000,000</span><br><br></td> </tr> <tr> <td>Parana / Londres</td> </tr> </table> </td> <td valign="top">da sda sd ad sd adasd da ad ad asdasd sdsad asd sd asd asd as dasd s dsd sd s sdasdasdasdasdasdasdas asd a dasd a a a ... <a href="http://testes..com/realstate/viewlisting.php?id=13">&gt;&gt;</a></td> </tr> </table> </td> <td width="15%" style="border-bottom : 1px dotted #BABABA;" bgcolor=""> <table width="100%" border="0" cellspacing="0" cellpadding="10"> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/bed.gif" alt=""> 5</td> </tr> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/bath.gif" alt=""> 5</td> </tr> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/car.gif" alt=""> 8</td> </tr> </table></td> </tr> <tr> <td valign="middle" bgcolor="#EAEAEA"> </td> <td width="25%" valign="top" style="border-bottom : 1px dotted #BABABA;" bgcolor="#EAEAEA"> <a href="http://testes..com/realstate/viewlisting.php?id=12"><img src="http://testes..com/realstate/images/12-resampled.jpg?nocache=563678" class="images" border="0" alt=""><br></a><br> </td> <td width="60%" valign="top" style="border-bottom : 1px dotted #BABABA;" bgcolor="#EAEAEA"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%"><a href="http://testes..com/realstate/viewlisting.php?id=12"> <span class="bold"> Casa legal 6<br><br> </span></a> </td> <td width="50%"><span style="padding: 2px; background-color: #5678A2; color: white;">Alugar</span> <span style="padding: 2px; background-color: #E6BA9D; color: white;">NOVO</span> <span style="padding: 2px; background-color: #ABB592; color: white;">ATUALIZADO</span> <span style="padding: 2px; background-color: #DF7A72; color: white;">DESTAQUE</span></td> </tr> <tr> <td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><span class="price">R$ 800,000</span><br><br></td> </tr> <tr> <td>Minas Gerais / </td> </tr> </table> </td> <td valign="top">asdasd ad a a dasd ada sd ad asd <br>asdas d as dasd aad asds d ... <a href="http://testes..com/realstate/viewlisting.php?id=12">&gt;&gt;</a></td> </tr> </table> </td> <td width="15%" style="border-bottom : 1px dotted #BABABA;" bgcolor="#EAEAEA"> <table width="100%" border="0" cellspacing="0" cellpadding="10"> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/bed.gif" alt=""> 5</td> </tr> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/bath.gif" alt=""> 5</td> </tr> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/car.gif" alt=""> 8</td> </tr> </table></td> </tr> <tr> <td valign="middle" bgcolor=""> </td> <td width="25%" valign="top" style="border-bottom : 1px dotted #BABABA;" bgcolor=""> <a href="http://testes..com/realstate/viewlisting.php?id=11"><img src="http://testes..com/realstate/images/11-resampled.jpg?nocache=18763" class="images" border="0" alt=""><br></a><br> </td> <td width="60%" valign="top" style="border-bottom : 1px dotted #BABABA;" bgcolor=""> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%"><a href="http://testes..com/realstate/viewlisting.php?id=11"> <span class="bold"> Casa legal 5<br><br> </span></a> </td> <td width="50%"><span style="padding: 2px; background-color: #5678A2; color: white;">Alugar</span> <span style="padding: 2px; background-color: #E6BA9D; color: white;">NOVO</span> <span style="padding: 2px; background-color: #ABB592; color: white;">ATUALIZADO</span> </td> </tr> <tr> <td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><span class="price">R$ 80,000</span><br><br></td> </tr> <tr> <td>Minas Gerais / Cambe</td> </tr> </table> </td> <td valign="top">adasd d ad d sd ad sd ad asd ad<br>asdasdasdasdad ad ada asd ad<br>sdsadadasdasdasdasd s sd asd asdas das ad asd<br>sd sad ... <a href="http://testes..com/realstate/viewlisting.php?id=11">&gt;&gt;</a></td> </tr> </table> </td> <td width="15%" style="border-bottom : 1px dotted #BABABA;" bgcolor=""> <table width="100%" border="0" cellspacing="0" cellpadding="10"> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/bed.gif" alt=""> 5</td> </tr> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/bath.gif" alt=""> 5</td> </tr> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/car.gif" alt=""> 4</td> </tr> </table></td> </tr> <tr> <td valign="middle" bgcolor="#EAEAEA"> </td> <td width="25%" valign="top" style="border-bottom : 1px dotted #BABABA;" bgcolor="#EAEAEA"> <a href="http://testes..com/realstate/viewlisting.php?id=10"><img src="http://testes..com/realstate/images/10-resampled.jpg?nocache=499852" class="images" border="0" alt=""><br></a><br> </td> <td width="60%" valign="top" style="border-bottom : 1px dotted #BABABA;" bgcolor="#EAEAEA"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%"><a href="http://testes..com/realstate/viewlisting.php?id=10"> <span class="bold"> Casa legal 4<br><br> </span></a> </td> <td width="50%"><span style="padding: 2px; background-color: #5678A2; color: white;">Alugar</span> <span style="padding: 2px; background-color: #E6BA9D; color: white;">NOVO</span> <span style="padding: 2px; background-color: #ABB592; color: white;">ATUALIZADO</span> <span style="padding: 2px; background-color: #DF7A72; color: white;">DESTAQUE</span></td> </tr> <tr> <td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><span class="price">R$ 800,000</span><br><br></td> </tr> <tr> <td>são Paulo / Londrina</td> </tr> </table> </td> <td valign="top">asdasddasdadadasdasdad s asd asd <br>asds asdas das asd sd asd asd s as <br>dasd as asd s ... <a href="http://testes..com/realstate/viewlisting.php?id=10">&gt;&gt;</a></td> </tr> </table> </td> <td width="15%" style="border-bottom : 1px dotted #BABABA;" bgcolor="#EAEAEA"> <table width="100%" border="0" cellspacing="0" cellpadding="10"> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/bed.gif" alt=""> 5</td> </tr> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/bath.gif" alt=""> 5</td> </tr> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/car.gif" alt=""> 5</td> </tr> </table></td> </tr> <tr> <td valign="middle" bgcolor=""> </td> <td width="25%" valign="top" style="border-bottom : 1px dotted #BABABA;" bgcolor=""> <a href="http://testes..com/realstate/viewlisting.php?id=9"><img src="http://testes..com/realstate/images/9-resampled.jpg?nocache=986969" class="images" border="0" alt=""><br></a><br> </td> <td width="60%" valign="top" style="border-bottom : 1px dotted #BABABA;" bgcolor=""> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%"><a href="http://testes..com/realstate/viewlisting.php?id=9"> <span class="bold"> Casa legal 3<br><br> </span></a> </td> <td width="50%"><span style="padding: 2px; background-color: #5678A2; color: white;">Alugar</span> <span style="padding: 2px; background-color: #E6BA9D; color: white;">NOVO</span> </td> </tr> <tr> <td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><span class="price">R$ 500,000</span><br><br></td> </tr> <tr> <td>Parana / Curitiba</td> </tr> </table> </td> <td valign="top">ddasda asd sd d sd sd ad as dasd asd sad asds d asd asdas das ds adsd ... <a href="http://testes..com/realstate/viewlisting.php?id=9">&gt;&gt;</a></td> </tr> </table> </td> <td width="15%" style="border-bottom : 1px dotted #BABABA;" bgcolor=""> <table width="100%" border="0" cellspacing="0" cellpadding="10"> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/bed.gif" alt=""> 5</td> </tr> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/bath.gif" alt=""> 5</td> </tr> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/car.gif" alt=""> 10</td> </tr> </table></td> </tr> <tr> <td valign="middle" bgcolor="#EAEAEA"> </td> <td width="25%" valign="top" style="border-bottom : 1px dotted #BABABA;" bgcolor="#EAEAEA"> <a href="http://testes..com/realstate/viewlisting.php?id=8"><img src="http://testes..com/realstate/images/8-resampled.jpg?nocache=65801" class="images" border="0" alt=""><br></a><br> </td> <td width="60%" valign="top" style="border-bottom : 1px dotted #BABABA;" bgcolor="#EAEAEA"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="50%"><a href="http://testes..com/realstate/viewlisting.php?id=8"> <span class="bold"> Casa legal 2<br><br> </span></a> </td> <td width="50%"><span style="padding: 2px; background-color: #5678A2; color: white;">Alugar</span> <span style="padding: 2px; background-color: #E6BA9D; color: white;">NOVO</span> </td> </tr> <tr> <td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><span class="price">R$ 500,000</span><br><br></td> </tr> <tr> <td>são Paulo / Cumbica</td> </tr> </table> </td> <td valign="top">sdadsa ad d asd asdasdass d asd asdasdasd asd asd as dasd asd asdasdasdas dasd ... <a href="http://testes..com/realstate/viewlisting.php?id=8">&gt;&gt;</a></td> </tr> </table> </td> <td width="15%" style="border-bottom : 1px dotted #BABABA;" bgcolor="#EAEAEA"> <table width="100%" border="0" cellspacing="0" cellpadding="10"> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/bed.gif" alt=""> 2</td> </tr> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/bath.gif" alt=""> 2</td> </tr> <tr> <td align="center"><img src="http://testes..com/realstate/templates/Tema1/images/car.gif" alt=""> 10</td> </tr> </table></td> </tr> <tr><td></td></tr></table></div> <div class="span-5 last" id="foot_recentes"> </div><div class="span-5 last" id="head_local"> </div> <div class="span-5 last" id="corpo_local"> <table width="100%" cellpadding="5" cellspacing="0" border="0"> <tr> <td width="33.3333333333%" align="left" valign="top"> <ul> <li> <a href="http://testes..com/realstate/search.php?location=4">Minas Gerais</a><br> </ul> </td> <td width="33.3333333333%" align="left" valign="top"> <ul> <li> <a href="http://testes..com/realstate/search.php?location=2">Parana</a><br> </ul> </td> <td width="33.3333333333%" align="left" valign="top"> <ul> <li> <a href="http://testes..com/realstate/search.php?location=3">são Paulo</a><br> </ul> </td> </tr> </table> </div> <div class="span-5 last" id="foot_local"> </div><div class="span-5 last" id="head_preco"> </div> <div class="span-5 last" id="corpo_preco"> <table width="100%" cellpadding="5" cellspacing="0" border="0"> <tr> <td width="50%" align="left" valign="top"> <ul> <li> <a href="http://testes..com/realstate/search.php?price_min=50000&price_max=100000">R$ 50,000 - 100,000</a><br><li> <a href="http://testes..com/realstate/search.php?price_min=100000&price_max=150000">R$ 100,000 - 150,000</a><br><li> <a href="http://testes..com/realstate/search.php?price_min=150000&price_max=200000">R$ 150,000 - 200,000</a><br><li> <a href="http://testes..com/realstate/search.php?price_min=200000&price_max=250000">R$ 200,000 - 250,000</a><br><li> <a href="http://testes..com/realstate/search.php?price_min=250000&price_max=300000">R$ 250,000 - 300,000</a><br><li> <a href="http://testes..com/realstate/search.php?price_min=300000&price_max=350000">R$ 300,000 - 350,000</a><br><li> <a href="http://testes..com/realstate/search.php?price_min=350000&price_max=400000">R$ 350,000 - 400,000</a><br><li> <a href="http://testes..com/realstate/search.php?price_min=400000&price_max=450000">R$ 400,000 - 450,000</a><br><li> <a href="http://testes..com/realstate/search.php?price_min=450000&price_max=500000">R$ 450,000 - 500,000</a><br><li> <a href="http://testes..com/realstate/search.php?price_min=500000&price_max=550000">R$ 500,000 - 550,000</a><br> </ul> </td> <td width="50%" align="left" valign="top"> <ul> <li> <a href="http://testes..com/realstate/search.php?price_min=550000&price_max=600000">R$ 550,000 - 600,000</a><br><li> <a href="http://testes..com/realstate/search.php?price_min=600000&price_max=650000">R$ 600,000 - 650,000</a><br><li> <a href="http://testes..com/realstate/search.php?price_min=650000&price_max=700000">R$ 650,000 - 700,000</a><br><li> <a href="http://testes..com/realstate/search.php?price_min=700000&price_max=750000">R$ 700,000 - 750,000</a><br><li> <a href="http://testes..com/realstate/search.php?price_min=750000&price_max=800000">R$ 750,000 - 800,000</a><br><li> <a href="http://testes..com/realstate/search.php?price_min=800000&price_max=850000">R$ 800,000 - 850,000</a><br><li> <a href="http://testes..com/realstate/search.php?price_min=850000&price_max=900000">R$ 850,000 - 900,000</a><br><li> <a href="http://testes..com/realstate/search.php?price_min=900000&price_max=950000">R$ 900,000 - 950,000</a><br><li> <a href="http://testes..com/realstate/search.php?price_min=950000&price_max=1000000">R$ 950,000 - 1,000,000</a><br><li> <a href="http://testes..com/realstate/search.php?price_min=1000000&price_max=1050000">R$ 1,000,000 - 1,050,000</a><br> </ul> </td> </tr> </table> </div> <div class="span-5 last" id="foot_preco"> </div> </div> <div class="span-7" id="rodape"> <p><span class="menu_rodape"><a href="#">Home</a> | <a href="#">Alerta de Imóvel</a> | <a href="#">Pesquisa</a> | <a href="#">Localizar Corretor</a> | <a href="#">Mapa do Site</a> | <a href="#">Contato</a></span></br></br> <span class="copyright">© 2008 Imóvel Local - Seu imóvel no lugar certo. Todos os direitos reservados</span></p> </div> <div class="span-7" id="rodape2"> <center><img id="minilogo" src="templates/Tema1/images/minilogo.gif" width="215" height="61"></center> </div> </div> </body> </html>
  15. Olá Não sei o que q da dando nessa porcaria. tentei de tudo, no FireFox fica tudo perfeito, apenas no IE 6 e 7 está dando esse bug. [FOTO DO BUG] [CÓDIGO FONTE ONDE APARECE O BUG] <div class="span-2 last" id="head_menu"> </div> <div class="span-2 last" id="corpo_menu"> <ul><li> <a href="http://localhost:81/realstate/">Início</a></li><br><li> <a href="http://localhost:81/realstate/submit.php">Registrar</a></li><li> <a href="http://localhost:81/realstate/login.php">Login</a></li><li> <a href="http://localhost:81/realstate/compare.php">Comparar Pacotes</a></li><li> <a href="http://localhost:81/realstate/mail.php">Contato</a></li><li> <a href="http://localhost:81/realstate/sitemap.php">Mapa do Site</a></li><br><li> <a href="http://localhost:81/realstate/admin/">Área Restrita</a></li></ul></div> <div class="span-2 last" id="foot_menu"> </div> [CSS QUE CONTROLA ESSA PARTE] #head_menu{background:url(../images/headmenu.gif) no-repeat top left;height:33px;margin-top:10px;} #corpo_menu{background:url(../images/bg_lateral.gif) repeat-y top left;} #foot_menu{display:none;background:url(../images/foot_lateral.gif) no-repeat top left;height:3px;} #corpo_menu ul{margin:0;padding:0 0 0 10px;list-style:none;} se precisarem de mais informações me avisem!
  16. Andre H.S. Mendes

    ERROS

    RESOLVI PARCIALMENTE. já etava ligada a opção "allow_url_fopen On/off" , mas mesmo assim continua dando esse erro de caminho. já tentei de tudo mas ele sempre mostra esse erro de caminho.
  17. Andre H.S. Mendes

    ERROS

    Como chama essa opção? porque tem muitas aki.
  18. Andre H.S. Mendes

    ERROS

    Olá me deparei com esses erros. tentei resolver sozinho, mas não estou tendo muito sucesso. ERROS: [26-Oct-2008 00:21:12] PHP Warning: include() [<a href='function.include'>function.include</a>]: URL file-access is disabled in the server configuration in D:\wamp\www\realstate\admin\index.php on line 13 [26-Oct-2008 00:21:12] PHP Warning: include(http://localhost:81/realstate/defaults.php'>http://localhost:81/realstate/defaults.php) [<a href='function.include'>function.include</a>]: failed to open stream: no suitable wrapper could be found in D:\wamp\www\realstate\admin\index.php on line 13 [26-Oct-2008 00:21:12] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'http://localhost:81/realstate/defaults.php'>http://localhost:81/realstate/defaults.php' for inclusion (include_path='.;C:\php5\pear') in D:\wamp\www\realstate\admin\index.php on line 13 [26-Oct-2008 00:21:12] PHP Warning: include() [<a href='function.include'>function.include</a>]: URL file-access is disabled in the server configuration in D:\wamp\www\realstate\admin\index.php on line 14 [26-Oct-2008 00:21:12] PHP Warning: include(http://localhost:81/realstate/admin/functions.php'>http://localhost:81/realstate/admin/functions.php) [<a href='function.include'>function.include</a>]: failed to open stream: no suitable wrapper could be found in D:\wamp\www\realstate\admin\index.php on line 14 [26-Oct-2008 00:21:12] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'http://localhost:81/realstate/admin/functions.php'>http://localhost:81/realstate/admin/functions.php' for inclusion (include_path='.;C:\php5\pear') in D:\wamp\www\realstate\admin\index.php on line 14 [26-Oct-2008 00:21:12] PHP Warning: include() [<a href='function.include'>function.include</a>]: URL file-access is disabled in the server configuration in D:\wamp\www\realstate\admin\index.php on line 23 [26-Oct-2008 00:21:12] PHP Warning: include(http://localhost:81/realstate/admin/template/header.php'>http://localhost:81/realstate/admin/template/header.php) [<a href='function.include'>function.include</a>]: failed to open stream: no suitable wrapper could be found in D:\wamp\www\realstate\admin\index.php on line 23 [26-Oct-2008 00:21:12] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'http://localhost:81/realstate/admin/template/header.php'>http://localhost:81/realstate/admin/template/header.php' for inclusion (include_path='.;C:\php5\pear') in D:\wamp\www\realstate\admin\index.php on line 23 [26-Oct-2008 00:21:12] PHP Fatal error: Call to undefined function admin_auth_check() in D:\wamp\www\realstate\admin\index.php on line 33
  19. consegui. alias, não tava aparecendo os erros porque o DISPLAY_ERROR não tava ligado ¬¬ eu tinha desligado ele antes pra testa uns negocio... cabei esquecendo desligado, dai os erros estavam indo pros LOGS. e la eu vi oque havia de errado. tava dando erro nessa linha de código: $sql = «DELETE FROM produtos WHERE codigo_produto=$codigo»; ao invez de «» ele esperava as "" , gozado que ai no seu funcionou... vlws
  20. puts. sera que é alguma coisa no PHP? eu to usando o WAMP pra rodar. vou tentar de novo. vlw pela sua ajuda.
  21. o php ta tudo certo. tanto q outras coisas funcionam rs... FORMULARIO: <html> <head> <title>Administração da Loja</title> </head> <body> <div align="center"><center> <table border="1" cellpadding="0" cellspacing="0" width="85%" bordercolor="#008000" height="348"> <tr> <td width="33%" bgcolor="#000080" height="19"><p align="center"> <font color="#FFFFFF" face="Arial" size="3"><b>Incluir Produto</b></font></td> <td width="33%" bgcolor="#000080" height="19"><p align="center"> <font color="#FFFFFF" face="Arial" size="3"><b>Excluir Produto</b></font></td> </tr> <tr> <td width="33%" rowspan="3" valign="top" height="325"> <form method="POST" action="administra.php"> <input type="hidden" name="operacao" value="incluir"> <p align="center">&nbsp;&nbsp;<br> Código: <input type="text" name="codigo" size="5"></p><p align="center"> Nome do Produto: <input type="text" name="nome" size="20"></p> <p align="center">Descrição do Produto:<br> <textarea rows="2" name="descricao" cols="20"></textarea></p> <p align="center"> Preço: <input type="text" name="preço" size="10">&nbsp;&nbsp; Peso: <input type="text" name="peso" size="10"></p> <p align="center">Cód. Categoria: <input type="text" name="cc" size="4"> <br>Cód. Subcategoria: <input type="text" name="cs" size="4"></p> <p align="center">Inf. Adicionais: <input type="text" name="ad" size="20"></p><p align="center"> <input type="submit" value="Incluir Produto" name="enviar"></p> </form> </td> <td width="33%" height="175"><p align="center">&nbsp;&nbsp;<br> Código do Produto a ser excluído:</p> <form method="POST" action="administra.php"> <input type="hidden" name="operacao" value="excluir"> <p align="center"><input type="text" name="codigo" size="5"></p> <p align="center"><input type="submit" value="Excluir Produto" name="enviar" size="5"></p> </form> <p align="center"><br> &nbsp;&nbsp; </td></tr> <tr> <td width="33%" bgcolor="#000080" height="22"> <p align="center"><font color="#FFFFFF" face="Arial" size="3"> <b>Mostrar Produtos</b></font> </td></tr> <tr> <td width="33%" height="124"> <p align="center">&nbsp;&nbsp;<br> Clique no botão abaixo para exibir todos os produtos da loja:</p> <form method="POST" action="administra.php"> <input type="hidden" name="operacao" value="mostrar"> <p align="center"> <input type="submit" value="Mostrar Produtos" name="enviar"></p> </form> <p align="center">&nbsp;</p> </td></tr> </table> </center> </div> </body> </html>
  22. vixe ranquei tudo só deixei o ECHO. e nada. então ele nem esta executando???? vou tirar os IF, não é possivel.... ranquei tudo só deixei um ECHO com hello world.... e apareceu... parece q o problema então é na hora de ligar com o BD se não acha?
  23. Pedro, alterei e ele ainda não mostra nada acredito que seja algum erro fora do php. é como ele não estivece executando nada. acho q vo mete o pé em!!!! ;x
  24. Pedro, obrigado pela ajuda. Pois é, não aparece erro algum, não mostra nada na tela., fica branquinha. fui no banco de dados pra ver se houve alguma alteração e nada tb. não sei o que pode estar errado.
  25. Olá. Estou montando um projeto, de estudos mesmo. eu não sei oque esta dando nesse código, ele simplesmente não faz nada rs.. não mostra erro e nem nada, apenas uma tela em branco. alguém consegue identificar o erro? <?php $operacao = $_POST["operacao"]; require "conecta_mysql.php"; if ($operacao=="incluir") { $codigo = $_POST["codigo"]; $nome = $_POST["nome"]; $descricao = $_POST["descricao"]; $preço = $_POST["preço"]; $peso = $_POST["peso"]; $cc = $_POST["cc"]; $cs = $_POST["cs"]; $ad = $_POST["ad"]; $sql = "INSERT INTO produtos VALUES ('$codigo', '$nome', '$descricao', '$preço', '$peso', '$cc', '$cs', '$ad')"; $resultado = mysql_query ($sql); echo "Produto incluido com sucesso!"; } elseif ($operacao=="excluir") { $codigo = $_POST[«codigo»]; $sql = «DELETE FROM produtos WHERE codigo_produto=$codigo»; $resultado = mysql_query(sql); $linhas = mysql_affected_rows(); if($linhas==1){echo "Produto . $codigo . excluido com sucesso!";}else{echo "Produto . $codigo . não encontrado!";} } elseif ($operacao=="mostrar") { $resultado = mysql_query ("SELECT * FROM produtos"); $linhas = mysql_num_rows ($resultado); echo "<p><b>Lista de produtos da loja</b></p>"; for ($i=0; $i<$linhas; $i++) { $reg = mysql_fetch_row($resultado); echo "$reg[0] <br>$reg[1] <br>$reg[2] <br>$reg[3] <br>"; echo "$reg[4] <br>$reg[5] <br>$reg[6] <br>$reg[7] <br><br>"; } } mysql_close($conexao); ?>
×
×
  • Criar Novo...