if(isset($_POST["subject"])){
$to = "admin@sexiestfilipinas.com";
$strbody = "Email: ". $_POST["email"]."\r\n";
$strbody.= "Subject: ". $_POST["subject"]."\r\n";
$strbody.= "Messsage: \r\n". $_POST["message"]."\r\n";
@mail($to,"New message from sexiestfilipinas.com",$strbody,"FROM: admin@sexiestfilipinas.com");
header("location:index.php");
exit();
}
/*
(C) AEwebworks Software Development Ltd., 2002-2004
IMPORTANT: This is a commercial software product and any kind of using it must agree
to the AEwebworks Software Development Ltd. license agreement. It can be found at
http://www.aewebworks.com/license.htm
This notice may not be removed from the source code.
*/
require_once( "inc/header.inc.php" );
require_once( "$dir[inc]db.inc.php" );
require_once( "$dir[inc]design.inc.php" );
require_once( "$dir[inc]profiles.inc.php" );
// --------------- page variables and login
$_page[name_index] = 16;
if ( !( $logged[admin] = member_auth( 1, false ) ) )
if ( !( $logged[member] = member_auth( 0, false ) ) )
$logged[aff] = member_auth( 2, false );
$_page[header] = _t( "_CONTACT_H" );
//$_page[header_text] = _t( "_CONTACT_H1" );
$_page[header_text] = ('g4' != $tmpl) ? _t( "_CONTACT_H1" ) : "

|
|