|
Server IP : 2a02:4780:11:1359:0:1d43:a566:2 / Your IP : 216.73.216.52 Web Server : LiteSpeed System : Linux in-mum-web1259.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64 User : u490972518 ( 490972518) PHP Version : 5.6.40 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : ON Directory (0755) : /home/u490972518/domains/sssaup.com/public_html/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php include('link/header.php');
$sel="select * from course order by id asc";
$res=mysqli_query($conn,$sel);
$registration_no=$_POST['registration_no'];
$sel3="select * from student where registration_no='$registration_no' and status='Yes'";
$res3=mysqli_query($conn,$sel3);
$row3=mysqli_fetch_array($res3,MYSQLI_BOTH);
$course1=$row3['course'];
$id=$row3['id'];
$username=$row3['username'];
$sel31="select * from center_add where username='$username'";
$res31=mysqli_query($conn,$sel31);
$row31=mysqli_fetch_array($res31,MYSQLI_BOTH);
$sel313="select * from course where id='$course1'";
$res313=mysqli_query($conn,$sel313);
$row313=mysqli_fetch_array($res313,MYSQLI_BOTH);
$course=$row313['course'];
$sel311="select * from certificate where student_id='$id' and status='Yes' ";
$res311=mysqli_query($conn,$sel311);
$row311=mysqli_fetch_array($res311,MYSQLI_BOTH);
$sel3115="select * from certificate where student_id='$id' and status='Yes' order by id desc ";
$res3115=mysqli_query($conn,$sel3115);
$row3115=mysqli_fetch_array($res3115,MYSQLI_BOTH);
$sel3111="select * from subject where course='$course1' ";
$res3111=mysqli_query($conn,$sel3111);
$row3111=mysqli_fetch_array($res3111,MYSQLI_BOTH);
$date_from=date("Y", strtotime($row311['date_from'])) ;
$isue_date=date("Y", strtotime($row3115['isue_date'])) ;
;?>
<!-- <section class="main-heading-page">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="box">
<div class="heading">
<p><span class="first">BCA-Bachelor of Computer Science</span><span class="second"><a href="index.php">Home</a> / BCA-Bachelor of Computer Science</span></p>
</div>
</div>
</div>
</div>
</div>
</section> -->
<style>
#pic {
position: absolute;
top: 0px;
left: 0px;
#pic{display: inline;}
}
#new {
position: absolute;
margin-top:650px;
}
#new {
position: absolute;
margin-top:650px;
}
#qr {
position: absolute;
margin-top:-20px;
margin-left:-20px;
}
#session {
position: absolute;
margin-left:600px;
margin-top:48px;
}
</style>
<style type="text/css" media="print">
@media print {
pic {position:relative;}
}
#pic{display: inline;}
@page
{
size: A4; /* auto is the initial value */
margin: 6mm; /* this affects the margin in the printer settings */
}
</style>
<section class="new-heading">
<h1>Certificate Verification </h1>
<p><a href="index.php" class="black">Home</a> / Certificate Verification</p>
</section>
<section class="pages-tab">
<div class="container container-padd-tb">
<div class="row" >
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" >
<div class="right-sidebar box-shadow" >
<h3>Certificate Verification</h3>
<div class="content" style='min-height:500px'>
<div class='new'>
<?php
if($row311 and $row3115)
{
?>
<center><img src='../images/cer.png' style='height:30px' ></center>
<br/><br/><br/><br/>
<center>
<table style="width:90%;border: 1px solid black;border-collapse: collapse;">
<tr style=";border: 1px solid black;border-collapse: collapse;text-align:center">
<th style=";border: 1px solid black;border-collapse: collapse"><p style='font-weight:bold;color:#600001'>नामांकन संख्या <br/>Enrollment No.</p></th>
<th style=";border: 1px solid black;border-collapse: collapse"><p style='font-weight:bold;color:#600001'>अनुक्रमांक <br/>Roll No.</p></th>
<th style=";border: 1px solid black;border-collapse: collapse"><p style='font-weight:bold;color:#600001'>केंद्र कोड <br/>Center Code</p></th>
<th style=";border: 1px solid black;border-collapse: collapse"><p style='font-weight:bold;color:#600001'> क्रमांक <br/>Serial No.</p></th>
</tr>
<tr style=";border: 1px solid black;border-collapse: collapse;height:30px;text-align:center;font-weight:bold;color:#600001">
<td style=";border: 1px solid black;border-collapse: collapse"><?php echo $row3['registration_no'];?></td>
<td style=";border: 1px solid black;border-collapse: collapse"><?php echo $g=$row3115['roll'];?></td>
<td style=";border: 1px solid black;border-collapse: collapse"><?php echo $row31['center_code'];?></td>
<td style=";border: 1px solid black;border-collapse: collapse">00<?php echo $row3115['id'];?></td>
</tr>
</table>
</center>
<br/>
<br/><br/><br/>
<center>
<table style="border:none;text-align:left;margin-top:-20px;width:90%">
<tr >
<td><p style='font-weight:bold;color:#600001'>Student Name </p></td><td><p style='font-weight:bold;color:#600001'><span style='margin-right:30px;font-weight:bold;color:#600001'>:</span><?php echo $row3['student_name'];?></p></td><p style='font-weight:bold;color:#600001' id='session'><img src="../center/code/img/<?php echo $row3['image']?>" style='height:100px' ></p>
</tr>
<tr>
<td><p style='font-weight:bold;color:#600001'>Father's Name </p></td><td><p style='font-weight:bold;color:#600001'><span style='margin-right:30px;font-weight:bold;color:#600001'>:</span><?php echo $row3['father_name'];?></p></td>
</tr>
<tr>
<td><p style='font-weight:bold;color:#600001'>Mother's Name </td><td><p style='font-weight:bold;color:#600001'><span style='margin-right:30px;font-weight:bold;color:#600001'>:</span><?php echo $row3['mother_name'];?></p></td>
</tr>
<tr>
<td><p style='font-weight:bold;color:#600001'>Course Code </td><td><p style='font-weight:bold;color:#600001'><span style='margin-right:30px;font-weight:bold;color:#600001'>:</span>00<?php echo $course1;?></p></td>
</tr>
<tr>
<td><p style='font-weight:bold;color:#600001'>Course Name </p></td><td><p style='font-weight:bold;color:#600001'><span style='margin-right:30px;font-weight:bold;color:#600001'>:</span><?php echo $row313['course'];?></p></td>
</tr>
<tr>
<td><p style='font-weight:bold;color:#600001'>Session </p></td><td><p style='font-weight:bold;color:#600001'><span style='margin-right:30px;font-weight:bold;color:#600001'>:</span><?php echo $date_from;?>-<?php echo $isue_date;?></p></td>
</tr>
<tr >
<td><p style='font-weight:bold;color:#600001'>Course Duration </p></td><td><p style='font-weight:bold;color:#600001'><span style='margin-right:30px;font-weight:bold;color:#600001'>:</span><?php echo $row3['duration'];?></p></td>
</tr>
<tr >
<td ><p style='font-weight:bold;color:#600001'>Center Name </p></td><td colspan='5'><p style='font-weight:bold;color:#600001'><span style='margin-right:30px;font-weight:bold;color:#600001'>:</span><?php echo $row31['center_name'];?></p></td>
</tr>
<tr >
<td ><p style='font-weight:bold;color:#600001'>Center Address </p></td><td colspan='5'><p style='font-weight:bold;color:#600001'><span style='margin-right:30px;font-weight:bold;color:#600001'>:</span><?php echo $row31['address'];?></p></td>
</tr>
</table></center>
<center>
<br/><br/>
<h2 style='font-weight:bold'>Performance: -</h2>
<p style='font-size:14px'><i>This is to certify that above mentioned student has successfully Completed the subject course . <br/> We wish him success all the way.</i></p>
</center>
</div>
<br/>
<br/>
<br/>
<center>
<br/>
<br/>
<?php
$f = "0";
if(!file_exists($f)){
touch($f);
$handle = fopen($f, "w" ) ;
fwrite($handle,0) ;
fclose ($handle);
}
include('admin/libs/phpqrcode/qrlib.php');
$email = $row3['registration_no'];
$subject = $row3['student_name'];
$filename = $id;
$body = $row313['course'].' ';
//$link = $cl;
$tempDir = 'temp/';
$codeContents = 'mailto:'.$email.'?subject='.urlencode($subject).'&body='.urlencode($body);
QRcode::png($codeContents, $tempDir.''.$filename.'.png', QR_ECLEVEL_L, 5);
?>
<table style="border:none;text-align:left;width:90%">
<tr >
<td><p ><span style='font-weight:bold;color:#600001'>Place : </span><span> Noida/Delhi</span></p></td>
</tr>
<tr >
<td ><p ><br/><br/><span style='font-weight:bold;color:#600001'>Issue Date : </span><span> <?php echo date("d/m/Y", strtotime($row3115['isue_date']));?></span></p></td>
</tr>
</table></center>
<?php } else{echo 'Your All Result Not Ready or Incorrect Regi. No.';}?>
</div>
</div>
</div>
<!-- <div class="col-lg-3 col-md-4 col-sm-12 col-xs-12">
<div class="left-sidebar-tab">
<div class="courses-img">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-4 col-xs-12">
<div class="img">
<a href="bba.php">
<img src="~lib/image/course/bba.jpg" alt="" class="img-responsive">
</a>
</div>
</div>
<div class="col-lg-12 col-md-12 col-sm-4 col-xs-12">
<div class="img">
<a href="mba.php">
<img src="~lib/image/course/mba.jpg" alt="" class="img-responsive">
</a>
</div>
</div>
<div class="col-lg-12 col-md-12 col-sm-4 col-xs-12">
<div class="img">
<a href="bca.php">
<img src="~lib/image/course/bca.jpg" alt="" class="img-responsive">
</a>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-4 col-xs-12">
<div class="img">
<a href="mca.php">
<img src="~lib/image/course/mca.jpg" alt="" class="img-responsive">
</a>
</div>
</div>
<div class="col-lg-12 col-md-12 col-sm-4 col-xs-12">
<div class="img">
<a href="diploma.php">
<img src="~lib/image/course/diploma.jpg" alt="" class="img-responsive">
</a>
</div>
</div>
<div class="col-lg-12 col-md-12 col-sm-4 col-xs-12">
<div class="img">
<a href="btech.php">
<img src="~lib/image/course/btech.jpg" alt="" class="img-responsive">
</a>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-4 col-sm-offset-2 col-xs-12 col-sm-offset-2-margin">
<div class="img">
<a href="mtech.php">
<img src="~lib/image/course/mtech.jpg" alt="" class="img-responsive">
</a>
</div>
</div>
<div class="col-lg-12 col-md-12 col-sm-4 col-xs-12">
<div class="img">
<a href="dpharma.php">
<img src="~lib/image/course/dpharma.jpg" alt="" class="img-responsive">
</a>
</div>
</div>
</div>
</div>
<div class="helpline-img">
<img src="~lib/image/HELPLINE.jpg" class="img-responsive" alt="Helpline contact">
</div>
</div>
</div> -->
</div>
</div>
</section>
<!-- <section class="foo-approval">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div id="owl-demo">
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/ugc.png" alt="">
</div>
</div>
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/ayush.jpg" alt="">
</div>
</div>
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/bci.jpg" alt="">
</div>
</div>
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/govom.JPG" alt="">
</div>
</div>
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/pci.jpg" alt="">
</div>
</div>
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/aicte.png" alt="">
</div>
</div>
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/ugc.png" alt="">
</div>
</div>
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/ayush.jpg" alt="">
</div>
</div>
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/bci.jpg" alt="">
</div>
</div>
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/govom.JPG" alt="">
</div>
</div>
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/pci.jpg" alt="">
</div>
</div>
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/aicte.png" alt="">
</div>
</div>
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/ugc.png" alt="">
</div>
</div>
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/ayush.jpg" alt="">
</div>
</div>
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/bci.jpg" alt="">
</div>
</div>
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/govom.JPG" alt="">
</div>
</div>
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/pci.jpg" alt="">
</div>
</div>
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/aicte.png" alt="">
</div>
</div>
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/ugc.png" alt="">
</div>
</div>
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/ayush.jpg" alt="">
</div>
</div>
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/bci.jpg" alt="">
</div>
</div>
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/govom.JPG" alt="">
</div>
</div>
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/pci.jpg" alt="">
</div>
</div>
<div class="item">
<div class="slider-image text-center">
<img src="~lib/image/approval/aicte.png" alt="">
</div>
</div>
</div>
</div>
</div>
</div>
</section> -->
<?php include('link/footer.php')?></html>