예제 #1
0
      </div>
      
      <div class="row">
        <div class="form-group col-lg-4 col-xs-7">
          <span>Data cadastro:</span>
          <input type="text" name="dt_inc" class="form-control" maxlength="30" value="<?php 
echo $jogador->getDtInc() != '' ? date('d/m/Y H:i:s', strtotime($jogador->getDtInc())) : '';
?>
" disabled/>
        </div>
        
        <div class="form-group col-lg-4 col-xs-4">
          <div class="checkbox">
            <label>
              <input type="checkbox" name="bloqueado" value="<?php 
echo $codigo == 0 ? '0' : $jogador->getBloqueado();
?>
" <?php 
if ($jogador->getBloqueado() == 1) {
    ?>
 checked="checked" <?php 
}
?>
 ><strong>Bloqueado</strong></input>
            </label>
          </div>
        </div>
      </div>

      <div class="btn-group">
        <button class="btn btn-success" type="submit"><span class="glyphicon glyphicon-ok"></span> Gravar</button>