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.145.73.167
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 /
pgadm2020 /
admin-src /
[ HOME SHELL ]
Name
Size
Permission
Action
.admin-src.php
3.61
KB
-rw-r--r--
ApplicationFeeSummary.php
10.25
KB
-rwxrwxrwx
ApplicationReport.php
9.96
KB
-rwxrwxrwx
Applicationfeereport.php
9.13
KB
-rwxrwxrwx
Collegewise_SeatAllotedList.ph...
11.13
KB
-rwxrwxrwx
Degreewise_SeatAllotedList.php
11.28
KB
-rwxrwxrwx
PrintDocumentVerification.php
23.98
KB
-rwxrwxrwx
SeatMatrixReport.php
24.02
KB
-rwxrwxrwx
admconfirmation.php
4.43
KB
-rwxrwxrwx
admissionMeritListExcel.php
11.08
KB
-rwxrwxrwx
admissionstatusreport.php
12.62
KB
-rwxrwxrwx
admorder_ru.php
4.53
KB
-rw-rw-r--
applicationFormReportBank.php
11.82
KB
-rw-rw-r--
applicationview.php
4.39
KB
-rwxrwxrwx
bnuAdmissionMeritListExcel.php
12.07
KB
-rwxrwxrwx
bnuAdmissionMeritListExcel_161...
11.88
KB
-rwxrwxrwx
changepasswordadmin.php
1.12
KB
-rwxrwxrwx
collegedegree.php
1.92
KB
-rwxrwxrwx
collegedetails.php
2.49
KB
-rwxrwxrwx
create-user.php
4.96
KB
-rwxrwxrwx
documentverification.php
8.75
KB
-rwxrwxrwx
dudseatallot.php
14.5
KB
-rw-rw-r--
editapp.php
1.38
KB
-rw-rw-r--
getAdmOrderDet.php
1.53
KB
-rw-r--r--
getnumword.php
9.1
KB
-rw-rw-r--
meritlist.php
6.41
KB
-rwxrwxrwx
presealallot.php
7.58
KB
-rw-rw-r--
provisionsellist.php
692
B
-rw-rw-r--
provisionsellistReport.php
13.57
KB
-rw-rw-r--
provisionsellistReport1.php
11.76
KB
-rw-rw-r--
provisionsellistReport1Downloa...
12.84
KB
-rw-rw-r--
provisionsellistReportDownload...
15
KB
-rw-rw-r--
report_merit_list.php
6.82
KB
-rwxrwxrwx
rostertable.php
490
B
-rwxrwxrwx
saveApplication.php
20.67
KB
-rwxrwxrwx
savevacantseats.php
2.57
KB
-rw-rw-r--
seatmatrix.php
8.53
KB
-rwxrwxrwx
signin.php
848
B
-rwxrwxrwx
viewpresealallot2.php
8.05
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : provisionsellistReport1Download.php
<?php $main_src = substr($_SERVER['SCRIPT_FILENAME'], 0, strlen($_SERVER['SCRIPT_FILENAME']) - 7); $pdf_writer_class = $main_src . "/tcpdf/tcpdf.php"; require_once $pdf_writer_class; // ini_set('memory_limit','900M'); // ini_set('max_execution_time',0); class MYPDF extends TCPDF { public function Header() { // get the current page break margin $bMargin = $this->getBreakMargin(); // get current auto-page-break mode $auto_page_break = $this->AutoPageBreak; // disable auto-page-break $this->SetAutoPageBreak(false, 0); $this->SetTitle("Provisional Seat Allotment List 2021-22"); // set bacground image $this->SetFillColor(248, 248, 255); // $img_path = $this->aobj_context->main_src . "/img/vkux_logo.jpg"; $img_path = $this->aobj_context->main_src.'oasis/'.$this->aobj_context->db."/".$this->pdf_logo_path; if (file_exists($img_path)) { if($this->aobj_context->db == 'ru') { $img_path = $this->aobj_context->main_src.'oasis/'.$this->aobj_context->db."/img/rur_log_report.jpg"; //$this->Image($img_path,90,6,120,25); $this->Image($img_path,90,4,110); $this->Ln(15); } else $this->Image($img_path,30,6,20,20); } $this->SetFont('Times', 'B', 13); $this->SetY(5); $this->Cell(0, 4, $this->aobj_context->FUNIVNAME, 0, 1, 'C'); //state $this->SetFont('Times', '', 11); $this->Cell(0, 4, $this->aobj_context->s_state, 0, 1, 'C'); $this->SetFont('Times', 'BU', 14); $this->Cell(0, 5, 'Third Round Provisional Seat Allotment List 2021-22', '0', 1, 'C'); $this->SetFont('Times', 'B', 12); $this->Cell(0, 5, $this->aobj_context->fdegree.' - '.$this->aobj_context->fdescpn , '0', 1, 'C'); $this->Cell(0, 5, $this->aobj_context->fcollcode.' - '.$this->aobj_context->fcollname , '0', 1, 'C'); $this->ln(5); // $dt = date("d-m-Y"); // var_dump($dt); // $this->Cell(0, 5, 'Application Fee Summary on '.date("d-m-Y"), '0', 1, 'C'); // var_dump($this->doe); // $this->Cell(0, 6, " Degree Group: " . $this->aobj_context->mobj_data["deggrp"], "0", 1, "C"); // $this->Cell(0, 6, " Degree Range: " . $this->aobj_context->mobj_data["fdegfrom"] . ' - ' . $this->aobj_context->mobj_data["fdegto"], "0", 1, "C"); // restore auto-page-break status $this->SetAutoPageBreak($auto_page_break, $bMargin); // set the starting point for the page content } public function Footer() { $this->SetY(-10); $this->SetFont('helvetica', 'I', 8); // var_dump(); if($this->CurOrientation == 'P') { $this->Cell(60, 1, 'IP : ' . $_SERVER["REMOTE_ADDR"], 0, 0, 'L'); $this->Cell(60, 1, 'Date : ' . date("d-m-Y h:i:s A"), 0, 0, 'C'); $this->Cell(60, 1, 'Page ' . $this->getPageNumGroupAlias() . '/' . $this->getPageGroupAlias(), 0, 1, 'R'); } else { $this->Cell(90, 1, 'IP : ' . $_SERVER["REMOTE_ADDR"], 0, 0, 'L'); $this->Cell(90, 1, 'Date : ' . date("d-m-Y h:i:s A"), 0, 0, 'C'); $this->Cell(90, 1, 'Page ' . $this->getPageNumGroupAlias() . '/' . $this->getPageGroupAlias(), 0, 1, 'R'); } } } class ReprtObject { public function DefaultConstructor($aobj_context) { $this->aobj_context = $aobj_context; $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $this->ip = $_SERVER["REMOTE_ADDR"]; $get_date = "select DATE_FORMAT(now(), '%d/%m/%Y') as now_date"; $obj = $this->aobj_context->mobj_db->GetRow($get_date); $this->reportType = $aobj_context->mobj_data["rtype"]; $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 = $this->aobj_context->mobj_db->GetRow($get_coll_name); // var_dump($get_coll_name); $aobj_context->FUNIVNAME = $lobj_get_coll_name['FUNIVNAME']; $aobj_context->s_state = $lobj_get_coll_name['state']; $aobj_context->pdf_logo_path = $lobj_get_coll_name['pdf_logo_path']; $aobj_context->FUNIVCODE = $lobj_get_coll_name['FUNIVCODE']; $this->current_date = $obj['now_date']; $deggrp = $this->aobj_context->mobj_data["deggrp"]; // $get_coll_name = "select concat(fdeggrp, ' - ', fdescpn) as fdeggrp // from deggrp where fdeggrp = '{$deggrp}'"; // $lobj_get_degree = $this->aobj_context->mobj_db->GetRow($get_coll_name); // $get_coll_name = "SELECT fcollcode, fcollname FROM entcoll WHERE fcollcode='{$aobj_context->mobj_data["fcollege"]}'"; // // var_dump($get_coll_name); // // die(); // $lobj_get_college = $this->aobj_context->mobj_db->GetRow($get_coll_name); // $aobj_context->fcollcode = $lobj_get_college['fcollcode']; // $aobj_context->fcollname = $lobj_get_college['fcollname']; // $get_coll_name = "SELECT fdegree, fdescpn FROM entdeg WHERE fdegree = '{$aobj_context->mobj_data["fdept"]}'"; // // var_dump($get_coll_name); // // die(); // $lobj_get_college = $this->aobj_context->mobj_db->GetRow($get_coll_name); // $aobj_context->fdegree = $lobj_get_college['fdegree']; // $aobj_context->fdescpn = $lobj_get_college['fdescpn']; $aobj_context->deggrp = $lobj_get_degree['fdeggrp']; $this->pdf = new MYPDF('P'); $this->pdf->aobj_context = $aobj_context; } public function Header($pdf) { $pdf->SetFont('Times', 'B', 10); $pdf->Cell(12, 7, "Sl.No", "1", 0, "C"); $pdf->Cell(20, 7, "App. No.", "1", 0, "C"); $pdf->Cell(76, 7, "Name", "1", 0, "C"); $pdf->Cell(12, 7, "Rank", "1", 0, "C"); $pdf->Cell(20, 7, "Category", "1", 0, "C"); $pdf->Cell(20, 7, "Stud. Type", "1", 0, "C"); $pdf->Cell(30, 7, "Supernumerary", "1", 1, "C"); } public function Report($cat,$catname,$data,$x,$fallotreserve) { $pdf = $this->pdf; $pdf->SetMargins(10, 35); $pdf->startPageGroup(); if($x == '1'){ $pdf->AddPage("P"); } $rescnt = count($data); // var_dump($data); $pdf->SetFont('Times', 'B', 13); $oldCode = ""; $newCode = ""; $sl_no = 1; $first = true; $j = 0; // var_dump($exattendancelist); // var_dump($data); if($fallotreserve == 'P') $pdf->Cell(190, 6, 'Selection Under - '.$data[0]['ftitle'].' (Payment Seat)', "1", 1, "C"); else $pdf->Cell(190, 6, 'Selection Under - '.$data[0]['ftitle'], "1", 1, "C"); $this->Header($pdf); $pdf->SetFont('Times', '', 10); // var_dump($data); $sl_no = 1; foreach ($data as $key => $value) { if ($pdf->getY() > 270) { $pdf->AddPage("P"); $pdf->SetFont('Times', ' ', 12); // $pdf->cell(267, 8, $j. '. ' . $value['fdegree'] . ' - ' . $value['fdescpn'], 1, 1, "C"); $this->Header($pdf); $pdf->SetFont('Times', '', 10); } // $amount = $value['famount']; // setlocale(LC_MONETARY, 'en_IN'); $pdf->SetFont('Times', '', 10); $pdf->Cell(12, 6, $sl_no, "1", 0, "C"); $pdf->Cell(20, 6, $value['fappno'], "1", 0, "C"); $pdf->Cell(76, 6, $value['fname'], "1", 0, "L"); $pdf->Cell(12, 6, $value['frank'], "1", 0, "C"); $pdf->Cell(20, 6, $value['fcategory'], "1", 0, "C"); $pdf->Cell(20, 6, $value['funiv'], "1", 0, "C"); $pdf->Cell(30, 6, $value['fspcat'], "1", 1, "L"); // $pdf->Cell(22, 6, $amount, "1", , "C"); $sl_no++; } $pdf->ln(5); //$this->Cell(0, 5, $this->aobj_context->fcollcode.' - '.$this->aobj_context->fcollname , '0', 1, 'C'); } public function SendOutput($fcollege,$fdept) { // ob_end_clean(); $target_path = dirname(dirname($_SERVER['SCRIPT_FILENAME'])); $target_folder = $target_path.'/pgadm2020/bnu/SelectionList3/'; $this->pdf->Output($target_folder."$fdept"."_"."$fcollege.pdf", "F"); } } /*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. } */ function provisionsellistReport1Download($aobj_context) { //$univcode = $aobj_context->mobj_data["univcode"]; $fcollege = $aobj_context->mobj_data["fcollege"]; $fdept = $aobj_context->mobj_data["fdept"]; $db = trim($aobj_context->mobj_data["db"]); $fround = $aobj_context->mobj_data["fround"]; $aobj_context->db = $db; // var_dump($fcollege, $fdept); // $query = "SELECT fappno,fregno,fname,fper,foper,fentmarks,ROUND((IFNULL(feffper,0) + IFNULL(fentmarks,0))/2,2) AS ffinalper, // fcategory,fallotquota FROM entcandlist WHERE fdegree = 'MSCH' AND fallotcoll = '1070' AND fallotcatcode = 'GM'"; // $result = $aobj_context->mobj_db->GetAll($query); // var_dump($result); // die(); $query = "SELECT d.fdegree, d.fdescpn,c.fcollcode,c.fcollname, CONCAT('SelectionList3/',d.fdegree,'_',c.fcollcode,'.pdf') AS link FROM entcandlist_new s inner join entdeg d on s.fdegree = d.fdegree inner join entcoll c on s.fallotcoll = c.fcollcode WHERE ifnull(d.fdeleted,'') <> 'T' and s.fround = '3' group by d.fdescpn,s.fallotcoll order by d.fdescpn,s.fallotcoll"; $totres = $aobj_context->mobj_db->GetAll($query); foreach($totres as $val) { $class_obj = new ReprtObject(); $class_obj->univcode = $univcode; $class_obj->DefaultConstructor($aobj_context); $fcollege = $val['fcollcode']; $fdept = $val['fdegree']; $aobj_context->fcollcode = $val['fcollcode']; $aobj_context->fcollname = $val['fcollname']; $aobj_context->fdegree = $val['fdegree']; $aobj_context->fdescpn = $val['fdescpn']; $query2 = "select distinct fallotcatcode,FDESCPN,fallotreserve from entcandlist_new s inner join entmascat m on m.FCATEGORY = s.fallotcatcode where fallotcoll = '{$fcollege}' and fdegree = '{$fdept}' and s.fround = '3' order by m.FORDER,s.fallotreserve"; // var_dump($query2); $result2 = $aobj_context->mobj_db->GetAll($query2); $i = 1; foreach ($result2 as $val) { $catcode = $val['fallotcatcode']; $catname = $val['FDESCPN']; $fallotreserve = $val['fallotreserve']; $query = "SELECT fappno,fregno,fname,fhk,fper,foper,fentmarks,ROUND((IFNULL(feffper,0) + IFNULL(fentmarks,0))/2,2) AS ffinalper, fcategory,fallotquota,'{$catname}' as ftitle,frank1 as frank, fspcat,funiv FROM entcandlist_new WHERE fdegree = '{$fdept}' and fround = '3' and fallotreserve = '{$fallotreserve}' AND fallotcoll = '{$fcollege}' AND fallotcatcode = '{$catcode}' order by LPAD(frank1,4,'0000')"; $res = $aobj_context->mobj_db->GetAll($query); //var_dump($res); if(count($res) >0) $class_obj->Report($catcode,$catname,$res,$i,$fallotreserve); $i = $i+1; } $class_obj->SendOutput($fcollege,$fdept); } echo "Completed"; }
Close