%PDF- %PDF-
Direktori : /home/pantanal/www/ |
Current File : /home/pantanal/www/inc_orcamento_passo2.php |
<? if(count($_SESSION['Carrinho']['Produto']) >= 2){ ?> <div id="carrinho"> <table width="100%" cellpadding="5" cellspacing="5"> <tr> <td height="24" colspan="2" align="center" bgcolor="#EFEFEF"><div align="left"><strong style="font-size:13px;"> <? echo Traducao($_SESSION['versao'],21,$pantanal); ?></strong></div></td> <td width="80" align="center" bgcolor="#EFEFEF"><strong style="font-size:13px;"><? echo Traducao($_SESSION['versao'],22,$pantanal); ?></strong></td> <td width="80" align="center" bgcolor="#EFEFEF"><strong style="font-size:13px;"><? echo Traducao($_SESSION['versao'],23,$pantanal); ?></strong></td> </tr> <?php $total = 0; foreach($_SESSION['Carrinho']['Produto'] AS $key => $valor){ if ("Nulo" <> $key) { ?> <?php mysql_select_db($database_pantanal, $pantanal); $query_produtos = "SELECT titulo_".$_SESSION['versao'].", imagem, id, subtitulo_".$_SESSION['versao'].", preco FROM produtos WHERE id = ".$key.""; $produtos = mysql_query($query_produtos, $pantanal) or die(mysql_error()); $row_produtos = mysql_fetch_assoc($produtos); $totalRows_produtos = mysql_num_rows($produtos); ?> <tr> <td width="150" align="left"><img src="produtos/peq/<? echo $row_produtos['imagem']; ?>" alt="" /></td> <td id="orcamento"><div id="titulo"><?php echo $row_produtos['titulo_'.$_SESSION['versao']]; ?></div> <div id="subtitulo"><?php echo $row_produtos['subtitulo_'.$_SESSION['versao']]; ?></div> <div id="preco"><strong>R$ <?php echo number_format($row_produtos['preco'], 2, ',', '.'); ?></strong></div></td> <td width="80" align="center"><? echo $_SESSION['Carrinho']['Produto'][$key]['qtd']; ?></a></td> <td width="80" align="center"><? echo $_SESSION['Carrinho']['Produto'][$key]['qtd2']; ?></td> </tr> <? mysql_free_result($produtos); } } ?> </table> <form action="envia_pedido.php" method="post" style="font-size:12px;"><br /> <P><strong id="titulo_g" style="font-size:20px; font-weight:normal"><? echo Traducao($_SESSION['versao'],25,$pantanal); ?></strong></P><BR /> <table border="0" cellspacing="2" cellpadding="2"> <!--DWLayoutTable--> <tr> <td height="24" valign="middle"><strong><? echo Traducao($_SESSION['versao'],26,$pantanal); ?></strong></td> <td width="20" valign="middle"> </td> <td height="24" valign="middle"><strong><? echo Traducao($_SESSION['versao'],27,$pantanal); ?></strong></td> <td width="20" valign="middle"> </td> <td valign="middle"><strong><? echo Traducao($_SESSION['versao'],28,$pantanal); ?></strong></td> </tr> <tr> <td width="140" height="24" valign="middle"><strong> <input name="nome" type="text" id="nome" class="input" size="30" /> </strong></td> <td valign="middle"> </td> <td height="24" valign="middle"><strong> <input name="cidade" type="text" id="cidade" class="input" size="30" /> </strong></td> <td valign="middle"> </td> <td valign="middle"><strong> <select name="estado" id="estado" class="select"> <option><? echo Traducao($_SESSION['versao'],28,$pantanal); ?></option> <option>Acre</option> <option>Alagoas</option> <option>Amapá</option> <option>Amazonas</option> <option>Bahia</option> <option>Ceará</option> <option>Distrito Federal</option> <option>Espírito Santo</option> <option>Goiás</option> <option>Maranhão</option> <option>Mato Grosso</option> <option>Mato Grosso do Sul</option> <option>Minas Gerais</option> <option>Pará</option> <option>Paraíba</option> <option>Paraná</option> <option>Pernambuco</option> <option>Piauí</option> <option>Rio de Janeiro</option> <option>Rio Grande do Norte</option> <option>Rio Grande do Sul</option> <option>Rondônia</option> <option>Roraima</option> <option>Santa Catarina</option> <option>São Paulo</option> <option>Sergipe</option> <option>Tocantins</option> </select> </strong></td> </tr> <tr> <td width="140" height="24" valign="middle"><strong><? echo Traducao($_SESSION['versao'],29,$pantanal); ?></strong></td> <td valign="middle"> </td> <td height="24" valign="middle"><strong><? echo Traducao($_SESSION['versao'],30,$pantanal); ?></strong></td> <td valign="middle"> </td> <td valign="middle"><strong>Data da saída:</strong></td> </tr> <tr> <td width="140" height="24" valign="middle"><strong> <input name="DDD_residencial" type="text" id="DDD_residencial" class="input" size="3" maxlength="3" /> - <input name="Fone_Residencial" type="text" id="Fone_Residencial" class="input" size="9" maxlength="9" /> </strong></td> <td valign="middle"> </td> <td height="24" valign="middle"><strong> <input name="DDD_Celular" type="text" id="DDD_Celular" class="input" size="3" maxlength="3" /> - <input name="Celular" type="text" id="Celular" size="9" class="input" maxlength="9" /> </strong></td> <td valign="middle"> </td> <td valign="middle"><strong> <input name="data_saida" type="text" id="data_saida" class="input" size="10" /> </strong></td> </tr> <tr> <td width="140" height="24" valign="middle"><strong>E-mail:</strong></td> <td valign="middle"> </td> <td height="24" valign="middle"> </td> <td valign="middle"> </td> <td valign="middle"> </td> </tr> <tr> <td height="24" colspan="3" valign="middle"><strong> <input name="email" type="text" id="email" size="50" class="input" /> </strong></td> <td valign="middle"> </td> <td valign="middle"> </td> </tr> <tr> <td width="140" height="24" valign="middle"><strong><? echo Traducao($_SESSION['versao'],32,$pantanal); ?></strong></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td height="16" colspan="5"><strong> <textarea name="obs" cols="75" rows="4" class="textarea" id="obs"></textarea> </strong></td> </tr> <tr> <td height="16" colspan="5" align="right"> </td> </tr> <tr> <td height="16" colspan="5" align="right"><input type="image" name="imageField" id="imageField" src="images/<? echo $_SESSION['versao']; ?>/agendar.gif" class="radio" /></td> </tr> </table> </form> </div> <? } ?>