2004-10-16 00:28:17 +00:00
|
|
|
<? /*
|
2005-05-23 01:53:59 +00:00
|
|
|
Copyright (C) 2004-2005 by Duane Groth <duane_at_CAcert_dot_org>
|
2004-10-16 00:28:17 +00:00
|
|
|
|
|
|
|
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") {
|
2005-06-12 03:51:48 +00:00
|
|
|
$who = stripslashes($who);
|
|
|
|
$email = stripslashes($email);
|
|
|
|
$subject = stripslashes($subject);
|
|
|
|
$message = stripslashes($message);
|
|
|
|
|
2004-10-16 00:28:17 +00:00
|
|
|
$message = "From: $who\nEmail: $email\nSubject: $subject\n\nMessage:\n".$message;
|
|
|
|
|
2005-05-23 01:53:59 +00:00
|
|
|
sendmail("support@cacert.org", "[CAcert.org] ".$subject, $message, $email, $email, "", "CAcert Website");
|
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") {
|
2005-06-12 03:51:48 +00:00
|
|
|
$who = stripslashes($who);
|
|
|
|
$email = stripslashes($email);
|
|
|
|
$subject = stripslashes($subject);
|
|
|
|
$message = stripslashes($message);
|
|
|
|
|
2004-11-30 23:31:18 +00:00
|
|
|
$message = "From: $who\nEmail: $email\nSubject: $subject\n\nMessage:\n".$message;
|
|
|
|
|
2005-05-23 01:53:59 +00:00
|
|
|
sendmail("cacert-support@lists.cacert.org, $email", "[website form email]: ".$subject, $message, "website-form@cacert.org", "cacert-support@lists.cacert.org, $email", "", "CAcert Website");
|
2004-12-09 01:48:16 +00:00
|
|
|
|
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;
|
2005-03-12 19:40:24 +00:00
|
|
|
} else if($id == 51 && $_GET['img'] == "show") {
|
|
|
|
$query = "select * from `tverify` where `id`='".$_GET['photoid']."'";
|
|
|
|
$row = mysql_fetch_assoc(mysql_query($query));
|
|
|
|
readfile($row['photoid']);
|
2004-10-16 00:28:17 +00:00
|
|
|
} else {
|
|
|
|
showheader(_("My CAcert.org Account!"));
|
|
|
|
includeit($id, "account");
|
|
|
|
showfooter();
|
|
|
|
}
|
|
|
|
?>
|