<div class="header">
            <div class="table" align="left">
                <div>
                    <h2><i class="fas fa-print"></i> MAPA DE ALUNOS</h2>
                    <button type="button" class='botao gravar' onClick="imprimir()" style="width: 10em"><i class='fa-solid fa-print'></i> Imprimir</button>
                    <button type="button" onClick="document.location='home.php'" class='botao cancelar'>Cancelar</button>
                    <div style="width: 730px" >
                        <div class="ficha">
                            <div style="padding: 15px;">
                                <div style=" width: auto; font-size: 13px; font-weight: bold;">
                                    <div style="align-content: start; border: 2px outset; background-color: lightblue; padding: 5px 5px; width: 700px;  display: table-cell;">
                                        <fieldset style="padding-bottom: 5px; margin-bottom: 10px;">
                                            <legend>Alunos</legend>
                                            <div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 150px;">
                                                    <input type="radio" name="p_alunos" value="0"  checked="true"/>
                                                    <label for="p_alunos">Data Inscrição</label><br>
                                                </div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 100px;">
                                                    <input type="date" id="p_data1" name="p_data1" style="width: 9em" value="<?php echo $dateOld ?>">
                                                </div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 80px; text-align: center;">
                                                    <p>até</p>
                                                </div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 100px;">
                                                    <input type="date" id="p_data2" name="p_data2" style="width: 9em" value="<?php echo $dateNow ?>">
                                                </div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 80px; text-align: center;">
                                                </div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 100px;">
                                                </div>
                                            </div>
                                            <div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 150px;">
                                                    <input type="radio" name="p_alunos" value="1"/>
                                                    <label for="p_alunos">Do Número: </label><br>
                                                </div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 100px;">
                                                    <input type="number" id="p_num1" name="p_num1" style="width: 9em" min="1">                                                           
                                                </div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 80px; text-align: center;">
                                                    <p>até</p>
                                                </div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 100px;">
                                                    <input type="number" id="p_num2" name="p_num2" style="width: 9em" min="1">                                                           
                                                </div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 80px; text-align: center;">
                                                </div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 100px;">
                                                </div>
                                            </div>
                                            <div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 150px;">
                                                    <input type="radio" name="p_alunos" value="2"/>
                                                    <label for="p_alunos">Ano Nascimento: </label><br>
                                                </div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 100px;">
                                                    <input type="number" id="p_ano" name="p_ano" style="width: 5em" value="<?php echo $yearNow ?>">                                                           
                                                </div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 80px; text-align: center;">
                                                    <p>Do Mês</p>
                                                </div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 100px;">
                                                    <input type="number" id="p_mes1" name="p_mes1" style="width: 3em" min="1" max="12" value="1">
                                                </div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 80px; text-align: center;">
                                                    <p>Ao Mês</p>
                                                </div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 100px;">
                                                    <input type="number" id="p_mes2" name="p_mes2" style="width: 3em" min="1" max="12" value="12">
                                                </div>
                                            </div>
                                            <div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 150px;">
                                                    <input type="radio" name="p_alunos" value="3"/>
                                                    <label for="p_alunos">Todos</label><br>
                                                </div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 100px;">
                                                </div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 80px; text-align: center;">
                                                </div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 100px;">
                                                </div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 80px; text-align: center;">
                                                </div>
                                                <div style="display: table-cell;  padding-left: 15px; width: 100px;">
                                                </div>
                                            </div>
                                        </fieldset>
                                        <div>
                                            <div style="display: table-cell; padding: 5px 5px; width: 230px;">
                                                <fieldset style="padding: 5px; margin-bottom: 10px;font-size: 15px; font-weight: bold;">
                                                    <legend>Situação</legend>
                                                    <input type="radio" name="p_situacao" value="0"  checked="true"/>
                                                    <label for="p_situacao">Activo</label><br>
                                                    <input type="radio" name="p_situacao" value="1"/>
                                                    <label for="p_situacao">Histórico</label><br>
                                                    <input type="radio" name="p_situacao" value="2"/>
                                                    <label for="p_situacao">Transferido</label><br>
                                                    <input type="radio" name="p_situacao" value="3"/>
                                                    <label for="p_situacao">Anulado</label><br>
                                                    <input type="radio" name="p_situacao" value="4"/>
                                                    <label for="p_situacao">Todos</label>
                                                </fieldset>                                            
                                            </div>
                                            <div style="display: table-cell; padding: 5px 5px; width: 230px;">
                                                <fieldset style="padding: 5px; margin-bottom: 10px;font-size: 15px; font-weight: bold;">
                                                    <legend>Ordem</legend>
                                                    <input type="radio" name="p_ordem" value="1"  checked="true"/>
                                                    <label for="p_ordem">Numérica</label><br>
                                                    <input type="radio" name="p_ordem" value="2"/>
                                                    <label for="p_ordem">Alfabética</label>
                                                </fieldset>                                            
                                            </div>
                                            <div style="display: table-cell; padding: 5px 5px; width: 230px;">
                                                <fieldset style="padding: 5px; margin-bottom: 10px;font-size: 15px; font-weight: bold;">
                                                    <legend>Tipo</legend>
                                                    <input type="radio" name="p_tipo" value="1"  checked="true"/>
                                                    <label for="p_tipo">Alunos</label><br>
                                                    <input type="radio" name="p_tipo" value="2"/>
                                                    <label for="p_tipo">Clientes</label><br>
                                                    <input type="radio" name="p_tipo" value="3"/>
                                                    <label for="p_tipo">Todos</label>
                                                </fieldset>                                            
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <button type="button" class='botao gravar' onClick="imprimir()" style="width: 10em"><i class='fa-solid fa-print'></i> Imprimir</button>
                    <button type="button" onClick="document.location='home.php'" class='botao cancelar'>Cancelar</button>
                </div>
            </div>
        </div>