?
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_homework_report.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="icons_main"> <div class="icons"> <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>Homework Report</h4> </div> </div> <?php $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('report/generate_report/get_homework_report/_report/view', $attributes); $batch = $this->mastermodel->getdatas('batch', 'batch_id'); $subject = $this->mastermodel->getdatas('subject', 'subject_id'); $teacher = $this->mastermodel->get_data('employee', '1', 'employee_teacher'); ?> <div class="clean"></div> <div class="grid_6"> <div class="box"> <div class="header main no-icon">Homework Report <span></span> </div> <div class="content no-padding"> <input type="hidden" name="report_name" value=" Homework Report" /> <table class="table"> <tr><th colspan='2' style="text-align: center"> Search by Teacher</th></tr> <tr> <td> Teacher </td> <td> <select name="teacher_id" class=" " id="teacher_id"> <option value="">All</option> <?php foreach ($teacher as $list) { ?> <option value="<?= $list['employee_id'] ?>"><?= $list['employee_name'] ?></option> <?php } ?> </select> </td> </tr> <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 Student</th></tr> <tr> <td> subject </td> <td> <select name="subject_id" class=" " id="subject_id"> <option value="">All</option> <?php foreach ($subject as $list) { ?> <option value="<?= $list['subject_id'] ?>"><?= $list['subject_code'] . '-' . $list['subject_name'] ?></option> <?php } ?> </select> </td> </tr> <tr><th colspan='2' style="text-align: center"> Search by Submission 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="employee_name~Teacher_Name" checked name="field_name_<?= $i++; ?>" class="reportcheck" /></td> <td>Teacher Name</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" checked value="batch_no~Batch_Code" name="field_name_<?= $i++; ?>" class="reportcheck" /></td> <td>Batch Code</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="course_code~Course_Code" name="field_name_<?= $i++; ?>" class="reportcheck" /></td> <td>Course Code</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="date~Date" name="field_name_<?= $i++; ?>" class="reportcheck" /></td> <td>Date</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="subject_name~Subject" checked name="field_name_<?= $i++; ?>" class="reportcheck" /></td> <td>Subject</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" checked value="submission_date~Submission_Date" name="field_name_<?= $i++; ?>" class="reportcheck"/></td> <td>Date Of Submission</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="remarks~Remarks" name="field_name_<?= $i++; ?>" class="reportcheck"/></td> <td>Remarks</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_homework_report/_report/view/')" >Generate</button> <button style="float: right;margin-left: 10px;" type="submit" class="clickimage" onclick="generateReport('report/generate_report/get_homework_report/_report/xls/')" >XLS</button> <button style="float: right;margin-left: 10px;" type="submit" class="clickimage" onclick="generateReport('report/generate_report/get_homework_report/_report/pdf/')" >PDF</button> </div> </div> </div> </div> <?php echo form_close(); ?> <div id="loadresult"></div> <div id="report_div"></div> <?php