<div class="col-md-12  full min_ht">
<div class="col-md-9  text-left">





<div class="err_msg" >
<?php 
echo validation_errors(); 
echo $str; 
?>
</div>


<h1 style="text-align:left;"><i class="fa fa-bars" aria-hidden="true"></i> <?php echo $heading ; ?></h1>
<div class="clr2"></div>
<hr>


<form name="form1" method="post" action="" enctype="multipart/form-data">

<p>
<label>Order * </label><br>
<select name="order"  class="form-control" style="width:auto;"  >
<option value="">-Select-</option>
<?php for($i=1;$i<=20;$i++): ?>
<option value="<?=$i?>" <?php if($i==$order){echo "selected";}?> ><?php echo $i ; ?></option>
<?php endfor; ?>
</select>
</p>

<p>
<label>Type * </label><br>
<select name="type"  class="form-control" style="width:auto;"  >

	<option value="about" <?php if($type=='testi'){echo "selected";}?>>Testimonials</option>
<!--	<option value="terms_and_conditions" <?php if($type=='terms_and_conditions'){echo "selected";}?>>Terms and conditions</option>
	<option value="privacy_and_policy" <?php if($type=='privacy_and_policy'){echo "selected";}?>>Privacy and policy</option>-->
</select>
</p>

<p>
<label>Testimonial *</label><br />
<textarea name="text" cols="50" rows="12" onblur="return blank(this)" id="elm3"><?php echo $text ; ?></textarea>
</p>



<p>
<label>Name *</label><br>
<input type="text" name="title" class="form-control" value="<?php echo $title ; ?>" />
</p>




<br />
<p>
<!--<label>Image ( 250x250, Only jpeg, gif. Maxsize 500 Kb)</label><br/>-->
<input type="hidden" name="img"/>&nbsp;&nbsp;&nbsp;
<?php if($img!=''){?>

<img src="<?php echo base_url('assets/images/'.$img) ;?>" width="70" height="70" border="0" />
<a href="<?php echo site_url($type.'_admin/image_delete/'.$aid.'/1/') ; ?>" onClick="return confirm('Delete image ?')">
<img src="<?php echo base_url('assets/web_images/delete.gif') ; ?>" width="20" height="20" />
</a> 
<?php } ?>
</p>


<p>
<input name="submit" class="btn btn-lg btn-primary btn-block btn2" value="Submit" type="submit" style="width:150px;" >
</p>

</form>



</div></div>