<?php
include_once(__DIR__."/../../core.php");
	

if (sizeof($records) < 1){
	$class = 'info';
	$disabled = 'disabled';
}else{
	$class = 'primary';
	$disabled = '';
}
$disabled = '';
 

 
?>


<div class="panel panel-info">
	<div class="clearfix"></div>
		<br>
		<div class="col-md-5">				
			<div class="pull-left">		
				<button type="button" onclick="window.open('<?php echo $rootdir ?>/templates/pdfgen.php?ptype=prt_anagrafiche&search_tipo=<?php echo $search_tipo; ?>');"  <?php echo $disabled; ?>  class="btn btn-<?php echo $class; ?> btn-block"><i class="fa fa-print"></i> Stampa anagrafiche</button>				
			</div>
			<div class="pull-right">
				<a   target="_blank" class="btn btn-<?php echo $class; ?> btn-block" href="<?php echo $rootdir ?>/modules/anagrafiche/gps/index_gps.html"><i class="fa fa-map-marker"></i> Anagrafiche in Google Maps</a>				
			</div>

		</div>
		<div class="col-md-4">				
		</div>
		
		<div class="col-md-4">

		</div>			
		<div class="clearfix"></div>
		<br>
</div>





