Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
idcm
/
application
/
views
:
testimonial_form_edit.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php $sl =1; $msg = isset($msg)?$msg:''; $msg_type = isset($msg_type)?$msg_type:''; $this->session->UnsetFlashData(); ?> <div class="content-wrapper"> <section class="content-header"> <h1> <?php echo "Testimonial Edit Form"; //GPrint($sub_ids_arr); //GPrint($subToCodeArr); //GPrint($SubToCodeArr_short); //GPrint($selected_codesArr); ?> </h1> </section> <section class="content"> <div class="row"> <div class="col-xs-12"> <div class="box"> <div class="box-header"> <a href="<?php echo base_url().'admin/testimonial';?>" class="btn-sm btn-info pull-right"><i class="fa fa-arrow-left" aria-hidden="true"></i> Back</a> </div> <div class="box-body"> <div class="row"> <form id="contactForm" action="<?php echo base_url()."admin/testimonial_update"?>" class="contact-form" method="post" role="form" > <div class="col-md-12"> <div class="controls"> <div class="row"> <input type="hidden" id="serial_no" name="serial_no" value="<?php echo $single_data[0]->serial_no;?>"> <div class="col-md-6 col-sm-12"> <div class="form-group"> <label>Registration No. </label> <input id="std_reg" value="<?php echo $single_data[0]->std_reg;?>" name="std_reg" type="text" maxlength="20" class="form-control" placeholder="Registration Number. *" required="required" data-error="Registration Number is required." > <div class="help-block with-errors"></div> </div><!-- /.form-group --> <div class="form-group"> <label class="control-label" for="hsc_gpa"><?php _e("HSC GPA"); ?></label> <input id="hsc_gpa" name="hsc_gpa" value="<?php echo $single_data[0]->hsc_gpa;?>" type="text" maxlength="4" class="form-control" placeholder="HSC GPA (Out of 5.00)*" required="required" data-error="HSC GPA is required."> <div class="help-block with-errors"></div> </div> <div class="form-group"> <label class="control-label" for="passing_year"><?php _e("Passing Year"); ?></label> <input id="passing_year" value="<?php echo $single_data[0]->passing_year;?>" name="passing_year" type="text" maxlength="4" class="form-control" placeholder="Passing Year *" required="required" data-error="Passing Year is required." > <div class="help-block with-errors"></div> </div> <div class="form-group"> <label class="control-label" for="test_sl"><?php _e("Testimonial Serial Number"); ?></label> <input id="test_sl" value="<?php echo $single_data[0]->test_sl;?>" name="test_sl" type="text" maxlength="20" class="form-control" placeholder="Testimonial Serial No. *" required="required" data-error="Testimonial Serial No is required."> <div class="help-block with-errors"></div> </div> <div class="form-group"> <label class="control-label" for="dob"><?php _e("Date of Issue"); ?></label> <input id="dois" type="text" value="<?php echo $single_data[0]->dois;?>" maxlength="200" autocomplete="off" name="dois" class="form-control" placeholder="Date of Issue *" required="required" data-error="Date of Issue is required."> <div class="help-block with-errors"></div> </div> <div class="text-center"> <button type="submit" name="submit" id="submit" class="btn btn-success" id="confirm">Submit & Update</button></div> </div> </div><!-- /.col --> </div> </div> </div> </form> </div> </div> </div> </div> </div> </section> </div> <link rel="stylesheet" href="<?php echo base_url();?>/lib/datepicker/datepicker3.css"> <script src="<?php echo base_url();?>/lib/datepicker/bootstrap-datepicker.js"></script> <script> $("#dois").datepicker({'format':'yyyy-mm-dd'}).on("changeDate",function(ev){ $("#org_date").datepicker("hide"); }); $(document).ready(function() { $('#contactForm').validator(); var toast_msg = '<?php echo $msg;?>'; var msg_type = '<?php echo $msg_type;?>'; if(toast_msg !== null && toast_msg !== '') { var shortCutFunction = msg_type; toastr.options = { positionClass: 'toast-bottom-right' }; var $toast = toastr[shortCutFunction](toast_msg); } } ); </script> <script> $(function () { //Initialize Select2 Elements $(".select2").select2(); }); </script>