<?php
include("../../../functions.inc.php");
checkLogin('adm');
?>
<div>
    <div class="modal-d-title">Cerca anagrafica</div>

    <form role="form" class="form-horizontal" name="anagr_search" action="./" onSubmit="return checkForm(this.name)" method="get" enctype="application/x-www-form-urlencoded">
    
        <div class="modal-body modal-body-diag">
        
            <div class="form-group">
                <label class="control-label col-sm-2 txt-overflow">Cognome</label>
                <div class="col-sm-10">
                    <input type="text" maxlength="20" class="form-control" id="search_cognome" name="flt_cogn">
                </div>
            </div>
        
            <div id="result_anagr_search"></div>
            
        </div>
        
        <div class="modal-footer">
            <button id="okButton" type="submit" class="btn btn-primary">Cerca</button>
            <button type="button" class="btn btn-default" data-dismiss="modal">Annulla</button>
        </div>
    
        <input type="hidden" name="filter" value="1">
    </form>
</div>