home
/
zktecojo
/
public_html
/
app
/
storage
/
views
/
test
➕ New
📤 Upload
✎ Editing:
19fe02a5a44e881ab1bee96c502f63ed
← Back
<?php echo $__env->make('admin.common.header', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> <?php echo $__env->make('admin.common.leftmenu', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> <aside class="right-side"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Dashboard <small>Control panel</small> </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li> <li>Products</li> <li class="active">edit</li> </ol> </section> <!-- Main content --> <section class="content"> <div class="box box-warning"> <div class="box-header"> <h3 class="box-title">Edit Products</h3> </div> <!-- /.box-header --> <div class="box-body"> <?php echo $messages; //foreach($bannerList as $rsproducts){ ?> <?php echo Form::open(array('url' => array('admin/product/edit/'.$rsproducts->product_id),'files'=>true)); ?> <input type="hidden" name="editid" value="<?php echo $rsproducts->product_id;?>" /> <input type="hidden" name="product_image_old_name" value="<?php echo $rsproducts->product_image_name;?>" /> <div class="row"> <div class="col-sm-4"> <label>Select Product Category</label> <select name="product_cat" class="form-control" > <option value="0">select</option> <?php if(!empty($menuProductTree)){ echo get_menu_helper($menuProductTree,'option',0, $rsproducts-> product_cat_id ) ; } ?> </select> </div> </div> <div class="row"> <div class="col-sm-4"> <label>Product name</label> <input type="text" name="product_title" class="form-control" value="<?php echo $rsproducts->product_title; ?>" required="" /> </div> </div> <?php if(!empty($rsproducts->product_image_name)){?><img src="<?php echo URL::to('assets/images/Pdf.jpg');?>" width="50" height="50"> <?php } ?> <div class="row"> <div class="col-sm-4"> <label>Product Pdf</label> <input type="file" name="product_image_name" class="form-control" placeholder="" > </div> </div> <?php if(!empty($rsproducts->product_youtube_id)){?><img src="http://img.youtube.com/vi/<?php echo $rsproducts->product_youtube_id; ?>/1.jpg"/><?php } ?> <div class="row" > <div class="col-sm-4"> <label>Product Youtube Link</label> <input type="text" name="product_youtube" class="form-control" placeholder="" value="<?php echo $rsproducts->product_youtube_link; ?>" /> </div> </div> <div class="row"> <div class="col-sm-8"> <label>Product Short Description </label> <textarea name="product_short_desc" class="form-control" placeholder="" ><?php echo $rsproducts->product_short_content; ?></textarea> </div> </div> <div class="row"> <div class="col-sm-8"> <label>Product Content </label> <textarea name="product_content" id="editor1" class="form-control" placeholder="" ><?php echo $rsproducts->product_content; ?></textarea> </div> </div> <div class="row"> <!--<div class="col-sm-4"> <label>News Publish Date</label> <input type="text" name="product_publish_date" class="form-control datepicker" placeholder="" value="<?php echo date('Y-m-d',strtotime($rsproducts->product_publish_date)); ?>" required="" /> </div>--> <div class="col-sm-4"> <label>Product Priority</label> <input type="text" name="product_priority" value="<?php echo $rsproducts->product_priority; ?>" class="form-control" placeholder="" required="" /> </div> </div> <div class="row"> <div class="col-sm-2"> <label>Status</label> <select name="product_status" class="form-control"> <option value="1" <?php echo ($rsproducts->product_status==1)?"selected":"";?>>Activate</option> <option value="0" <?php echo ($rsproducts->product_status==0)?"selected":"";?>>Deactivate</option> </select> </div> </div> <div class="form-group"></div> <div class="form-group"> <input type="submit" name="updatebtnsubmit" value="Submit" class="btn btn-primary"> <a href="<?php echo URL::to('admin/product'); ?>" class="btn btn-primary">Close</a> </div> <?php echo Form::close(); ?> </div> <!-- /.box-body --> </div> </section><!-- /.content --> </aside> <script src="<?php echo URL::to('assets/admin/js/plugins/tinymce/tinymce.min.js'); ?>" type="text/javascript"></script> <script src="<?php echo URL::to('assets/admin/js/jquery-ui-1.10.4.custom.min.js'); ?>" type="text/javascript"></script> <script type="text/javascript"> $('.datepicker').datepicker({dateFormat: 'yy-mm-dd'}); /**/ $(function() { tinymce.init({ selector: '#editor1', plugins: ["image","link","spellchecker","preview","fullscreen","code","paste"], }); }); </script> <?php echo $__env->make('admin.common.footer', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel