<div class="row">
	<div class="col-md-8 col-sm-12 clearfix">
		<div class="breadcrumb">
			<a href="#"><i class="fa fa-home"></i> Home</a> » <?php echo $title; ?> 
		</div>
		<h2><?php echo "$title"; ?></h2><br>
		 		 
		<?php echo $this->session->flashdata('message');
		echo "<form action='".base_url()."user/konsultasi_tambah' enctype='multipart/form-data' method='POST' class='form-horizontal' onSubmit='return validasireg(this)'>
		  <div class='form-group'>
		    <label for='inputEmail3' class='col-sm-3 control-label'>Kategori</label>
		    <div class='col-sm-9'>
		    	<select name='a' class='form-control' required>
                <option value='' selected>- Pilih Kategori -</option>";
                foreach ($kategori as $row){
                    echo "<option value='$row[id_kategori_konsul]'>$row[nama_kategori]</option>";
                }
                echo "</select>
		    </div>
		  </div>
		  <div class='form-group'>
		    <label for='inputPassword3' class='col-sm-3 control-label'>Judul</label>
		    <div class='col-sm-9'>
		      <input type='text' class='form-control' name='b' required>
		    </div>
		  </div>

		  <div class='form-group'>
		    <label for='inputEmail3' class='col-sm-3 control-label'>Deskripsi</label>
		    <div class='col-sm-9'>
		      <textarea name='h' class='form-control textarea' required></textarea>
		    </div>
		  </div>

		  <div class='form-group'>
		    <label style='padding-top: 0px;' for='inputEmail3' class='col-sm-3 control-label'>$image</label>
		    <div class='col-sm-9'>
		      <input name='secutity_code' maxlength=6 class='form-control' placeholder='Masukkkan kode di sebelah kiri..' maxlength='50'  onkeyup='nospaces(this)' required>
		    </div>
		  </div>

		  <br>
		  <div class='form-group'>
		    <div class='col-sm-offset-2 col-sm-10'>
		      <button type='submit' name='submit' class='btn btn-primary'>Kirimkan</button>
		      <button type='reset' class='btn btn-success'>Batal</button>
		      <a href='".base_url()."user/konsultasi' class='btn btn-default'>Kembali ke-Awal</a>
		    </div>
		  </div>
		</form>
	</div>


	<div class='col-md-4 sidebar col-sm-12'>";
		include "sidebar.php";
	echo "</div>
</div>";