-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfinishedVoting.php
executable file
·56 lines (55 loc) · 2.09 KB
/
finishedVoting.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
<!DOCTYPE html>
<html>
<?php
session_start();
?>
<head>
<!--Load the AJAX API-->
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript" src="js/google-chart.js"></script>
<meta charset="utf-8">
<!-- default css -->
<link rel="stylesheet" media="all" type="text/css" href="css/style.css" />
<!-- tablest css -->
<link rel="stylesheet" media="all" type="text/css" href="css/tablet.css" />
<!-- smartphones css -->
<link rel="stylesheet" media="all" type="text/css" href="css/smart.css" />
<title>Meetrix "Meeting Management System"</title>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<style type="text/css">
#window {
margin-right:auto;
margin-left:auto;
width: 400px;
}
</style>
<script type="text/javascript">
function refreshAndClose() {
window.opener.location.reload(true);
window.close();
}
function redirect(){
var link = "viewVotingResult.php";
window.open(link, "createVoting", "height=600,width=800");
}
</script>
</head>
<body>
<!--Header on top of the page where all user account setting navigation should be done-->
<div id ="window">
<p style="text-align: center; font-size: 20px;">The voting was finished</p>
<!--simple page whether a user wanna see voting result or close this page-->
<div id ="buttons" style="margin-right:auto; margin-left:auto; width: 208px;">
<button type="button" onclick="refreshAndClose()" style="margin:5px;">Close Window</button>
<button type="button" onclick="redirect()" style="margin:5px;">View Result</button>
</div>
</div>
</body>
</html>