-
Notifications
You must be signed in to change notification settings - Fork 2
/
report_issue.php
51 lines (47 loc) · 2.07 KB
/
report_issue.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
<!DOCTYPE html>
<html>
<head>
<title>Opera Omnia - Report an issue</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<meta name="viewport" content="width=device-width"/>
<style>
.topnav ul li a [href='submit']
{
background-color: #DDDDDD;
}
</style>
</head>
<body>
<?php include("header.php"); ?>
<section class='sectionSubmit'>
<h1>Contact us ! </h1>
<p> This website has been coded by two young non-professional programmer, and thereforce contains surely many bugs and improvement axis. <p>
<fieldset class = "submitPaper">
<div>
<form method="post" action="issue_reported.php" enctype="multipart/form-data">
<label for='type' required> <b>Object : </b> </label>
<select name="type" required >
<option selected='selected' disabled value="" >Select an object ... </option>
<option value="bug" <?php if (isset($_GET['selected']) && $_GET['selected'] == 'bug') {echo("selected=''");}?> >I found a bug </option>
<option value="suggestion" >I have a suggestion</option>
<option value="hack">I succeeded in hacking into your site, can I get a reward? </option>
<option value="other">Other ..</option>
</select>
<br />
<label for='description' required> <b>Describe here </b></label>
<br/>
<textarea name="description" rows="6" cols="60" style="resize:none;" required></textarea>
<br/>
<input type="hidden" name="MAX_FILE_SIZE" value="10485760" />
<label for="paper" id='labelPaper'>Add a Screenshot (optional) (max: 10Mo) : </label><br />
<input type="file" name="imageSubmitted" accept="image/png, image/jpeg" />
<br/>
<input type="submit" value="Submit ! "name = 'submit' id="submitPaperButton" />
</form>
</div>
</fieldset>
</section>
<?php include("footer.php"); ?>
</body>
</html>