45 lines
1.7 KiB
PHP
45 lines
1.7 KiB
PHP
<? /*
|
|
Copyright (C) 2004 by Duane Groth <duane_at_CAcert_dot_org>
|
|
|
|
This file is part of CAcert.
|
|
|
|
CAcert has been released under the CAcert Source License
|
|
which can be found included with these source files or can
|
|
be downloaded from the internet from the following address:
|
|
http://www.cacert.org/src-lic.php
|
|
|
|
CAcert is distributed WITHOUT ANY WARRANTY; without even
|
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
PARTICULAR PURPOSE. See the License for more details.
|
|
*/ ?>
|
|
<?
|
|
include("../includes/account.php");
|
|
|
|
if($id == 6)
|
|
{
|
|
include_once("../www/account/6.php");
|
|
} else if($id == 19) {
|
|
include_once("../www/account/19.php");
|
|
} else if($oldid == 40 && $process != "" && $_POST['support'] != "yes") {
|
|
$message = "From: $who\nEmail: $email\nSubject: $subject\n\nMessage:\n".$message;
|
|
|
|
sendmail("support@cacert.org", "[CAcert.org] ".$subject, $message, $email, "returns@cacert.org");
|
|
showheader(_("Welcome to CAcert.org"));
|
|
echo _("Your message has been sent.");
|
|
showfooter();
|
|
exit;
|
|
} else if($oldid == 40 && $process != "" && $_POST['support'] == "yes") {
|
|
$message = "From: $who\nEmail: $email\nSubject: $subject\n\nMessage:\n".$message;
|
|
|
|
sendmail("cacert-support@lists.cacert.org, $email", "[website form email]: ".$subject, $message, "website-form@cacert.org", $email);
|
|
|
|
showheader(_("Welcome to CAcert.org"));
|
|
echo _("Your message has been sent to the general support list.");
|
|
showfooter();
|
|
exit;
|
|
} else {
|
|
showheader(_("My CAcert.org Account!"));
|
|
includeit($id, "account");
|
|
showfooter();
|
|
}
|
|
?>
|