<?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>');
?>

<?php echo form_open_multipart('legal/perijinan/do_add_dokumen') ?>

<table width="886">
	<tr>
		<td width="122">&nbsp;</td>
		<td width="9">&nbsp;</td>
		<td width="444">&nbsp;</td>
		<td width="291">&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 value="<?php echo set_value('txt_id', isset($default['txt_id']) ? $default['txt_id'] : ''); ?>" />
	  </span></td>
	  <td>&nbsp;</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 value="<?php echo set_value('txt_nama', isset($default['txt_nama']) ? $default['txt_nama'] : ''); ?>" />
	  </span></td>
	  <td>&nbsp;</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>
	  <td>&nbsp;</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 size="40" value="<?php echo set_value('txt_lokasi', isset($default['txt_lokasi']) ? $default['txt_lokasi'] : ''); ?>" />
	  </span></td>
	  <td>&nbsp;</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 value="<?php echo set_value('txt_doc', isset($default['txt_doc']) ? $default['txt_doc'] : ''); ?>" />
	  </span></td>
	  <td>&nbsp;</td>
  </tr>
	<tr>
		<td height="31" bgcolor="#DDDDDD"><strong>File</strong></td>
		<td bgcolor="#DDDDDD"><strong>:</strong></td>
		<td><input type="file" name="userfile" value="<?php echo set_value('userfile'); ?>" size="10" /></td>
		<td>
			<?php echo form_error('userfile', '<span class="error">', '</span>'); ?>
			<?php echo $error;?>
		</td>
	</tr>
	<tr>
	  <td></td>
	  <td></td>
	  <td><font color="#FF0000"> pdf, doc, jpg, png [max size 5 Mb]</font></td>
  </tr>
	<tr>
	  <td></td>
	  <td></td>
	  <td>&nbsp;</td>
  </tr>
	<tr>
		<td></td>
		<td></td>
		<td><input class="tombol" type="submit" name="simpan" value="Save" /></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');
?>