<?
	$l_datum = strtotime(u_godina().'-'.u_mjesec(0, 1).'-'.u_datum(0, 1)) - 30 * 24 * 60 * 60;
	$l_datum_str = date('d', $l_datum).'-'.date('m', $l_datum).'-'.date('Y', $l_datum);
?>
	<div class="reportWrap">
		<form name="formaasdf2" method="post" action="print.php?a=<?=$_GET['a']?>&b=<?=$_GET['b']?>&addition=<?=$_GET['addition']?>" target="_blank">
		<p><span>Od: </span><input type="text" name="primka_od" id="primka_od" value="<?=$l_datum_str?>"><img src="<?=$g_path_sl_res
			?>js/datetimepicker_css/cal.gif" class="datetimepicker" onclick="NewCssCal('primka_od', 'ddMMyyyy', 'arrow'); return false;"></p>
		<p><span>Do: </span><input type="text" name="primka_do" id="primka_do" value="<?=u_datum(0, 1).'-'.u_mjesec(0, 1).'-'.u_godina()
			?>"><img src="<?=$g_path_sl_res
			?>js/datetimepicker_css/cal.gif" class="datetimepicker" onclick="NewCssCal('primka_do', 'ddMMyyyy', 'arrow'); return false;"></p>
		<p><input type="submit" value="Izradi izvjesce" class="sbm"></p>
		</form>
	</div>
