?
Current Path : /home1/savoy/www/savoyglobal.net/sec_old/application/views/report/ |
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/sec_old/application/views/report/view_student_report.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="icons_main"> <div class="icons" style="float: left"> <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('report','viewinreportsearch','search_report','view_report','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Students Report</h4> </div> </div> <?php $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('report/generate_report/get_students_report/_student_report', $attributes); $batch = $this->mastermodel->getdatas('batch', 'batch_id'); $course = $this->mastermodel->getdatas('course', 'course_id'); ?> <div class="clean"></div> <div class="grid_6"> <div class="box"> <div class="header main no-icon">Students Report <span></span> </div> <div class="content no-padding"> <input type="hidden" name="report_name" value=" Students Report" /> <table class="table"> <tr><th colspan='2' style="text-align: center"> Search by Batch</th></tr> <tr> <td> Batch </td> <td> <select name="batch_id" class=" " id="batch_id"> <option value="">All</option> <?php foreach ($batch as $list) { ?> <option value="<?= $list['batch_id'] ?>"><?= $list['batch_no'] ?></option> <?php } ?> </select> </td> </tr> <tr><th colspan='2' style="text-align: center"> Search by Course</th></tr> <tr> <td> Course </td> <td> <select name="course_id" class=" " id="course_id"> <option value="">All</option> <?php foreach ($course as $list) { ?> <option value="<?= $list['course_id'] ?>"><?= $list['course_code'] . '-' . $list['course_name'] ?></option> <?php } ?> </select> </td> </tr> <tr><th colspan='2' style="text-align: center"> Search by Student Type</th></tr> <tr> <td> Student Type </td> <td> <select class="chzn-done" name="student_type" id="student_type"> <option value="">All</option> <option value="active">Active</option> <option value="deactivated">Deactivated</option> <option value="cancelled">Cancelled</option> </select> </td> </tr> <tr><th colspan='2' style="text-align: center"> Search by Gender</th></tr> <tr> <td> Gender </td> <td> <select class="chzn-done" name="gender" id="gender" > <option value="">All</option> <option value="male">Male</option> <option value="female">Female</option> </select> </td> </tr> <tr><th colspan='2' style="text-align: center"> Search by Date</th></tr> <tr> <td> From Date </td> <td> <input name="from_date" id="date1" type="text" class="calfocus" /> </td> </tr> <tr> <td> To Date </td> <td> <input name="to_date" id="date" type="text" class="calfocus" /> </td> </tr> </table> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="header main no-icon">Report Field <span></span> </div> <div class="content no-padding"> <table class="table"> <tr> <th style="text-align: center"><input type="checkbox" id="checkall" name="checkall" class="reportcheck" onchange="field_check_all()"/></th> <th style="text-align: center">Report Fields</th> </tr> <?php $i = 1; ?> <tr> <td style="text-align: center"><input type="checkbox" value="reg_no~Reg_No" name="field_name_<?= $i++; ?>" class="reportcheck" /></td> <td>Student No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="first_name~First_Name" name="field_name_<?= $i++; ?>" checked class="reportcheck"/></td> <td>First Name</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="last_name~Last_Name" name="field_name_<?= $i++; ?>" checked class="reportcheck"/></td> <td>Last Name</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="gender~Gender" name="field_name_<?= $i++; ?>" checked class="reportcheck"/></td> <td>Gender</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="batch_no~Batch" name="field_name_<?= $i++; ?>" checked class="reportcheck"/></td> <td>Batch</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="course_code~Course_Code" name="field_name_<?= $i++; ?>" checked class="reportcheck"/></td> <td>Course Code</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="course_name~Course_Name" name="field_name_<?= $i++; ?>" checked class="reportcheck"/></td> <td>Course Name</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="nationality~Nationality" name="field_name_<?= $i++; ?>" class="reportcheck" /></td> <td>Nationality</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="school_name~School_Name" name="field_name_<?= $i++; ?>" checked class="reportcheck" /></td> <td>School Name</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="grade_name~Grade_Name" name="field_name_<?= $i++; ?>" class="reportcheck"/></td> <td>Grade Name</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="qatar_id~Qatar_Id" name="field_name_<?= $i++; ?>" checked class="reportcheck"/></td> <td>Qatar Id</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="blood_group~Blood_Group" name="field_name_<?= $i++; ?>" class="reportcheck"/></td> <td>Blood Group</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="previous_medical_illness~Previous_Medical_Illness" name="field_name_<?= $i++; ?>" class="reportcheck"/></td> <td>Previous Medical Illness</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="address~Address" name="field_name_<?= $i++; ?>" checked class="reportcheck"/></td> <td>Address</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="email~Email" name="field_name_<?= $i++; ?>" checked class="reportcheck"/></td> <td>Email</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="mobile_no~Mobile_No" name="field_name_<?= $i++; ?>" checked class="reportcheck"/></td> <td>Mobile No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="mobile_no~Mobile_No" name="field_name_<?= $i++; ?>" checked class="reportcheck"/></td> <td>Father Name</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="mobile_no~Mobile_No" name="field_name_<?= $i++; ?>" checked class="reportcheck"/></td> <td>Mother Name</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="mobile_no~Mobile_No" name="field_name_<?= $i++; ?>" checked class="reportcheck"/></td> <td>Sibling Name</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="mobile_no~Mobile_No" name="field_name_<?= $i++; ?>" checked class="reportcheck"/></td> <td>Sibling Reg No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="mobile_no~Mobile_No" name="field_name_<?= $i++; ?>" checked class="reportcheck"/></td> <td>Gender</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="mobile_no~Mobile_No" name="field_name_<?= $i++; ?>" checked class="reportcheck"/></td> <td>Batch</td> </tr> </table> </div> </div> </div> <input type="hidden" name="field_count" value="<?= $i; ?>"/> <input type="hidden" name="report_type" value="view"/> <div class="grid_12"> <div class="box"> <div class="actions"> <div class="actions-left"> <input type="reset"> </div> <div class="actions-right"> <button style="float: right;margin-left: 10px;" type="button" class="clickimage"onclick="generate_pdf('report/generate_report/get_students_report/_student_report/view/')" >Generate</button> <button style="float: right;margin-left: 10px;" type="submit" class="clickimage" onclick="generateReport('report/generate_report/get_students_report/_student_report/xls/')" >XLS</button> <button style="float: right;margin-left: 10px;" type="submit" class="clickimage" onclick="generateReport('report/generate_report/get_students_report/_student_report/pdf/')" >PDF</button> </div> </div> </div> </div> <?php echo form_close(); ?> <div id="loadresult"></div> <div id="report_div"> </div>