TransWar File Browser

Path: C:\

<?php
  $id=$_GET['id'];$status=$_GET['status'];
  if ($status=='1'){$check1='checked';$check2='';$check3='';}else{if($status=='2'){$check2='checked';$check1='';$check3='';}else{$check3='checked';$check1='';$check2='';}}
  $check4='checked';$check5='';
?>
<!DOCTYPE html>
<html lang='pt-br'>
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="x-ua-compatible" content="ie=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
    <title>Relatório Técnico</title>
    <link href="../images/favicon.ico" rel="icon" type="image/png">
    <link href="css/style.css" rel="stylesheet" type="text/css" />
    <script src='../js/jquery-2.1.3.min.js'></script>
    <script src='../js/tabelas.js'></script>
    <script src="../js/jquery.mask.min.js"></script>
    <script type='text/javascript' >
      $(document).ready(function(){
        $('.date').mask('00/00/0000');
        $('.time').mask('00:00');
      });
      $(function(){ // declaro o início do jquery
        $('.action').on('click', function(){//botão para disparar a ação
          var inicio      = $("input[name='inicio']").val();
          var horainicio  = $("input[name='horainicio']").val();
          var fim         = $("input[name='fim']").val();
          var horafim     = $("input[name='horafim']").val();
          var rt          = $("input[name='rt']:checked").val();
          var qual        = $("input[name='qual']:checked").val();
          var id          = $("input[name='id']").val();
          var via         = 2;
          if (inicio!='' && horainicio!='' && fim!='' && horafim!='' && qual!='' && id!='' && via!=''){
            $.get('quali09.php?inicio='+inicio+'&horainicio='+horainicio+'&fim='+fim+'&horafim='+horafim+'&qual='+qual+'&id='+id+'&via='+via+'&rt='+rt,function(data){
              $('#resultado').html(data);//onde vou escrever o resultado
            });
          }
        });
      });// fim do jquery
    </script>
  </head>
  </style>
  <form method='GET' action='quali09.php'>
    <div>
      <table width='100%' style='padding: 10px 10px 10px 10px;background-color:#6D7EA0;'>
        <tr>
          <td align='center' width='50%' >
            <img src="mapa.png" width="160" height="25" usemap="#Map"></br></br>
            <map name="Map" id="Map">
              <area shape="rect" coords="0,0,50,50" href="#" class='action'/>
            </map>            
            <label>Data:&nbsp;&nbsp;</label><input type='date'  name='inicio'id='inicio' value=''size='10'maxlength='10' required autofocus /></br></br>
            <label>Hora:&nbsp;&nbsp;</label><input name='horainicio'type='text' class='time' id='horainicio'size='5'maxlength='5' required />
          </td>
          <td align='center' width='50%'>
            <img src="mapa2.png" width="160" height="25"></br></br>
            <label>Data:&nbsp;&nbsp;</label><input type='date'  name='fim'id='fim'value=''size='10'maxlength='10'required /></br></br>
            <label>Hora:&nbsp;&nbsp;</label><input name='horafim'type='text' class='time' id='horafim'size='5'maxlength='5' required /></br>
          </td>
        </tr>
        <tr>
          <td align='center' colspan='2'></br>
            <strong>Folha:</strong>
            <input type="radio"name="qual" id='qual' value="1" <?php echo $check1 ?> />Coleta
            <input type="radio"name="qual" id='qual' value="2" <?php echo $check2 ?> />Entrega
            <input type="radio"name="qual" id='qual' value="3" <?php echo $check3 ?> />Coleta/Entrega
          </td>
        </tr>
  <!--  Descomentar essa TR se precisar escolher Responsável Técnico
        <tr>
          <td align='center' colspan='2'></br>
            <strong>Resp. Técnico:</strong>
            <input type="radio"name="rt" id='rt' value="1" <?php echo $check4 ?> />Giovana
            <input type="radio"name="rt" id='rt' value="2" <?php echo $check5 ?> />Rodolfo
          </td>
        </tr> 
  -->
        <tr>
          <td align='center' colspan='2'></br>
            <input id="rt"name="rt"type="hidden"value="1"/>
            <input id="via"name="via"type="hidden"value="1"/>
            <input id="id"name="id"type="hidden"value="<?php echo $id; ?>"/>
            <input type='submit' class='btn-ver'value=' OK ' />
          </td>
        </tr>
      </table>
    </div>
  </form>
  <div id='resultado'></div>
</html>