?
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/application/views/Training/ |
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/public_html/savoyglobal.net/sgms/application/views/Training/edit_event.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $this->load->view('commonfunctions'); ?> <div class="select-bar"> <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('training','viewintrainingsearch','search_calendar','view_event','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Updating Event</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('training/addintraining/upadte_event/view_event/1',$attributes); ?> <ul> <li> <label for="data">Event Title</label> <?php $data = array( 'name' => 'event_title', 'id' => 'event_title', 'class' =>'required', 'value' => $viewinfo->event_title ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">Trainer Name</label> <?php $data = array( 'name' => 'trainer_name', 'id' => 'trainer_name', 'class' =>'required', 'value' => $viewinfo->trainer_name ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">Start Date</label> <?php $data = array( 'name' => 'event_start_date', 'id' => 'event_start_date', 'class' => 'required calfocus', 'value' => $this->mastermodel->convertdatenormalformat($viewinfo->event_start_date) ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">End Date</label> <?php $data = array( 'name' => 'event_end_date', 'id' => 'event_end_date', 'class' => 'required calfocus', 'value' => $this->mastermodel->convertdatenormalformat($viewinfo->event_end_date) ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">Event Location</label> <?php $data = array( 'name' => 'event_location', 'id' => 'event_location', 'class' => 'required', 'value' => $viewinfo->event_location ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">Event Description</label> <?php $data = array( 'name' => 'event_description', 'id' => 'event_description', 'value' => $viewinfo->event_description ); echo form_textarea($data).form_error($data); ?> </li> <li> <input type="hidden" name="event_id" value="<?=$viewinfo->event_id;?>"/> <input type="hidden" name="tab_name" value="calendar"/> <label for="submit"> </label> <button type="submit" class="clickimage" onclick="addformdata('validateform')">Update</button> </li> </ul> <?php echo form_close();?> </fieldset>