Пример #1
0
        
</td>
      <td width="2%" valign="bottom">&nbsp;</td>
    </tr>
  </table><br />
  <form id="form2" name="form2" method="POST" action="contaspagar/extrato_ajax.php" onsubmit="formSender(this, 'conteudo'); this.reset(); return false;">
  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="conteudo">
    <tr>
      <td width="4%">
      </td>
      <td width="12%"><?php 
echo $LANG['accounts_payable']['deadline'];
?>
 <br />
        <input type="text" size="13" value="<?php 
echo converte_data(hoje(), 2);
?>
" name="datavencimento" id="datavencimento" class="forms">
      </td>
      <td width="58%"><?php 
echo $LANG['accounts_payable']['description'];
?>
 <br />
        <input type="text" size="80" name="descricao" id="descricao" class="forms">
      </td>
      <td width="16%"><?php 
echo $LANG['accounts_payable']['value'];
?>
 <br />
        <input type="text" size="20" name="valor" id="valor" class="forms" onKeypress="return Ajusta_Valor(this, event);">
      </td>
Пример #2
0
                        <div class="panel-body">
                            <div class="row">
                                <div class="col-lg-6">
                                    <form role="form" action="../controller/processaGeral.php" method="post">
                                        
                                        <div class="form-group">
                                            <label>Torneio</label>
                                            <select class="form-control" name="p[id_torneio]">
                                                
                                                 <?php 
$pt = "";
$pt['excluido']['valor'] = 'N';
$pt['excluido']['tipo'] = '=';
$pt['datai']['valor'] = hoje("Y-m-d");
$pt['datai']['tipo'] = '<=';
$pt['dataf']['valor'] = hoje("Y-m-d");
$pt['dataf']['tipo'] = '>=';
$listaT = DB::listar("torneio", $pt, "order by nome");
if ($listaT) {
    foreach ($listaT as $linhaT) {
        $tipo = DB::procurar("etapa", $linhaT['id_etapa']);
        ?>
                                                           
                                                <option <?php 
        if ($o['id_torneio'] == $linhaT['id']) {
            ?>
selected <?php 
        }
        ?>
 value="<?php 
        echo $linhaT['id'];