if(isset($_GET['id']) && $_GET['id']<>""){$_id=$_GET['id'];}else{$_id=1;}
if(isset($_POST['mail_post']) && $_POST['mail_post']=="true"){
$from="";
$from .="Content-Type:text/plain\r\n" ;
$from .= "From: szujozoltan\r\n" ;
$from .= "Reply-to: ".$_POST['send_mail']."\r\n";
$mail_content="";
$mail_content .= "FELAD� ".$_POST['send_mail']."\r\n\r\n";
$mail_content .= $_POST['mail_body'];
mail("szujo@szujozoltan.hu", "www.kreasport.hu", $mail_content, $from);
exit(header("Location: index.php"));
}
?>
KreaSport2