<h3 align="center"><?php echo $heading ; ?></h3>

<div align="center" style="width:100%;">

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

<div style="width:460px; height:auto; text-align:left;">

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

<p>
<label>Order * </label><br>
<select name="order"  style="width:100px;" onblur="return blank(this);" >
<option value="">-Select-</option>
<?php for($i=1;$i<=50;$i++): ?>
<option value="<?=$i?>" <?php if($i==$order){echo "selected";}?> ><?php echo $i ; ?></option>
<?php endfor; ?>
</select>
</p>



<p>
<label>Title *</label><br>
<input type="text" name="title" style="width:450px;" value="<?php echo $title ; ?>" />
</p>

<p>
<label>Image ( 100x100, Only jpeg, gif. Maxsize 50 Kb)</label><br/><br />
<input type="file" name="img"/>&nbsp;&nbsp;&nbsp;
<?php if($image!=''){?>

<img src="<?php echo base_url('assets/images/'.$image) ;?>" width="70" height="70" border="0" />
<a href="<?php echo site_url('brand_admin/image_delete/'.$id.'/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="button-primary" value="Submit" type="submit" style="float:right;">
</p>

</form>

</div>

</div>

<p>&nbsp;</p>
