/*
+------------------------------------------------------------+
| |
| Arcadwy Arcade Script |
| ======================================== |
| |
| by Arcadwy |
| (c) 2009 Arcadwy Web Development |
| http://www.arcadwy.com |
| Email : support@arcadwy.com |
| Completed on jan , 2009 |
| |
| ======================================== |
| |
+------------------------------------------------------------+
*/
include "init.php";
$title = $settings['set_index_title'];
$header_ad = top_ad();
$left_ad = left_ad();
$right_ad = right_ad();
$links = get_links(10);
$head_message = "
$header_ad";
if($member) {
if($member['user_id'] == 1) $admin_link = "» Admin Panel
";
else
$admin_link = "";
if($member['user_status'] == "N")
$head_message = "
Validate Your Account !
You have not yet validated your account, please check your email and follow
the link in order to complete your registeration.
Click here to validate your account.
|
";
else
$head_message = $message;
$temp = template("left_logged");
eval("\$user_info = \"$temp\";");
} else {
$temp = template("left_login");
eval("\$user_info = \"$temp\";");
}
if(!isset($_GET['action'])) {
$temp = template("con_form");
} else {
$from = "From: \"$settings[set_site_name] Contact\" <$_POST[email]>";
$to = "$settings[set_admin_email]";
$body = "By $_POST[name]\n\n$_POST[message] \n\non ".date("d/m/Y")." at ".date("h:i:s");
@mail($to, "Email from secWays Contact Form", $body, $from) or
die("
Sorry our SMTP is not working properly, pelase do send email to '$to', from your inbox!");
$temp = "
Thank You !
We have received your email and we will contact you shortly.";
}
eval("\$center = \"$temp\";");
$temp = template("header");
eval("\$header = \"$temp\";");
$cats = get_cats();
$stats = get_stats();
$temp = template("left");
eval("\$left = \"$temp\";");
$temp = template("right");
eval("\$right = \"$temp\";");
$temp = template("footer");
eval("\$footer = \"$temp\";");
include "./header.php";
mysql_close();
?>