?
Current Path : /home1/savoy/www/savoyglobal.net/talentquest2013/application/views/admin/ |
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/savoyglobal.net/talentquest2013/application/views/admin/update_registration.php |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <?php $this->load->view('admin/header'); ?> <body> <?php $this->load->view('admin/menu'); $this->load->view('admin/jsfunctions'); ?> <script type="text/javascript"> $(document).ready(function() { $("#myTable").tablesorter(); } ); </script> <div class="container_12"> <!-- Example table --> <!-- Form elements --> <div class="grid_12"> <div class="module"> <h2><span>Update </span></h2> <div class="module-body"> <fieldset> <ul> <li> <?php echo form_open("admin/update_registration/$record_id/$event_id"); ?> <div class="module-table-body"> <!-- <form action="">--> <table class="tablesorter"> <thead> <tr> <th style="width:4%">School Name</th> <th style="width:56%">Contact Person</th> <th style="width:20%">Contact No</th> <th style="width:20%">Contact Email</th> </tr> </thead> <tbody> <tr> <td><input type="text" name="school_name" value="<?=$viewinfo->registration_school_name;?>"/></td> <td><input type="text" name="contact_person" value="<?=$viewinfo->contact_person;?>"/></td> <td><input type="text" name="contact_no" value="<?=$viewinfo->contact_no;?>"/></td> <td><input type="text" name="contact_email" value="<?=$viewinfo->contact_email;?>"/></td> </tr> </tbody> </table> <table class="tablesorter"> <thead> <tr> <th style="width:4%">SNo</th> <th style="width:56%">Participant Name</th> <th style="width:20%">Qatar Id</th> <th style="width:20%">Class</th> </tr> </thead> <tbody> <?php $i=1; if ($registration_partcipant->num_rows() > 0) { foreach ($registration_partcipant->result_array() as $registration) { ?> <tr> <td class="align-center"><?=$i;?></td> <td><input type="text" name="participant_name_<?=$i;?>" value="<?=$registration['participant_name'];?>"/></td> <td><input type="text" name="participant_qatar_id_<?=$i;?>" value="<?=$registration['participant_qatar_id'];?>"/></td> <td><input type="text" name="participant_class_<?=$i;?>" value="<?=$registration['participant_class'];?>"/></td> </tr> <?php $i++; } } ?> </tbody> </table> <table> <thead> <tr> <th style="width:56%">Status</th> </tr> </thead> <tbody> <tr> <td><select name="active"> <option value="0" <?php if($viewinfo->active==0){echo "selected";}?>>Inactive</option> <option value="1" <?php if($viewinfo->active==1){echo "selected";}?>>Active</option> </select></td> </tr> </tbody> </table> <input type="hidden" name="registration_id" value="<?=$viewinfo->registration_id;?>"/> <input class="submit-green" type="submit" value="Submit" name="savep" onclick="addformdata('validateform')" /> </fieldset> </div> <!-- End .module-body --> </div> <!-- End .module --> <div style="clear:both;"></div> </div> <!-- End .grid_12 --> <div style="clear:both;"></div> <?=form_close()?> </div> <!-- End .container_12 --> <?php $this->load->view('admin/footer'); ?> </body> </html>