<title><?php echo $i_judul ; ?></title>


<div class="main-content">


<div class="container_24 primary_content_wrap clearfix" role="main"><div id="content" class="grid_16">
<div class="page-header">
							<h1>
								<?php echo $i_judul; ?>
								
							</h1>
						</div>


<?php echo form_open_multipart('index.php/admin_gallery/simpan','role="search"'); ?>
<input type="hidden" name="id" value="<?php echo $id; ?>" />
<input type="hidden" name="tipe" value="<?php echo $tipe; ?>" />
<input type="hidden" name="tanggal" value="<?php echo date('Y-m-d H:i:s'); ?>" />



<div class="form-group">
	<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> Judul </label>
		<div class="col-sm-9">
				<input class="form-control" type="text" name="judul_ind" size="45" required="required"  value="<?php echo $judul_ind; ?>" />
		</div>
</div>

<div class="form-group">
	<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> Foto Saat ini </label>
		<div class="col-sm-9">
				<a class="fancybox" data-fancybox-group="gallery" title="<?php echo $judul_ind;?>" href="<?php echo url_14."agung/galeri/$gambar";?>">
<img src="<?php echo url_14."agung/galeri/$gambar"; ?>" width="100">
</a>
		</div>
</div>

<div class="form-group">
	<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> Foto </label>
		<div class="col-sm-9">
				<input type="file" name="userfile" size="10" required="required" /><br /><br />
Foto harus ukuran 500px x 500px, dan tipe nya adalah jpg
		</div>
</div>


<input class="btn btn-info" type="submit" value="Simpan" />
 <a class="btn btn-danger" href="<?php echo base_url(); ?>admin_gallery/index/<?php echo $tipe; ?>"> <i class="ace-icon fa fa-reply icon-only"></i>
Kembali</a>

<?php echo form_close(); ?>


</div>
</div></div>