home
/
zktecojo
/
public_html
/
app
/
views
/
admin
/
gallery
➕ 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>Gallery Category</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 Gallery Image</h3> </div> <!-- /.box-header --> <div class="box-body"> <?php echo $messages; foreach($galleryImages as $rsGalleryImage){ ?> <?php echo Form::open(array('url' => array('admin/galleryimages/edit/'.$rsGalleryImage->gallery_image_id),'files'=>true)); ?> <input type="hidden" name="editid" value="<?php echo $rsGalleryImage->gallery_image_id;?>" /> <input type="hidden" name="galler_image_old_name" value="<?php echo $rsGalleryImage->gallery_image_name;?>" /> <div class="row"> <div class="col-sm-4"> <label>Category</label> <?php if(!empty($galleryCategoryList)) {?> <select name="gallery_cat_id" class="form-control" required=""> <option value="0">---Home Page--</option> <?php foreach($galleryCategoryList as $catList) {?> <option value="<?php echo $catList->gallery_cat_id;?>" <?php echo ($rsGalleryImage->gallery_cat_id==$catList->gallery_cat_id)?"selected":"";?>><?php echo $catList->gallery_cat_name;?></option> <?php } ?> </select> <?php } ?> </div> </div> <div class="row"> <div class="col-sm-4"> <label>Image Title</label> <input type="text" name="gallery_name" class="form-control" placeholder="" value="<?php echo $rsGalleryImage->gallery_name;?>" required="" /> </div> </div> <!--<div class="row"> <div class="col-sm-4"> <label>Description</label> <textarea name="gallery_description" class="form-control" placeholder=""><?php echo $rsGalleryImage->gallery_description;?></textarea> </div> </div>--> <div class="row"> <div class="col-sm-4"> <label>Upload Image</label> <?php if(!empty($rsGalleryImage->gallery_image_name)){?><br/><img src="<?php echo URL::to('assets/uploads/gallery/'.$rsGalleryImage->gallery_image_name);?>" width="100"><br/><?php } ?> <input type="file" name="gallery_image_name" class="uploadImage" placeholder="" /> </div> </div> <div class="row form-group"></div> <div class="row"> <div class="col-sm-2"> <label>Home Display Image Size</label> <select name="gallery_box_size" class="form-control"> <option value="" <?php echo ($rsGalleryImage->gallery_box_size=='')?"selected":"";?>>---</option> <option value="col-sm-3" <?php echo ($rsGalleryImage->gallery_box_size=='col-sm-3')?"selected":"";?>>Small</option> <option value="col-sm-4" <?php echo ($rsGalleryImage->gallery_box_size=='col-sm-4')?"selected":"";?>>Medium</option> <option value="col-sm-5" <?php echo ($rsGalleryImage->gallery_box_size=='col-sm-5')?"selected":"";?>>Large</option> </select> </div> <div class="col-sm-2"> <label>Home Display</label> <select name="gallery_is_home_display" class="form-control"> <option value="1" <?php echo ($rsGalleryImage->gallery_is_home_display==1)?"selected":"";?>>Activate</option> <option value="0" <?php echo ($rsGalleryImage->gallery_is_home_display==0)?"selected":"";?>>Deactivate</option> </select> </div> </div> <div class="row"> <div class="col-sm-2"> <label>Status</label> <select name="gallery_image_status" class="form-control"> <option value="1" <?php echo ($rsGalleryImage->gallery_image_status==1)?"selected":"";?>>Activate</option> <option value="0" <?php echo ($rsGalleryImage->gallery_image_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/galleryimages'); ?>" class="btn btn-primary">Close</a> </div> {{ Form::close() }} <?php } ?> </div> <!-- /.box-body --> </div> </section><!-- /.content --> </aside> @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