diff --git a/pages/wot/1.php b/pages/wot/1.php index 0e8a519..0c442bd 100644 --- a/pages/wot/1.php +++ b/pages/wot/1.php @@ -63,28 +63,24 @@ if(intval($_GET['ccid']) <= 0) { echo "\n\n\n
\n"; } elseif(intval($_GET['ccid']) > 0 && intval($_GET['regid']) <= 0 && intval($_GET['locid']) <= 0) { echo "\n\n\n\n\n
\n"; } elseif(intval($_GET['regid']) > 0 && intval($_GET['locid']) <= 0) { diff --git a/pages/wot/5.php b/pages/wot/5.php index d4e74be..39dc402 100644 --- a/pages/wot/5.php +++ b/pages/wot/5.php @@ -13,6 +13,13 @@ PARTICULAR PURPOSE. See the License for more details. */ ?>
ERROR:
+ +
+ + +"> +
+
@@ -20,7 +27,11 @@ + + + + diff --git a/www/wot.php b/www/wot.php index 8c6c853..0b6e341 100644 --- a/www/wot.php +++ b/www/wot.php @@ -37,8 +37,24 @@ $id = 5; } + if($oldid == 5 && $_POST['reminder'] != "") + { + $body = "This is a short reminder that you filled out forms to become trusted with CAcert.org, and ".$_SESSION['profile']['fname']." (".$_SESSION['profile']['email'].") has attempted to issue you points. Please create your account at http://www.cacert.org as soon as possible and then notify ".$_SESSION['profile']['fname']." so that the points can be issued.\n\n"; + $body .= "Best regards"."\n"; + $body .= "CAcert Support Team"; + + sendmail($_POST['email'], "[CAcert.org] Reminder Notice", $body, "support@cacert.org", "returns@cacert.org", "", "CAcert Website"); + + $_SESSION['_config']['remindersent'] = 1; + $_SESSION['_config']['error'] = _("A reminder notice has been sent."); + + $id = $oldid; + unset($oldid); + } + if($oldid == 5) { + $_SESSION['_config']['noemailfound'] = 0; $query = "select * from `users` where `email`='".mysql_escape_string(stripslashes($_POST['email']))."'"; $res = mysql_query($query); if(mysql_num_rows($res) != 1) @@ -46,6 +62,8 @@ $id = $oldid; unset($oldid); $_SESSION['_config']['error'] = _("I'm sorry, there was no email matching what you entered in the system. Please double check your information."); + if(maxpoints() >= 150) + $_SESSION['_config']['noemailfound'] = 1; } else { $_SESSION['_config']['notarise'] = mysql_fetch_assoc($res); }
:
">