home
/
zktecojo
/
public_html
/
app
/
storage
/
views
/
test
➕ New
📤 Upload
✎ Editing:
207e357ef7d8067d4ee78370f1b9d4d3
← 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>articles</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 articles</h3> </div> <!-- /.box-header --> <div class="box-body"> <?php echo $messages; // foreach($bannerList as $rsarticles){ ?> <?php echo Form::open(array('url' => array('admin/articles/edit/'.$rsarticles->articles_id),'files'=>true)); ?> <input type="hidden" name="editid" value="<?php echo $rsarticles->articles_id;?>" /> <input type="hidden" name="articles_image_old_name" value="<?php echo $rsarticles->articles_image_name;?>" /> <div class="row"> <div class="col-sm-4"> <label>Articles title</label> <input type="text" name="articles_title" class="form-control" value="<?php echo $rsarticles->articles_title; ?>" required="" /> </div> </div> <div class="row"> <?php if(!empty($rsarticles->articles_image_name)){?><img src="<?php echo URL::to('assets/uploads/articles/small/'.$rsarticles->articles_image_name);?>"> <?php } ?> <div class="col-sm-4"> <label>Articles Image</label> <input type="file" name="articles_image_name" class="form-control" placeholder="" > </div> </div> <div class="row"> <div class="col-sm-8"> <label>Articles short description </label> <textarea name="articles_short_content" class="form-control" placeholder="" ><?php echo $rsarticles->articles_short_content; ?></textarea> </div> </div> <div class="row"> <div class="col-sm-8"> <label>Articles Content </label> <textarea name="articles_content" id="editor1" class="form-control" placeholder="" ><?php echo $rsarticles->articles_content; ?></textarea> </div> </div> <div class="row"> <div class="col-sm-4"> <label>Articles Publish Date</label> <input type="text" name="articles_publish_date" class="form-control datepicker" placeholder="" value="<?php echo date('Y-m-d',strtotime($rsarticles->articles_publish_date)); ?>" required="" /> </div> <div class="col-sm-4"> <label>Articles Priority</label> <input type="text" name="articles_priority" value="<?php echo $rsarticles->articles_priority; ?>" class="form-control" placeholder="" required="" /> </div> </div> <div class="row"> <div class="col-sm-2"> <label>Status</label> <select name="articles_status" class="form-control"> <option value="1" <?php echo ($rsarticles->articles_status==1)?"selected":"";?>>Activate</option> <option value="0" <?php echo ($rsarticles->articles_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/articles'); ?>" 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