ÿØÿà JFIFÿØÿà JFIF ÿØÿà JFIFÿØÿà JFIF   ÿþ$    File Manager

File Manager

Path: /home/u371470492/domains/babiesnitch.com/public_html/

Melihat File: notyet.php

<?php include 'config.php'; ?>
<?php 
if (isset($_GET['id'])) {
$ide = $_GET['id'];	
$sql="SELECT * FROM registration WHERE Id = '$ide'";

$cont=mysqli_query($conn,$sql);
if (mysqli_num_rows($cont)>0) {
$conr=mysqli_fetch_all($cont,MYSQLI_ASSOC);
$iid = $conr[0]['Id'] ;
$excess_votes = $conr[0]['excess_votes'] ;
$name=$conr[0]['Childsname'];
$age=$conr[0]['Age'];
$img=$conr[0]['Image'];
$one_vote=$conr[0]['one_vote'];
$vote=$conr[0]['vote'];
$position = 0;

}else{

 include 'fail.php';
} 

$sql="SELECT * FROM registration ORDER BY id DESC " ;
$result=mysqli_query($conn,$sql);
$data=mysqli_fetch_all($result,MYSQLI_ASSOC);

$key = array_search($ide, array_column($data, 'Id'));
$keys=$key+1;

}else{
header('Location:contestants.php');
}

 ?>
<!DOCTYPE html>
<html lang="en-US" class="">
    

<head>
    <!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-16759433870">
</script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'AW-16759433870');
</script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-DWZP5NWRWX"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-DWZP5NWRWX');
</script>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <link rel="dns-prefetch" href="https://js.paystack.co/">
    <meta name="author" content="Immanuel_Gates">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
     
     <?php
       include('nav.php');
       ?>
       
</head>

	<body>

<br>
<br>
<br>
<br>
<br>

<div style="margin-left:10%; margin-right:10%" class="container hide-on-large-only center">
<h6 style="font-weight:bold; color: #714E92;"> Team <?php echo $name; ?></h6>    
<hr>
<h6 style="font-weight:bold; color: #714E92;"> Dear Supporters, <br> Team <?php echo $name; ?> is Winning, <br> Great Job</h6>    
<img style="width:30%" src="img/award.png" alt="Award Ribbon">
<p>Keep your votes coming, &#8358; 2,000,000 at stake and an Ambassadorship Deal for <?php echo $name; ?></p>
<br>
<hr>
<br>
</div>

<div class="row container">
    <!--Image-->
    <div class="col l5 m12 s12">
        <img src="<?php echo $img?>" class="avatar" style="border-radius: 5%; width: 100%;" alt="">
    </div>
    
    <!--Description-->
    <div class="col l7 m12 s12">
        <h4 class="animate__heartBeat animate__infinite" style="font-weight:bold; color: grey">VOTE <span style="color: #714E92;font-size: 30px"><?php echo $name; ?></span>
        </h4>
        
        <div class="row">
            <div class="col l6 m12 s6">
                <span style="color:#efb507;">Contestant ID: <?php echo $iid?></span>
                <br>

		        <span style="color:#efb507;">Age: <?php echo $age?></span>
		        
		        		<form action="card.php?id=<?php echo $ide?>" method="POST">
                            <input type="hidden" name="id" value="<?php echo $cas ?>">
                            <input type="submit" name="vote" class="btn btno z-depth-0" style="background-color: #efb507" value="Click to get contestant Profile card.">
                        </form>
            </div>
        </div>
    </div>
</div>



<div class= "row container">
        		<h4 style="font-weight:bold; color:#560280">Steps to vote</h4>
		<p style="color:grey;">We have 2 methods of voting:</p>
		
		<h6 style="font-weight:bold; color:#560280">1. Paystack Method</h6>
		<p style="color:grey;">The Paystack voting method is automatic and accepts all debit cards, Votes would be added automatically once the payments go through.</p>
		<p style="font-weight:bold; color:grey;">NOTE: The Drop down allows you select the number of votes you want; each vote costs 50 naira.</p>
		
		<h6 style="font-weight:bold; color:#560280">2. Direct Voting Method (Bank Transfer)</h6>
		<p style="font-weight:bold; color:grey;">If you are paying via Bank Transfers, Kindly send the Screenshot of your transaction to the parent of the Child you are voting for, to enable them claim the votes.</p>
    </div>


		</div>
<style type="text/css">
	button.gh:hover{
		background-color: #ffae0c;
	}
	
		button.gh{
		background-color: #ffae0c;
	}
	
	label.label{
		color:#714E92;
	}
	
</style>
	</div>
		</section>
				
				
						</div>
					</div>
				
						
				
	</div>
</div>


  <?php
       include('footer.php');
       ?>
    </body>
</html>
ÿØÿà JFIF    ÿþ$ ÿØÿà JFIF    ÿþ$ ÿÂ