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.144.6.9
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 /
bnu_old /
Report_details /
[ HOME SHELL ]
Name
Size
Permission
Action
PHPExcel
[ DIR ]
drwxr-xr-x
output
[ DIR ]
drwxr-xr-x
DownloadExamAppFormApplication...
5.72
KB
-rwxr-xr-x
DownloadRvRtAckApplications.ph...
5.26
KB
-rwxr-xr-x
ExcelWriterXML.php
16.29
KB
-rwxr-xr-x
ExcelWriterXML_Sheet.php
15.83
KB
-rwxr-xr-x
ExcelWriterXML_Style.php
23.71
KB
-rwxr-xr-x
HT_017_BA160105.pdf
40.2
KB
-rwxr-xr-x
PrintApplicationFormAdmPOSTOFF...
12.64
KB
-rwxr-xr-x
PrintChallanEntryDetails.php
8.36
KB
-rwxr-xr-x
RvRtApplicationReport.php
8.76
KB
-rwxr-xr-x
ack_exam_app_form_bulk.php
11.63
KB
-rwxr-xr-x
admChallanEntryDetails.php
7.01
KB
-rwxr-xr-x
adm_comb_details.php
6.18
KB
-rwxr-xr-x
answer_book_statistics.php
6.79
KB
-rwxr-xr-x
appear_list_center_qp_wise.php
7.33
KB
-rwxr-xr-x
appear_list_qp_wise.php
5.67
KB
-rwxr-xr-x
appfeedetails.php
8.73
KB
-rwxr-xr-x
appfeedetails25022017.php
6.46
KB
-rwxr-xr-x
appfeedetails_pdf.php
7.48
KB
-rwxr-xr-x
appfeedetailspdf.php
7.58
KB
-rwxr-xr-x
basic_data_coll.php
6.18
KB
-rwxr-xr-x
basic_data_sum.php
6.89
KB
-rwxr-xr-x
batch_wise_details.php
4.45
KB
-rwxr-xr-x
bundle_ despatch_ statement.ph...
5.78
KB
-rwxr-xr-x
cManualMailer.php
1.45
KB
-rwxr-xr-x
cappcontext.php
2.64
KB
-rwxr-xr-x
cconfig.php
1.14
KB
-rwxr-xr-x
cntDeclaration.php
13.74
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
fee_summary.php
13.15
KB
-rwxr-xr-x
fee_summary_oldformat.php
7.47
KB
-rwxr-xr-x
generatePostAdmissionTicket.ph...
38.63
KB
-rwxr-xr-x
getnumword.php
7.43
KB
-rwxr-xr-x
hallticketcomm.php
29.47
KB
-rwxr-xr-x
htstatus.php
6.73
KB
-rwxr-xr-x
iaemptyformat.php
7.1
KB
-rwxr-xr-x
index.php
4.54
KB
-rwxr-xr-x
marklist_studentwise.html
4.29
KB
-rwxr-xr-x
marls_subjectwise.php
10.22
KB
-rwxr-xr-x
mregistry.php
73.95
KB
-rwxr-xr-x
photo_report.php
4.49
KB
-rwxr-xr-x
practical_marks_details.php
12.17
KB
-rwxr-xr-x
practical_marks_report.php
5.45
KB
-rwxr-xr-x
reg_stud_list.php
7.74
KB
-rwxr-xr-x
report_ack_registration.php
6.4
KB
-rwxr-xr-x
report_adm_combination.php
10.15
KB
-rwxr-xr-x
report_adm_summary.php
8.42
KB
-rwxr-xr-x
report_admission_details.php
26.8
KB
-rwxr-xr-x
report_admission_list.php
17.1
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.1
KB
-rwxr-xr-x
report_admission_ticket0802201...
36.96
KB
-rwxr-xr-x
report_admission_ticket0811201...
47.36
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_201804...
27.76
KB
-rwxr-xr-x
report_admission_ticket_291120...
43.27
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_new.ph...
36.09
KB
-rwxr-xr-x
report_admission_ticket_nitte....
26.22
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_answer_book_issued.php
8.41
KB
-rwxr-xr-x
report_attendance_sheet.php
12.75
KB
-rwxr-xr-x
report_attendance_shortage.php
9.23
KB
-rwxr-xr-x
report_attendance_shortage_271...
8.99
KB
-rwxr-xr-x
report_attendance_summary.php
7.17
KB
-rwxr-xr-x
report_attendance_summary_back...
7.15
KB
-rwxr-xr-x
report_bacth_preparation_dairy...
7.05
KB
-rwxr-xr-x
report_batch_practical_dairy.p...
15.32
KB
-rwxr-xr-x
report_batch_wise_details.php
7.93
KB
-rwxr-xr-x
report_batch_worksheet_details...
11.18
KB
-rwxr-xr-x
report_bulk_applications.php
19.42
KB
-rwxr-xr-x
report_bundle_dispatch.php
8.65
KB
-rwxr-xr-x
report_bundle_dispatch_kusdde....
9.73
KB
-rwxr-xr-x
report_candidate_list.php
29.08
KB
-rwxr-xr-x
report_candidate_list28102017....
29.46
KB
-rwxr-xr-x
report_candidate_list_backup.p...
29.47
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_candidate_list_loc.php
25.06
KB
-rwxr-xr-x
report_candidate_list_old.php
25.9
KB
-rwxr-xr-x
report_daliy_report.php
10.88
KB
-rwxr-xr-x
report_daliy_report_qp - Copy....
14.31
KB
-rwxr-xr-x
report_daliy_report_qp.php
14.73
KB
-rwxr-xr-x
report_daliy_report_qp_2504201...
12.17
KB
-rwxr-xr-x
report_daliy_report_qp_new.php
9.93
KB
-rwxr-xr-x
report_daliy_report_qp_old_for...
10.13
KB
-rwxr-xr-x
report_daliy_report_qp_wait.ph...
9.9
KB
-rwxr-xr-x
report_data_sent.php
8.41
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
8.19
KB
-rwxr-xr-x
report_iamarks_pending_2112201...
6.58
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.6
KB
-rwxr-xr-x
report_marks_entry_subjectwise...
10.99
KB
-rwxr-xr-x
report_marks_entry_subwise_lis...
13.42
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.63
KB
-rwxr-xr-x
report_pr_pending.php
7.48
KB
-rwxr-xr-x
report_practical_marks_details...
13.45
KB
-rwxr-xr-x
report_practical_marks_details...
14.73
KB
-rwxr-xr-x
report_practical_misc.php
8.24
KB
-rwxr-xr-x
report_qpcount_univ.php
5.93
KB
-rwxr-xr-x
report_ra_exl_report.php
5.79
KB
-rwxr-xr-x
report_ra_invigilator_dairy.ph...
15.33
KB
-rwxr-xr-x
report_ra_invigilators_dairy.p...
14.9
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_qp_wise_student_coun...
7.66
KB
-rwxr-xr-x
report_ra_roomwise_register_no...
10.44
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
reportexamcntrdet.php
5.24
KB
-rwxr-xr-x
resport_attendance_studentwise...
5.96
KB
-rwxr-xr-x
results_pdf.php
19.35
KB
-rwxr-xr-x
revaluation.php
15.65
KB
-rwxr-xr-x
roomallotmantecelsheet.php
5.41
KB
-rwxr-xr-x
roomallotmantsummary.php
4.69
KB
-rwxr-xr-x
roomwise_register_nos_list.php
17.11
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.php
5.36
KB
-rwxr-xr-x
student_count.php
4.05
KB
-rwxr-xr-x
subject_wise_student_list.php
6.22
KB
-rwxr-xr-x
subjectwise_invigilator_dairy....
10.29
KB
-rwxr-xr-x
tatkal.php
4.8
KB
-rwxr-xr-x
teacher_report.php
10.83
KB
-rwxr-xr-x
testbarcode.php
19.88
KB
-rwxr-xr-x
topsheet.php
8.41
KB
-rwxr-xr-x
upload.js
29.46
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : PrintApplicationFormAdmPOSTOFFICE.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); $pdf_writer_class =$main_src."/tcpdf/tcpdf.php"; require_once($pdf_writer_class); //require_once('admChallanEntryDetails.php'); require('rotation.php'); //require('code39.php'); class applicationFormReport { function DefaultConstructor($aobj_context) { $this->aobj_context=$aobj_context; $this->pdf= new TCPDF(); //$this->pdf=$this; session_start(); $this->collcode = $_SESSION['collcode']; //var_dump($this->collcode); $this->amount = trim($this->aobj_context->mobj_data["amount"]); $this->totapp = trim($this->aobj_context->mobj_data["totapp"]); $this->docno = trim($this->aobj_context->mobj_data["docno"]); $this->FPAYMENTYPE = trim($this->aobj_context->mobj_data["FPAYMENTYPE"]); //var_dump($this->FPAYMENTYPE.'--'.$this->docno.'--'.$this->totapp.'---'.$this->amount); $this->ip=$_SERVER["REMOTE_ADDR"]; } function formcolldata() { $get_coll_name="select FUNIVCODE, FUNIVNAME as 'FUNIVNAME', FUNIVADD1 as 'state', pdf_logo_path,ifnull(FEXAMAPPREQ,'F') as FEXAMAPPREQ, concat('[',college.fcollcode,'] - ',college.fcollname,', ',college.ftown) as fcollname, FSHORTUNIV From control, college where fcollcode = '{$this->collcode}'"; $lobj_get_coll_name=$this->aobj_context->mobj_db->GetRow($get_coll_name); //var_dump($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->fcollname = $lobj_get_coll_name['fcollname']; $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() { $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= new TCPDF(); $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) { $style = array( 'position' => 'right', 'align' => 'C', 'stretch' => false, 'fitwidth' => true, 'cellfitalign' => '', 'border' => false, 'hpadding' => 'auto', 'vpadding' => 'auto', 'fgcolor' => array(0,0,0), 'bgcolor' => false, //array(255,255,255), 'text' => true, 'font' => 'helvetica', 'fontsize' => 8, 'stretchtext' => 3 ); $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); if($this->FUNIVCODE=="032") $this->pdf->multiCell($jump_width,3,$this->FUNIVNAME,0,"C"); else $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" || $this->FUNIVCODE=="008") { 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=="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"; if($this->screentype == 're') { $this->barcodeNo = $this->app_no.$this->fregno.str_pad($this->FTOTALFEE+$postal_charges,5, "0", STR_PAD_LEFT); }else { $this->barcodeNo = $this->amount.$this->fslno.$this->college_code.str_pad($this->FTOTALFEE+$postal_charges,5, "0", STR_PAD_LEFT); } $this->barcodeNo = $this->docno.$this->fregno.str_pad($this->amount+$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->docno}",'1',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell(($jump_width-2)*.35,$line_height,"Total Application No.",'1',0,'L'); $this->pdf->Cell(($jump_width-2)*.65,$line_height,"{$this->totapp}",'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->amount}/-",'1',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell(($jump_width-2)*.35,$line_height,"College ",'1',0,'L'); $this->pdf->Cell(($jump_width-2)*.65,$line_height,"{$this->collcode}",'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->amount}/-",'1',0,'C'); $this->pdf->Cell($tdd3_width,$line_height,"Rs {$postal_charges}/-",'1',0,'C'); $total=($this->amount+$postal_charges); $this->pdf->Cell($tdd4_width,$line_height,"Rs {$total}/-",'1',1,'C'); } $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->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->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. Payment accepted at all e payment Post Offices in Karnataka only.',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->SetX($x_pos+5); $this->pdf->write1DBarcode($this->barcodeNo, 'C39', '1', '173.9','100', 16, 0.22, $style, 'R'); $this->pdf->write1DBarcode($this->barcodeNo, 'C39', '100', '173.9','100', 16, 0.22, $style, 'R'); $this->pdf->write1DBarcode($this->barcodeNo, 'C39', '199', '173.9','100', 16, 0.22, $style, 'R'); $this->pdf->SetY($this->old_y); $img_path = $this->aobj_context->main_src.$this->photo_path; } function WriteHallTicket() { $aobj_context=$this->aobj_context; ini_set("memory_limit",-1); ini_set('max_execution_time',3300); //$pdf=$this->pdf; //var_dump($query); $this->pdf->SetMargins(20,5,20,5); //$pdf->SetMargins(28,3); $this->pdf->aobj_context =$aobj_context ; $this->pdf->SetFillColor(248, 248 ,255); $this->pdf->SetFont('Times','',10); $this->pdf->AddPage("P"); $this->pdf->Rect(5,05,200,289); $img_path = $aobj_context->main_src."/img/logo.jpg"; if(file_exists($img_path)) $this->pdf->Image($img_path,15,6,20,20); $this->pdf->SetFont('helvetica','B',15); $this->pdf->Ln(2); $this->pdf->Cell(180,4,$this->FUNIVNAME,0,1,'C'); $this->pdf->SetFont('Times','',12); $this->pdf->Ln(2); $this->pdf->Cell(180,4,'College : '.$this->fcollname,0,1,'C'); $this->pdf->SetFont('helvetica','B',12); $this->pdf->Ln(2); $this->pdf->Cell(180,4,'Application Details',0,1,'C'); $this->pdf->SetFont('Times','B',11); $this->pdf->ln(8); $this->pdf->SetTextColor(0,0,0); $this->pdf->SetFillColor(219,217,217); $this->pdf->ln(2); $this->pdf->SetFont('Times','B',9); $this->pdf->cell(10,7, "Sl. No.","1",0,"C",true); $this->pdf->cell(25,7, "App. No.","1",0,"C",true); $this->pdf->cell(21,7, "Applied. Date","1",0,"C",true); $this->pdf->cell(75,7, "Student Name","1",0,"L",true); $this->pdf->cell(10,7, "Exam","1",0,"C",true); $this->pdf->cell(16,7, "Degree","1",0,"C",true); $this->pdf->cell(16,7, "Fee Paid","1",1,"C",true); $height=5; $sl_no=1; $this->pdf->SetFont('Times','',9); $get_data="SELECT FAPPNO, FNAME, FEXAMNO, FDEGREE, FFEEPAID as TOTAL_FEE,DATE_FORMAT(FLOGDATE,'%d/%m/%Y') AS FAPPDATE FROM studadm WHERE FCOLLCODE='{$this->collcode}' and FCHALNO ='{$this->docno}'"; //var_dump("Get Student Data".$get_data); $lobj_get_get_data= $this->aobj_context->mobj_db->GetAll($get_data); foreach($lobj_get_get_data as $ak=>$av) { $sub_code=$ak; $this->pdf->cell(10,$height, $sl_no,"1",0,"C"); $this->pdf->cell(25,$height, $av['FAPPNO'],"1",0,"C"); $this->pdf->cell(21,$height, $av['FAPPDATE'],"1",0,"C"); $this->pdf->cell(75,$height, $av['FNAME'],"1",0,"L"); $this->pdf->cell(10,$height, $av['FEXAMNO'],"1",0,"C"); $this->pdf->cell(16,$height, $av['FDEGREE'],"1",0,"C"); $this->pdf->cell(16,$height, $av['TOTAL_FEE'],"1",1,"C"); $sl_no++; } $this->pdf->SetFont('Times','B',11); $this->pdf->ln(11); $this->pdf->cell(180,5, "Date : ","0",1,"L"); $this->pdf->cell(180,5, "Signature of Principal","0",1,"R"); $this->pdf->SetTextColor(0,0,0); } function SendOutput() { $this->pdf->Output("application_letter_{$this->app_no}.pdf","D"); } } function PrintApplicationFormAdmPOSTOFFICE($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(); $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"); $class_obj->WriteHallTicket(); $class_obj->SendOutput(); } ?>
Close