<!--datepicker-->
   <script src="<?php echo base_url();?>etc/jqueryui/development-bundle/jquery-1.8.0.js"></script>
	<script src="<?php echo base_url();?>etc/jqueryui/development-bundle/ui/jquery.ui.core.js"></script>
	<script src="<?php echo base_url();?>etc/jqueryui/development-bundle/ui/jquery.ui.widget.js"></script>
	<script src="<?php echo base_url();?>etc/jqueryui/development-bundle/ui/jquery.ui.datepicker.js"></script>
	<link rel="stylesheet" href="<?php echo base_url();?>jqueryui/development-bundle/demos/demos.css">
	<script>
    $(function() {
		$( "#txt_tglremind" ).datepicker({
			changeMonth: true, // menampilkan dropdown untuk ganti bulan
            changeYear: true // menampilkan dropdown untuk ganti Tahun
			});
        $( "#txt_tglremind" ).datepicker({ altFormat: 'dd-mm-yy' });
		$( "#txt_tglremind" ).change(function() {
        $( "#txt_tglremind" ).datepicker( "option", "dateFormat","dd-mm-yy" );
		});
    	});
    	</script>
        
<!--datepicker-->
   <script src="<?php echo base_url();?>etc/jqueryui/development-bundle/jquery-1.8.0.js"></script>
	<script src="<?php echo base_url();?>etc/jqueryui/development-bundle/ui/jquery.ui.core.js"></script>
	<script src="<?php echo base_url();?>etc/jqueryui/development-bundle/ui/jquery.ui.widget.js"></script>
	<script src="<?php echo base_url();?>etc/jqueryui/development-bundle/ui/jquery.ui.datepicker.js"></script>
	<link rel="stylesheet" href="<?php echo base_url();?>jqueryui/development-bundle/demos/demos.css">
	<script>
    $(function() {
		$( "#txt_tglremind2" ).datepicker({
			changeMonth: true, // menampilkan dropdown untuk ganti bulan
            changeYear: true // menampilkan dropdown untuk ganti Tahun
			});
        $( "#txt_tglremind2" ).datepicker({ altFormat: 'dd-mm-yy' });
		$( "#txt_tglremind2" ).change(function() {
        $( "#txt_tglremind2" ).datepicker( "option", "dateFormat","dd-mm-yy" );
		});
    	});
    	</script>
        
<!--datepicker-->
   <script src="<?php echo base_url();?>etc/jqueryui/development-bundle/jquery-1.8.0.js"></script>
	<script src="<?php echo base_url();?>etc/jqueryui/development-bundle/ui/jquery.ui.core.js"></script>
	<script src="<?php echo base_url();?>etc/jqueryui/development-bundle/ui/jquery.ui.widget.js"></script>
	<script src="<?php echo base_url();?>etc/jqueryui/development-bundle/ui/jquery.ui.datepicker.js"></script>
	<link rel="stylesheet" href="<?php echo base_url();?>jqueryui/development-bundle/demos/demos.css">
	<script>
    $(function() {
		$( "#txt_tglremind3" ).datepicker({
			changeMonth: true, // menampilkan dropdown untuk ganti bulan
            changeYear: true // menampilkan dropdown untuk ganti Tahun
			});
        $( "#txt_tglremind3" ).datepicker({ altFormat: 'dd-mm-yy' });
		$( "#txt_tglremind3" ).change(function() {
        $( "#txt_tglremind3" ).datepicker( "option", "dateFormat","dd-mm-yy" );
		});
    	});
    	</script>
        
<!--datepicker-->
   <script src="<?php echo base_url();?>etc/jqueryui/development-bundle/jquery-1.8.0.js"></script>
	<script src="<?php echo base_url();?>etc/jqueryui/development-bundle/ui/jquery.ui.core.js"></script>
	<script src="<?php echo base_url();?>etc/jqueryui/development-bundle/ui/jquery.ui.widget.js"></script>
	<script src="<?php echo base_url();?>etc/jqueryui/development-bundle/ui/jquery.ui.datepicker.js"></script>
	<link rel="stylesheet" href="<?php echo base_url();?>jqueryui/development-bundle/demos/demos.css">
	<script>
    $(function() {
		$( "#txt_tglexpired" ).datepicker({
			changeMonth: true, // menampilkan dropdown untuk ganti bulan
            changeYear: true // menampilkan dropdown untuk ganti Tahun
			});
        $( "#txt_tglexpired" ).datepicker({ altFormat: 'dd-mm-yy' });
		$( "#txt_tglexpired" ).change(function() {
        $( "#txt_tglexpired" ).datepicker( "option", "dateFormat","dd-mm-yy" );
		});
    	});
    	</script>

<?php
$this->load->view('includes/header.php');
?>

<script type="text/javascript">
	$(function() {
		$( "#tabs" ).tabs({
			collapsible: true
		});
	});
</script>

<?
echo '<font class="title">'.$menu_path.'</font>';
echo '<br>';
			/* Display system message */
			$this->fungsi->disp_sys_msg();
			echo validation_errors('<p class="field_error">', '</p>');
?>


<script type="text/javascript">
	$(function() {
		$( "#tabs" ).tabs({
			collapsible: true
		});
	});
</script>

 

  <div style="border:1px #999999 solid; width:98.9%; height:auto; padding:10px 0px 5px 10px; 
                    border-radius:4px; margin-top:5px; background:#EEE;">
<form name="form1" method="post" action="<?php echo $form_action ?>">
        <table width="100%" border="0" cellspacing="1" cellpadding="0">
        <tr>
          <td height="26"><strong>ID</strong></td>
          <td><strong>:</strong></td>
          <td><span class="primary">
            <input type="text" name="txt_id" disabled="disabled" id="txt_id" size="5" maxlength="5" value="<?php echo set_value('txt_id', isset($default['txt_id']) ? $default['txt_id'] : ''); ?>" />
          </span></td>
        </tr>
        <tr>
          <td width="14%"><strong>Jenis Perijinan</strong></td>
          <td width="1%"><strong>:</strong></td>
          <td width="85%"><select name="cb_perijinan" id="cb_perijinan">
            <?php
		  echo $perijinan;
		  ?>
          </select></td>
        </tr>
        <tr>
          <td height="24"><strong>Group Dept</strong></td>
          <td><strong>:</strong></td>
          <td><select name="cb_group" id="cb_group">
            <?php
		  echo $group;
		  ?>
          </select></td>
        </tr>
        <tr>
          <td height="24"><strong>Nama Perijinan</strong></td>
          <td><strong>:</strong></td>
          <td><span class="primary">
          <input type="text" name="txt_nama" id="txt_nama" size="80" maxlength="100" value="<?php echo set_value('txt_nama', isset($default['txt_nama']) ? $default['txt_nama'] : ''); ?>" />
          </span></td>
        </tr>
        <tr>
          <td height="23"><strong>Lokasi Perijinan</strong></td>
          <td><strong>:</strong></td>
          <td><span class="primary">
            <input type="text" name="txt_lokasi" id="txt_lokasi" size="40" maxlength="35" value="<?php echo set_value('txt_lokasi', isset($default['txt_lokasi']) ? $default['txt_lokasi'] : ''); ?>" />
          </span></td>
        </tr>
        <tr>
          <td height="24"><strong>Detail Perijinan</strong></td>
          <td><strong>:</strong></td>
          <td><textarea name="txt_detail" id="txt_detail" cols="50" rows="2" class="element"><?php echo set_value('txt_detail', isset($default['txt_detail']) ? $default['txt_detail'] : ''); ?></textarea></td>
        </tr>
        <tr>
          <td height="21"><strong>Suporting Dokumen</strong></td>
          <td><strong>:</strong></td>
          <td><textarea name="txt_suporting" id="txt_suporting" cols="50" rows="2" class="element"><?php echo set_value('txt_suporting', isset($default['txt_suporting']) ? $default['txt_suporting'] : ''); ?></textarea></td>
        </tr>
        <tr>
          <td height="23"><strong>Information Detail</strong></td>
          <td><strong>:</strong></td>
          <td><textarea name="txt_information" id="txt_information" cols="50" rows="2" class="element"><?php echo set_value('txt_information', isset($default['txt_information']) ? $default['txt_information'] : ''); ?></textarea></td>
        </tr>
        <tr>
          <td height="23"><strong>Lokasi Dokumen</strong></td>
          <td><strong>:</strong></td>
          <td><span class="primary">
            <input type="text" name="txt_doc" id="txt_doc" size="40" maxlength="35" value="<?php echo set_value('txt_doc', isset($default['txt_doc']) ? $default['txt_doc'] : ''); ?>" />
          </span></td>
        </tr>
        <tr>
          <td height="23"><strong>Tanggal Reminder 1</strong></td>
          <td><strong>:</strong></td>
          <td><span class="primary">
            <input type="text" name="txt_tglremind" id="txt_tglremind" size="12" maxlength="10" value="<?php echo set_value('txt_tglremind', isset($default['txt_tglremind']) ? $default['txt_tglremind'] : ''); ?>" />
          </span></td>
        </tr>
        <tr>
          <td height="23"><strong>Tanggal Reminder 2</strong></td>
          <td><strong>:</strong></td>
          <td><span class="primary">
            <input type="text" name="txt_tglremind2" id="txt_tglremind2" size="12" maxlength="10" value="<?php echo set_value('txt_tglremind2', isset($default['txt_tglremind2']) ? $default['txt_tglremind2'] : ''); ?>" />
          </span></td>
        </tr>
        <tr>
          <td height="23"><strong>Tanggal Reminder 3</strong></td>
          <td><strong>:</strong></td>
          <td><span class="primary">
            <input type="text" name="txt_tglremind3" id="txt_tglremind3" size="12" maxlength="10" value="<?php echo set_value('txt_tglremind3', isset($default['txt_tglremind3']) ? $default['txt_tglremind3'] : ''); ?>" />
          </span></td>
        </tr>
        <tr>
          <td height="23"><strong>Tanggal Expired</strong></td>
          <td><strong>:</strong></td>
          <td><span class="primary">
            <input type="text" name="txt_tglexpired" id="txt_tglexpired" size="12" maxlength="10" value="<?php echo set_value('txt_tglexpired', isset($default['txt_tglexpired']) ? $default['txt_tglexpired'] : ''); ?>" />
          </span></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td><input name="button" type="submit" id="button" value="Submit" class="button" /></td>
      </tr>
    </table><br />
</form>
</div>

<?php
if ( ! empty($link))
	{
		echo '<p id="bottom_link">';
		foreach($link as $links)
		{
			echo $links . ' ';
		}
		echo '</p>';
	}
	$this->load->view('includes/footer.php');
?>