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 | : 13.58.203.104
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 /
student /
vskub /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
Thumbs.db
19
KB
-rwxr-xr-x
applicationFormReportNEFT.php
16.47
KB
-rwxr-xr-x
applicationFormReportNETBANKIN...
6.67
KB
-rwxr-xr-x
applicationFormReportNETBANKIN...
6.31
KB
-rwxr-xr-x
applicationFormReportPOSTOFFIC...
19.91
KB
-rwxr-xr-x
applicationFormReportPOSTOFFIC...
19.8
KB
-rwxr-xr-x
applicationFormReportPOSTOFFIC...
18.88
KB
-rwxr-xr-x
applicationFormReportSBM.php
14.17
KB
-rwxr-xr-x
candidate_list.php
88.93
KB
-rwxr-xr-x
candidate_list08112016.php
54.01
KB
-rwxr-xr-x
candidate_list15092016.php
50.11
KB
-rwxr-xr-x
candidate_list28032016.php
49.63
KB
-rwxr-xr-x
cappcontext.php
3.19
KB
-rwxr-xr-x
cappdu.php
3.53
KB
-rwxr-xr-x
code39.php
6.38
KB
-rwxr-xr-x
code39old.php
6.38
KB
-rwxr-xr-x
coutput.php
1.75
KB
-rwxr-xr-x
crequestbroker.php
2.49
KB
-rwxr-xr-x
csessions.php
516
B
-rwxr-xr-x
cuser.php
3.41
KB
-rwxr-xr-x
customappcontext.php
2.34
KB
-rwxr-xr-x
download_upload.html
2.6
KB
-rwxr-xr-x
ean13.php
2.83
KB
-rwxr-xr-x
getnumword.php
7.15
KB
-rwxr-xr-x
json.php
33.22
KB
-rwxr-xr-x
mregistry.php
1.73
KB
-rwxr-xr-x
report_admission_ticket.php
15.84
KB
-rwxr-xr-x
report_hall_ticket.php
11.07
KB
-rwxr-xr-x
report_hall_ticket29032016.php
11.06
KB
-rwxr-xr-x
revaluation.php
17.12
KB
-rwxr-xr-x
rotation.php
596
B
-rwxr-xr-x
rotationold.php
596
B
-rwxr-xr-x
saveuvcms.php
806
B
-rw-r--r--
stringspliter.php
693
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : report_admission_ticket.php
<?php class AdmissionTicket { public $aobj_context; public $degree_code; public $registor_no_starts; public $registor_no_ends; public $print_per_page; public $sub_appearing_count; public $std_adm_count; public $sub_arr; public $std_arr; // university public $std_FUNIVNAME ; public $std_FUNIVCODE ; public $std_FTOWN; // college info public $college_code; public $college_name; public $college_address; // student info public $STD_RegNo; public $STD_CollCode; public $STD_Course; public $STD_Name; public $STD_FAT; public $STD_MAT; public $STD_DOB; public $CollDetails; public $ADMNUM; public $bth_flag; function __construct($aobj_context) { $this->aobj_context=$aobj_context; $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); session_start(); $this->college_code = $_SESSION['collcode']; $bth_flag=0; } function getUniversityDetails() { $page_header_university = "select FUNIVCODE, FUNIVNAME,FTOWN from control"; $lobj_page_header_university = $this->aobj_context->mobj_db->GetRow($page_header_university); $this->std_FUNIVCODE = $lobj_page_header_university[FUNIVCODE]; $this->std_FUNIVNAME = $lobj_page_header_university[FUNIVNAME]; $this->std_FTOWN = $lobj_page_header_university[FTOWN]; } function getCollegeDetails() { $page_header_college = "select c.FCOLLCODE, c.FCOLLNAME, c.FEXAMCNTR, ec.FCOLLNAME AS exam_center_name, CONCAT(c.FCOLLADD1,SPACE(2), c.FTOWN,'\n',c.FEXAMCNTR) AS COLLEGE_ADRS FROM college c LEFT JOIN college ec ON ec.FCOLLCODE=c.FEXAMCNTR WHERE c.FCOLLCODE='{$this->college_code}'"; $lobj_page_header_college = $this->aobj_context->mobj_db->GetRow($page_header_college); $this->college_code = $lobj_page_header_college['FCOLLCODE']; $this->FEXAMCNTR = $lobj_page_header_college['FEXAMCNTR']; $this->exam_center_name = $lobj_page_header_college['exam_center_name']; $this->college_name = $lobj_page_header_college['FCOLLNAME']; $this->college_address = $lobj_page_header_college['COLLEGE_ADRS']; }//and ifnull(col.FDELETED,'F')='F' function getStudentDetails() { $get_student_data= " SELECT S.FDEGREE,S.FREGNO,S.FCOLLCODE,ifnull(FPHOTOPATH,'') as photo_path, concat(col.FCOLLNAME,',',space(2), col.FTOWN) as CollDetails , concat(ec.FCOLLNAME,', ',ec.ftown) AS exam_center_name, col.FCOLLNAME as FCOLLNAME, cs.FCNTRCODE AS FEXAMCNTR,col.FCOLLCODE, CONCAT(D.FDESCPN) AS COURSE, D.FEXAMDATE, S.FNAME,S.FFATNAME,S.FMOTNAME,S.fstudid, DATE_FORMAT(S.FDOB,'%d/%m/%Y') AS FDOB FROM student S INNER JOIN degree D ON S.FDEGREE=D.FDEGREE AND S.FEXAMNO=D.FEXAMNO INNER JOIN college col ON S.FCOLLCODE=col.FCOLLCODE inner join candsum cs on S.fdegree = cs.fdegree and S.fregno = cs.fregno LEFT JOIN college ec ON ec.FCOLLCODE=cs.FCNTRCODE inner join colldeg on colldeg.fdegree = cs.fdegree and colldeg.fcollcode = cs.fcollcode WHERE S.FREGNO>='{$this->registor_no_starts}' AND S.FREGNO<='{$this->registor_no_ends}' AND S.FDEGREE='{$this->degree_code}' and cs.FCOLLCODE='{$this->college_code}' and cs.frecptdate is not null and ifnull(colldeg.fhtstop,'F') <> 'T' and ifnull(S.fexamappblk,'') <> 'T' and ifnull(S.fmp,'') <> 'T'"; //echo $get_student_data; $lobj_get_student_data = $this->aobj_context->mobj_db->GetAll($get_student_data); $this->std_adm_count = count($lobj_get_student_data); foreach($lobj_get_student_data as $rek=>$rev) { $this->std_arr[$rev['FREGNO']]['FREGNO'] = $rev['FREGNO']; $this->std_arr[$rev['FREGNO']]['fstudid'] = $rev['fstudid']; $this->std_arr[$rev['FREGNO']]['FCOLLCODE'] = $rev['FCOLLCODE']; $this->std_arr[$rev['FREGNO']]['FCOLLCODE'] = $rev['FCOLLCODE']; $this->std_arr[$rev['FREGNO']]['COURSE'] = $rev['COURSE']; $this->std_arr[$rev['FREGNO']]['FNAME'] = $rev['FNAME']; $this->std_arr[$rev['FREGNO']]['FFATNAME'] = $rev['FFATNAME']; $this->std_arr[$rev['FREGNO']]['FMOTNAME'] = $rev['FMOTNAME']; $this->std_arr[$rev['FREGNO']]['FDOB'] = $rev['FDOB']; $this->std_arr[$rev['FREGNO']]['EXAMDATE'] = $rev['FEXAMDATE']; $this->std_arr[$rev['FREGNO']]['FCOLLNAME'] = $rev['FCOLLNAME']; $this->std_arr[$rev['FREGNO']]['CollDetails'] = $rev['CollDetails']; $this->std_arr[$rev['FREGNO']]['photo_path'] = $rev['photo_path']; $this->std_arr[$rev['FREGNO']]['FEXAMCNTR'] = $rev['FEXAMCNTR']; $this->std_arr[$rev['FREGNO']]['exam_center_name'] = $rev['exam_center_name']; $this->std_arr[$rev['FREGNO']]['FCOLLCODE'] = $rev['FCOLLCODE']; } } function getSubjectAppearing() { $get_subject_appearing = "SELECT c.FDEGREE, cs.FREGNO AS FREGNO , GROUP_CONCAT(d.FEXAMNAME ORDER BY d.FEXAMNO) EXAMNAME, GROUP_CONCAT(c.FEXAMNO ORDER BY c.FSUBCODE) FEXAMNO, c.FREGNO, GROUP_CONCAT(s.FCSUBCODE ,'->',s.FSUBNAME,' ',s.FSSUBNAME,'->', s.FSHORTNAME,'->',concat(if(date_format(FDOE,'%d/%m/%Y')!='00/00/0000',date_format(FDOE,'%d/%m/%Y'),''),' - ',ifnull(rs.fdescpn,''),'->',FQPCODE) ORDER BY s.FTHEORY desc, s.FDOE, s.FSESSION SEPARATOR '~') AS SUBCODE , GROUP_CONCAT(ifnull(s.FSUBNAME,''),' ',ifnull(s.FSSUBNAME,''),' [',ifnull(FSUBSHORT,''),']' ORDER BY s.FCSUBCODE) AS SUBDECPN, ifnull(FRECPTDATE,'') as receipt_date FROM canddet c INNER JOIN subject s ON c.FDEGREE=s.FDEGREE AND c.FEXAMNO=s.FEXAMNO AND c.FSUBCODE=s.FSUBCODE AND s.FINTASS!='T' AND INSTR(ifnull(c.fthpr,''), s.ftheory) <= 0 left outer join reason rs on s.fsession = rs.freasoncd inner join degree d on c.FDEGREE= d.FDEGREE AND c.FEXAMNO=d.FEXAMNO and d.FADYEAR=c.FYEAR and left(d.FADEXAMTYP,1)=left(c.FEXAMTYPE,1) inner join candsum cs on cs.FDEGREE=c.FDEGREE AND cs.FREGNO=c.FREGNO AND cs.FCOLLCODE=c.FCOLLCODE AND c.FYEAR=cs.FYEAR and left(c.FEXAMTYPE,1)=left(cs.FEXAMTYPE,1) WHERE c.FDEGREE='{$this->degree_code}' AND c.FCOLLCODE='{$this->college_code}' AND ifnull(c.FPASSMTH,'') = '' AND c.fpresent = 'P' and c.FREGNO >= '{$this->registor_no_starts}' AND c.FREGNO <='{$this->registor_no_ends}' and cs.frecptdate is not null GROUP BY c.FREGNO, c.FDEGREE "; $this->aobj_context->mobj_db->execute("SET @@session.group_concat_max_len=100000"); $this->lobj_get_subject_appearing = $this->aobj_context->mobj_db->GetAll($get_subject_appearing); // echo "<pre>".$get_subject_appearing;die(); $this->receipt_date_arr=array(); foreach($this->lobj_get_subject_appearing as $suk=>$suv) { $this->std_arr[$suv[FREGNO]]['SUBCODE']=$suv['SUBCODE']; if(!empty($suv['receipt_date'])) $this->receipt_date_arr[$suv[FREGNO]]=$suv['receipt_date']; } } } function generateAdmissionTicket($aobj_context) { $class_obj=new AdmissionTicket($aobj_context); ini_set("memory_limit",-1); ini_set('max_execution_time',3300); /* $class_obj->degree_code = $aobj_context->mobj_data["degree_code"]; //if(preg_match('[^BTH]', $class_obj->degree_code)) if(preg_match('[^BTH]', $class_obj->degree_code)) $class_obj->bth_flag=1; $class_obj->registor_no_starts= $aobj_context->mobj_data["reg_starts"]; $class_obj->registor_no_ends= $aobj_context->mobj_data["reg_ends"]; */ /* Student regno from client - 08/05/2015 */ $class_obj->reg_no= $aobj_context->mobj_data["regno"]; $get_other_details="select FDEGREE,FCOLLCODE from student where FREGNO='{$class_obj->reg_no}' "; $lobj_get_name = $aobj_context->mobj_db->GetRow($get_other_details); $class_obj->degree_code = $lobj_get_name['FDEGREE']; $class_obj->college_code = $lobj_get_name['FCOLLCODE']; $class_obj->registor_no_starts= $aobj_context->mobj_data["regno"]; $class_obj->registor_no_ends= $aobj_context->mobj_data["regno"]; if(preg_match('[^BTH]', $class_obj->degree_code)) $class_obj->bth_flag=1; /* end */ $main_src_obj=(explode("/",$_SERVER["REQUEST_URI"])); $main_src=$main_src_obj[1]; $pdf_reader_class=$aobj_context->main_src."/tarka_pdf/fpdi/FPDI_Protection.php"; $pdf_psw_function=$aobj_context->main_src."/tarka_pdf/TarkaPDFEncryption.php"; $pdf_writer_class=$aobj_context->main_src."/tarka_pdf/fpdf.php"; $root_pdf_file_download=$aobj_context->main_src."/Report_details/output/report_adm_ticket.pdf"; include($pdf_writer_class); $pdf= new FPDF(); $pdf->SetMargins(15,5,15); $pdf->aobj_context =$aobj_context ; $pdf->WhichReport = 'AdmissionTicket'; $pdf->SetFillColor(248, 248 ,255); $pdf->SetFont('Times','',10); $pdf->AddPage(); $adm_details=$class_obj->getUniversityDetails(); $adm_details=$class_obj->getCollegeDetails(); $adm_details=$class_obj->getStudentDetails(); $adm_details=$class_obj->getSubjectAppearing(); $page_cnt=1; foreach($class_obj->std_arr as $reg_k=>$reg_v) { if(!array_key_exists($reg_v['FREGNO'],$class_obj->receipt_date_arr)) continue; $full_photo_path=""; $full_photo_path=trim($aobj_context->main_src."/".$reg_v[photo_path]); $pdf->Ln(3); //$pdf->SetLineWidth(0.01); $pdf->SetLineWidth(0.01); $pdf->SetFont('Times','B',14); $img_path=$aobj_context->main_src."/img/report_uni_logo.jpg"; if(file_exists($img_path)) $pdf->Image($img_path,15,4,22); $pdf->Cell(0,4,$class_obj->std_FUNIVNAME,0,1,'C'); $pdf->SetFont('Times','',8); $pdf->Cell(0,4,'' ,'0',1,'C'); $pdf->SetFont('Times','B',11); $pdf->Ln(1); $pdf->Cell(0,5,'ADMISSION TICKET ' ,'0',1,'C'); $pdf->SetFont('Times','',8); $pdf->Cell(0,5,$reg_v['EXAMDATE'].' EXAMINATION ' ,'0',1,'C'); $pdf->SetFont('Times','',10); $pdf->Ln(6); $pdf->SetFont('Times','',10); if(file_exists($full_photo_path) && !empty($reg_v[photo_path])) { $pdf->Image($full_photo_path,165,$pdf->GetY(),27,27); } else { $pdf->Image($aobj_context->main_src."/img/nophoto.jpg",165,$pdf->GetY(),27,27); } $pdf->SetFont('Times','B',9); $pdf->Cell(25,6,' Course',0,0,'L'); $pdf->Cell(3,6,' : ',0,0,'L'); $pdf->SetFont('Times','',9); $pdf->Cell(120,6,''.$reg_v['COURSE'],0,1,'L'); $pdf->SetFont('Times','B',9); $pdf->Cell(25,6,' College',0,0,'L'); $pdf->Cell(3,6,' : ',0,0,'L'); $pdf->SetFont('Times','',9); $pdf->MultiCell(96,6,''. $reg_v['FCOLLCODE']." - ".$reg_v['CollDetails'],0,"L"); $pdf->SetFont('Times','B',9); $pdf->Cell(25,6,' Exam Center',0,0,'L'); $pdf->Cell(3,6,' : ',0,0,'L'); $pdf->SetFont('Times','',9); //$pdf->Cell(120,6,''. $reg_v['FEXAMCNTR']." - ".$reg_v['exam_center_name'],0,1,'L'); $pdf->Cell(120,6,'As per the notification KU/EB/UG/12109 - 12112/2014-15',0,1,'L'); $pdf->SetFont('Times','B',9); $pdf->Cell(25,6,' Reg. No.',0,0,'L'); $pdf->Cell(3,6,' : ',0,0,'L'); $pdf->SetFont('Times','B',9); $pdf->Cell(120,6,''.$reg_v['FREGNO']. ' Student Id.: '.$reg_v['fstudid'],0,1,'L'); $pdf->SetFont('Times','B',9); $pdf->Cell(25,6," Student's Name",0,0,'L'); $pdf->Cell(3,6,' : ',0,0,'L'); $pdf->SetFont('Times','',9); $pdf->Cell(120,6,''.$reg_v['FNAME'],0,1,'L'); $pdf->Ln(1); $pdf->SetFont('Times','B',10); $pdf->Cell(0,5,'Subject Appearing',0,1,'C'); $pdf->SetFont('Times','B',8); $pdf->Cell(7,4,"Sl. ","LTR",0,"C"); $pdf->Cell(10,4,"Sub.","LTR",0,"C"); $pdf->Cell(70,4,"Subject Title","LTR",0,"C"); $pdf->Cell(14,4,"QP","LTR",0,"C"); $pdf->Cell(45,4,"Date and Time","LTR",0,"C"); $pdf->Cell(20,4,"Answer","LTR",0,"C"); $pdf->Cell(20,4,"Invigilator","LTR",1,"C"); $pdf->Cell(7,4,"No. ","BLR",0,"C"); $pdf->Cell(10,4,"Code","BLR",0,"C"); $pdf->Cell(70,4,"","BLR",0,"C"); $pdf->Cell(14,4,"Code","BLR",0,"C"); $pdf->Cell(45,4,"","BLR",0,"C"); $pdf->Cell(20,4,"Book No.","BLR",0,"C"); $pdf->Cell(20,4,"Signature","BLR",1,"C"); $pdf->SetFont('Times','',9); /* $sub_arr=$reg_v[SUBCODE]; $subj_arr=explode("~",$sub_arr); $sl_no=1; foreach($subj_arr as $ek) { $explode_arr=explode("->",$ek); $pdf->Cell(7,6, $sl_no,"1",0,"C"); $pdf->Cell(10,6, $explode_arr[0],"1",0,"C"); // $pdf->MultiCell(70,6,$explode_arr[1],1,"L"); $pdf->Cell(70,6,$explode_arr[1],"1",0,"L"); $sub_short=$explode_arr[4]; $pdf->Cell(14,6,$sub_short,"1",0,"C"); $pdf->Cell(45,6,$explode_arr[3],"1",0,"C"); $pdf->Cell(20,6,"","1",0,"C"); $pdf->Cell(20,6,'',"1",1,"C"); $sl_no++; } */ $header = array("Sl. No", "Sub.", "Subject Title", "QP.","Date and Time","Answer","Signature"); // Headers and widths $w = array(7,10, 70,14,45,20,20); $pdf->SetFont('Times','',9); // Mark start coords $x = $pdf->GetX(); $y = $pdf->GetY(); $sub_arr=$reg_v[SUBCODE]; $subj_arr=explode("~",$sub_arr); $sl_no=1; foreach($subj_arr as $ek) { $explode_arr=explode("->",$ek); $y1 = $pdf->GetY(); $X1 = $pdf->GetX(); $pdf->SetXY($X1+17,$y1); $pdf->MultiCell($w[2], 5, $explode_arr[1], 'LRB',1); $y2 = $pdf->GetY(); $yH = $y2 - $y1; $pdf->SetXY($x + $w[2]-70, $pdf->GetY() - $yH); $pdf->Cell($w[0], $yH, $sl_no, 'LRB',0,'C'); $pdf->Cell($w[1], $yH, $explode_arr[0], 'LRB',0,'C'); $X3 = $pdf->GetX(); $Y3 = $pdf->GetY(); $sub_short=$explode_arr[4]; $pdf->SetXY($X3+70,$Y3); $pdf->Cell($w[3], $yH, $sub_short, 'LRB', 0, 'C'); $X4 = $pdf->GetX(); $Y4 = $pdf->GetY(); $pdf->SetXY($X3+84,$Y3); $pdf->Cell($w[4], $yH, $explode_arr[3], 'LRB', 0, 'C'); $pdf->SetXY($X3+129,$Y3); $pdf->Cell($w[5], $yH,'', 'LRB', 0, 'C'); $pdf->SetXY($X3+149,$Y3); $pdf->Cell($w[6], $yH,'', 'LRB', 0, 'C'); $pdf->Ln(); $sl_no++; } $pdf->SetFont('Times','',8); $pdf->Cell(25,6,'Note : 1. Candidate is advised to check the QP code before answering.','0',0,'L'); $pdf->Ln(4); $pdf->Cell(25,6,' 2. Supervisor should verify the QP code before signing.','0',0,'L'); $pdf->Ln(4); $pdf->Cell(25,6,' 3. Before answering, please read the instructions given in the Answer Booklet.','0',0,'L'); $pdf->Ln(4); $pdf->Cell(25,6,' 4. Time table printed in the hall ticket is tentative and is given for the information purpose only.','0',0,'L'); $pdf->Ln(3); $pdf->Cell(25,6,' Please verify with the final time table available at your college or Visit Web site www.logisys.net.in/kus.','0',0,'L'); $pdf->Ln(4); $pdf->Cell(25,6,' 5. For all the non semester (Annual Scheme) students exam center will be at SAHYADRI ARTS & COMMERCE COLLEGE, SHIMOGA. ','0',0,'L'); $pdf->Ln(3); $pdf->SetFont('Times','',9); $pdf->Ln(15); $img_x=($pdf->getX()+140);; $img_y=$pdf->getY()-10; $img_path=$aobj_context->main_src."/img/controler_sign.jpg"; if(file_exists($img_path)) $pdf->Image($img_path,$img_x,$img_y,30); //$pdf->Cell(90,5,'Student Signature ','0',0,'L'); //$pdf->Cell(36,5,'Controller of Examinations','0',1,'L'); $pdf->Ln(4); $pdf->Cell(140,5,'','0',0,'L'); IF($class_obj->std_FUNIVCODE==='021') $pdf->Cell(36,6,'Controller of Examinations','0',0,'L'); ELSE $pdf->Cell(36,6,'Registrar (Evaluation)','0',0,'L'); $pdf->Ln(15); $pdf->Cell(110,5,'Student Signature ','0',0,'L'); $pdf->Cell(36,5,'I certify that this candidate is eligible to appear for the','0',0,'L'); $pdf->Ln(4); $pdf->Cell(36,5,' current examination as per the details mentioned above','0',1,'L'); $pdf->Ln(8); $pdf->Cell(36,5,' Principal / H.O.D. Signature with seal','0',1,'L'); $date=date("F j, Y, g:i a"); $pdf->Cell(140,5,"Date: ",'0',0,'L'); $pdf->Ln(10); $pdf->Cell(140,5,'','0',0,'L'); $pdf->Cell(36,5,'','0',1,'L'); $pdf->Ln(8); if($page_cnt!=count($class_obj->std_arr)) { $pdf->AddPage(); }$page_cnt++; } $pdf->Output("report_adm_ticket.pdf","D"); } ?>
Close