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.98.61
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 /
kus /
parikshamitra /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
phpmailer
[ DIR ]
drwxr-xr-x
.htaccess
602
B
-rwxr-xr-x
applicationFormReportPOSTOFFIC...
19.28
KB
-rwxr-xr-x
applicationFormReportPOSTOFFIC...
19.26
KB
-rwxr-xr-x
cManualMailer.php
1.52
KB
-rwxr-xr-x
caccesscontext.php
1.24
KB
-rwxr-xr-x
cappcontext.php
3.29
KB
-rwxr-xr-x
cmailer.php
6.83
KB
-rwxr-xr-x
code39.php
6.38
KB
-rwxr-xr-x
coutput.php
1.76
KB
-rwxr-xr-x
crequestbroker.php
2.49
KB
-rwxr-xr-x
csessions.php
514
B
-rwxr-xr-x
cuser.php
3.41
KB
-rwxr-xr-x
customappcontext.php
2.35
KB
-rwxr-xr-x
dropdown.php
844
B
-rwxr-xr-x
feehead.php
1.51
KB
-rwxr-xr-x
format.php
7.43
KB
-rwxr-xr-x
getdata.php
1.06
KB
-rwxr-xr-x
getnumword.php
7.15
KB
-rwxr-xr-x
home.html
14.48
KB
-rwxr-xr-x
json.php
33.22
KB
-rwxr-xr-x
login.php
1.64
KB
-rwxr-xr-x
mregistry.php
2.29
KB
-rwxr-xr-x
mregistry_11122017.php
2.03
KB
-rwxr-xr-x
reportapplicationform.php
26.32
KB
-rwxr-xr-x
reportapplicationform27092017....
22.58
KB
-rwxr-xr-x
reportapplicationform_20092017...
22.12
KB
-rwxr-xr-x
reportapplicationform_22092017...
22.22
KB
-rwxr-xr-x
reportapplicationform_23082018...
25.62
KB
-rwxr-xr-x
rotation.php
596
B
-rwxr-xr-x
servfee.php
1.38
KB
-rwxr-xr-x
servicedet.php
1.6
KB
-rwxr-xr-x
stringspliter.php
693
B
-rwxr-xr-x
student.php
35.65
KB
-rwxr-xr-x
student_06102017.php
23.34
KB
-rwxr-xr-x
student_10072018.php
26.67
KB
-rwxr-xr-x
student_11122017.php
24.47
KB
-rwxr-xr-x
student_20092017.php
21.88
KB
-rwxr-xr-x
student_22012018.php
26.59
KB
-rwxr-xr-x
student_22092017.php
21.97
KB
-rwxr-xr-x
student_28092017.php
23.14
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : reportapplicationform_20092017.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("getnumword.php"); class applicationfrom extends PDF_Rotate { function DefaultConstructor($aobj_context) { $this->aobj_context=$aobj_context; $this->pdf= new PDF_Rotate(); $this->pdf=$this; $this->app_no = trim($this->aobj_context->mobj_data["app_no"]); $this->ip=$_SERVER["REMOTE_ADDR"]; $query = "select now() as now_date, fpaytype, fappno from servtran where fappno = '{$this->app_no}' "; $obj=$this->aobj_context->mobj_db->GetRow($query); $this->current_date = $obj[now_date]; $this->fpaytype = $obj[fpaytype]; include_once("stringspliter.php"); $this->current_date=$obj[now_date]; $this->pdf = new PDF_Rotate(); } function Header() { } function Footer() { $this->SetY(-15); $this->pdf->SetFont('Times','B',8); $this->Cell(140,6,'Printed : IP Address : '.$this->ip." Date ".$this->current_date,'0',0,'L'); } function formcolldata() { $get_coll_name="select FUNIVCODE, FUNIVNAME as FUNIVNAME,FUNIVNAME as college_name,FTOWN, FUNIVADD1 as 'state', pdf_logo_path,ifnull(FEXAMAPPREQ,'F') as FEXAMAPPREQ, FSHORTUNIV, if(FUNIVCODE = '003','Regular','Distance') as rpmode 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->college_name=$lobj_get_coll_name['college_name']; $this->FTOWN=$lobj_get_coll_name['FTOWN']; $this->pdf_Postlogo_path="/img/post_logo.jpg"; $this->rpmode=$lobj_get_coll_name['rpmode']; } function GetQry() { $get_data=" SELECT st.fappno,date_format(st.fappdate,'%d/%m/%Y') as fappdate, date_format(st.fpaydate,'%d/%m/%Y')as fpaydate, concat(st.fdegree,' - ',d.fdescpn) as fdescpn, concat(st.fcollcode,' - ',c.fcollname) as fcollcode, st.fregno, st.fname, st.faddr1, DATE_FORMAT(st.fdob,'%d/%m/%Y') AS dob, st.fmobile, st.femail,st.fcategory, st.faddr2, st.faddr3, st.faddr4, st.fpaystatus, sy.fservname, sy.fproc, st.ftotal, st.fpaytype, GROUP_CONCAT(distinct sd.famount,'->',sf.FFEEDESC,'->',sd.FREMARKS,'->',sd.FSLNO order by sf.FFEECODE SEPARATOR '~') AS feecode FROM servtran st, servdetl sd, servfee sf , degree d, college c, servtype sy, servfeestr sr WHERE sd.fappno = st.fappno AND sf.FSERVCODE = st.FSERVCODE AND st.fregno = sd.fregno AND sf.ffeecode = sd.ffeecode AND sy.FSERVCODE = st.FSERVCODE and sr.ffeecode = sd.ffeecode and d.fdegree = st.fdegree and c.fcollcode = st.fcollcode and st.fappno = '{$this->app_no}' GROUP BY st.fregno order by sf.FFEECODE"; $rst= $this->aobj_context->mobj_db->GetRow($get_data); // echo $get_data $this->FNAME=$rst['fname']; $this->FDATE=$rst['fappdate']; $this->FDEGREE=$rst['fdescpn']; $this->FREGNO=$rst['fregno']; $this->FCOLLCODE=$rst['fcollcode']; $this->FDOB=$rst['dob']; $this->FCASTE=$rst['fcategory']; $this->FAMOUNT=$rst['ftotal']; //$this->FCNVNAME=$rst['FCNVNAME']; $this->FMOBILE=$rst['fmobile']; $this->FEMAIL=$rst['femail']; $this->FADDR1=$rst['faddr1']; $this->FADDR2=$rst['faddr2']; $this->FADDR3=$rst['faddr3']; $this->FADDR4=$rst['faddr4']; $this->FPAYTYPE=$rst['fpaytype']; $this->FPAYDATE=$rst['fpaydate']; $this->FPAYSTATUS=$rst['fpaystatus']; $this->feecode = $rst['feecode']; $this->fservname = $rst['fservname']; $this->fproc = $rst['fproc']; //var_dump($this->feecode);die(); $this->full_photo_path=trim($this->aobj_context->main_src."/". $this->FPHOTO); } function AcknowledgementForm() { $this->pdf->SetMargins(10,1,10); $this->pdf->AddPage("P"); if(!empty($this->pdf_logo_path)) { $img_logo_path=$this->aobj_context->main_src.$this->pdf_logo_path; $this->pdf->Image($img_logo_path,10,15,20); } $this->pdf->Rect(5,10,200,280); $this->pdf->SetFont('Times','B',15); $this->pdf->cell(0,6,$this->FUNIVNAME,"0",1,"C"); $this->pdf->SetFont('Times','B',12); $this->pdf->cell(0,7, $this->s_state,"0",1,"C"); $this->pdf->SetFont('Times','B',12); $this->pdf->Ln(8); $this->pdf->SetFont('Times','BU',15); $this->pdf->cell(0,6,"Acknowledgement","0",1,"C"); $this->pdf->Ln(1); $this->pdf->SetFont('Times','B',15); $this->pdf->Cell(146,7,"Application No : {$this->app_no}","0",0,"L"); $this->pdf->Ln(8); $this->pdf->SetFont('Times','B',15); $this->pdf->Cell(146,7,"Application for : {$this->fservname}","0",0,"L"); $this->pdf->SetFont('Times','B',12); $this->pdf->Cell(60,7," Date : {$this->FDATE}","0",1,"L"); $this->pdf->Ln(1); $this->pdf->SetFont('Times','B',15); $this->pdf->Cell(146,7," ","0",0,"L"); $this->pdf->SetFont('Times','B',12); $this->pdf->Cell(60,7," Mode : {$this->rpmode}","0",1,"L"); $this->pdf->Ln(4); $this->pdf->Cell(40,6,' Reg. No.',0,0,'L'); $this->pdf->Cell(5,6,' : ',0,0,'L'); $this->pdf->SetFont('Times','B',12); $this->pdf->Cell(120,6,''.$this->FREGNO,0,1,'L'); $this->pdf->SetFont('Times','B',12); $this->pdf->Cell(40,6," Name",0,0,'L'); $this->pdf->Cell(5,6,' : ',0,0,'L'); $this->pdf->SetFont('Times','',12); $this->pdf->Cell(120,6,''.$this->FNAME,0,1,'L'); $this->pdf->SetFont('Times','B',12); $this->pdf->Cell(40,6,' Course',0,0,'L'); $this->pdf->Cell(5,6,' : ',0,0,'L'); $this->pdf->SetFont('Times','',12); $this->pdf->Cell(120,6,''.$this->FDEGREE,0,1,'L'); $this->pdf->SetFont('Times','B',12); $this->pdf->Cell(40,6,' College',0,0,'L'); $this->pdf->Cell(5,6,' : ',0,0,'L'); $this->pdf->SetFont('Times','',12); $this->pdf->Cell(96,6,''.$this->FCOLLCODE,0,1,"L"); $this->pdf->SetFont('Times','B',12); $this->pdf->Cell(40,6,' Date of Birth',0,0,'L'); $this->pdf->Cell(5,6,' : ',0,0,'L'); $this->pdf->SetFont('Times','',12); $this->pdf->Cell(96,6,''.$this->FDOB,0,1,"L"); $this->pdf->SetFont('Times','B',12); $this->pdf->Cell(40,6,' Category',0,0,'L'); $this->pdf->Cell(5,6,' : ',0,0,'L'); $this->pdf->SetFont('Times','',12); $this->pdf->Cell(96,6,''.$this->FCASTE,0,1,"L"); $this->pdf->SetFont('Times','B',12); $this->pdf->Cell(40,6,' Mobile',0,0,'L'); $this->pdf->Cell(5,6,' : ',0,0,'L'); $this->pdf->SetFont('Times','',12); $this->pdf->Cell(96,6,''.$this->FMOBILE,0,1,"L"); $this->pdf->SetFont('Times','B',12); $this->pdf->Cell(40,6,' Email',0,0,'L'); $this->pdf->Cell(5,6,' : ',0,0,'L'); $this->pdf->SetFont('Times','',12); $this->pdf->Cell(96,6,''.$this->FEMAIL,0,1,"L"); $this->pdf->SetFont('Times','B',12); $this->pdf->Cell(40,6,' Address',0,0,'L'); $this->pdf->Cell(5,6,' : ',0,0,'L'); $this->pdf->SetFont('Times','',12); $this->pdf->Cell(96,6,''.$this->FADDR1,0,1,"L"); $this->pdf->SetFont('Times','B',12); $this->pdf->Cell(40,6,'',0,0,'L'); $this->pdf->Cell(5,6,' ',0,0,'L'); $this->pdf->SetFont('Times','',12); $this->pdf->Cell(96,6,''.$this->FADDR2,0,1,"L"); $this->pdf->SetFont('Times','B',12); $this->pdf->Cell(40,6,' ',0,0,'L'); $this->pdf->Cell(5,6,' ',0,0,'L'); $this->pdf->SetFont('Times','',12); $this->pdf->Cell(96,6,''.$this->FADDR3,0,1,"L"); $this->pdf->SetFont('Times','B',12); $this->pdf->Cell(40,6,' ',0,0,'L'); $this->pdf->Cell(5,6,' ',0,0,'L'); $this->pdf->SetFont('Times','',12); $this->pdf->Cell(96,6,''.$this->FADDR4,0,1,"L"); $this->pdf->SetFont('Times','B',14); /* $this->pdf->Cell(40,6,' Application for',0,0,'L'); $this->pdf->Cell(5,6,' : ',0,0,'L'); $this->pdf->SetFont('Times','B',12); $this->pdf->Cell(96,6,''.$this->fservname,0,1,"L"); */ $this->pdf->Cell(40,6,' Payment details',0,0,'L'); $this->pdf->Cell(5,6,' : ',0,1,'L'); $this->pdf->Ln(1); $this->pdf->Cell(40,6,'',0,0,'L'); $this->pdf->Cell(5,6,' ',0,0,'L'); $result = explode('~',$this->feecode); $this->pdf->SetFont('Times','B',12); $i = 1; $this->pdf->Cell(15,5,'Sl. No.',1,0,"L"); $this->pdf->Cell(80,5,'Description',1,0,"L"); $this->pdf->Cell(18,5,'Fees',1,1,"C"); $this->pdf->SetFont('Times','',12); foreach($result as $key => $value) { $services = explode('->',$value); $this->pdf->Cell(40,6,'',0,0,'L'); $this->pdf->Cell(5,6,' ',0,0,'L'); $this->pdf->Cell(15,6,''.$i,1,0,"C"); $this->pdf->Cell(80,6,''.$services[1],1,0,"L"); $this->pdf->Cell(18,6,''.$services[0],1,1,"C"); $i++; } $this->pdf->Ln(5); $this->pdf->SetFont('Times','B',12); $this->pdf->Cell(40,6,' Amount',0,0,'L'); $this->pdf->Cell(5,6,' : ',0,0,'L'); $this->pdf->SetFont('Times','',12); $this->pdf->Cell(96,6,''.$this->FAMOUNT.'/-',0,1,"L"); $this->pdf->SetFont('Times','B',12); $this->pdf->Cell(40,6,' Payment Mode',0,0,'L'); $this->pdf->Cell(5,6,' : ',0,0,'L'); $this->pdf->SetFont('Times','',12); $this->pdf->Cell(96,6,''.$this->FPAYTYPE,0,1,"L"); if($this->FPAYTYPE != 'POSTOFFICE') { $this->pdf->SetFont('Times','B',12); $this->pdf->Cell(40,6,' Payment Status ',0,0,'L'); $this->pdf->Cell(5,6,' : ',0,0,'L'); $this->pdf->SetFont('Times','',12); $this->pdf->Cell(96,6,''.$this->FPAYSTATUS,0,1,"L"); $this->pdf->SetFont('Times','B',12); $this->pdf->Cell(40,6,' Payment Date',0,0,'L'); $this->pdf->Cell(5,6,' : ',0,0,'L'); $this->pdf->SetFont('Times','',12); $this->pdf->Cell(96,6,''.$this->FPAYDATE,0,1,"L"); } $this->pdf->SetMargins(20,2,10); $this->pdf->addPage('P'); $this->pdf->SetMargins(20,2,10); $this->pdf->SetFont('Times','B',12); $this->pdf->Cell(40,6,'From,',0,1,'L'); $this->pdf->SetFont('Times','',12); $this->pdf->Cell(12,6,'',0,0,'L'); $this->pdf->Cell(100,6,''.$this->FNAME,0,1,'L'); $this->pdf->Cell(12,6,'',0,0,'L'); $this->pdf->Cell(100,6,''.$this->FADDR1,0,1,'L'); $this->pdf->Cell(12,6,'',0,0,'L'); $this->pdf->Cell(100,6,''.$this->FADDR2,0,1,'L'); $this->pdf->Cell(12,6,'',0,0,'L'); $this->pdf->Cell(100,6,''.$this->FADDR3,0,1,'L'); $this->pdf->Cell(12,6,'',0,0,'L'); $this->pdf->Cell(100,6,''.$this->FADDR4,0,1,'L'); $this->pdf->Cell(12,6,'',0,0,'L'); $this->pdf->Cell(100,6,''.$this->FMOBILE,0,1,'L'); $this->pdf->Cell(12,6,'',0,0,'L'); $this->pdf->Cell(100,6,''.$this->FEMAIL,0,1,'L'); $this->pdf->Ln(4); $this->pdf->SetFont('Times','B',12); $this->pdf->Cell(40,6,'To,',0,1,'L'); $this->pdf->SetFont('Times','',12); $this->pdf->Cell(12,6,' ',0,0,'L'); $this->pdf->Cell(100,6,'Registrar (Evaluation)',0,1,'L'); $this->pdf->Cell(12,6,'',0,0,'L'); $this->pdf->Cell(100,6,'Jnanasahyadri, Kuvempu University',0,1,'L'); $this->pdf->Cell(12,6,'',0,0,'L'); $this->pdf->Cell(100,6,'Shankaraghatta , Shivamogga - 577451',0,1,'L'); $this->pdf->Cell(12,6,'',0,0,'L'); $this->pdf->Cell(100,6,'Karnataka , India',0,1,'L'); $this->pdf->Cell(12,6,'',0,0,'L'); $this->pdf->Cell(100,6,'Ph: 08282-256166',0,1,'L'); $this->pdf->Ln(6); $this->pdf->Cell(40,6,'Dear Sir,',0,1,'L'); $this->pdf->Ln(2); $this->pdf->Cell(12,6,'',0,0,'L'); $this->pdf->SetFont('Times','B',12); $this->pdf->Cell(16,6,' Subject: ',0,0,'L'); $this->pdf->SetFont('Times','',12); $this->pdf->Cell(100,6,'Application for '.$this->fservname.' Regarding.',0,1,'L'); $this->pdf->Ln(6); $this->pdf->multicell(160,6,'With reference to the above subject, I am herewith submitting my application for '.$this->fservname.'. Kindly do the needful at the earliest.',0,'J'); $this->pdf->Ln(6); $this->pdf->SetFont('Times','BU',12); $this->pdf->multicell(160,6,'The following documents are attached:',0,'J'); $this->pdf->SetFont('Times','',12); $this->pdf->Ln(4); $this->pdf->multicell(160,6,str_replace("<br>","\n",$this->fproc),0,'J'); $this->pdf->Ln(20); $this->pdf->Cell(12,6,'Date: ',0,1,'L'); $this->pdf->Cell(12,8,'Place: ',0,1,'L'); $this->pdf->Cell(160,8,'Your Faithfully ',0,0,'R'); } 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, fappno, fpaydate, round(ftotal) as ftotalfee, date_format(fappdate,'%d/%m/%y %h:%m %p') as FREGDATE, fpaytype,date_format(now(),'%d/%m/%y %h:%m %p') as fdate from servtran where fappno='{$this->app_no}'"; $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['fpaydate']; $this->FTOTALFEE=$obj_get_app_no['ftotalfee']; $this->FPAYMENTYPE=$obj_get_app_no['fpaytype']; $this->FREGDATE=$obj_get_app_no['fregdate']; $this->fdate = $obj_get_app_no['fdate']; $get_data="SELECT distinct st.*,DATE_FORMAT(st.FDOB,'%d/%m/%Y') AS DOB,date_format(st.fappdate,'%d/%m/%Y') AS FDATE,d.FDESCPN,c.FCOLLCODE,c.FCOLLNAME, st.FAPPNO,st.FDEGREE,st.FREGNO FROM servtran st inner join degree d on d.FDEGREE = st.FDEGREE inner join college c on c.FCOLLCODE = st.FCOLLCODE WHERE st.FAPPNO='{$this->app_no}'"; $rst= $this->aobj_context->mobj_db->GetRow($get_data); $this->collcode = $rst['FCOLLCODE']; $this->college_code=$rst['FCOLLNAME']; $this->degree = $rst['FDEGREE']; //var_dump($this->degree); $this->student_name=$rst['FNAME']; $this->GetBankDetails(); } function postoffice() { $this->pdf->SetMargins(2,5,2); $this->pdf->addPage('L'); $width=96; $this->pdf->Rect(2,3,$width,200); $this->pdf->Rect(2+$width+2,3,$width,200); $this->pdf->Rect(2+$width+$width+4,3,$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,4,15); $this->pdf->Image($img_logo_path,$width+6,4,15); $this->pdf->Image($img_logo_path,$width+$width+7,4,15); } $width=96; $this->pdf->Rect(2,3,$width,200); $this->pdf->Rect(2+$width+2,3,$width,200); $this->pdf->Rect(2+$width+$width+4,3,$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,15); $this->pdf->Image($img_logo_path,$width+82,7,15); $this->pdf->Image($img_logo_path,$width+$width+85,7,15); } $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->multiCell($jump_width,3,$this->FUNIVNAME,0,"C"); $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->SetFont('Times','B',9); // Postal charges calculation. if($this->FTOTALFEE <= 800) $postal_charges = 20; else if($this->FTOTALFEE >800 && $this->FTOTALFEE <=1500) $postal_charges = 30; else if($this->FTOTALFEE >1500 && $this->FTOTALFEE <=5000) $postal_charges = 40; else if($this->FTOTALFEE >5000 && $this->FTOTALFEE <=10000) $postal_charges = 50; else $postal_charges = 60; $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,"Circle Biller ID ",'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); $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); $strsparr = str_splitf($this->student_name,20); $this->pdf->Cell(($jump_width-2)*.25,$line_height,"Name :",'0',0,'L'); $this->pdf->Cell($jump_width*.80,$line_height,$strsparr[0],0,1,"L"); $this->pdf->SetX($x_pos+1); if($strsparr[1] !='') { $this->pdf->Cell(($jump_width-2)*.25,$line_height," ",'0',0,'L'); $this->pdf->Cell($jump_width*.80,$line_height,$strsparr[1],0,1,"L"); } $this->pdf->SetX($x_pos+1); if($strsparr[2] !='') { $this->pdf->Cell(($jump_width-2)*.25,$line_height," ",'0',0,'L'); $this->pdf->Cell($jump_width*.80,$line_height,$strsparr[2],0,1,"L"); } $this->pdf->SetX($x_pos+1); if($strsparr[2] !='') { $this->pdf->Cell(($jump_width-2)*.25,$line_height," ",'0',0,'L'); $this->pdf->Cell($jump_width*.80,$line_height,$strsparr[2],0,1,"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->collcode}",'0',1,'L'); //var_dump($this->fdate); $this->pdf->SetX($x_pos+1); $this->pdf->Cell(($jump_width-2)*.25,$line_height,"Challan Date :",'0',0,'L'); $this->pdf->Cell($jump_width*.70,$line_height," {$this->fdate}",'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(1); $this->pdf->ln(20); $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. Payment accepted at all e payment Post Offices across the country.',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 SendOutput() { $this->pdf->Output("certificate_{$this->app_no}.pdf","D"); } } function printapplicationfrom($aobj_context) { $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $class_obj=new applicationfrom(); $class_obj->DefaultConstructor($aobj_context); $class_obj->formcolldata(); $class_obj->GetQry(); $class_obj->GetData(); if($class_obj->fpaytype == 'POSTOFFICE') { $class_obj->postoffice(); $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->AcknowledgementForm(); $class_obj->SendOutput(); } ?>
Close