<?php
$this->load->view('includes/header.php');
?>
<?
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>');
?>

<form name="form1" method="post" action="<?php echo $form_action ?>">

<table width="886">
	<tr>
		<td width="139">&nbsp;</td>
		<td width="10">&nbsp;</td>
		<td width="721">&nbsp;</td>
	</tr>
	<tr>
	  <td height="28" bgcolor="#DDDDDD"><strong>ID</strong></td>
	  <td bgcolor="#DDDDDD"><strong>:</strong></td>
	  <td><span class="primary">
	    <input type="text" name="txt_id" id="txt_id" size="5" maxlength="5" readonly="readonly" value="<?php echo set_value('txt_id', isset($default['txt_id']) ? $default['txt_id'] : ''); ?>" />
	  </span></td>
  </tr>
	<tr>
	  <td height="28" bgcolor="#DDDDDD"><strong>Nama Perijinan</strong></td>
	  <td bgcolor="#DDDDDD"><strong>:</strong></td>
	  <td><span class="primary">
	    <input type="text" name="txt_nama" id="txt_nama" size="70" readonly="readonly" value="<?php echo set_value('txt_nama', isset($default['txt_nama']) ? $default['txt_nama'] : ''); ?>" />
	  </span></td>
  </tr>
	<tr>
	  <td height="28" bgcolor="#DDDDDD"><strong>Detail Perijinan</strong></td>
	  <td bgcolor="#DDDDDD"><strong>:</strong></td>
	  <td><span class="primary">
	    <input type="text" name="txt_detail" id="txt_detail" size="70" readonly="readonly" value="<?php echo set_value('txt_detail', isset($default['txt_detail']) ? $default['txt_detail'] : ''); ?>" />
	  </span></td>
    </tr>
	<tr>
	  <td height="28" bgcolor="#DDDDDD"><strong>Lokasi Perijinan</strong></td>
	  <td bgcolor="#DDDDDD"><strong>:</strong></td>
	  <td><span class="primary">
	    <input type="text" name="txt_lokasi" id="txt_lokasi" readonly="readonly" size="40" value="<?php echo set_value('txt_lokasi', isset($default['txt_lokasi']) ? $default['txt_lokasi'] : ''); ?>" />
	  </span></td>
  </tr>
	<tr>
	  <td height="29" bgcolor="#DDDDDD"><strong>Lokasi Dokumen</strong></td>
	  <td bgcolor="#DDDDDD"><strong>:</strong></td>
	  <td><span class="primary">
	    <input type="text" name="txt_doc" id="txt_doc" size="40" readonly="readonly" value="<?php echo set_value('txt_doc', isset($default['txt_doc']) ? $default['txt_doc'] : ''); ?>" />
	  </span></td>
  </tr>
	<tr>
		<td height="31" bgcolor="#DDDDDD"><strong>File</strong></td>
		<td bgcolor="#DDDDDD"><strong>:</strong></td>
		<td><font color="#FF0000"><?php echo $txt_file; ?></font></td>
	</tr>
	<tr>
	  <td height="29" bgcolor="#DDDDDD"><strong>Options</strong></td>
	  <td bgcolor="#DDDDDD"><strong>:</strong></td>
	  <td><?php echo $download.' || '.$delete ?></td>
    </tr>
	<tr>
	  <td></td>
	  <td></td>
	  <td>&nbsp;</td>
  </tr>
  </table>

</form>

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