<div class="row list-belanja"> <p>Your Items</p> <table class="table"> <thead> <tr style="border-bottom: 1px solid grey;"> <td>Product</td> <td>Name</td> <td style="width: 70px">Item Price</td> <td>Quantity</td> <td>Size</td> </tr> <thead> <tbody> <tr> <td><img src="<?php echo prod_thumb_url() . $img->image_id . $img->ext; ?> " /></td> <td><?php echo $items['name']; ?> </td> <td><?php echo $this->cart->format_number($items['price']); ?> </td> <td><input type="text" name="qty[]" size="4" id="qty-<?php echo $items['id']; ?> " data-id="<?php echo $items['id'];
?> </td> <td><?php echo $product->name; ?> </td> <td><?php echo $product->category_name; ?> </td> <td><?php echo $product->price; ?> </td> <td><?php echo !empty($product->path) ? '<img src="' . prod_thumb_url() . $product->image_id . $product->ext . '" />' : "No Image"; ?> </td> <td> <?php //if($this->session->userdata('level_id') ==1) { ?> <a href="<?php echo base_url(); ?> admin/product/update/<?php echo $product->product_id; ?> " class="btn btn-info "> <i class="fa fa-edit"> </i></a> <a href="<?php echo base_url();
<!--start-shoes--> <div class="goggles"> <div class="container"> <h2>Latest Goggles</h2> <div class="product-one"> <?php foreach ($products as $product) { ?> <div class="col-md-3 product-left"> <div class="p-one simpleCart_shelfItem"> <a href="<?php echo site_url() . 'product/detail/' . $product->product_id; ?> "> <img src="<?php echo prod_thumb_url() . $product->image_id . $product->ext; ?> " alt="" /> <div class="mask"> <span>Quick View</span> </div> </a> <h4>Aenean placerat</h4> <p><a class="item_add" href="#"><i></i> <span class=" item_price">$12</span></a></p> </div> </div> <?php } ?> <div class="clearfix"> </div>
<div class="col-sm-10"> <textarea name="description_en" class="textarea" placeholder="Alamat Orang Tua" style="width: 100%; height: 125px; font-size: 14px; line-height: 18px; border: 1px solid #dddddd; padding: 10px;"><?php echo isset($atlet) ? $atlet->description_en : ''; ?> </textarea> </div> </div> <?php if (!empty($getAllProductImg) && $action == 'update') { foreach ($getAllProductImg as $proudctImg) { ?> <div class="form-group"> <label class="col-sm-2 control-label" for="name">Image</label> <div class="col-sm-10"> <?php echo !empty($proudctImg->path) ? '<img src="' . prod_thumb_url() . $proudctImg->image_id . $proudctImg->ext . '" /> <a data-id="' . $proudctImg->image_id . '" class="btn btn-danger delete-prod-img">Delete</a>' : "No Image"; ?> </div> </div> <?php } } ?> <div class="form-group"> <label class="col-sm-2 control-label" for="image">Photo</label> <div class="col-sm-10"> <span class="btn btn-success fileinput-button"> <i class="glyphicon glyphicon-plus"></i> <span>Add files...</span> <!-- The file input field used as target for the file upload widget -->