-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathanswer.php
More file actions
60 lines (44 loc) · 2.12 KB
/
answer.php
File metadata and controls
60 lines (44 loc) · 2.12 KB
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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" >
<!--jQuery library-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!--Latest compiled and minified JavaScript-->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link href="style.css" rel="stylesheet" type="text/css"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>RECursion</title>
</head>
<body style="padding-top: 50px;">
<?php $id=$_GET['id']; ?>
<?php require("includes/common.php"); ?>
<?php include("includes/header.php"); ?>
<?php error_reporting(0);?>
<?php
if (!isset($_SESSION['email']))
{
header('location: signup.php');
}
?>
<div id="content">
<div id = "banner_image_2">
<div class="container">
<center>
<div id="banner_content" class="col-xs-offset-2 col-xs-8">
<h2 class="text-warning">TYPE YOUR ANSWER HERE</h2>
<form action="output_script.php?id=<?php echo $id; ?>" method="POST">
<div class="form-group">
<input class="form-control" placeholder="Your answer goes here." name="answer" required>
</div>
<button type="submit" name="submit" class="btn btn-success">Submit</button>
</form>
</div>
</center>
</div>
</div>
<!--Main banner image end-->
</div>
<?php include("includes/footer.php"); ?>
</body>
</html>