home
/
zktecojo
/
public_html
/
app
/
views-feb 24
/
admin
/
articles
➕ New
📤 Upload
✎ Editing:
edit.blade.php
← Back
@include('admin.common.header') @include('admin.common.leftmenu') <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>events</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 events</h3> </div> <!-- /.box-header --> <div class="box-body"> <?php echo $messages; // foreach($bannerList as $rsarticles){ ?> <?php echo Form::open(array('url' => array('admin/events/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-6"> <label>Events title</label> <input type="text" name="articles_title" class="form-control" value="<?php echo $rsarticles->articles_title; ?>" required="" /> </div> <div class="col-sm-6"> <label>Events title arabic</label> <input type="text" name="articles_title_ar" class="form-control" value="<?php echo $rsarticles->articles_title_arabic; ?>" /> </div> </div> <div class="row"> <div class="col-sm-6"> <?php if(!empty($rsarticles->articles_image_name)){?><img src="<?php echo URL::to('assets/uploads/articles/small/'.$rsarticles->articles_image_name);?>"> <?php } ?> </div> </div> <div class="row"> <div class="col-sm-6"> <label>Events image</label> <input type="file" name="articles_image_name" class="form-control" placeholder="" > </div> </div> <div class="row"> <div class="col-sm-6"> <label>Events short description </label> <textarea name="articles_short_content" class="form-control" placeholder="" ><?php echo $rsarticles->articles_short_content; ?></textarea> </div> <div class="col-sm-6"> <label>Events short description arabic </label> <textarea name="articles_short_content_ar" class="form-control" placeholder="" ><?php echo $rsarticles->articles_short_content_arabic; ?></textarea> </div> </div> <div class="row"> <div class="col-sm-6"> <label>Events content </label> <textarea name="articles_content" id="editor1" class="form-control" placeholder="" ><?php echo $rsarticles->articles_content; ?></textarea> </div> <div class="col-sm-6"> <label>Events content arabic </label> <textarea name="articles_content_ar" id="editor1_ar" class="form-control" placeholder="" ><?php echo $rsarticles->articles_content_arabic; ?></textarea> </div> </div> <div class="row"> <div class="col-sm-6"> <label>Events 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-6"> <label>Events 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/events'); ?>" class="btn btn-primary">Close</a> </div> {{ 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: [ "advlist autolink lists link image charmap print preview anchor", "searchreplace visualblocks code fullscreen", "insertdatetime media table contextmenu paste jbimages" ], toolbar: "fullscreen |insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link jbimages", relative_urls: false //plugins: ["image","link","spellchecker","preview","fullscreen","code","paste"], //relative_urls: false }); tinymce.init({ selector: '#editor1_ar', plugins: [ "advlist autolink lists link image charmap print preview anchor", "searchreplace visualblocks code fullscreen", "insertdatetime media table contextmenu paste jbimages" ], toolbar: "fullscreen |insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link jbimages", relative_urls: false //plugins: ["image","link","spellchecker","preview","fullscreen","code","paste"], //relative_urls: false }); }); </script> @include('admin.common.footer')
💾 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