-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cprofile.php
177 lines (158 loc) · 5.74 KB
/
Cprofile.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
<!DOCTYPE html>
<html>
<head>
<title>Online Election</title>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<link rel="stylesheet" href="css/login.css" type="text/css">
<link href="css/head.css" rel="stylesheet">
<link href="css/menu2.css" rel="stylesheet">
<script type="text/javascript">
function htmlbodyHeightUpdate(){
var height3 = $( window ).height()
var height1 = $('.nav').height()+50
height2 = $('.main').height()
if(height2 > height3){
$('html').height(Math.max(height1,height3,height2)+10);
$('body').height(Math.max(height1,height3,height2)+10);
}
else
{
$('html').height(Math.max(height1,height3,height2));
$('body').height(Math.max(height1,height3,height2));
}
}
$(document).ready(function () {
htmlbodyHeightUpdate()
$( window ).resize(function() {
htmlbodyHeightUpdate()
});
$( window ).scroll(function() {
height2 = $('.main').height()
htmlbodyHeightUpdate()
});
});
</script>
</head>
<body>
<div class="head">
<div class="container-fluid">
<div class="navbar-header">
<b>Online Election System</b>
</div>
<div>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="CandidateHome.php">Home</a>
</li>
<li>
<a href="#services">Upload Post</a>
</li>
<li>
<a href="#contact">Contact us</a>
</li>
<li>
<a href="CLogout.php">Log Out</a>
</li>
</ul>
</div>
</div>
</div>
<nav class="navbar navbar-inverse sidebar" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-sidebar-navbar-collapse-1">
<ul class="nav navbar-nav">
<li ><a href="Cprofile.php">Profile<span style="font-size:16px;" class="pull-right hidden-xs showopacity glyphicon glyphicon-user"></span></a></li>
<li ><a href="cevent.php">Events<span style="font-size:16px;" class="pull-right hidden-xs showopacity glyphicon glyphicon-calendar"></span></a></li>
<li ><a href="#">Notification<span style="font-size:16px;" class="pull-right hidden-xs showopacity glyphicon glyphicon-bell"></span></a></li>
<li ><a href="#">Messages<span style="font-size:16px;" class="pull-right hidden-xs showopacity glyphicon glyphicon-envelope"></span></a></li>
</ul>
</div>
</div>
</nav>
<?php
include('session2.php');
$id = null;
if ( !empty($_GET['id'])) {
$id = $_REQUEST['id'];
}
?>
<div class="main">
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-8 col-md-6 col-sm-offset-2 col-md-offset-3">
<form class="form-horizontal" action="Cprofile.php?id=<?php echo $id?>" method="post">
<fieldset>
<!-- Form Name -->
<h2> Candidate Register Form </h2>
<hr class="colorgraph">
<b>
<div class='form-group'>
<label class='col-sm-3 control-label' for='card-holder-name'>Voter Register No</label>
<div class='col-sm-9'>
<input name='voter_registr_no' class='form-control' type='text' value='00005' disabled>
</div>
</div>
<div class='form-group '>
<label class='col-md-3 col-md-3 control-label'>Frist Name </label>
<div class='col-sm-9'>
<input name='frist_name' class='form-control' type='text' value='Gayan' disabled>
</div>
</div>
<div class='form-group '>
<label class='col-md-3 col-md-3 control-label'>Middle Name</label>
<div class='col-sm-9'>
<input name='middle_name' class='form-control' type='text' value='Lakshitha' disabled>
</div>
</div>
<div class='form-group '>
<label class='col-md-3 col-md-3 control-label'>Last Name</label>
<div class='col-sm-9'>
<input name='last_name' class='form-control' type='text' value='Senevirathna' disabled>
</div>
</div>
<div class='form-group '>
<label class='col-md-3 col-md-3 control-label'>Date of Birth</label>
<div class='col-sm-9'>
<input name='date_of_birth' class='form-control' type='text' value='1958.04.15' disabled>
</div>
</div>
<div class='form-group '>
<label class='col-md-3 col-md-3 control-label'>NIC number</label>
<div class='col-sm-9'>
<input name='NIC_number' class='form-control' type='text' value='589632147v' disabled>
</div>
</div>
<div class='form-group '>
<label class='col-md-3 col-md-3 control-label'>Gender</label>
<div class='col-sm-9'>
<input name='gender' class='form-control' type='text' value='Male' disabled>
</div>
</div>
<div class='form-group '>
<label class='col-md-3 col-md-3 control-label'>Permnent Address</label>
<div class='col-sm-9'>
<input name='permnent_address' class='form-control' type='text' value='788, high level , colombo8' disabled>
</div>
</div>
<div class='form-group '>
<label class='col-md-3 col-md-3 control-label'>Parliment Member</label>
<div class='col-sm-9'>
<input name='seat' class='form-control' type='text' value='yes' disabled>
</div>
</div>
<div class='form-group '>
<label class='col-md-3 col-md-3 control-label'>Email</label>
<div class='col-sm-9'>
<input name='email' class='form-control' type='text' value='[email protected]' disabled>
</div>
</div></b>
</div>
</fieldset>
</form>
</div>
</div>
</div>
</body>
</html>