ÿØÿà JFIFÿØÿà JFIF ÿØÿà JFIFÿØÿà JFIF ÿþ$
<?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'];
$vote_2=$conr[0]['stage_two_vote'];
$vote_3=$conr[0]['stage_three_vote'];
$position = 0;
}else{
include 'fail.php';
}
$sql="SELECT * FROM registration ORDER BY stage_two_vote 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:contestants2.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, ₦ 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 style="margin-top:5%;" class="push-l1 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; font-weight:bold;">Contestant ID: <?php echo $iid?></span>
<br>
<span style="color:#efb507; font-weight:bold;">Position: #<?php echo (''. $keys)?></span>
<br>
<span style="color:#efb507; font-weight:bold;">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: #560280" value="Click to get contestant Profile card.">
</form>
</div>
<div class="col l6 m12 s6">
<span style="color:#efb507; font-weight:bold;">Stage 1 Vote: <?php echo $vote?></span> <br>
<span style="color:#efb507; font-weight:bold;">Stage 2 Vote: <?php echo $vote_2?></span> <br>
<span style="color:#efb507; font-weight:bold;">Stage 3 Vote: <?php echo $vote_3?></span>
</div>
</div>
</div>
</div>
<div class="divider"></div>
<div class= "row container">
<div class="col l6 m12 s12">
<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. 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="margin-top: 5%; border-color:#560280; border-style:solid; border-width:2px; border-radius: 20px" class="col l6 m12 s12">
<?php
if ($current_stage == 0) {?>
<h5>Voting has not commenced yet</h5>
<?php }
elseif($current_stage == 1) {?>
<p style="padding-left:5%; padding-right:5%; background-color:#560280; font-weight:bold; color:white;">
PAY VIA TRANSFER <br>
Account NUmber: 5600937582 <br>
BAnk Name: Fidelity Bank <br>
Account Name: Babies Nitche Entreprise <br>
</p>
<p>OR</p>
<form class="container" version="3.3" action="pay1.php" method="POST">
<div class="j-row">
<input type="hidden" name="action" value="kkd_pff_paystack_submit_action">
<input type="hidden" name="pf-id" value="6773">
<input type="hidden" name="pf-Id" value="0">
<input type="hidden" name="pf-recur" value="no">
<input type="hidden" name="pf-currency" id="pf-currency" value="NGN">
<script>window.KKD_PAYSTACK_CHARGE_SETTINGS={
percentage:0.015,
additional_charge:10000,
threshold:250000,
cap:200000
}
</script>
<div class="span12 unit">
<div class="input-field">
<input value="" class="black-text" type="email" name="pf-pemail" placeholder="Enter Email Address" id="pf-email" value="" required="">
</div>
</div>
<div class="span12 unit">
<div class="input">
<div class="select">
<input type="hidden" id="pf-vname" name="pf-vname" value="10 votes ">
<input type="hidden" id="pf-amount">
<select class="form-control" id="pf-vamount" name="pf-amount">
Warning: A non-numeric value encountered in /home/ideasfor/public_html/wp-content/plugins/payment-forms-for-paystack/public/class-paystack-forms-public.php on line 2078
<option value="0" disabled selected>Number of Votes</option>
<option value=" 500" data-name="10 votes ">10 votes - NGN 500</option>
<option value=" 1000" data-name=" 20 votes "> 20 votes - NGN 1,000</option>
<option value=" 2500" data-name=" 50 votes "> 50 votes - NGN 2,500</option>
<option value=" 5000" data-name=" 100 votes "> 100 votes - NGN 5,000</option>
<option value=" 10000" data-name=" 200 votes "> 200 votes - NGN 10,000</option>
<option value=" 25000" data-name=" 500 votes "> 500 votes - NGN 25,000</option>
<option value=" 50000" data-name=" 1000 votes "> 1000 votes - NGN 50,000</option>
<option value=" 100000" data-name=" 2000 votes "> 2000 votes - NGN 100,000</option>
</select>
</div>
<span id="pf-min-val-warn" style="color: red; font-size: 13px;"></span>
</div>
</div>
<div class="span12 unit">
<label class="label">Contestant's ID No <span>*</span></label>
<div class="input">
<input type="text" name="con" placeholder="" required="required" value="<?php echo $iid ?>" readonly>
</div>
</div>
<div class="span12 unit">
<div style="text-align: center;">
<!--<button type="submit" name="submit" class="gh" style="width:80%; height:50px;">VOTE</button>-->
<input type="submit" name="submit" style="width:80%; height:50px;" class="btn btno z-depth-0" value="Vote">
<style>
.btno{
background-color:#560280;
color:white;
border-radius:10px;
}
.btno:hover{
color:#560280;
background-color:white;
text-decoration:none;
font-weight:bold;
border:solid 1px #FCB900;
border-radius:10px;
}
</style>
<br>
<br>
<br>
</div>
</div></div>
</form>
<?php }
elseif($current_stage == 2) {?>
<p style="padding-left:5%; padding-right:5%; background-color:#560280; font-weight:bold; color:white;">
PAY VIA TRANSFER <br>
Account Number: 5600937582 <br>
BAnk Name: Fidelity Bank <br>
Account Name: Babies Nitche Entreprise <br>
</p>
<form class="container" version="3.3" action="pay2.php" method="POST">
<div class="j-row">
<input type="hidden" name="action" value="kkd_pff_paystack_submit_action">
<input type="hidden" name="pf-id" value="6773">
<input type="hidden" name="pf-Id" value="0">
<input type="hidden" name="pf-recur" value="no">
<input type="hidden" name="pf-currency" id="pf-currency" value="NGN">
<script>window.KKD_PAYSTACK_CHARGE_SETTINGS={
percentage:0.015,
additional_charge:10000,
threshold:250000,
cap:200000
}
</script>
<div class="span12 unit">
<div class="input-field">
<input hidden value="admin@babiesnitche.com" class="black-text" type="email" name="pf-pemail" placeholder="Enter Email Address" id="pf-email" value="" required="">
</div>
</div>
<div class="span12 unit">
<div class="input">
<div class="select">
<input type="hidden" id="pf-vname" name="pf-vname" value="10 votes ">
<input type="hidden" id="pf-amount">
<select class="form-control" id="pf-vamount" name="pf-amount">
Warning: A non-numeric value encountered in /home/ideasfor/public_html/wp-content/plugins/payment-forms-for-paystack/public/class-paystack-forms-public.php on line 2078
<option value="0" disabled selected>Number of Votes</option>
<option value=" 500" data-name="10 votes ">10 votes - NGN 500</option>
<option value=" 1000" data-name=" 20 votes "> 20 votes - NGN 1,000</option>
<option value=" 2500" data-name=" 50 votes "> 50 votes - NGN 2,500</option>
<option value=" 5000" data-name=" 100 votes "> 100 votes - NGN 5,000</option>
<option value=" 10000" data-name=" 200 votes "> 200 votes - NGN 10,000</option>
<option value=" 25000" data-name=" 500 votes "> 500 votes - NGN 25,000</option>
<option value=" 50000" data-name=" 1000 votes "> 1000 votes - NGN 50,000</option>
<option value=" 100000" data-name=" 2000 votes "> 2000 votes - NGN 100,000</option>
</select>
</div>
<span id="pf-min-val-warn" style="color: red; font-size: 13px;"></span>
</div>
</div>
<div class="span12 unit">
<label class="label">Contestant's ID No <span>*</span></label>
<div class="input">
<input type="text" name="con" placeholder="" required="required" value="<?php echo $iid ?>" readonly>
</div>
</div>
<div class="span12 unit">
<div style="text-align: center;">
<!--<button type="submit" name="submit" class="gh" style="width:80%; height:50px;">VOTE</button>-->
<input type="submit" name="submit" style="width:80%; height:50px;" class="btn btno z-depth-0" value="Vote">
<style>
.btno{
background-color:#560280;
color:white;
border-radius:10px;
}
.btno:hover{
color:#560280;
background-color:white;
text-decoration:none;
font-weight:bold;
border:solid 1px #FCB900;
border-radius:10px;
}
</style>
<br>
<br>
<br>
</div>
</div></div>
</form>
<?php }
elseif($current_stage == 3){?>
<p style="padding-left:5%; padding-right:5%; background-color:#560280; font-weight:bold; color:white;">
PAY VIA TRANSFER <br>
Account Number: 5600937582 <br>
BAnk Name: Fidelity Bank <br>
Account Name: Babies Nitche Entreprise <br>
</p>
<form class="container" version="3.3" action="pay3.php" method="POST">
<div class="j-row">
<input type="hidden" name="action" value="kkd_pff_paystack_submit_action">
<input type="hidden" name="pf-id" value="6773">
<input type="hidden" name="pf-Id" value="0">
<input type="hidden" name="pf-recur" value="no">
<input type="hidden" name="pf-currency" id="pf-currency" value="NGN">
<script>window.KKD_PAYSTACK_CHARGE_SETTINGS={
percentage:0.015,
additional_charge:10000,
threshold:250000,
cap:200000
}
</script>
<div class="span12 unit">
<div class="input-field">
<input hidden value="admin@babiesnitche.com" class="black-text" type="email" name="pf-pemail" placeholder="Enter Email Address" id="pf-email" value="" required="">
</div>
</div>
<div class="span12 unit">
<div class="input">
<div class="select">
<input type="hidden" id="pf-vname" name="pf-vname" value="10 votes ">
<input type="hidden" id="pf-amount">
<select class="form-control" id="pf-vamount" name="pf-amount">
Warning: A non-numeric value encountered in /home/ideasfor/public_html/wp-content/plugins/payment-forms-for-paystack/public/class-paystack-forms-public.php on line 2078
<option value="0" disabled selected>Number of Votes</option>
<option value=" 500" data-name="10 votes ">10 votes - NGN 500</option>
<option value=" 1000" data-name=" 20 votes "> 20 votes - NGN 1,000</option>
<option value=" 2500" data-name=" 50 votes "> 50 votes - NGN 2,500</option>
<option value=" 5000" data-name=" 100 votes "> 100 votes - NGN 5,000</option>
<option value=" 10000" data-name=" 200 votes "> 200 votes - NGN 10,000</option>
<option value=" 25000" data-name=" 500 votes "> 500 votes - NGN 25,000</option>
<option value=" 50000" data-name=" 1000 votes "> 1000 votes - NGN 50,000</option>
<option value=" 100000" data-name=" 2000 votes "> 2000 votes - NGN 100,000</option>
</select>
</div>
<span id="pf-min-val-warn" style="color: red; font-size: 13px;"></span>
</div>
</div>
<div class="span12 unit">
<label class="label">Contestant's ID No <span>*</span></label>
<div class="input">
<input type="text" name="con" placeholder="" required="required" value="<?php echo $iid ?>" readonly>
</div>
</div>
<div class="span12 unit">
<div style="text-align: center;">
<!--<button type="submit" name="submit" class="gh" style="width:80%; height:50px;">VOTE</button>-->
<input type="submit" name="submit" style="width:80%; height:50px;" class="btn btno z-depth-0" value="Vote">
<style>
.btno{
background-color:#560280;
color:white;
border-radius:10px;
}
.btno:hover{
color:#560280;
background-color:white;
text-decoration:none;
font-weight:bold;
border:solid 1px #FCB900;
border-radius:10px;
}
</style>
<br>
<br>
<br>
</div>
</div></div>
</form>
<?php }
else{?>
<li class=""><a style="color:#560280 ;font-size: 17px;" href="contestants.php">Contestants</a></li>
<li class=""><a style="color:#560280 ;font-size: 17px;" href="leadership.php">Leader's Board</a></li>
<?php } ?>
</div>
</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');
?>
<!-- Materialze/jquery Script -->
<script src="jquery.js"></script>
<script src="materialize.js"></script>
<script>
$(document).ready(function(){
$('.slider.others').slider({
height: 400,
duration: 500,
interval:3000,
indicators:false,
});
$('.slider.desktop').slider({
height: 430,
duration: 500,
interval:4000,
indicators:false,
});
$('.collapsible').collapsible();
$('.materialboxed').materialbox();
$('.parallax').parallax();
$('.carousel').carousel();
$('.datepicker').datepicker();
$('.timepicker').timepicker();
$('select').formSelect();
$('.modal').modal();
$('.scrollspy').scrollSpy();
$('.sidenav').sidenav();
});
</script>
</body>
</html>
ÿØÿà JFIF ÿþ$
ÿØÿà JFIF ÿþ$
ÿÂ