<?php
$userimage = $_REQUEST['userimage'];
$name = $_REQUEST['name'];
$date = date("Y-m-d");
if($userimage && $name)
{
?>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Certificate</title>
    <link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
     <link rel="stylesheet" href="./css/custom.css">
    <style>
        *{margin:0px; padding: 0px; font-family: 'Open Sans', sans-serif;}
           .container {
  position: relative;
  text-align: center;
  color: white;
}

    </style>
</head>

<body>
<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v8.0" nonce="PY6Y1sib"></script>
    <div class="container">
        <img class="img-fluid" src="./images/hindi-certificate.jpg"  alt="">
        <div class="date" > मोहित <?php echo $name; ?></div>
        <!-- <div class="pic"><img src="./userimage/<?php echo $userimage; ?>" width="225" height="260"></div> -->
  
      </div>
    
    
    <div style="text-align:center">
        <div class="fb-share-button" data-href="https://developers.facebook.com/docs/plugins/" data-layout="button" data-size="small"><a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fplugins%2F&amp;src=sdkpreparse" class="fb-xfbml-parse-ignore">Share</a></div>
<a href="https://twitter.com/intent/tweet?text=optional%20promo%20text%20https://iyc.in/rozgar-do/certificate-english.php?userimage=<?php echo $userimage; ?>&name=<?php echo $name; ?>" target="_blank" class="fa fa-twitter"></a>
        </div>
</body>
</html>
<?php
}
else
{
    header("location:https://iyc.in/rozgar-do/");
}
?>