?
Current Path : /home1/savoy/www/savoyeducation.com/application/views/back-end/pages/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/www/savoyeducation.com/application/views/back-end/pages/edit_banner.php |
<!-- main content start--> <div id="page-wrapper"> <div class="main-page"> <div class="forms"> <h3 class="title1">Banner</h3> <?php if ($this->session->flashdata('alert_info')) { ?> <div class="col-md-12 <?= $this->session->flashdata('alert_class') ?>"> <?= $this->session->flashdata('alert_info') ?> </div> <br clear="all"><br> <?php } ?> <div class="form-grids row widget-shadow" data-example-id="basic-forms"> <div class="form-title"> <h4> Banner :</h4> </div> <div class="form-body"> <?php $attributes = array( 'id' => 'banner_edit_form', 'role' => 'form', 'method' => 'POST' ); echo form_open_multipart('admin/Admin_controller/update_banner', $attributes); ?> <input type="hidden" name="id" value="<?php echo $banners[0]['id']; ?>"/> <div class="form-group"> <label for="exampleInputFile">Banner Image</label> <input type="file" name="banner_image" id="banner_image" value="" > <img src="<?php echo base_url().'/uploads/banners/'.$banners[0]['banner_image'];?>" width="100" height="100"/> </div> <div class="form-group"> <label for="exampleInputPassword1">Title1</label> <input type="text" name="description1" value="<?php echo $banners[0]['description1']; ?>"> <label for="exampleInputPassword1">Title2</label> <input type="text" name="description2" value="<?php echo $banners[0]['description2']; ?>"> </div> <input type="submit" name="submit" class="btn btn-default" value="Submit"> <?= form_close(); ?> </div> </div> </div> </div> </div>