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.220.196.68
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 /
phdadm /
admin-src /
[ HOME SHELL ]
Name
Size
Permission
Action
.admin-src.php
3.61
KB
-rw-r--r--
AdmissionListReportExcel.php
13.85
KB
-rwxrwxrwx
ApplicationFeeSumExcel1.php
7.43
KB
-rwxrwxrwx
ApplicationFeeSummary.php
10.14
KB
-rwxrwxrwx
ApplicationFeeSummaryExcel.php
2.93
KB
-rwxrwxrwx
ApplicationReport.php
10.32
KB
-rwxrwxrwx
ApplicationReport_acu.php
4
KB
-rw-rw-r--
ApplicationReport_acu_pdf.php
23.25
KB
-rw-rw-r--
Applicationfeereport.php
8.72
KB
-rwxrwxrwx
Collegewise_SeatAllotedList.ph...
11.13
KB
-rwxrwxrwx
Degreewise_Adm_Fee_Collected.p...
7.66
KB
-rwxrwxrwx
Degreewise_SeatAllotedList.php
12.07
KB
-rwxrwxrwx
Degreewise_SeatAllotedList_all...
11.18
KB
-rwxrwxrwx
Degreewise_SeatAllotedList_cre...
19.46
KB
-rwxrwxrwx
Degreewise_SeatAllotedList_cre...
17.58
KB
-rwxrwxrwx
Degreewise_SeatAllotedList_cre...
17.83
KB
-rwxrwxrwx
Degreewise_SeatAllotedList_fin...
17.09
KB
-rwxrwxrwx
PrintDocumentVerification.php
28.13
KB
-rwxrwxrwx
SeatMatrixReport.php
24.02
KB
-rwxrwxrwx
admList.php
1.11
KB
-rwxrwxrwx
admconfirmation.php
4.43
KB
-rwxrwxrwx
admissionFeeSummaryReportExcel...
9.64
KB
-rwxrwxrwx
admissionfeedetails.php
1.57
KB
-rwxrwxrwx
admissionfeereport.php
11.59
KB
-rwxrwxrwx
admissionstatusreport.php
12.62
KB
-rwxrwxrwx
admorder_ru.php
4.4
KB
-rwxrwxrwx
applicationFormReportBank.php
11.91
KB
-rwxrwxrwx
applicationview.php
4.11
KB
-rwxrwxrwx
applicationview_acu.php
2.22
KB
-rw-rw-r--
changepasswordadmin.php
1.12
KB
-rwxrwxrwx
collegedegree.php
1.92
KB
-rwxrwxrwx
collegedetails.php
2.49
KB
-rwxrwxrwx
create-user.php
4.66
KB
-rwxrwxrwx
documentverification.php
15.69
KB
-rwxrwxrwx
dudseatallot.php
6.06
KB
-rwxrwxrwx
getnumword.php
9.1
KB
-rwxrwxrwx
loadadmhostelfeedetails.php
2.09
KB
-rwxrwxrwx
loadhostelfeedetails.php
4.52
KB
-rwxrwxrwx
presealallot.php
7.58
KB
-rwxrwxrwx
provisionsellist.php
1.58
KB
-rwxrwxrwx
provisionsellistReport.php
13.78
KB
-rwxrwxrwx
provisionsellistReportDownload...
14.94
KB
-rwxrwxrwx
report_merit_list.php
6.82
KB
-rwxrwxrwx
rostertable.php
490
B
-rwxrwxrwx
saveApplication.php
19.13
KB
-rwxrwxrwx
savevacantseats.php
2.57
KB
-rwxrwxrwx
seat_alloted_seatmatrix.php
11.34
KB
-rwxrwxrwx
seatmatrix.php
8.57
KB
-rwxrwxrwx
signin.php
846
B
-rwxrwxrwx
viewpresealallot2.php
8.17
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ApplicationReport_acu_pdf.php
<?php ob_start(); $main_src=substr($_SERVER['SCRIPT_FILENAME'],0,strlen($_SERVER['SCRIPT_FILENAME'])-7); //$pdf_writer_class =$main_src."/tarka_pdf/fpdf.php"; $pdf_writer_class =$main_src."/tcpdf/tcpdf.php"; require_once($pdf_writer_class); ini_set('memory_limit','900M'); ini_set('max_execution_time',0); class MYPDF extends TCPDF { public $aobj_context; public function setData($aobj_context){ $this->aobj_context = $aobj_context; } public function Header() { // get the current page break margin $bMargin = $this->getBreakMargin(); // get current auto-page-break mode $auto_page_break = $this->AutoPageBreak; // disable auto-page-break $this->SetAutoPageBreak(false, 0); // set bacground image $this->SetMargins(10,38,20,true); $this->SetFillColor(248, 248 ,255); $img_path = $this->aobj_context->main_src."/img/".$this->aobj_context->FUNIVCODE."_logo.jpg"; // var_dump($img_path); if(file_exists($img_path)) $this->Image($img_path,10,6,20,20); $img_path1 = $this->aobj_context->main_src . "img/".$this->aobj_context->FUNIVCODE."_logo_2.jpeg"; //var_dump($img_path); if (file_exists($img_path1)) { $this->Image($img_path1, 178, 3, 20, 20); } $this->SetFont('Times','B',13); $this->SetY(5); $this->Cell(0,4,$this->aobj_context->FUNIVNAME,0,1,'C'); //state $this->SetFont('Times','',11); $this->Cell(0,4,$this->aobj_context->s_state,0,1,'C'); $this->SetFont('Times','B',12); $this->Ln(1); $cur_year = date("Y"); $this->Cell(180,5,'PHD Application Form 2022-2023','0',1,'C'); $this->SetFont('Times','B',12); // $this->Cell(0,4,'Program Applied: '.$this->aobj_context->FDEGREE." - ".$this->aobj_context->FDESC,0,1,'C'); // $this->Cell(0,4,'Discipline: '.$this->aobj_context->FCOMBCODE." - ".$this->aobj_context->FCOMBNAME,0,1,'C'); // $this->Cell(0,4,'Application Type-For : '.$this->aobj_context->FAPPTYPE,0,1,'C'); $this->Ln(5); // var_dump($this->degree); $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' => 4 ); // var_dump($this->aobj_context->FAPPNO); $this->write1DBarcode($this->aobj_context->fprefix.$this->aobj_context->appno, 'C39', '130', '20','130', 16, 0.3, $style, 'R'); // restore auto-page-break status $this->SetAutoPageBreak($auto_page_break, $bMargin); // set the starting point for the page content } public function Footer() { $this->SetY(-15); $this->SetFont('helvetica', 'I', 8); $this->Cell(50, 10,'IP : '.$_SERVER["REMOTE_ADDR"], 0, 0, 'L'); $this->Cell(100, 10,'Date : ' .$this->aobj_context->current_date, 0, 0, 'C'); $this->Cell(50, 10,'Page ' .$this->getPageNumGroupAlias().'/'.$this->getPageGroupAlias(), 0, 1, 'R'); } } class AddmissionApplication { function DefaultConstructor($aobj_context) { $this->aobj_context=$aobj_context; $appno=$_SESSION["APPNO"]; $apptype = trim($aobj_context->mobj_data["fapptype"]); $fdegree = trim($aobj_context->mobj_data["fdegree"]); $combcode = trim($aobj_context->mobj_data["fcombcode"]); //$this->pdf= new FPDF(); $this->collcode=$_SESSION['collcode']; $degree = trim($aobj_context->mobj_data["degree"]); $this->ip=$_SERVER["REMOTE_ADDR"]; $get_date="select DATE_FORMAT(now(), '%d/%m/%Y') as now_date,fprefix from entdeg where fdegree = '{$degree}'"; $obj=$this->aobj_context->mobj_db->GetRow($get_date); $fprefix = $obj['fprefix']; $get_coll_name="select FUNIVNAME as 'FUNIVNAME',FUNIVCODE, FUNIVADD1 as 'state', concat(FUNIVCODE,'_',pdf_logo_path) as pdf_logo_path, ifnull(FEXAMAPPREQ,'F') as FEXAMAPPREQ From control"; $lobj_get_coll_name=$this->aobj_context->mobj_db->GetRow($get_coll_name); $app_type = "select papp.*, pcourse.* from phdappfor papp inner join phdcoursedet pcourse on pcourse.fdegree = papp.fdegree and pcourse.fcombcode = papp.fcombcode where papp.fapptype = '{$apptype}' and papp.fappno='{$appno}' and papp.fdegree = '{$fdegree}' and papp.fcombcode='{$combcode}'"; $lobj_get_app_type=$this->aobj_context->mobj_db->GetRow($app_type); $aobj_context->FAPPTYPE=$lobj_get_app_type['fapptype']; $aobj_context->FDEGREE=$lobj_get_app_type['fdegree']; $aobj_context->FDESC=$lobj_get_app_type['fdeggname']; $aobj_context->FCOMBCODE=$lobj_get_app_type['fcombcode']; $aobj_context->FCOMBNAME=$lobj_get_app_type['fcombname']; //var_dump($this->degree); $aobj_context->FUNIVNAME=$lobj_get_coll_name['FUNIVNAME']; $aobj_context->s_state=$lobj_get_coll_name['state']; $aobj_context->pdf_logo_path=$lobj_get_coll_name['pdf_logo_path']; $aobj_context->FEXAMAPPREQ=$lobj_get_coll_name['FEXAMAPPREQ']; $aobj_context->FUNIVCODE=$lobj_get_coll_name['FUNIVCODE']; $app_no = trim($aobj_context->mobj_data["appno"]); $aobj_context->appno = $app_no; $aobj_context->fprefix = $fprefix; $aobj_context->current_date = $obj['now_date']; $this->current_date = $obj['now_date']; $this->pdf= new MYPDF('P'); $this->pdf->setData($aobj_context); } function formcolldata() { $get_coll_name="select FUNIVNAME as 'FUNIVNAME',FUNIVCODE, FUNIVADD1 as 'state', concat(FUNIVCODE,'_',pdf_logo_path) as pdf_logo_path, ifnull(FEXAMAPPREQ,'F') as FEXAMAPPREQ 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->pdf_logo_path=$lobj_get_coll_name['pdf_logo_path']; $this->FEXAMAPPREQ=$lobj_get_coll_name['FEXAMAPPREQ']; $this->FUNIVCODE=$lobj_get_coll_name['FUNIVCODE']; } function writeApplication($per_details,$rltacad,$rltexp,$rltpub,$rltoth,$rltugc,$pay_res) { $pdf=$this->pdf; $pdf->SetMargins(10,37,25,false); $pdf->startPageGroup(); $pdf->AddPage("P"); if($per_details){ }else{ $pdf->SetFont('Times','UB',25); $pdf->cell(0,5, "Fee Not Paid","",0,"C"); return; } $pdf->SetFont('Times','UB',10); $this->degree = $degdet[$degree]; $head = '<style> td { border: 0.5px solid black; } </style> <table cellpadding="3" cellspacing="0" border="0" width="100%">'; //====================Subject Details==================================== $table2 = '<style> td, th { border: 0.5px solid black; } </style> <table cellpadding="2" cellspacing="0" border="0" width="100%">'; $i = 1; $fprefix = ""; $fprefix = $res_optopns[0]['fprefix']; $table2 .= '</table>'; $x = $pdf->GetX(); $y = $pdf->GetY(); $pdf->SetX(11); $pdf->writeHTMLcell(185, 0, $x, $y, $table2, false, true, false, false, 'C'); $pdf->ln(1); //====================Personal Details==================================== $pdf->SetFont('Times','',10); $html = '<h3 style="background-color: #918988; color: rgb(255, 255, 255);">I. Personal Details</h3>'; $x = $pdf->GetX(); $y = $pdf->GetY(); $pdf->writeHTMLCell(188,0,$x,$y,$html, false,1, false, true, '', false); $path = realpath(__DIR__ .'/..'); $photo_url = "https://admission-certificates.s3.ap-south-1.amazonaws.com"; $i= 1; $table1 = '<style> td { border: 0.5px solid black; } .lable { font-weight: bold; } </style> <table cellpadding="3" cellspacing="0"> <tr nobr="true"> <td width="150" class="lable">Application No.</td> <td width="270" colspan="3" style = "font-size:15px;">'.$per_details['FAPPNO'].'</td> <td width="100" rowspan="5"><img width="100" height="100" src="'.$photo_url.'/'.$per_details['FPHOTOPATH'].'" /></td> </tr>'; $table1 .='<tr nobr="true"> <td width="150" class="lable">Name of the Applicant</td> <td width="270" colspan="3">'.$per_details['FNAME'].'</td></tr>'; $table1 .='<tr nobr="true"> <td width="80" class="lable">Gender </td> <td width="70">'.$per_details['FGENDER'].'</td> <td width="150" class="lable">Date of Birth (DD/MM/YYYY)</td> <td width="120">'.$per_details['dob'].'</td> </tr>'; $table1 .='<tr nobr="true"> <td width="80" class="lable">Nationality </td> <td width="70">'.$per_details['FNATIONALITY'].'</td> <td width="150" class="lable">Aadhar Number</td> <td width="120">'.$per_details['FAADHAAR'].'</td> </tr>'; $table1 .='<tr nobr="true"> <td width="80" class="lable">Category</td> <td width="70">'.$per_details['FCATEGORY'].'</td> <td width="150" class="lable">Blood Group</td> <td width="120">'.$per_details['FBLOODGRP'].'</td> </tr>'; $table1 .='<tr nobr="true"> <td width="150" class="lable">Father Name</td> <td width="370">'.$per_details['FFATNAME'].'</td> </tr>'; $table1 .='<tr nobr="true"> <td width="150" class="lable">Mother Name</td> <td width="370">'.$per_details['FMOTNAME'].'</td> </tr>'; $table1 .= '</table>'; // echo $table1; $pdf->SetX(11); // $pdf->SetY(42); $pdf->writeHTML($table1, false, true, false, false, 'L'); $pdf->ln(5); $html = '<h3 style="background-color: #918988; color: rgb(255, 255, 255);">II. Communication Details</h3>'; $x = $pdf->GetX(); $y = $pdf->GetY(); $pdf->writeHTMLCell(188,0,$x,$y,$html, false,1, false, true, '', false); $per_details['fperadd'] = $per_details['FPERMADD1'].' '.$per_details['FPERMADD2'].' '.$per_details['FPERMADD3'].' '.$per_details['FPERMDIST'].' '.$per_details['FPERMSTATE'].' - '.$per_details['FPERMPIN']; $per_details['fcuradd'] = $per_details['FCURRADD1'].' '.$per_details['FCURRADD2'].' '.$per_details['FCURRADD3'].' '.$per_details['FCURRDIST'].' '.$per_details['FCURRSTATE'].' - '.$per_details['FCURRPIN']; $table2 = '<style> td { border: 0.5px solid black; } .lable { font-weight: bold; } </style> <table cellpadding="3" cellspacing="0"> <tr nobr="true"> <td width="150" class="lable">Permanent Address</td> <td width="370">'.$per_details['fperadd'].'</td> </tr>'; $table2 .= '<tr nobr="true"> <td width="150" class="lable">Communication Address</td> <td width="370">'.$per_details['fcuradd'].'</td> </tr>'; $table2 .= '<tr nobr="true"> <td width="150" class="lable">Mobile No.</td> <td width="370">'.$per_details['FMOBILENO'].'</td> </tr>'; $table2 .= '<tr nobr="true"> <td width="150" class="lable">Email Address</td> <td width="370">'.$per_details['FEMAIL'].'</td> </tr>'; $table2 .= '</table>'; $pdf->SetX(11); $pdf->writeHTML($table2, false, true, false, false, 'L'); $pdf->ln(5); $html = '<h3 style="background-color: #918988; color: rgb(255, 255, 255);">III. Academic Details </h3>'; $x = $pdf->GetX(); $y = $pdf->GetY(); $pdf->writeHTMLCell(188,0,$x,$y,$html, false,1, false, true, '', false); // $pdf->SetX(2); $table3 = '<style> td { border: 0.5px solid black; } .lable { font-weight: bold; } </style> <table cellpadding="3" cellspacing="0"> <tr nobr="true"> <td width="50" align="center" class="lable">Degree</td> <td width="100" align="center" class="lable">Institute/College</td> <td width="126" align="center" class="lable">University & Address</td> <td width="50" align="center" class="lable">Max Marks</td> <td width="50" align="center" class="lable">Obtained</td> <td width="50" align="center" class="lable">% Perc</td> <td width="50" align="center" class="lable">% Class</td> <td width="50" align="center" class="lable">% Year</td> </tr>'; foreach($rltacad as $key => $value){ $table3 .= '<tr>'; $table3 .= '<td>'.$value["fdegree"].'</td>'; $table3 .= '<td>'.$value["fcollname"].'</td>'; $table3 .= '<td>'.$value["funivadd"].'</td>'; $table3 .= '<td align="center">'.$value["fmaxmarks"].'</td>'; $table3 .= '<td align="center">'.$value["fobtmarks"].'</td>'; $table3 .= '<td align="center">'.$value["fpercgpa"].'</td>'; $table3 .= '<td align="center">'.$value["fclass"].'</td>'; $table3 .= '<td align="center">'.$value["fypass"].'</td>'; $table3 .= '</tr>'; } $table3.='</table>'; $pdf->SetX(11); $pdf->writeHTML($table3, false, true, false, false, 'L'); $pdf->ln(7); $html = '<h3 style="background-color: #918988; color: rgb(255, 255, 255);">IV. UGC-NET Details </h3>'; $x = $pdf->GetX(); $y = $pdf->GetY(); $pdf->writeHTMLCell(188,0,$x,$y,$html, false,1, false, true, '', false); // $pdf->SetX(2); $pdf = $this->pdf; $x=1; $pdf->SetFont('Times', 'B', 9); $pdf->cell(35,5, "Exam Details","LRT",0,"C"); $pdf->cell(35,5, "Roll No,","LRT",0,"C"); $pdf->cell(30,5, "Award Letter","LRT",0,"C"); $pdf->cell(30,5, "Award Letter","LRT",0,"C"); $pdf->cell(55,5, "Subject","LRT",1,"C"); $pdf->SetFont('Times', 'B', 9); $pdf->cell(35,1, "","LB",0,"C"); $pdf->cell(35,1, "","LB",0,"C"); $pdf->cell(30,1, "Ref No.","LB",0,"C"); $pdf->cell(30,1, "Date","LB",0,"C"); $pdf->cell(55,1, "","LBR",1,"C"); $phdexam = ''; foreach($rltugc as $key => $value){ $pdf->SetFont('Times','',9); $pdf->cell(35,7, $value['fugnetdeg'],"1",0,"C"); $pdf->cell(35,7, $value['frollno'],"1",0,"C"); $pdf->cell(30,7, $value['frefno'],"1",0,"C"); $pdf->cell(30,7, $value['fawdate'],"1",0,"C"); $pdf->cell(55,7, $value['fsubject'],"1",1,"L"); $phdexam = $value['fphdexam']; } $pdf->ln(2); $pdf->cell(185,7, "Are you claiming for Ph.D Enterance Examination Exemption as per ACU-Ph.D Regulations? ".$phdexam,"1",1,"L"); $pdf->ln(2); $pdf->ln(5); $html = '<h3 style="background-color: #918988; color: rgb(255, 255, 255);">V. Employment Details </h3>'; $x = $pdf->GetX(); $y = $pdf->GetY(); $pdf->writeHTMLCell(188,0,$x,$y,$html, false,1, false, true, '', false); $table5 = '<style> td { border: 0.5px solid black; } .lable { font-weight: bold; } </style> <table cellpadding="3" cellspacing="0"> <tr nobr="true"> <td width="100" align="center" class="lable">Experience In</td> <td width="50" align="center" class="lable">From Date</td> <td width="50" align="center" class="lable">To Date</td> <td width="100" align="center" class="lable">Employer Exp.</td> <td width="126" align="center" class="lable">Designation</td> <td width="100" align="center" class="lable">% Duration</td> </tr>'; foreach($rltexp as $key => $value){ $table5 .= '<tr>'; $table5 .= '<td>'.$value["fexpin"].'</td>'; $table5 .= '<td align="center">'.$value["fromdate"].'</td>'; $table5 .= '<td align="center">'.$value["todate"].'</td>'; $table5 .= '<td>'.$value["femployer"].'</td>'; $table5 .= '<td>'.$value["fdesgn"].'</td>'; $table5 .= '<td align="center">'.$value["fduration"].'</td>'; $table5 .= '</tr>'; } $table5.='</table>'; $pdf->SetX(11); $pdf->writeHTML($table5, false, true, false, false, 'L'); $pdf->ln(14); $html = '<h3 style="background-color: #918988; color: rgb(255, 255, 255);">VI. Research Experience </h3>'; $x = $pdf->GetX(); $y = $pdf->GetY(); $pdf->writeHTMLCell(188,0,$x,$y,$html, false,1, false, true, '', false); $table4 = '<style> td { border: 0.5px solid black; } .lable { font-weight: bold; } </style> <table cellpadding="3" cellspacing="0"> <tr nobr="true"> <td width="150" class="lable">Area of Research Work</td> <td width="150" class="lable">Title of the Project</td> <td width="50" align="center" class="lable">From Date</td> <td width="50" align="center" class="lable">To Date</td> <td width="126" class="lable">Place</td> </tr>'; foreach($rltpub as $key => $value){ $table4 .= '<tr>'; $table4 .= '<td>'.$value["fresarea"].'</td>'; $table4 .= '<td>'.$value["ftitle"].'</td>'; $table4 .= '<td align="center">'.$value["fromdate"].'</td>'; $table4 .= '<td align="center">'.$value["todate"].'</td>'; $table4 .= '<td>'.$value["fplace"].'</td>'; $table4 .= '</tr>'; } $table4.='</table>'; // $table5 = '<style> // td { // border: 0.5px solid black; // } // .lable { // font-weight: bold; // } // </style> // <table border="1" cellpadding="3" cellspacing="0"> // <tr nobr="true"> // <td width="100" align="center" class="lable">Area of Research Work</td> // <td width="100" align="center" class="lable">Title of the Project</td> // <td width="100" align="center" class="lable">From Date</td> // <td width="100" align="center" class="lable">To Date</td> // <td width="100" align="center" class="lable">Place</td></tr>'; // foreach($rltpub as $key => $value){ // $table5.='<tr>'; // $table5.='<td width="100">'.$value['fresarea'].'</td>'; // $table5.='<td width="100">'.$value['ftitle'].'</td>'; // $table5.='<td width="100" align="center">'.$value['fromdate'].'</td>'; // $table5.='<td width="100" align="center">'.$value['todate'].'</td>'; // $table5.='<td width="100" align="center">'.$value['fplace'].'</td>'; // $table5.='</tr>'; // } // $table5.='<table/>'; $pdf->writeHTML($table4, false, true, false, false, 'L'); $pdf->ln(7); $x = $pdf->GetX(); $y = $pdf->GetY(); $html = '<h3 style="background-color: #918988; color: rgb(255, 255, 255);">VIII. Payment Details</h3>'; $pdf->ln(5); $pdf->writeHTMLCell(188,0,$x,$y,$html, false,1, false, true, '', false); $table2 = '<style> td { border: 0.5px solid black; } .lable { font-weight: bold; } </style> <table cellpadding="3" cellspacing="0"> <tr nobr="true"> <td width="150" class="lable">Payment Type</td> <td width="370">'.$pay_res['fpaymode'].'</td> </tr>'; // $table2 .= '<tr nobr="true"> // <td width="150" class="lable">Order ID</td> // <td width="370">'.$per_details['FORDERID'].'</td> // </tr>'; $table2 .= '<tr nobr="true"> <td width="150" class="lable">Payment ID</td> <td width="370">'.$pay_res['fpayid'].'</td> </tr>'; // $table2 .= '<tr nobr="true"> // <td width="150" class="lable">Payment Status</td> // <td width="370">'.$pay_res['FPAYSTATUS'].'</td> // </tr>'; $table2 .= '<tr nobr="true"> <td width="150" class="lable">Amount Paid</td> <td width="370">'.$pay_res['famount'].'</td> </tr>'; $table2 .= '<tr nobr="true"> <td width="150" class="lable">Date</td> <td width="370">'.$pay_res['fdate'].'</td> </tr>'; $date= ""; if($pay_res['fsdate']== "00/00/0000"){ $date=""; }else{ $date = $pay_res['fsdate']; } $table2 .= '<tr nobr="true"> <td width="150" class="lable">Submit Date</td> <td width="370">'.$date.'</td> </tr>'; $table2 .= '</table>'; $pdf->SetX(11); $pdf->writeHTML($table2, false, true, false, false, 'L'); $pdf->ln(5); $pdf->SetFont('Times','BU',13); $pdf->Cell(180,7,'Declaration by the Candidate',0,1,'C'); $str = "I hereby declare that the information given above and in the enclosed documents is true to the best of my knowledge and belief and nothing has been concealed therein. I am well aware of the fact that if the information given by me is proved false / not true at any point of time, my candidature will be rejected / admission will be cancelled without assigning any reasons thereof."; $pdf->SetFont('Times','',13); $pdf->MultiCell(180,4,$str,0,'J'); // $pdf->writeHTML($str, false, true, false, false, 'L'); $pdf->ln(20); // $pdf->SetFont('Times','B',10); $pdf->Cell(160,4,'Date',0,0,'L'); $sign = $photo_url.'/'.$per_details['FSIGNPATH']; $pdf->Image($sign, 155, $pdf->GetY()-15, 35.78); $pdf->Cell(30,4,'Signature of the Student ',0,1,'R'); $pdf->ln(8); $pdf->SetFont('Times','BU',13); // $pdf->Cell(180,7,'Declaration by the Candidate',0,1,'C'); $str = "Please send the completed application form to the respective Department Heads with “Application for PhD Admission in the department ....................” written on the envelop. To The Registrar, Adichunchanagiri University, NH-75, B.G. Nagara - 571448 Nagamangala Taluk, Mandya District, Karnataka, India."; $pdf->SetFont('Times','',14); $pdf->MultiCell(180,4,$str,1,'L'); } function SendOutput($appno) { $this->pdf->Output("{$appno}_PHD_Application.pdf","I"); } } function ApplicationReport_acu_pdf($aobj_context) { $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $appno = $aobj_context->mobj_data["appno"]; $query = "select FSIGNPATH from phdupdoc where fappno = '{$appno}'"; $sign_details = $aobj_context->mobj_db->GetRow($query); // if($sign_details['FSIGNPATH']==""){ // $arr['msg'] = 'Please Upload Signature upload documents'; // echo $aobj_context->mobj_output->ToJSONEnvelope($arr,-1,"failure"); // return; // } $per_details_query = "select date_format(str_to_date(fdob,'%Y-%m-%d'),'%d/%m/%Y')as dob, ps.*, pu.* from phdstudadm ps inner join phdupdoc pu on ps.fappno = pu.fappno where ps.fappno='{$appno}'"; $per_details = $aobj_context->mobj_db->GetRow($per_details_query); $qrypub = "select *, date_format(str_to_date(ffrmdate,'%Y-%m-%d'),'%d/%m/%Y')as fromdate, date_format(str_to_date(ftodate,'%Y-%m-%d'),'%d/%m/%Y')as todate from phdpub where fappno = '{$appno}'"; $rltpub = $aobj_context->mobj_db->GetAll($qrypub); $qryexp="select *, date_format(str_to_date(ffrom,'%Y-%m-%d'),'%d/%m/%Y')as fromdate, date_format(str_to_date(fto,'%Y-%m-%d'),'%d/%m/%Y')as todate from phdemp where fappno = '{$appno}'"; $rltexp = $aobj_context->mobj_db->GetAll($qryexp); // var_dump($qryexp); $qryacad = "select * from phdacademic where fappno = '{$appno}'"; $rltacad = $aobj_context->mobj_db->GetAll($qryacad); $qryugc = "select ifnull(frollno,'') as frollno,ifnull(fsubject,'') as fsubject, ifnull(frefno,'') as frefno,date_format(ifnull(fawdate,''),'%d/%m/%Y') as fawdate, ifnull(fmaxmarks,'') as fmaxmarks,ifnull(fqual,'') as fqual, ifnull(fmarksobt,'') as fmarksobt,ifnull(fper,'') as fper, ifnull(fphdexam,'') as fphdexam, ifnull(fugnetdeg,'') as fugnetdeg from phdugcnet where fappno = '{$appno}'"; $rltugc = $aobj_context->mobj_db->GetAll($qryugc); $qryoth = "select fprofexp,fawards,fproexpgain from phdothdet where fappno = '{$appno}'"; $rltoth = $aobj_context->mobj_db->GetAll($qryoth); $qrydeg = "select pd.fdegcode as fdegcode ,pd.fdespcn as fdespcn from phddeg pd inner join phdstudadm ps on ps.fphddeg = pd.fdegcode where ps.fappno = '{$appno}'"; $per_deg = $aobj_context->mobj_db->GetRow($qrydeg); $payment = "SELECT *,DATE_FORMAT(STR_TO_DATE(fdate,'%Y-%m-%d'),'%d/%m/%Y')AS fdate, DATE_FORMAT(STR_TO_DATE(IFNULL(fappsubdate, ''),'%Y-%m-%d'),'%d/%m/%Y')AS fsdate FROM phdappfor WHERE fappno='{$appno}'"; $pay_res = $aobj_context->mobj_db->GetRow($payment); $aobj_context->degree=$per_deg['fdespcn']; $cnt = 0; $class_obj = new AddmissionApplication(); $class_obj->DefaultConstructor($aobj_context); $class_obj->writeApplication($per_details,$rltacad,$rltexp,$rltpub,$rltoth,$rltugc,$pay_res); $class_obj->SendOutput($appno); }
Close