mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-23 12:42:21 +00:00
9e6f75ccbd
PHP 7 doesn't like the old short tags we were using (it's possible to re-enable them, but won't be for version 8, so we might as well switch now), and the old MySQL APIs are now gone entirely, replaced with something different. This should make everything work at least as well as it used to. Also, one file used to be checked in with CRLF line endings. ??
63 lines
1.8 KiB
PHP
63 lines
1.8 KiB
PHP
<?php
|
|
if (isset ($clicked)) {
|
|
StripSlashes ($message);
|
|
StripSlashes ($subject);
|
|
|
|
if (!$subject)
|
|
$subject = "No subject!";
|
|
|
|
mail ("quakeforge-users@lists.quakeforge.net", StripSlashes ($subject), StripSlashes ($message), "From: $sender\r\nReply-To: $sender\r\n");
|
|
header ("Location: http://www.quakeforge.net/thanks.php");
|
|
exit;
|
|
}
|
|
|
|
// Preamble
|
|
$pageName = "Contact Us";
|
|
|
|
require "parts/preamble.php"; // Load most of document
|
|
?>
|
|
<!--SEARCHME-->
|
|
<H4>Electronic Mail</H4>
|
|
|
|
<P>Please direct support questions to the
|
|
<A href="mailto:quakeforge-users@lists.quakeforge.net">QuakeForge Users</A> mailing list.
|
|
|
|
<P>If you have ideas about new features for QuakeForge or wish to help in
|
|
development, you can contact the QuakeForge developers via the
|
|
<A href="mailto:quakeforge-devel@lists.quakeforge.net">QuakeForge Development</A>
|
|
mailing list.
|
|
|
|
<H4>Internet Relay Chat</H4>
|
|
|
|
<P>The QuakeForge developers maintain an IRC
|
|
<A href ="irc://irc.quakeforge.net/quakeforge">channel</A>,
|
|
#QuakeForge, on irc.quakeforge.net (irc.oftc.net).
|
|
|
|
<H4>Contact form</H4>
|
|
|
|
<P>Send a message to the QuakeForge team. Be sure to include a valid email address
|
|
if you expect a reply.<br>
|
|
|
|
<FORM>
|
|
<TABLE cellPadding="0" cellSpacing="0">
|
|
<TR>
|
|
<TD>
|
|
<P>Your email address: <BR>
|
|
<SPAN class="smallText">(will not be used for any purpose other than to send this email)</SPAN><BR>
|
|
<INPUT type="text" name="sender" size="32">
|
|
</TD>
|
|
<TD vAlign="bottom" align="right">
|
|
<DIV align="right"><INPUT type="submit" name="clicked" value="Send Message"></DIV>
|
|
</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD colSpan="2">
|
|
<P>Subject:<BR>
|
|
<INPUT type="text" name="subject" size="66" maxLength="72">
|
|
|
|
<P>Message:<BR>
|
|
<TEXTAREA name="message" cols="64" rows="16"></TEXTAREA>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
</FORM>
|