MMCT TEAM
Server IP : 103.191.208.50  /  Your IP : 216.73.216.53
Web Server : LiteSpeed
System : Linux orion.herosite.pro 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64
User : celkcksm ( 1031)
PHP Version : 7.4.33
Disable Function : show_source, system, shell_exec, passthru, popen, exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home/celkcksm/websites/bengaledu.e-campus.co.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/celkcksm/websites/bengaledu.e-campus.co.in/application_form_booking.php
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
	include ("include/config.inc.php"); 
    include('pdf/htmlpdf.php');
    
    //get college info
    
    $collage=mysqli_query($con,"select * from collageinfo" );
	$collage=mysqli_fetch_array($collage); 
	if(!empty($collage['logo'])){
    	 $logo="images/uploads/".$collage['logo'];
	}
//	exit;
	$add=explode(",",$collage['collageaddr']);
	$addd=implode(",",$add);
	$contactt="Phone:- ".$collage['collagephone'].",Email Id:- ".$collage['collageemail'];
	
	//get admission information 
	$admission=mysqli_query($con,"select * from booking_enquery where enquiry_id='".$_REQUEST['upid']."'" );
	$admission_row=mysqli_fetch_array($admission);
	//print_r($admission_row);
	//exit;
	if(!empty($admission_row['photos'])){
	    
	    	$photo="images/StudentEnquiry/".$admission_row['photos'];
            $photoext=pathinfo($photo, PATHINFO_EXTENSION);
	
	}
	
	if(!empty($admission_row['signature'])){
	    
	    $signature="images/StudentEnquiry/".$admission_row['signature'];
	    $signatureext=pathinfo($signature, PATHINFO_EXTENSION);
	
	}
	$course=$admission_row['course'];
	$academic_yr=$admission_row['academicyear'];
	$studentid=$admission_row['enquiry_id'];
	
//exit;	
	//aplication type
	$applicanttype= mysqli_query($con,"select * from applicationtype where id='".$admission_row['applicationtype']."'" );
	$applicanttype_row=mysqli_fetch_array($applicanttype);
	
//	print_r($applicanttype_row);
	
	
	//category
	$categoryy=mysqli_query($con,"select * from caste where CasteID='".$admission_row['caste']."'" );
	$category_row=mysqli_fetch_array($categoryy);
	
	
	//subject
	$subjectt=mysqli_query($con,"select * from student_subject where SubjectID='".$admission_row['subject']."'" );
	$subjectt_row=mysqli_fetch_array($subjectt);
	
	
	//religion
	$religionnn=mysqli_query($con,"select * from  religion where ReligionID='".$admission_row['religion']."'" );
	$religion_row=mysqli_fetch_array($religionnn);


    $pdf=new PDF();
    $pdf->AddPage('P');
    $pdf->SetFont('Arial','',12);

// echo 11;
//    exit;
    if(isset($logo) && !empty($logo)){
         $photoext=pathinfo($logo, PATHINFO_EXTENSION);
        if($photoext=="jpeg"){
            //$pdf->Image("$logo",10,6,23,23,'jpeg');
        }else if($photoext=="jpg"){
           $pdf->Image("$logo",10,6,23,23,'jpg'); 
        }else if($photoext=="png"){
            $pdf->Image("$logo",10,6,23,23,'png');
        }
        
    }
    
     
    
    // Arial bold 15
    $pdf->SetFont('Arial','B',16);
    // Move to the right
    $pdf->Cell(40);
    // Title
    $pdf->Cell(100,5,$collage['collagename'],0,1,'C');
    // Line break
    
    $pdf->Cell(25);
     $pdf->SetFont('Arial','B',10);
    $pdf->multicell(130,4,$addd,0,'C');
    $pdf->Cell(25);
     $pdf->SetFont('Arial','B',10);
    $pdf->multicell(130,4,$contactt,0,'C');
   
    
  
    
      $pdf->line(168,8,197,8);
      $pdf->line(168,42,197,42);
      $pdf->line(168,8,168,42);
      $pdf->line(197,8,197,42);
      
      if(isset($photo) && !empty($photo)){
          if($photoext=="jpg" || $photoext=="JPG"){
        
         $pdf->Image("$photo",170,10,25,30,'jpg');
            }else if($photoext=="jpeg" || $photoext=="JPEG"){
                 $pdf->Image("$photo",170,10,25,30,'jpg');
            }else{
                $pdf->Image("$photo",170,10,25,30,'PNG');
            } 
          
      }
   
    
    $pdf->ln(10);
    //get course name
    $getcourseqry=mysqli_query($con,"select * from course where id='".$course."'");
    $getresultcourse=mysqli_fetch_array($getcourseqry);
    $course_name=$getresultcourse['c_name'];
    
    
    //get academic year
    //$getacedamicyr=mysqli_query($con,"select * from commenacademicyear where id='".$academic_yr."'");
    //$result_acyrr=mysqli_fetch_array($getacedamicyr);
   // $accyr=$result_acyrr['academictitle'];
    $pdf->SetFont('Times','B',12);
    $pdf->cell(200,5,"Application Form For $course_name Programme",0,1,'C');
    $pdf->SetFont('Times','B',10);
    $pdf->cell(200,5,"Academic Year:".(date('Y')-1)."-".(date('Y')+1),0,1,'C');
    
    $pdf->SetFont('Times','B',10);
    $pdf->cell(200,5,"Enquiry ID:- $studentid",0,1,'C');
    $pdf->Ln(5);
    $pdf->SetFont('Times','B',10);
    
    //$pdf->setFillColor(213,213,213);
    $pdf->SetDrawColor(148, 148, 148);
    //$pdf->SetTextColor(255,255,255);
    $pdf->cell(195,8,"Application Details",1,1,"L");
    $pdf->SetFont('Times','B',8);
    
    $pdf->SetTextColor(0,0,0);
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->cell(30,5,"Application Type",1,0,"L",1);
     $pdf->SetFont('Times','',8);
    
    $pdf->cell(65,5,$applicanttype_row['name'],1,0,"L");
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->SetFont('Times','B',8);
    $pdf->cell(30,5,"Category",1,0,"L",1);
    $pdf->SetFont('Times','',8);
    $pdf->cell(70,5,$category_row['CasteName'],1,1,"L");
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->SetFont('Times','B',8);
    $pdf->cell(30,5,"Subject",1,0,"L",1);
    $pdf->SetFont('Times','',8);
    $pdf->cell(65,5,$subjectt_row['SubjectName'],1,0,"L");
   // $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->SetFont('Times','B',8);
    $pdf->cell(30,5,"",1,0,"L",1);
    $pdf->SetFont('Times','',8);
    
    $pdf->cell(70,5,"",1,1,"L");
    
    $pdf->ln(5);
    $pdf->SetFont('Times','B',10);
    
    //$pdf->setFillColor(213,213,213);
    $pdf->SetDrawColor(148, 148, 148);
    //$pdf->SetTextColor(255,255,255);
    $pdf->cell(195,8,"Personal Details",1,1,"L");
    $pdf->SetFont('Times','B',8);
    
    $pdf->SetTextColor(0,0,0);
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->cell(30,5,"Name",1,0,"L",1);
    $pdf->SetFont('Times','',8);
    $pdf->cell(165,5,$admission_row['name'],1,1,"L");
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->SetFont('Times','B',8);
    $pdf->cell(30,5,"Father's Name",1,0,"L",1);
    $pdf->SetFont('Times','',8);
    $pdf->cell(165,5,$admission_row['fname'],1,1,"L");
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->SetFont('Times','B',8);
    $pdf->cell(30,5,"Mother's Name",1,0,"L",1);
    $pdf->SetFont('Times','',8);
    $pdf->cell(165,5,$admission_row['mname'],1,1,"L");
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->SetFont('Times','B',8);
    $pdf->cell(30,5,"Local Guardian",1,0,"L",1);
    $pdf->SetFont('Times','',8);
    $pdf->cell(165,5,$admission_row['local_guardian'],1,1,"L");
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->SetFont('Times','B',8);
    $pdf->cell(30,5,"DOB",1,0,"L",1);
    $pdf->SetFont('Times','',8);
    $pdf->cell(65,5,$admission_row['dob'],1,0,"L");
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->SetFont('Times','B',8);
    $pdf->cell(30,5,"Gender",1,0,"L",1);
    $pdf->SetFont('Times','',8);
    $pdf->cell(70,5,$admission_row['gender'],1,1,"L");
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->SetFont('Times','B',8);
    $pdf->cell(30,5,"Religion",1,0,"L",1);
    $pdf->SetFont('Times','',8);
    $pdf->cell(65,5,$religion_row['ReligionName'],1,0,"L");
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->SetFont('Times','B',8);
    $pdf->cell(30,5,"Nationality",1,0,"L",1);
    $pdf->SetFont('Times','',8);
    $pdf->cell(70,5,$admission_row['nationality'],1,1,"L");
    
    $pdf->ln(5);
    $pdf->SetFont('Times','B',10);
    //$pdf->setFillColor(213,213,213);
    $pdf->SetDrawColor(148, 148, 148);
    //$pdf->SetTextColor(255,255,255);
    $pdf->cell(195,8,"Highest Qualification Details",1,1,"L");
    $pdf->SetFont('Times','B',8);
    
    $pdf->SetTextColor(0,0,0);
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->cell(30,5,"Qualification",1,0,"L",1);
    $pdf->cell(65,5,$admission_row['lastqualification'],1,0,"L");
    
    $pdf->SetTextColor(0,0,0);
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->cell(30,5,"Percentage",1,0,"L",1);
    $pdf->cell(70,5,$admission_row['lastqualificationper']."%",1,1,"L");
    
    
    
     $pdf->ln(5);
     $pdf->SetFont('Times','B',10);
    
    //$pdf->setFillColor(213,213,213);
    $pdf->SetDrawColor(148, 148, 148);
    //$pdf->SetTextColor(255,255,255);
    $pdf->cell(195,8,"Communication Details",1,1,"L");
    $pdf->SetFont('Times','B',8);
    
    
    $pdf->SetTextColor(0,0,0);
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->cell(30,5,"Email ID",1,0,"L",1);
    $pdf->SetFont('Times','',8);
    $pdf->cell(100,5,$admission_row['email'],1,0,"L");
    $pdf->SetFont('Times','B',8);
    $pdf->cell(30,5,"Adhar No",1,0,"L",1);
    $pdf->SetFont('Times','',8);
    $pdf->cell(35,5,$admission_row['adhar_card_number'],1,1,"L");
    
    $pdf->SetTextColor(0,0,0);
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->SetFont('Times','B',8);
    $pdf->cell(30,5,"Mobile No",1,0,"L",1);
    $pdf->SetFont('Times','',8);
    $pdf->cell(65,5,$admission_row['mobileno'],1,0,"L");
    $pdf->SetTextColor(0,0,0);
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->SetFont('Times','B',8);
    $pdf->cell(30,5,"Whatsapp No",1,0,"L",1);
    $pdf->SetFont('Times','',8);
    $pdf->cell(70,5,$admission_row['whatsappno'],1,1,"L");
    $pdf->SetFont('Times','',8);
    $pdf->multicell(195,5,"Address:- ".$admission_row['address'],1,"L");
    
    
     $pdf->ln(5);
    
    
    $paymentsss=mysqli_query($con,"select * from online_booking_enquiry_transaction where enquiry_id='".$_REQUEST['upid']."'" );
	$paymentsss_row=mysqli_fetch_array($admission);
    if(isset($paymentsss_row) && !empty($paymentsss_row)){
        
         $pdf->SetFont('Times','B',10);
    
    //$pdf->setFillColor(213,213,213);
    $pdf->SetDrawColor(148, 148, 148);
    //$pdf->SetTextColor(255,255,255);
    $pdf->cell(195,5,"Payment Details",1,1,"L");
    $pdf->SetFont('Times','B',8);
    
    $pdf->SetTextColor(0,0,0);
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->cell(30,5,"Amount Paid",1,0,"L",1);
    $pdf->SetFont('Times','',8);
    $pdf->cell(50,5,$paymentsss_row['amount'],1,0,"L");
    $pdf->SetFont('Times','B',8);
    $pdf->cell(30,5,"Transaction ID",1,0,"L",1);
    $pdf->SetFont('Times','',7.5);
    $pdf->cell(85,5,$paymentsss_row['transaction_id'],1,1,"L");
    
    $pdf->SetTextColor(0,0,0);
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->SetFont('Times','B',8);
    $pdf->cell(30,5,"Transaction Date",1,0,"L",1);
    $pdf->SetFont('Times','',8);
    $pdf->cell(50,5,$paymentsss_row['date_of_transaction'],1,0,"L");
    $pdf->SetTextColor(0,0,0);
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->SetFont('Times','B',8);
    $pdf->cell(30,5,"Transaction Through",1,0,"L",1);
    $pdf->SetFont('Times','',8);
    $pdf->cell(85,5,$paymentsss_row['date_of_transaction'],1,1,"L");
    
        $pdf->ln(5); 
    }else{
        
        
    
    }
    
    
   
   
    //$pdf->setFillColor(213,213,213);
    $pdf->SetDrawColor(148, 148, 148);
    //$pdf->SetTextColor(255,255,255);
    $pdf->SetFont('Times','B',10);
    $pdf->cell(195,8,"Documents Uploaded",1,1,"L");
    $pdf->SetFont('Times','B',8);
    
    $pdf->SetTextColor(0,0,0);
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->cell(17.5,5,"S.l No",1,0,"L",1);
    $pdf->cell(80,5,"Name",1,0,"L",1);
    $pdf->cell(17.5,5,"S.l No",1,0,"L",1);
    $pdf->cell(80,5,"Name",1,1,"L",1);
    
    
    
    
    $adharcc=$admission_row['adharcard'];
    $mpmarksheet=$admission_row['madhymicmarksheet'];
    $mpadmit=$admission_row['mpadmit'];
    $mpcert=$admission_row['madhyamicreg'];
    $hsmarksheet=$admission_row['hsmarsheet'];
    $gradpart1=$admission_row['gradmarksheet1'];
    $gradpart2=$admission_row['gradmarksheet2'];
    $gradpart3=$admission_row['gradmarksheet3'];
    $gradcons=$admission_row['graduationmark'];
    
    
    $master1=$admission_row['mastermark1'];
    $master2=$admission_row['mastermark2'];
    $master3=$admission_row['mastermark3'];
    $master4=$admission_row['mastermark4'];
    $mastercons=$admission_row['mastermarkcons'];
    
    $migrat=$admission_row['migration'];
    $gradpostcer=$admission_row['gradcert'];
    
    $otherql1=$admission_row['othequal1'];
    $otherql2=$admission_row['otherqual2'];
    
    $mcreso=$admission_row['mcresolation'];
    $diper=$admission_row['dipermission'];
    $caste=$admission_row['cast_certificate'];
    
    
    
    //row 1
    $pdf->SetFont('Times','B',8);
    $pdf->SetTextColor(0,0,0);
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->cell(17.5,5,"1.",1,0,"L");
    $pdf->cell(75,5,"AADHAAR CARD",1,0,"L");
    $pdf->SetFont('ZapfDingbats','', 10);
    if(!empty($adharcc) && isset($adharcc)){
        $pdf->Cell(5, 5, "4", 1, 0);
    }else{
       $pdf->Cell(5, 5, "", 1, 0);
     
    }
    $pdf->SetFont('Times','B',8);
    
    $pdf->cell(17.5,5,"2.",1,0,"L");
    $pdf->cell(75,5,"MADHYAMICK ADMIT",1,0,"L");
    $pdf->SetFont('ZapfDingbats','', 10);
    
    if(!empty($mpadmit) && isset($mpadmit)){
        $pdf->Cell(5, 5, "4", 1, 1);
    }else{
       $pdf->Cell(5, 5, "", 1, 1);
     
    }
    
    //row 2
    $pdf->SetFont('Times','B',8);
    $pdf->SetTextColor(0,0,0);
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->cell(17.5,5,"3.",1,0,"L");
    $pdf->cell(75,5,"MADHYAMIK MARKSHEET",1,0,"L");
    $pdf->SetFont('ZapfDingbats','', 10);
    
    if(!empty($mpmarksheet) && isset($mpmarksheet)){
        $pdf->Cell(5, 5, "4", 1, 0);
    }else{
       $pdf->Cell(5, 5, "", 1, 0);
     
    }
    
    $pdf->SetFont('Times','B',8);
    $pdf->cell(17.5,5,"4.",1,0,"L");
    $pdf->cell(75,5,"MADHYAMIK CERTIFICATE",1,0,"L");
    $pdf->SetFont('ZapfDingbats','', 10);
    
    if(!empty($mpcert) && isset($mpcert)){
        $pdf->Cell(5, 5, "4", 1, 1);
    }else{
       $pdf->Cell(5, 5, "", 1, 1);
     
    }
    
    
    //row 3
    $pdf->SetFont('Times','B',8);
    $pdf->SetTextColor(0,0,0);
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->cell(17.5,5,"5.",1,0,"L");
    $pdf->cell(75,5,"H.S MARKSHEET",1,0,"L");
    $pdf->SetFont('ZapfDingbats','', 10);
    
    if(!empty($hsmarksheet) && isset($hsmarksheet)){
        $pdf->Cell(5, 5, "4", 1, 0);
    }else{
       $pdf->Cell(5, 5, "", 1, 0);
     
    }
    //$pdf->Cell(5, 5, "4", 1, 0);
    $pdf->SetFont('Times','B',8);
    
    $pdf->cell(17.5,5,"6.",1,0,"L");
    $pdf->cell(75,5,"GRADUATION PART I MARKSHEET",1,0,"L");
    $pdf->SetFont('ZapfDingbats','', 10);
    
    if(!empty($gradpart1) && isset($gradpart1)){
        $pdf->Cell(5, 5, "4", 1, 1);
    }else{
       $pdf->Cell(5, 5, "", 1, 1);
     
    }
    
    //$pdf->Cell(5, 5, "4", 1, 1);
    
    //row 4
    $pdf->SetFont('Times','B',8);
    $pdf->SetTextColor(0,0,0);
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->cell(17.5,5,"7.",1,0,"L");
    $pdf->cell(75,5,"GRADUATION PART II MARKSHEET",1,0,"L");
    $pdf->SetFont('ZapfDingbats','', 10);
    
    if(!empty($gradpart2) && isset($gradpart2)){
        $pdf->Cell(5, 5, "4", 1, 0);
    }else{
       $pdf->Cell(5, 5, "", 1, 0);
     
    }
    
    //$pdf->Cell(5, 5, "4", 1, 0);
    $pdf->SetFont('Times','B',8);
    
    $pdf->cell(17.5,5,"8.",1,0,"L");
    $pdf->cell(75,5,"GRADUATION PART III MARKSHEET",1,0,"L");
    $pdf->SetFont('ZapfDingbats','', 10);
    
    if(!empty($gradpart3) && isset($gradpart3)){
        $pdf->Cell(5, 5, "4", 1, 1);
    }else{
       $pdf->Cell(5, 5, "", 1, 1);
     
    }
    
    //$pdf->Cell(5, 5, "4", 1, 1);
    
    
    //row 5
    $pdf->SetFont('Times','B',8);
    $pdf->SetTextColor(0,0,0);
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->cell(17.5,5,"9.",1,0,"L");
    $pdf->cell(75,5,"GRADUATION CONSOLIDATE MARKSHEET",1,0,"L");
    $pdf->SetFont('ZapfDingbats','', 10);
    
    if(!empty($gradcons) && isset($gradcons)){
        $pdf->Cell(5, 5, "4", 1, 0);
    }else{
       $pdf->Cell(5, 5, "", 1, 0);
     
    }
    
    //$pdf->Cell(5, 5, "4", 1, 0);
    $pdf->SetFont('Times','B',8);
    
    $pdf->cell(17.5,5,"10.",1,0,"L");
    $pdf->cell(75,5,"MASTERS SEM 1 MARKSHEET",1,0,"L");
    $pdf->SetFont('ZapfDingbats','', 10);
    
    if(!empty($master1) && isset($master1)){
        $pdf->Cell(5, 5, "4", 1, 1);
    }else{
       $pdf->Cell(5, 5, "", 1, 1);
     
    }
    //$pdf->Cell(5, 5, "4", 1, 1);
    
    
    //row 6
    $pdf->SetFont('Times','B',8);
    $pdf->SetTextColor(0,0,0);
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->cell(17.5,5,"11.",1,0,"L");
    $pdf->cell(75,5,"MASTERS SEM 2 MARKSHEET",1,0,"L");
    $pdf->SetFont('ZapfDingbats','', 10);
    if(!empty($master2) && isset($master2)){
        $pdf->Cell(5, 5, "4", 1, 0);
    }else{
       $pdf->Cell(5, 5, "", 1, 0);
     
    }
    //$pdf->Cell(5, 5, "4", 1, 0);
    $pdf->SetFont('Times','B',8);
    
    $pdf->cell(17.5,5,"12.",1,0,"L");
    $pdf->cell(75,5,"MASTERS SEM 3 MARKSHEET",1,0,"L");
    $pdf->SetFont('ZapfDingbats','', 10);
    //$pdf->Cell(5, 5, "4", 1, 1);
    
    if(!empty($master3) && isset($master3)){
        $pdf->Cell(5, 5, "4", 1, 1);
    }else{
       $pdf->Cell(5, 5, "", 1, 1);
     
    }
    
    //row 7
    $pdf->SetFont('Times','B',8);
    $pdf->SetTextColor(0,0,0);
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->cell(17.5,5,"13.",1,0,"L");
    $pdf->cell(75,5,"MASTERS SEM 4 MARKSHEET",1,0,"L");
    $pdf->SetFont('ZapfDingbats','', 10);
    if(!empty($master4) && isset($master4)){
        $pdf->Cell(5, 5, "4", 1, 0);
    }else{
       $pdf->Cell(5, 5, "", 1, 0);
     
    }
    //$pdf->Cell(5, 5, "4", 1, 0);
    $pdf->SetFont('Times','B',8);
    
    $pdf->cell(17.5,5,"14.",1,0,"L");
    $pdf->cell(75,5,"MASTERS CONSOLIDATED MARKSHEET",1,0,"L");
    $pdf->SetFont('ZapfDingbats','', 10);
    
    if(!empty($mastercons) && isset($mastercons)){
        $pdf->Cell(5, 5, "4", 1, 1);
    }else{
       $pdf->Cell(5, 5, "", 1, 1);
     
    }
    //$pdf->Cell(5, 5, "4", 1, 1);
    
    
    //row 8
    $pdf->SetFont('Times','B',8);
    $pdf->SetTextColor(0,0,0);
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->cell(17.5,5,"15.",1,0,"L");
    $pdf->cell(75,5,"MIGRATION CERTIFICATE",1,0,"L");
    $pdf->SetFont('ZapfDingbats','', 10);
    if(!empty($migrat) && isset($migrat)){
        $pdf->Cell(5, 5, "4", 1, 0);
    }else{
       $pdf->Cell(5, 5, "", 1, 0);
     
    }
   // $pdf->Cell(5, 5, "4", 1, 0);
    $pdf->SetFont('Times','B',7);
    
    $pdf->cell(17.5,5,"16.",1,0,"L");
    $pdf->cell(75,5,"GRADUATION/POST GRADUATION REGISTRATION",1,0,"L");
    $pdf->SetFont('ZapfDingbats','', 10);
    //$pdf->Cell(5, 5, "4", 1, 1);
    
    if(!empty($gradpostcer) && isset($gradpostcer)){
        $pdf->Cell(5, 5, "4", 1, 1);
    }else{
       $pdf->Cell(5, 5, "", 1, 1);
     
    }
    
    
    //row 9
    $pdf->SetFont('Times','B',8);
    $pdf->SetTextColor(0,0,0);
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->cell(17.5,5,"17.",1,0,"L");
    $pdf->cell(75,5,"OTHER QUALIFICATION 1",1,0,"L");
    $pdf->SetFont('ZapfDingbats','', 10);
    //$pdf->Cell(5, 5, "4", 1, 0);
    if(!empty($otherql1) && isset($otherql1)){
        $pdf->Cell(5, 5, "4", 1, 0);
    }else{
       $pdf->Cell(5, 5, "", 1, 0);
     
    }
    $pdf->SetFont('Times','B',8);
    
    $pdf->cell(17.5,5,"18.",1,0,"L");
     $pdf->SetFont('Times','B',8);
    $pdf->cell(75,5,"OTHER QUALIFICATION 2",1,0,"L");
    $pdf->SetFont('ZapfDingbats','', 10);
    if(!empty($otherql2) && isset($otherql2)){
        $pdf->Cell(5, 5, "4", 1, 1);
    }else{
       $pdf->Cell(5, 5, "", 1, 1);
     
    }
    //$pdf->Cell(5, 5, "4", 1, 1);
    
    //row 10
    $pdf->SetFont('Times','B',8);
    $pdf->SetTextColor(0,0,0);
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->cell(17.5,5,"19.",1,0,"L");
    $pdf->cell(75,5,"MC RESOLUTION",1,0,"L");
    $pdf->SetFont('ZapfDingbats','', 10);
    
    if(!empty($mcreso) && isset($mcreso)){
        $pdf->Cell(5, 5, "4", 1, 0);
    }else{
       $pdf->Cell(5, 5, "", 1, 0);
     
    }
    //$pdf->Cell(5, 5, "4", 1, 0);
    $pdf->SetFont('Times','B',8);
    
    $pdf->cell(17.5,5,"20.",1,0,"L");
    $pdf->cell(75,5,"DI PERMISION",1,0,"L");
    $pdf->SetFont('ZapfDingbats','', 10);
    //$pdf->Cell(5, 5, "4", 1, 1);
    
    if(!empty($diper) && isset($diper)){
        $pdf->Cell(5, 5, "4", 1, 1);
    }else{
       $pdf->Cell(5, 5, "", 1, 1);
     
    }
    
    
    //row 11
    $pdf->SetFont('Times','B',8);
    $pdf->SetTextColor(0,0,0);
    $pdf->setFillColor(230,230,230);
    $pdf->SetDrawColor(148, 148, 148);
    $pdf->cell(17.5,5,"21.",1,0,"L");
    $pdf->cell(75,5,"CAST CERTIFICATE (FOR SC ,ST)",1,0,"L");
    $pdf->SetFont('ZapfDingbats','', 10);
    if(!empty($caste) && isset($caste)){
        $pdf->Cell(5, 5, "4", 1, 0);
    }else{
       $pdf->Cell(5, 5, "", 1, 0);
     
    }
    //$pdf->Cell(5, 5, "4", 1, 0);
    $pdf->SetFont('Times','B',8);
    
    $pdf->cell(17.5,5,"",1,0,"L");
    $pdf->cell(75,5,"",1,0,"L");
    $pdf->SetFont('ZapfDingbats','', 10);
    $pdf->Cell(5, 5, "", 1, 1);
    
    
    
    $pdf->ln(5);
    $x=$pdf->GetX();
    $y=$pdf->GetY();
    if(isset($signature) && !empty($signature)){
        
        $pdf->image("$signature",$x+145,$y,45,6,"jpg");
    
    }
    $pdf->line($x+135,$y+7,205,$y+7);
    $pdf->ln(8);
    $pdf->SetFont('Times','B',8);
    $pdf->cell(185,3,"Student Signature",0,1,"R");
    
    
    
    
    
    
    
    
    
    $pdf->Output("D","$studentid.pdf");
   //$pdf->Output();
    
    
?>

MMCT - 2023