-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathcontact.php
88 lines (74 loc) · 2.57 KB
/
contact.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
<?php
$title = 'MAME | Contact the Team';
?>
<?php require($_SERVER['DOCUMENT_ROOT'] . '/_include/html/header.html'); ?>
<!-- Page Content -->
<div class="container">
<h1 class="page-header"><center>Contacting the MAME Team</center></h1>
<script language="JavaScript" type="text/javascript">
//<![CDATA[
function checkForm(form)
{
var curvalue = "";
for (var i = 0; i < form.radiobut.length; i++)
if (form.radiobut[i].checked) curvalue = form.radiobut[i].value;
if (curvalue == "faq") form.action = "https://wiki.mamedev.org/index.php?title=Frequently_Asked_Questions";
else if (curvalue == "roms") form.action = "/links.php#link";
else if (curvalue == "bug") form.action = "https://mametesters.org";
else if (curvalue == "legal") form.action = "/contact2.php?=legal";
else if (curvalue == "submit") form.action = "https://wiki.mamedev.org/index.php?title=Submitting_Source_Code";
else if (curvalue == "none") form.action = "/contact2.php?=team";
else
{
alert("Please select one of the options below and press the Next button. (" + curvalue + ")");
return false;
}
return true;
}
//]]>
</script>
<p>
What do you wish to contact us regarding?
</p>
<form onsubmit="return checkForm(this)" name="email" method="post" action="#">
<p>
<input type="radio" name="radiobut" value="faq">
I can't figure out how to use the software!
</input>
</p>
<p>
<input type="radio" name="radiobut" value="roms">
Where can I get ROMs to run in MAME?
</input>
</p>
<p>
<input type="radio" name="radiobut" value="bug">
I think I found a bug in MAME and I'd like to report it.
</input>
</p>
<p>
<input type="radio" name="radiobut" value="legal">
I have a legal question or wish to report abuse of MAME.
</input>
</p>
<p>
<input type="radio" name="radiobut" value="submit">
I have a new ROM dump that I would like to submit.
</input>
</p>
<p>
<input type="radio" name="radiobut" value="submit">
I've made some changes to the source code and would like to submit them.
</input>
</p>
<p>
<input type="radio" name="radiobut" value="none">
None of the above.
</input>
</p>
<input type="submit" name="submit" value=" Next > " class="btn btn-primary"/>
</form>
<br/><br/>
</div>
<!-- /.container -->
<?php require($_SERVER['DOCUMENT_ROOT'] . '/_include/html/footer.html'); ?>