forked from BE-PROJECTS2018/GroupNo45-Pantomath-bo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
list.php
155 lines (130 loc) · 5.89 KB
/
list.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
<?php
include './serverScript/class/Database.php';
$db = new Database();
$db->connect();
$db->sql("SELECT count(*) as num FROM pb_candidate_list;");
$num_conducted = $db->getResult();
$db->sql("SELECT count(*) as num FROM pb_candidate_details;");
$num_total = $db->getResult();
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="New Intelligent System">
<title>Pantomath'Bo</title>
<link rel="stylesheet" href="./css/mainstyle.css" >
<link rel="stylesheet" href="./css/fontawesome.css" >
<link rel="stylesheet" href="./css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="./css/card/card-style.css">
<!-- js -->
<script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./js/bootstrap.min.js"></script>
<script type="text/javascript" src="./js/candidate/candidate-list.js"></script>
<!--[if lte IE 8]>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/build/grids-responsive-old-ie-min.css">
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/build/grids-responsive-min.css">
<!--<![endif]-->
<!--[if lte IE 8]>
<link rel="stylesheet" href="css/layouts/blog-old-ie.css">
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="css/layouts/blog.css">
<!--<![endif]-->
</head>
<body onload="startTime()">
<div id="layout" class="pure-g">
<div class="sidebar pure-u-1 pure-u-md-1-4">
<div class="header">
<h1 class="brand-title">Pantomath 'Bo</h1>
<h2 class="brand-tagline">Discover Cross Model Behavior Analysis</h2>
<nav class="nav">
<ul class="nav-list">
<li class="nav-item">
<a class="pure-button" href="index.php">Interview Info</a>
</li>
<li class="nav-item">
<a class="pure-button" href="#">List of Candidates</a>
</li>
<li class="nav-item">
<a class="pure-button" href="index.php">New Interview</a>
</li>
</ul>
</nav>
</div>
</div>
<div class="content pure-u-1 pure-u-md-3-4">
<div>
<!-- A wrapper for all the blog posts -->
<div class="posts">
<h1 class="content-subhead">Pinned Board</h1>
<!-- A single blog post -->
<section class="post">
<header class="post-header">
<script>
function startTime() {
var today = new Date();
var h = today.getHours();
var m = today.getMinutes();
var s = today.getSeconds();
m = checkTime(m);
s = checkTime(s);
document.getElementById('txt').innerHTML =
h + ":" + m + ":" + s;
var t = setTimeout(startTime, 500);
}
function checkTime(i) {
if (i < 10) {i = "0" + i}; // add zero in front of numbers < 10
return i;
}
</script>
<h2 class="post-title">Time <div id="txt"></div></h2>
</header>
<div class="post-description">
<div class="list">
<ul class="quantity-list">
<li class="quantity-item">
Number of interviews:
<h2 class="quantity-item"><?php echo $num_total[0]["num"];?></h2>
</li>
<li class="quantity-item">
Number of interviews conducted:
<h2 class="quantity-item"><?php echo $num_conducted[0]["num"];?></h2>
</li>
</ul>
</div>
</div>
</section>
<section id="candidate-list">
<!--
<div class="mdl-card mdl-shadow--2dp mdl-card--horizontal">
<div class="mdl-card__media">
<img src="./img/common/reid-avatar.png" alt="img">
</div>
<div class="mdl-card__title">
<h2 class="mdl-card__title-text">Michael Jordon</h2>
</div>
<div class="mdl-card__supporting-text">
<ul class="qualification">
<li>Degree : B.Tech</li>
<li>Experience: 2 yr</li>
</ul>
</div>
<div class="mdl-card__actions mdl-card--border">
<a href="#" class="more-info">More info</a>
</div>
<div class="mdl-card__menu">
<h2>#1</h2>
</div>
</div>
-->
</section>
</div>
</div>
</div>
</div>
</body>
</html>