<?php for($a=1;$a<=12;$a++){?>
		   <div class="form-group">
			   <?php $nm_f=sprintf("%'.02d", $a);?> 
			   <div class="col-sm-2">
                               <label for="<?php echo $nm_f?>"><?php echo GetMonthFull($nm_f) ?></label>
				   </div><div class="col-sm-2">
                                   <?php echo form_input($nm_f,(isset($val[$nm_f]) ? number_format($val[$nm_f],0,",",".") : ''),'class="form-control currenzy"'); ?>
			   </div>
		   </div>
<?php } ?>
<script>
    $(document).ready(function(e){
        //alert('ok');
    $('.currenzy').maskMoney({thousands:".",decimal:",",precision:0}); 
        
    });
    </script>