This repository was archived by the owner on Dec 6, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathadmin.php
executable file
·71 lines (67 loc) · 2.71 KB
/
admin.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
<html>
<head>
<!--styles-->
<link rel="stylesheet" href="theme.css">
<link rel="stylesheet" href="assets/Bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/animate.css">
<!--scripts-->
<script src="assets/jquery/jquery.min.js"></script>
<!-- <script src="assets/Bootstrap/js/bootstrap.min.js"></script>-->
<script src="js/admin.js"></script>
<!--end-->
<title>BNKS TechnoQuiz 2016</title>
</head>
<body>
<!--
ques-cl : question class
ans-cl : answer class
--more
-->
<!-- message-->
<div class="container">
<div class="row">
<div class="quiz-and-control col-sm-12 col-md-12 col-lg-12">
<div id="main" class="col-sm-12 col-md-12 col-lg-12 quiz">
</div>
<!-- So you know below is the control (search for end 1)-->
<div class="col-sm-12 col-md-12 col-lg-12 control">
<!-- <input type="text" id="select_user"></input> -->
<?php
$haikyuu = json_decode(file_get_contents("json/score.json"),true);
foreach ($haikyuu as $user => $score) {
echo "<div class='col-xs-6 col-sm-3 col-md-3 col-lg-3'>";
echo "<div id='user' class='director hand-cursor'>";
echo $user;
echo "</div>";
echo "</div>";
}
?>
</div>
<div class="col-sm-12 col-md-12 col-lg-12 load-and-send">
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
<div id="load" class="load-button hand-cursor">
load
</div>
</div>
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
<div id="send" class="send-button hand-cursor">
send
</div>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<div id="show-correct-answer" class="show-correct-answer-button hand-cursor">
Show correct answer
</div>
</div>
<!-- end:1 -->
</div>
<!-- <div class="col-sm-4 col-md-4 col-lg-4 score">
<div class="main-card animated bounce">
Scores
</div>
</div> -->
</div>
</div>
</body>
</html>