<?php

  $title="Alat dan Mesin Pertanian";

  //$judul=$title;

  $url='leaflet-point';

  $fileJs='leaflet-pointJs';



  $cari=(isset($_GET['cari']))?$_GET['cari']:'';

  $tahun=(isset($_GET['tahun']))?$_GET['tahun']:'semua';

 ?>

<?=content_open($title)?>

	<form>

		<?=input_hidden('halaman',$url)?>

		<div class="form-group">

			<div class="row">

				<div class="col-md-3">

					<label>Nama Alsintan</label>

				</div>

				<div class="col-md-2">

					<label>Tahun</label>

				</div>

			</div>

			<div class="row">

				<div class="col-md-3">

					<?=input_text('cari',$cari)?>

				</div>

				<div class="col-md-2">

					<?php

						$op=null;

						$op['semua']='Semua';

						for ($i=2018; $i <= date('Y') ; $i++) { 

							$op[$i]=$i;

						}

						echo select('tahun',$op,$tahun);

					?>

				</div>	

				<div class="col-md-3">

					<button type="submit" class="btn btn-info">Tampilkan</button>

				</div>

			</div>

	</form>

	<hr>

 	<div id="mapid"></div>

<?=content_close()?>

