\n\n\n"; echo "\n\n\n"; $form_league= "
$leaguename Signup
<

Jolt ETQW League Registration Form


Please make sure you are familiar with the rules before signing up.
If you have any questions or problems, speak to the admins in #etqw.jolt (preferebly the ETQW Head Admin).

Pings will be similar to the jolt.co.uk publics and clanservers. If you are at all worried about pings please play on one of our public servers before signing up.

All Information below is required to compete in this league, failure to do so may result in your application and participation in the league to be ignored, please read all information carefully, and expect a reply from the admin Asap, All Signups are important to us and we will endevour to reply to your signup within a 24 hour period.

Signups close on the $signupsclose

Fields marked with a * must be filled in


* In Game Name
* Online Username
* Full Punkbuster Guid (pb_myguid) in Console
* Contact Email Address
* Country
* Clan Name
* Clan Tag
* Favourite Class
* Favourite Weapon
* Favourite Map

Games will be played $plannedtimes.

* I have filled in all fields and read the below.

Note: You must tick the above box for your application to be considered.

Please also note:
  • All Game Times will be UK timezone
  • The rules of the league.
  • Our server settings.
  • Games are played on Jolt's servers
  • Game days and times are pre-arranged. This means that the games clans play are at the same time, on the same day for the entire season.
  • You must have a full commitment to forefill the entire season whatever happens.


Please check your form before submitting below!







"; if ($opi != "ds") { echo "$form_league"; } elseif ($opi =="ds") { $channelnohash = str_replace("#", "", $channel); $cip = getenv("REMOTE_ADDR"); $reg = str_replace(",", ".", $_POST); $reg = preg_replace('/\n|\r|(\r\n)/m', ' | ', $reg); $error_array = array(); while (list($key, $value) = each($reg)) { // Search for empty fields if ($value == "" && $key != "Clan_Website" && $key != "Past Seasons") { array_push($error_array, $key); $send = "no"; } // Start building up email message if ($key != "opi" && $key != "submit" && $key != "Availability") { $msgdetails .= str_replace("_", " ", $key) . ": " . strip_tags($value) . "\n"; } } if (!$_POST['Availability']) { array_push($error_array, "Availability"); $send = "no"; } if ($send != "no") { $filename = "signupdata/" . $rulesid . ".txt"; if (file_exists($filename)) { $data = file($filename); $count = count($data); // Check for multiple signups from one IP foreach($data as $dataline) { if (eregi($cip, $dataline)) { make1(); echo "Signup failed

We have already received a submission from you

Please contact $adminemail for assistance"; make2(); $quitnow = "true"; } } } else { $count = 0; } if ($count >= $maxsignups) { make1(); echo "Signup failed

This tournament is oversubscribed

Please contact $adminemail for assistance"; make2(); $quitnow = "true"; } if (!$quitnow) { reset($reg); $data = fopen($filename, "a+"); fputs($data, $count+1 . "," . $cip . ","); while (list($key, $value) = each($reg)) { if ($key != "opi" && $key != "Availability" && $key != "submit") { fputs($data, strip_tags($value) . ","); } } fputs($data, "\n"); fclose($data); $toaddress = $reg["Contact_Email"]; $msg = "Thank you for your application! This is an automated email confirming that we have received your signup and can reach you at the specified addresses. If your team's details change please let us know. You should receive a direct E-Mail from the League's Head Admin in the next 24 hours.\n\n"; $msg .= "Please join $channel on irc.quakenet.org so that we can contact you if needed.\n\n"; $msg .= "The details we have for your clan are as follows:\n\n"; $msg .= $msgdetails; $msg .= "\nThe $leaguename Admin Team\n"; $msg .= "$subsiteurl\n\n"; $msg .= "--------------------------\n\n"; $msg .= "This registration was received from $cip - If this mail was not expected please contact $adminemail"; $to = "$toaddress"; $subject = "$leaguename - Registration received"; $replyto = "$adminemail"; $mailheaders = "From: $leaguename <$replyto> \n"; $mailheaders .= "Reply-To: $replyto\n"; $mailheaders .= "Bcc: $adminemail, imp@jolt.co.uk\n\n"; mail ($to, $subject, $msg, $mailheaders); make1(); echo "
Your request to join the $leaguename has been submitted. You should receive email confirmation of this shortly.

If you do not receive an email within 24 hours please contact us.

Please may you and your clan mates join $channel on irc.quakenet.org now
so that admins can contact you if needed (and to support the league).


"; make2(); } } elseif ($send == "no") { make1(); echo "We were unable to process your submission

"; echo "Please click the back button on your browser and fill in the following fields:

"; while (list($key, $value) = each($error_array)) { echo "
" . str_replace("_", " ", $value) . "

"; } make2(); } } function make1 () { global $theme, $leaguename, $bgcol; echo "
$leaguename Signup
"; } function make2 () { global $theme, $leaguename, $bgcol; echo "








"; } ?>