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.222.161.57
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 /
collportal_new /
Reports /
[ HOME SHELL ]
Name
Size
Permission
Action
EGOV_generateBillReport.php
24.08
KB
-rw-r--r--
QPPatternDet.php
10.24
KB
-rw-r--r--
attDateWiseExcelReport.php
4.25
KB
-rw-r--r--
attExcelReportDegwise.php
14.59
KB
-rw-r--r--
attMonthwiseExcelReport.php
7.18
KB
-rw-r--r--
attendanceFromA_B.php
11.95
KB
-rw-r--r--
attendanceReport.php
8.31
KB
-rw-r--r--
cmarksEntryQnWiseNewReport.php
13.15
KB
-rw-r--r--
createclassExcel.php
5.2
KB
-rw-r--r--
degreeListReportpdf.php
18.28
KB
-rw-r--r--
degreeWise_IA_Report.php
1.75
KB
-rw-r--r--
getAbstractForm.php
14.38
KB
-rw-r--r--
getQpSummaryReport.php
15.18
KB
-rw-r--r--
getReportClassStudExcel.php
6.4
KB
-rw-r--r--
getnumword.php
7.45
KB
-rw-r--r--
iaDegwiseReportXl.php
10.61
KB
-rw-r--r--
iaMarksQnWiseReportExcel.php
25.41
KB
-rw-r--r--
marksEntryQnWiseNewReport.php
13.13
KB
-rw-r--r--
omrQpReport.php
28.26
KB
-rw-r--r--
progReportDegwise.php
14.59
KB
-rw-r--r--
remunerationReportPdf.php
17.55
KB
-rw-r--r--
report_attendance_sheet.php
18.6
KB
-rwxr-xr-x
report_batch_wise_details.php
8.39
KB
-rwxr-xr-x
report_batch_worksheet_details...
14.76
KB
-rwxr-xr-x
report_practical_marks_details...
23.64
KB
-rwxr-xr-x
resetPasswordUser.php
2.69
KB
-rw-r--r--
resultSheetReports.php
12.33
KB
-rw-r--r--
subjectListReportpdf.php
8.07
KB
-rw-r--r--
subwiseGradewiseResultReport.p...
19.13
KB
-rw-r--r--
subwiseResultReport.php
70
B
-rw-r--r--
topsheet.php
6.67
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : subjectListReportpdf.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("Subject List"); // set bacground image $this->SetFillColor(248, 248, 255); $img_path = $this->aobj_context->main_src . "/img/logo.jpg"; if (file_exists($img_path)) { $this->Image($img_path, 6, 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->FTOWN, 0, 1, 'C'); $this->SetFont('Times', '', 11); $this->Ln(1); $cur_year = date("Y"); $this->Cell(0, 5, ' College :['.$this->aobj_context->collcode.'] JSS STU, SJCE, Mysuru', '0', 1, 'C'); $this->SetFont('Times', 'B', 12); // var_dump($this->aobj_context->Degree_name); // die(); $this->Cell(0, 6, " Degree: ".$this->aobj_context->Degree_name, "0", 1, "C"); $this->Cell(0, 6, " Sem: ".$this->aobj_context->Exam, "0", 1, "C"); $this->Cell(0, 6, " SUBJECT LIST (GENERAL)", "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(-15); $this->SetFont('helvetica', 'I', 8); // var_dump(); if($this->CurOrientation == 'P') { $this->Cell(60, 10, 'IP : ' . $_SERVER["REMOTE_ADDR"], 0, 0, 'L'); $this->Cell(60, 10, 'Date : ' . date("d-m-Y h:i:s A"), 0, 0, 'C'); $this->Cell(60, 10, 'Page ' . $this->getPageNumGroupAlias() . '/' . $this->getPageGroupAlias(), 0, 1, 'R'); } else { $this->Cell(90, 10, 'IP : ' . $_SERVER["REMOTE_ADDR"], 0, 0, 'L'); $this->Cell(90, 10, 'Date : ' . date("d-m-Y h:i:s A"), 0, 0, 'C'); $this->Cell(90, 10, '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,FTOWN, date_format(now(),'%d/%m/%Y') as date, FUNIVADD1 as 'state', pdf_logo_path, ifnull(FEXAMAPPREQ,'F') as FEXAMAPPREQ From control"; $lobj_get_coll_name = $this->aobj_context->pobj_db->GetRow($get_coll_name); // var_dump($lobj_get_coll_name); $aobj_context->FUNIVNAME = $lobj_get_coll_name['FUNIVNAME']; $aobj_context->FTOWN = $lobj_get_coll_name['FTOWN']; $aobj_context->date = $lobj_get_coll_name['date']; $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->pobj_db->GetRow($get_coll_name); $aobj_context->deggrp = $lobj_get_degree['fdeggrp']; $this->pdf = new MYPDF('L'); $this->pdf->aobj_context = $aobj_context; } public function Header($pdf) { $pdf->SetFont('Times', 'B', 10); $pdf->Cell(12, 7, "Sl.No", "LRT", 0, "C"); $pdf->Cell(15, 7, "QP Code", "LRT", 0, "C"); $pdf->Cell(20, 7, "Sub. Code", "LRT", 0, "C"); $pdf->Cell(100, 7, "Subject Name", "LRT", 0, "C"); $pdf->Cell(19, 7, "Short Name", "LRT", 0, "C"); $pdf->Cell(19, 7, "MAX.Marks", "LRT", 1, "C"); } public function Report($data) { $pdf = $this->pdf; $pdf->SetMargins(15, 46); $pdf->startPageGroup(); $pdf->AddPage("P"); $pdf->SetFont('Times', '', 10); $Count_subject = 1; $prev_exam = ""; foreach ($data as $key => $value) { $current_exam = $value['FEXAMNO']; if ($current_exam != $prev_exam || $prev_exam === "") { $pdf->Exam = $current_exam; $aobj_context->Degree_name = $value['Degree_name']; $aobj_context->Exam = $value['Exam']; $this->Header($pdf); $pdf->SetFont('Times', '', 10); $prev_exam = $current_exam; } if ($pdf->GetY() > 265) $pdf->AddPage(); $x = $pdf->GetX(); $y = $pdf->GetY(); $pdf->SetX($x + 47); $pdf->MultiCell(100, 6, $value['SSubName'], "1", "L"); $y1 = $pdf->GetY(); $h = $y1 - $y; $pdf->SetXY($x, $y); $pdf->Cell(12, $h, $Count_subject, '1', 0, 'C'); $pdf->Cell(15, $h, $value['FQPCODE'], '1', 0, 'C'); $pdf->Cell(20, $h, $value['FCSUBCODE'], '1', 0, 'L'); $pdf->SetXY($x + 147, $y); $pdf->Cell(19, $h, $value['FSHORTNAME'], '1', 0, 'C'); $pdf->Cell(19, $h, $value['FSMAXMARKS'], '1', 1, 'C'); $Count_subject++; } } public function SendOutput() { // ob_end_clean(); $this->pdf->Output("Subject_List.pdf", "I"); } } function subjectListReportpdf($aobj_context) { //subject List session_start(); $college_code = $_SESSION['collcode']; $degree = $aobj_context->mobj_data["degree"]; $sem = $aobj_context->mobj_data["sem"]; $type = $aobj_context->mobj_data["type"]; $univcode = $aobj_context->mobj_data["univcode"]; $collcode = $aobj_context->mobj_data["collcode"]; $aobj_context->collcode = $collcode; $canddettmp = "canddet"; $candsumttmp = "candsum"; $degreetmp = "degree"; $subjecttmp = "subject"; if($sem=="All"){ $cond="" ; }else{ $cond="AND degree.FEXAMNO='{$sem}'" ; $cond1="AND FEXAMNO='{$sem}'" ; } $query = "select if(FMANDATORY='T',concat('* ',FCSUBCODE),concat(' ',FCSUBCODE)) as FCSUBCODE , FEXAMNO,FQPCODE, concat(FSUBNAME, concat(space(3),FSSUBNAME,'(',if(FTHEORY='T','TH','PA'),')')) as SSubName, FSHORTNAME, FSMAXMARKS from {$subjecttmp} where FDEGREE='{$degree}' $cond1 and IFNULL(FDELETED,'F') ='F' group by FCSUBCODE;"; $result = $aobj_context->pobj_db->GetAll($query); $degquery = "select distinct concat('[',degree.FDEGREE,'] - ', degree.FDESCPN) as Degree_name, concat(' ( ',degree.FEXAMNAME,' ) ') as Exam, degree.FADYEAR from degree, subject where degree.fdegree = subject.fdegree and degree.fexamno = subject.fexamno and degree.FDEGREE = '{$degree}' $cond"; $degresult = $aobj_context->pobj_db->GetAll($degquery); $aobj_context->Degree_name = $degresult[0]['Degree_name']; $aobj_context->college_name = $degresult[0]['college_name']; $aobj_context->Exam = $degresult[0]['Exam']; // var_dump($aobj_context->Degree_name); // die(); $class_obj = new ReprtObject(); $class_obj->univcode = $univcode; $class_obj->DefaultConstructor($aobj_context); // If No data found Generate Blank Report if (count($result) > 0) { $class_obj->Report($result); } ob_end_clean(); $class_obj->SendOutput(); } ?>
Close