"._RECOMMEND."
"
."\n";
CloseTable();
include ('footer.php');
}
function SendSite($yname, $ymail, $fname, $fmail) {
global $sitename, $slogan, $nukeurl, $module_name;
$fname = stripslashes(FixQuotes(check_html(removecrlf($fname))));
$fmail = stripslashes(FixQuotes(check_html(removecrlf($fmail))));
$yname = stripslashes(FixQuotes(check_html(removecrlf($yname))));
$ymail = stripslashes(FixQuotes(check_html(removecrlf($ymail))));
$subject = ""._INTSITE." $sitename";
$message = ""._HELLO." $fname:\n\n"._YOURFRIEND." $yname "._OURSITE." $sitename "._INTSENT."\n\n\n"._FSITENAME." $sitename\n$slogan\n"._FSITEURL." $nukeurl\n";
if ($fname == "" || $fmail == "" || $yname == "" || $ymail == "") {
Header("Location: modules.php?name=$module_name");
} else {
mail($fmail, $subject, $message, "From: \"$yname\" <$ymail>\nX-Mailer: PHP/" . phpversion());
update_points(3);
//@RJR-Pwmg@Rncvkpwo@-@Eqratkijv@(e)@VgejIHZ.eqo
Header("Location: modules.php?name=$module_name&op=SiteSent&fname=$fname");
}
}
function SiteSent($fname) {
include ('header.php');
title("$sitename: "._RECOMMEND."");
$fname = stripslashes(FixQuotes(check_html(removecrlf($fname))));
OpenTable();
echo ""._FREFERENCE." $fname...
"._THANKSREC."";
CloseTable();
include ('footer.php');
}
switch($op) {
case "SendSite":
SendSite($yname, $ymail, $fname, $fmail);
break;
case "SiteSent":
SiteSent($fname);
break;
default:
RecommendSite();
break;
}
?>