Welcome to Chernarus

Thumbnail for the DayZ HQ Chernarus map [email protected]'; if($correction == 'submitted') { $messages = array(); // Check email validity if(!preg_match("/^[\w\+\-.~]+\@[\-\w\.\!]+$/", $email)) { $messages[] = 'That is not a valid email address.'; $status = 'bad'; } // Check what's here if(preg_match('/^\s*$/', $whatsHere) || $whatsHere == NULL) { $messages[] = 'You didn\'t pick anything to correct.'; $status = 'bad'; } // Check location if(preg_match('/^\s*$/', $location) || $location == NULL) { $messages[] = 'The location is missing.'; $status = 'bad'; } if(count($messages)) { $status = 'bad'; } else { // Send the correction $body = "LOCATION (LAT/LON): " . $location . "\nITEM: " . $whatsHere . "\nCOMMENTS: " . $comments . "\nEMAIL: " . $email . "\nIP (THROUGH CF): " . $_SERVER['HTTP_CF_CONNECTING_IP'] . "\nTIME: " . date('F j, Y, g:i a'); mail($recipient,'DayZ HQ map correction (' . $whatsHere . ')',$body,"From: Web Form <$email>\r\n" ."Reply-To: Submitter <$email>\r\n"); $messages[] = 'Your correction has been sent. Thank you!'; $messages[] = 'Please allow some time for it to be verified.'; $status = 'good'; } ?>
' . $message . '

'; } ?>
Towns
Structures
Landmarks
Vehicle Spawns
View Options
Toggle Sidebar