?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec/application/views/student/ |
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/sec/application/views/student/student_activate.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); //$this->load->view('documentreadyfunctions'); ?> <script type="text/javascript"> function close_modal() { $('#activate_student_div').modal('hide'); } $(document).ready(function(){ $('.calfocus').datepick({dateFormat: 'dd-mm-yyyy'}); $('#close_modal').click(function(){ close_modal(); return true; }); }); </script> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Activate Student</div> <div class="tools"> <a href="#" id="close_modal" class="remove"></a> </div> </div> <div class="portlet-body form"> <!-- BEGIN FORM--> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); echo form_open('student/addinstudent/activate_student/view_deactivate/1', $attributes); ?> <h3>Student Details</h3> <div class="span12 "> <div class="control-group"> <label class="control-label">Activate Student </label> <div class="controls"> <input type="checkbox" name="activate" id="activate" <?php if ($viewinfo->activate == 1) { echo "checked"; } ?>/> </div> </div> </div> <div class="span12 "> <div class="control-group"> <label class="control-label">Activate Date</label> <div class="controls"> <?php $data = array( 'name' => 'activate_date', 'id' => 'activate_date', 'class' => 'calfocus required', 'value' => $this->mastermodel->convertdatenormalformat($viewinfo->activate_date) ); echo form_input($data) . form_error($data); ?> </div> </div> </div> <div class="form-actions"> <input type="hidden" name="tab_name" value="deactivate"/> <input type="hidden" name="resfunction" value="search_deactivate"/> <input type="hidden" name="deactivate_id" class="required" id="deactivate_id" value="<?= $viewinfo->deactivate_id ?>"/> <button type="submit" onclick="addformdata('validateform');close_modal();" class="btn blue"><i class="icon-ok"></i> Save</button> <button type="button" onclick="viewdata('student','viewinstudentsearch','search_deactivate','view_deactivate','<?= $_SESSION['pagenum']; ?>')" class="btn">Cancel</button> </div> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div>