cacert-webdb/www/account.php

46 lines
1.7 KiB
PHP
Raw Normal View History

2004-10-16 00:28:17 +00:00
<? /*
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");
2004-11-30 23:31:18 +00:00
} else if($oldid == 40 && $process != "" && $_POST['support'] != "yes") {
2004-10-16 00:28:17 +00:00
$message = "From: $who\nEmail: $email\nSubject: $subject\n\nMessage:\n".$message;
2004-12-09 01:48:16 +00:00
sendmail("support@cacert.org", "[CAcert.org] ".$subject, $message, $email, "returns@cacert.org");
2004-10-16 00:28:17 +00:00
showheader(_("Welcome to CAcert.org"));
echo _("Your message has been sent.");
showfooter();
exit;
2004-11-30 23:31:18 +00:00
} else if($oldid == 40 && $process != "" && $_POST['support'] == "yes") {
$message = "From: $who\nEmail: $email\nSubject: $subject\n\nMessage:\n".$message;
2004-12-09 01:48:16 +00:00
sendmail("cacert-support@lists.cacert.org, $email", "[website form email]: ".$subject, $message, "website-form@cacert.org", $email);
2004-11-30 23:31:18 +00:00
showheader(_("Welcome to CAcert.org"));
echo _("Your message has been sent to the general support list.");
showfooter();
exit;
2004-10-16 00:28:17 +00:00
} else {
showheader(_("My CAcert.org Account!"));
includeit($id, "account");
showfooter();
}
?>