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.219.127.59
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 /
univadmin /
tdvsreports /
[ HOME SHELL ]
Name
Size
Permission
Action
DYPIndent.php
6.77
KB
-rw-rw-r--
TDVSValuationReport.php
8.73
KB
-rw-rw-r--
generatebill.php
29.41
KB
-rw-r--r--
generatebillDownload.php
18.18
KB
-rw-rw-r--
generatebill_acu.php
22.55
KB
-rw-r--r--
generatebill_new.php
28.88
KB
-rw-r--r--
generatetadabill.php
18.4
KB
-rw-r--r--
generateworkdonereport.php
19.06
KB
-rw-r--r--
generateworkdonereport_gcg.php
19.35
KB
-rw-r--r--
getPanelViewReport.php
40
KB
-rw-r--r--
getPanelViewReportExcel.php
10.13
KB
-rw-r--r--
getQpStatsReport.php
41.58
KB
-rw-rw-r--
getnumword.php
7.45
KB
-rwxr-xr-x
photocopydownload.php
15.53
KB
-rw-rw-r--
qppatternreport.php
9.59
KB
-rw-r--r--
revaluationReport.php
19.03
KB
-rw-rw-r--
tdvsDecodeReport.php
8.38
KB
-rw-rw-r--
tdvsDecodeReportExcel.php
6.72
KB
-rw-rw-r--
tdvsQpPatranTest.php
10.25
KB
-rw-r--r--
tdvs_TeachValReport.php
14.06
KB
-rw-rw-r--
tdvs_TeachWiseValReport.php
36
KB
-rw-rw-r--
tdvs_deviationdet.php
9.19
KB
-rw-rw-r--
tdvs_getQpNotStartedReprot.php
7.28
KB
-rw-rw-r--
tdvs_studentMarksReport.php
18.1
KB
-rw-rw-r--
tdvs_studentMarksReportCOWise....
15.84
KB
-rw-rw-r--
tdvs_studentMarksReportNew.php
11.64
KB
-rw-r--r--
tdvsmarkslist.php
34.79
KB
-rw-rw-r--
teachersList.php
15.47
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : tdvsQpPatranTest.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); // require_once("report_hall_ticket.php"); class MYPDF extends TCPDF { public function Footer() { $this->SetY(-15); $this->SetFont('helvetica', 'I', 8); // var_dump(); if($this->CurOrientation == 'P') { $this->Cell(0, 10, 'IP : ' . $_SERVER["REMOTE_ADDR"], 0, 0, 'L'); $this->Cell(0, 10, 'Date : ' . date("d-m-Y h:i:s A"), 0, 1, 'R'); //$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, 1, 'R'); } } } class MarksListReport extends MYPDF { function formcolldata() { $get_coll_name = "select FUNIVCODE, FUNIVNAME as 'FUNIVNAME', 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); $this->FUNIVCODE = $lobj_get_coll_name['FUNIVCODE']; $this->FUNIVNAME = $lobj_get_coll_name['FUNIVNAME']; $this->s_state = $lobj_get_coll_name['state']; $this->f_year = $lobj_get_coll_name['f_year']; $this->pdf_logo_path = $lobj_get_coll_name['pdf_logo_path']; $this->FEXAMAPPREQ = $lobj_get_coll_name['FEXAMAPPREQ']; $folder = $this->aobj_context->pdb['ffolder']; $this->url = "http://universitysolutions.in/{$folder}/"; } public function Footer() { $pdf->SetY(-10); $pdf->SetFont('helvetica', 'I', 8); $pdf->Cell(60, 10, 'IP : ' . $_SERVER["REMOTE_ADDR"], 0, 0, 'L'); $pdf->Cell(60, 10, 'Date : ' . date("d-m-Y h:i:s A"), 0, 1, 'C'); } function DefaultConstructor($aobj_context) { $this->aobj_context = $aobj_context; $this->pdf = new MYPDF(); $this->doc_no = trim($this->aobj_context->mobj_data["doc_no"]); $this->ip = $_SERVER["REMOTE_ADDR"]; $get_date = "select date_add(date_add(now(),INTERVAL 13 hour),interval 30 minute) as now_date"; $obj = $this->aobj_context->pobj_db->GetRow($get_date); } function WriteHallTicket($doc_no) { $this->tempcode = trim($this->aobj_context->mobj_data["tempcode"]); //var_dump($this->tempcode); $get_data = "select * from tdvs_qptemphead where ftempcode = '{$this->tempcode}'"; $obj_get_data = $this->aobj_context->pobj_db->GetAll($get_data); $pdf = $this->pdf; $pdf->SetMargins(25, 10); $pdf->AddPage("P"); $page_cnt = 1; $pdf->Cell(175, 4, $this->FUNIVNAME, 0, 1, 'C'); $pdf->SetFont('Times', '', 9); $pdf->Cell(175, 4, $this->s_state, '0', 1, 'C'); foreach($obj_get_data as $val) { $fpartcode = $val['fpartcode']; $pdf->Cell(0, 6, $val['fpartdesc'], 0, 1, 'C'); $pdf->Cell(0, 8, "Max. Qn.: ".$val['fmaxqn']." Mandatory Qn.: ".$val['fmandqn']." Max. Marks: ".$val['fmaxmarks'] , 0, 1, 'L'); $get_data = "select * from tdvs_qptempdetl where ftempcode = '{$this->tempcode}' and fpartcode = '{$fpartcode}' order by fqnord"; $res = $this->aobj_context->pobj_db->GetAll($get_data); foreach($res as $value) { $fsubqp =$value['fsubqp']; if($fsubqp == 'T') { }else { $madtext = "Non Mandatory"; if($value['fqncode'] == $value['fqnparent']) $madtext = "Mandatory"; $pdf->Cell(0, 6, " Question No.: ".$value['fqnno']." Marks: ".$value['fmaxmarks']." ". $madtext, 0, 1, 'L'); } } $pdf->Ln("2"); } } function getIndianCurrency($number) { if($number == ""){ return ""; } $hyphen = ' '; $conjunction = ' and '; $separator = ', '; $negative = 'negative '; $decimal = ' point '; $dictionary = array( 0 => 'zero', 1 => 'one', 2 => 'two', 3 => 'three', 4 => 'four', 5 => 'five', 6 => 'six', 7 => 'seven', 8 => 'eight', 9 => 'nine', 10 => 'ten', 11 => 'eleven', 12 => 'twelve', 13 => 'thirteen', 14 => 'fourteen', 15 => 'fifteen', 16 => 'sixteen', 17 => 'seventeen', 18 => 'eighteen', 19 => 'nineteen', 20 => 'twenty', 30 => 'thirty', 40 => 'fourty', 50 => 'fifty', 60 => 'sixty', 70 => 'seventy', 80 => 'eighty', 90 => 'ninety', 100 => 'hundred', 1000 => 'thousand', 100000 => 'lakh', 10000000 => 'crore' ); $number = (int)$number; if (!is_numeric($number)) { return false; } if (($number >= 0 && (int) $number < 0) || (int) $number < 0 - PHP_INT_MAX) { // overflow trigger_error( 'convert_number_to_words only accepts numbers between -' . PHP_INT_MAX . ' and ' . PHP_INT_MAX, E_USER_WARNING ); return false; } if ($number < 0) { return $negative . convert_number_to_words(abs($number)); } $string = $fraction = null; if (strpos($number, '.') !== false) { list($number, $fraction) = explode('.', $number); } switch (true) { case $number < 21: $string = $dictionary[$number]; break; case $number < 100: $tens = ((int) ($number / 10)) * 10; $units = $number % 10; $string = $dictionary[$tens]; if ($units) { $string .= $hyphen . $dictionary[$units]; } break; case $number < 1000: $hundreds = $number / 100; $remainder = $number % 100; $string = $dictionary[$hundreds] . ' ' . $dictionary[100]; if ($remainder) { $string .= $conjunction . convert_number_to_words($remainder); } break; case $number < 100000: $thousands = ((int) ($number / 1000)); $remainder = $number % 1000; $thousands = convert_number_to_words($thousands); $string .= $thousands . ' ' . $dictionary[1000]; if ($remainder) { $string .= $separator . convert_number_to_words($remainder); } break; case $number < 10000000: $lakhs = ((int) ($number / 100000)); $remainder = $number % 100000; $lakhs = convert_number_to_words($lakhs); $string = $lakhs . ' ' . $dictionary[100000]; if ($remainder) { $string .= $separator . convert_number_to_words($remainder); } break; case $number < 1000000000: $crores = ((int) ($number / 10000000)); $remainder = $number % 10000000; $crores = convert_number_to_words($crores); $string = $crores . ' ' . $dictionary[10000000]; if ($remainder) { $string .= $separator . convert_number_to_words($remainder); } break; default: $baseUnit = pow(1000, floor(log($number, 1000))); $numBaseUnits = (int) ($number / $baseUnit); $remainder = $number % $baseUnit; try { $string = convert_number_to_words($numBaseUnits) . ' ' . $dictionary[$baseUnit]; }catch(Exception $e) { return "Value too large"; } if ($remainder) { $string .= $remainder < 100 ? $conjunction : $separator; $string .= convert_number_to_words($remainder); } break; } if (null !== $fraction && is_numeric($fraction)) { $string .= $decimal; $words = array(); foreach (str_split((string) $fraction) as $number) { $words[] = $dictionary[$number]; } $string .= implode(' ', $words); } return $string; } function SendOutput() { $this->pdf->Output("tdvsQpPatranTest.pdf", "I"); } } function tdvsQpPatranTest($aobj_context) { $aobj_context->pobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $univcode = $aobj_context->mobj_data["univcode"]; $tempcode = $aobj_context->mobj_data["tempcode"]; $class_obj = new MarksListReport(); $class_obj->DefaultConstructor($aobj_context); $class_obj->formcolldata(); $class_obj->WriteHallTicket($tempcode); $class_obj->SendOutput(); }
Close