//****************************************
// Galactic Surf - index.htm
// VERSION: TEST
//****************************************
header("HTTP/1.0 200 OK");
header("Content-type: text/html; charset=Windows-1252");
//#################################################################################################
// Include all classes and Global Constants
//#################################################################################################
include_once("classes/globalConstants.php");
include_once("classes/myDatabaseClass.php");
include_once("classes/myDebugClass.php");
include_once("classes/clsFrontendUDP.php");
include_once("classes/clsHTML.php");
include_once("classes/fnLibrary.php");
include_once("classes/EnDecryptText.php");
include_once("classes/clscontactform.php");
//#################################################################################################
// Set variables so we can access the classes if they exist
//#################################################################################################
if (class_exists('clsFrontendUDP'))
{
$objFrontEnd = new clsFrontendUDP();
}
if (class_exists('clsHTML'))
{
$objHTML = new clsHTML();
}
if (class_exists('clsFrontendUDP'))
{
$objFrontendUDP = new clsFrontendUDP();
}
$objContact = new ContactUsPage();
$strContactMessage = "";
$btnSubmit = "";
if(isset($_POST["btnSubmit"])){
$btnSubmit = $_POST["btnSubmit"];
}
if($btnSubmit != ""){
$objContact->setResultsFromForm();
if(!$objContact->validateForm()){
$arrMissingFields = $objContact->getMissingFields();
$strContactMessage .= "Please correct the following
\n";
foreach($arrMissingFields as $strMissingField){
$strContactMessage .= $strMissingField."
\n";
}
}else{
if($objContact->sendForm()){
header("Location: ContactRecieved.htm");
}else{
$strContactMessage .= "Form Failed
\n";
}
}
}else{
$strContactMessage .= '
'."\n";
}
?>
|
|
Entertainment News: |
include_once("rssReader/incNewsTicker.php"); ?> |
|
include_once("phpIncludes/incMenu.php"); ?> |
How to contact us |
 |
Please note: All * fields are mandatory.
Galactic Surf is your portal to the Stars, bringing you the latest celebrity gossip, movie reviews, music events, and more.
We would love to hear what you think, your suggestions, sites you think should be included, the time you bumped into a celebrity.
Go on, tell us every juicy little bit.
|
| | |