<?
	$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 style="margin:0 20px 0 0">Od: </span><input type="text" name="primka_od" id="primka_od" value="<?=$l_datum_str?>" style="width:70px"><img src="<?=$g_path_sl_res
			?>js/datetimepicker_css/cal.gif" class="datetimepicker" onclick="NewCssCal('primka_od', 'ddMMyyyy', 'arrow'); return false;" style="float:none"></p>
		<p><span style="margin:0 20px 0 0">Do: </span><input type="text" name="primka_do" id="primka_do" value="<?=u_datum(0, 1).'-'.u_mjesec(0, 1).'-'.u_godina()
			?>" style="width:70px"><img src="<?=$g_path_sl_res
			?>js/datetimepicker_css/cal.gif" class="datetimepicker" onclick="NewCssCal('primka_do', 'ddMMyyyy', 'arrow'); return false;" style="float:none"></p>
		<p>
			<span style="margin:0 7px 0 0">Vrsta:</span><select name="vrsta">
				<option value="2">Promjena cijene</option>
				<option value="3">Promjena cijene kalkulacijom</option>
			</select>
		</p>
		<p><input type="submit" value="Izradi izvjesce" class="sbm"></p>
		</form>
	</div>
