This repository has been archived by the owner on Jun 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
muifrontend.php
108 lines (90 loc) · 2.89 KB
/
muifrontend.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
<?php
session_start();
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ELEARN | Quiz</title>
<link href="//cdn.muicss.com/mui-latest/css/mui.min.css" rel="stylesheet" type="text/css" />
<link href="static/style.css" rel="stylesheet" type="text/css" />
<link href="css/slide.css" rel="stylesheet" type="text/css" />
<script src="//cdn.muicss.com/mui-latest/js/mui.min.js"></script>
<script src="//cdn.muicss.com/mui-latest/js/mui.min.js"></script>
</head>
<body>
<?php
$a=$_SESSION['sid'];
$id = intval($_GET['q']);
$quizrefid = $a.'Q'.$id;
$_SESSION['quizrefid'] = $quizrefid;
?>
<div id="pto"></div>
<center>
<!--[if mso]><table><tr><td class="mui-container-fixed"><![endif]-->
<div class="mui-container">
<h3 class="mui--text-center" id="qheader">ELEARN | Quiz</h3>
<table cellpadding="0" cellspacing="0" border="0" width="50%">
<tr>
<td class="mui-panel" style="box-shadow: 0 15px 15px 0 rgba(0,0,0,.16), 15px 15px 30px 0 rgba(0,0,0,.12);">
<table
id="content-wrapper"
border="0"
cellpadding="0"
cellspacing="0"
width="100%"
>
<tbody>
<tr>
<td>
<h2 class="mui--text-center">Welcome to Quiz Module!</h2>
</td>
</tr>
<tr>
<td class="mui--divider-top">
</td>
</tr>
</tr>
</tbody>
</table>
<form target="_blank" action="addquiz.php" method="post">
<table>
<tbody>
<tr>
<div class="mui-select" >
<select name="qtype" id="qtype">
<option value="mcq">Multiple Choice Questions</option>
<option value="fib">Fill in the Blanks</option>
<option value="tf">True or False</option>
<option value="rear">Code Rearrange</option>
<option value="cmcq">Code based MCQ</option>
<option value="short">Short Questions</option>
<option value="long">Long Questions</option>
</select>
<label>Select Type of Quiz</label>
</div>
</tr>
<tr>
<div class="mui-textfield mui-textfield--float-label">
<input type="text" id="noq" name="noq">
<label>No.of Questions</label>
</div>
</tr>
<tr class="mui-col-xs-2 mui-col-xs-2">
<center>
<input type="submit" value="Add Quiz" class="mui-btn mui-btn--raised mui-btn--accent"></input>
<a target="_blank" href="modifyquiz.php"><input type="button" value="Modify Quiz" class="mui-btn mui-btn--raised mui-btn--accent"></input></a>
</center>
</tr>
</tbody>
</table>
</form>
</tr>
</table>
</center>
</td>
</tr>
</body>
</html>