This repository has been archived by the owner on Apr 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.php
178 lines (169 loc) · 5.87 KB
/
profile.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<?php
require_once 'php/ca4nafa3ga.php';
session_start();
logged();
if (isset($_SESSION['private_voter'])) {
$pv = $_SESSION['private_voter'];
$pvi = $pv['voters_reg_id'];
$sql = "SELECT * FROM vxxz_voters WHERE voters_reg_id = '$pvi'";
$query = $conn->query($sql);
$px = $query->fetch_assoc();
$pxv = $px['voters_reg_id'];
$pxf = $px['voters_firstname'];
$pxs = $px['voters_surname'];
$pxm = $px['voters_other_name'];
$pxd = $px['voters_dob'];
$pxa = $px['voters_address'];
$pxso = $px['voters_sorigin'];
}else{
$pv = "empty";
}
?>
<!DOCTYPE HTML>
<html>
<head>
<title>Election Platform : Profile</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Shoppy Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all">
<!-- Custom Theme files -->
<link href="css/style.css" rel="stylesheet" type="text/css" media="all"/>
<!--js-->
<script src="js/jquery-2.1.1.min.js"></script>
<!--icons-css-->
<link href="css/font-awesome.css" rel="stylesheet">
<!--Google Fonts-->
<link href='//fonts.googleapis.com/css?family=Carrois+Gothic' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Work+Sans:400,500,600' rel='stylesheet' type='text/css'>
<!--//skycons-icons-->
</head>
<body>
<div class="page-container">
<div class="left-content">
<div class="mother-grid-inner">
<!--header start here-->
<div class="header-main">
<div class="header-left">
<div class="logo-name">
<a href="index.html"> <h1>Shoppy</h1>
<!--<img id="logo" src="" alt="Logo"/>-->
</a>
</div>
<div class="clearfix"> </div>
</div>
<div class="header-right">
<!--notification menu end -->
<div class="profile_details">
<ul>
<li class="dropdown profile_details_drop">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<div class="profile_img">
<span class="prfil-img"><img src="images/p1.png" alt=""> </span>
<div class="user-name">
<p>Malorum</p>
<span>Administrator</span>
</div>
<i class="fa fa-angle-down lnr"></i>
<i class="fa fa-angle-up lnr"></i>
<div class="clearfix"></div>
</div>
</a>
</li>
</ul>
</div>
<div class="clearfix"> </div>
</div>
<div class="clearfix"> </div>
</div>
<!--heder end here-->
<!-- script-for sticky-nav -->
<script>
$(document).ready(function() {
var navoffeset=$(".header-main").offset().top;
$(window).scroll(function(){
var scrollpos=$(window).scrollTop();
if(scrollpos >=navoffeset){
$(".header-main").addClass("fixed");
}else{
$(".header-main").removeClass("fixed");
}
});
});
</script>
<!-- /script-for sticky-nav -->
<!--inner block start here-->
<div class="inner-block">
<div class="blank">
<h2>Profile Page</h2>
<div class="blankpage-main" style="height: 350px;">
<div class="col-md-4">
<img src="images/2.png" alt="" width="150" height="150">
</div>
<div class="col-md-6">
<p><strong>Name</strong>: <?= $pxf ." ". $pxs ." ". $pxm; ?></p>
<p><strong>Reg No</strong>:<?= $pvi; ?></p>
<p><strong>Date Of Birth</strong>:<?= $pxd;?></p>
<p><strong>Address</strong>:<?= $pxa;?></p>
<p><strong>State of Origin</strong>:<?= $pxso;?></p>
</div>
</div>
</div>
</div>
<!--inner block end here-->
<!--copy rights start here-->
<div class="copyrights">
<p>© 2019 INEC Nigeria. All Rights Reserved | Developed by <a href="" target="_blank">Alphex</a> </p>
</div>
<!--COPY rights end here-->
</div>
</div>
<!--slider menu-->
<div class="sidebar-menu">
<div class="logo"> <a href="#" class="sidebar-icon"> <span class="fa fa-bars"></span> </a> <a href="#"> <span id="logo" ></span>
<!--<img id="logo" src="" alt="Logo"/>-->
</a> </div>
<div class="menu">
<ul id="menu" >
<li id="menu-home" ><a href="index.php"><i class="fa fa-tachometer"></i><span>Dashboard</span></a></li>
<li><a href="profile.php"><i class="fa fa-cogs"></i><span>Profile</span></a>
</li>
<li id="menu-comunicacao" ><a href="#"><i class="fa fa-book nav_icon"></i><span>History</span></a>
</li>
<li><a href="logout.php"><i class="fa fa-cog"></i><span>Logout</span></a>
</li>
</ul>
</div>
</div>
<div class="clearfix"> </div>
</div>
<!--slide bar menu end here-->
<script>
var toggle = true;
$(".sidebar-icon").click(function() {
if (toggle)
{
$(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back");
$("#menu span").css({"position":"absolute"});
}
else
{
$(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-back");
setTimeout(function() {
$("#menu span").css({"position":"relative"});
}, 400);
}
toggle = !toggle;
});
</script>
<!--scrolling js-->
<script src="js/jquery.nicescroll.js"></script>
<script src="js/scripts.js"></script>
<!--//scrolling js-->
<script src="js/bootstrap.js"> </script>
<!-- mother grid end here-->
</body>
</html>