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]['1_vote'];
$two_vote=$conr[0]['2_vote'];
$vote=$conr[0]['vote'];
$position = 0;
}else{
include 'fail.php';
}
$sql="SELECT * FROM registration ORDER BY 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:contestants.php');
}
?>
<!DOCTYPE html>
<html lang="en-US" class="">
<head>
<title>vote</title>
<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">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"/>
<!-- Compiled and minified CSS -->
<link rel="stylesheet" href="css/custom.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<!-- Compiled Font-Awesome CDN -->
<script src="https://kit.fontawesome.com/1e78e0a43f.js" crossorigin="anonymous"></script>
<link rel="icon" href="img/LOGO TRANSPARENT.png">
<title>Vote</title>
</head>
<style>
.body
{
background-color: #222227;
ba
}
a
{
color: #F8D868;
}
</style>
<body class="body">
<?php include('topbar.php')?>
<section style="margin-top: 2rem;">
<h4 class="animate__animated animate__heartBeat animate__infinite animate__slow" style="color:#c5c5c5; font-weight: bold; text-align: center;">Vote for me!!</h4>
</section>
<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="" style="color: grey">VOTE <span style="color: #c5c5c5;font-size: 30px"><?php echo $name; ?></span>
</h4>
<div class="row">
<div class="col l6 m12 s12">
<span style="color:#F8D868; font-weight:bold;">Contestant ID: <?php echo $iid?></span>
<br>
<span style="color:#F8D868; font-weight:bold;">Position: #<?php echo (''. $keys)?></span>
<br>
<span style="color:#F8D868; font-weight:bold;">Age: <?php echo $age?></span>
</div>
<div class="col l6 m12 s12">
<span style="color:#F8D868; font-weight:bold;">Stage 1 Vote: <?php echo $one_vote;?></span>
<br>
<span style="color:#F8D868; font-weight:bold;">Stage 2 Vote: <?php echo $two_vote; ?></span>
<br>
<span style="color:#F8D868; font-weight:bold;">Stage 3 Vote: <?php echo $vote;?></span>
</div>
</div>
<h4 style="font-weight:bold; color:#F8D868;">Steps to vote</h4>
<!--<h1>Voting has not started yet</h1>-->
<p style="color:grey;">We have 2 major method of voting which is the online “Paystack” voting method and the direct transfer voting method.</p>
<h6 style="font-weight:bold; color:#F8D868;">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 below allows you select the number of votes you want to make, each vote cost 50 naira for stage 1 and 50 naira for other stages.</p>
<h6 style="font-weight:bold; color:#F8D868;">2. Direct Voting Method (Bank Transfer)</h6>
<p style="font-weight:bold; color:grey;">NAIRA ACCOUNT</p>
<p style="color:grey;">Bank Name: Fidelity Bank <br> Account Number: xxxxxxxxxxxxxxx <br> Account Name: THE GLITZ CONTEST</p>
<br>
<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>
<div class="main-content container">
<div data-elementor-type="wp-page" data-elementor-id="6997" class="elementor elementor-6997" data-elementor-settings="[]">
<div class="elementor-section-wrap">
</div>
</div>
<div class="elementor-element elementor-element-2f63249d elementor-headline--style-rotate elementor-widget elementor-widget-animated-headline" data-id="2f63249d" data-element_type="widget" data-settings="{"headline_style":"rotate","animation_type":"drop-in","rotating_text":"#","rotate_iteration_delay":1000,"loop":"yes"}" data-widget_type="animated-headline.default">
<div class="elementor-widget-container">
<h3 class="elementor-headline elementor-headline-animation-type-drop-in">
</span>
</h3>
</div>
</div>
<!--Payment Form -->
<div class="elementor-element elementor-element-6495b92d elementor-widget elementor-widget-shortcode" data-id="6495b92d" data-element_type="widget" data-widget_type="shortcode.default" style="border:3px solid #886018">
<div class="elementor-widget-container">
<div class="elementor-shortcode">
<div id="paystack-form">
<form class="container" version="3.3" action="ppay.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">
<input type="email" name="pf-pemail" placeholder="Voter's Email Address" id="pf-email" value="" required="">
</div>
</div>
<div class="span12 unit">
<label class="label">Amount (NGN) <span>*</span></label>
<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=" 50" data-name="1 votes ">1 vote - NGN 50</option>
<option value=" 100" data-name="2 votes ">2 votes - NGN 100</option>
<option value=" 150" data-name="3 votes ">3 votes - NGN 150</option>
<option value=" 200" data-name="4 votes ">4 votes - NGN 200</option>
<option value=" 250" data-name="5 votes ">5 votes - NGN 250</option>
<option value=" 300" data-name="6 votes ">6 votes - NGN 300</option>
<option value=" 350" data-name="7 votes ">7 votes - NGN 350</option>
<option value=" 400" data-name="8 votes ">8 votes - NGN 400</option>
<option value=" 450" data-name="9 votes ">9 votes - NGN 450</option>
<option value=" 500" data-name="10 votes ">10 votes - NGN 500</option>
<option value=" 750" data-name="15 votes ">15 votes - NGN 750</option>
<option value=" 1000" data-name=" 20 votes "> 20 votes - NGN 1,000</option>
<option value=" 1250" data-name=" 25 votes "> 25 votes - NGN 1,250</option>
<option value=" 1500" data-name=" 30 votes "> 30 votes - NGN 1,500</option>
<option value=" 2000" data-name=" 40 votes "> 40 votes - NGN 2,000</option>
<option value=" 2500" data-name=" 50 votes "> 50 votes - NGN 2,500</option>
<option value=" 3000" data-name=" 60 votes "> 60 votes - NGN 3,000</option>
<option value=" 3500" data-name=" 70 votes "> 70 votes - NGN 3,500</option>
<option value=" 4000" data-name=" 80 votes "> 80 votes - NGN 4,000</option>
<option value=" 4500" data-name=" 90 votes "> 90 votes - NGN 4,500</option>
<option value=" 5000" data-name=" 100 votes "> 100 votes - NGN 5,000</option>
<option value=" 7500" data-name=" 150 votes "> 150 votes - NGN 7,500</option>
<option value=" 10000" data-name=" 200 votes "> 200 votes - NGN 10,000</option>
<option value=" 12500" data-name=" 250 votes "> 250 votes - NGN 12,500</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 hidden 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>
<br>
<br>
<br>
</div>
</div></div>
</form></div></div>
</div>
</div>
</div>
</div>
<style type="text/css">
button.gh:hover{
background-color: #886018;
}
label.label{
color:#886018;
}
</style>
</div>
</section>
</div>
</div>
</div>
</div>
<br>
<?php include ('bottombar.php')?>
<script src="js/jquery.js"></script>
<script src="js/custom.js"></script>
<script>
$(document).ready(function(){
$('.materialboxed').materialbox();
$('.parallax').parallax();
$('.carousel').carousel();
$('.scrollspy').scrollSpy();
$('.sidenav').sidenav();
$('select').formSelect();
});
</script>
</body>
</html>
JFIF $
JFIF $