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

<p class="inter"><?php echo anchor(base_url('Admin_home/'),'Home') ; ?> >><a href="<?php echo site_url('Order_admin/view'); ?>">Orders</a> >><a href="<?php echo site_url('Order_admin/edit/'.$order_det->order_id);?>">Order details</a></p><br>

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

</h1>


<div class="clr2"></div>


<hr>


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

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


<form name="form1" method="post" action="">
<input type="hidden" name="oid" value="<?=$order_det->order_id?>"  />

<p>
<label>Order Id </label>&nbsp;&nbsp;&nbsp;&nbsp;<b><?=$order_det->order_id?></b>
</p>

<p>
<label>Status</label><br />
<select name="status" class="form-control" style="width:auto;">
<option value="P" <?php if($order_det->status=='P')echo 'selected'; ?> >Pending</option>
<option value="D" <?php if($order_det->status=='D')echo 'selected'; ?> >Delivered</option>
</select>
</p>

<p>
<label>Track Details*</label><br />
<textarea name="track_det" class="form-control" style="height:300px;" ><?=$order_det->track_det?></textarea>
</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>
<div class="clr2"></div>
<div class="col-md-3 bord_lft">
</div>
</div>