This repository has been archived by the owner on Nov 11, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathquestions.php
46 lines (45 loc) · 1.65 KB
/
questions.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
<?php
require_once("auth.php");
?>
<!doctype html>
<html>
<head>
<script type="text/javascript" src="js/jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.13.custom.min.js"></script>
<script type="text/javascript" src="js/flexigrid.pack.js"></script>
<script type="text/javascript" src="js/questions.js"></script>
<link rel="stylesheet" href="css/style.css" media="screen" />
<link rel="stylesheet" href="css/print.css" media="print" />
<link type="text/css" href="css/ui-darkness/jquery-ui-1.8.13.custom.css" rel="stylesheet" />
<link rel="stylesheet" media="screen" href="flexstyle/flexigrid.pack.css" type="text/css" />
<style>
.flexigrid div.fbutton .add {
background: url("flexstyle/images/add.png") no-repeat scroll left center transparent;
}
.flexigrid div.fbutton .delete {
background: url("flexstyle/images/delete.png") no-repeat scroll left center transparent;
}
.flexigrid div.fbutton .edit {
background: url("flexstyle/images/edit.png") no-repeat scroll left center transparent;
}
div.ui-dialog{
font-size:10px;
}
textarea{
height: 100px;
width: 290px;
}
</style>
</head>
<body>
<div class="centered bodywrap">
<h1><?php echo Settings::$name; ?> Question Editor</h1>
<?php if (!Settings::isPollOpen()){?>
<div id="flex" class="flexigrid"></div>
<div id="formspace"></div>
<?php } else { ?> <div class="error"> To ensure fair comparison, the quiz cannot be edited while the poll is active. </div><?php } ?>
<br />
<a href="admin.php">[back]</a> <a href="killsession.php">[logout]</a>
</div>
</body>
</html>