<?php
<?php
<form id="form2" name="form2" action="acao.php?form=cotacao" method="POST">
<input type="hidden" name="id_transfer" value="<?php echo $id_transfer ?>" />
<input type="hidden" name="id_empresa" value="<?php echo $id_empresa ?>" />
<input type="hidden" name="data" value="<?php echo $data?>" />
<input type="hidden" name="status" value="Aguardando" />
</head>
<body>
<table class="dynamicTable tableTools table table-striped checkboxs">
<thead>
<tr>
<th style="width: 1%;" class="uniformjs"><input type="checkbox" /></th>
<th style="width: 1%;" class="center">Cod.</th>
<th style="width: 18%;" >Produtos</th>
<th style="width: 18%;" >Origem</th>
<th style="width: 18%;">Destino</th>
<th style="width: 7%;">Serviço</th>
<th style="width: 10%;">Veículo</th>
<th class="text-center" style="width: 14%;">Valor | Desconto</th>
<th style="width: 20%;">Comprar</th>
</tr>
</thead>
<tbody>
<?
$cmd = "SELECT *
FROM produtos where id_transfer = '$id_transfer' AND tipo_serv <> 'Regular' ";
$produtos = mysql_query($cmd);
$total = mysql_num_rows($produtos);
while ($linha = mysql_fetch_array($produtos)) {
$id_produtos = $linha['id_produtos'];
$foto = $linha['p_logo'];
$veiculo = $linha['veiculo'];
$tipo_serv2 = $linha['tipo_serv'];
$start = $linha['start'];
$hora_start = $linha['hora_start'];
$nome1 = $linha['nome'];
$nome = substr($nome1, 0, 35);
$origem = $linha['origem'];
$destino = $linha['destino'];
$foto = $linha['p_logo'];
$malasg = $linha['malasg'];
$malasm = $linha['malasm'];
$tempo = $linha['tempo'];
$status = $linha['status'];
$vencimento = $linha['vencimento'];
$passageiros = $linha['passageiros'];
$desconto1 = $linha['p_desconto'];
$valor2 = $linha['valor'];
$valor3 = $linha['valor'];
date_default_timezone_set('America/Sao_Paulo');
$data = date('Y-m-d');
$hora1 = date('His');
?>
<input type="hidden" name="data" value="<?echo $data?>" />
<input type="hidden" name="start" value="<?echo $start?>" />
<tr>
<td class="center uniformjs"><input name="checkbox[]" type="checkbox" id="nome_form2" value="<? echo $id_produtos ?>"/></td>
<td class="center"><?echo $id_produtos?><input type="hidden" name="id_produto[]" value="<?echo $id_produtos?>" /></td>
<td class="important"><?echo $nome?><input type="hidden" name="nome[]" value="<?echo $nome?>" /></td>
<td class="center"><?echo $origem?></span></td>
<td class="center"><?echo $destino?></td>
<td class="center"><?echo $tipo_serv2?><input type="hidden" name="tipo_serv[]" value="<?echo $name?>" /></td>
<td class="center"><?echo $veiculo?>
<input type="hidden" name="tipo_veiculo[]" value="<?echo $veiculo?>" />
</td>
<td class="text-center">
<div class=" col-md-8 padding-none" >
<?echo $de?>
<input type="hidden" name="valor[]" value="<?echo $valor_calculado?>" />
<input type="hidden" name="desconto[]" value="<?echo $desconto?>" />
<font size="3.5"> <?echo 'R$' . number_format($valor_calculado, 2, ',', '.'); // retorna R$100.000,50?>
</div>
</td>
<td class="center">
<a href="../../compras/transfer_compra_<?echo $link?>" ><span class="label label-success">Completa</span></a>
<a href="../../compras/compra_rapida<?echo $link2?>" ><span class="label label-danger">Rapida</span></a>
</td>
</tr>
<?}?>
</tbody>
</table>
?>
- Output for 5.4.1 - 5.4.45, 5.5.24 - 5.5.30, 5.6.8 - 5.6.14
- Parse error: syntax error, unexpected '<' in /in/L79GG on line 3
Process exited with code 255.
preferences:
181.46 ms | 1399 KiB | 65 Q