diff --git a/www/stats.php b/www/stats.php
index 379b33e..6aa1b55 100644
--- a/www/stats.php
+++ b/www/stats.php
@@ -46,6 +46,10 @@
=_("Assurers")?>: |
=number_format(mysql_num_rows(mysql_query("select * from notary group by `to` having sum(`points`) >= 100")))?> |
+
+ =_("Assurances Made")?>: |
+ =number_format(mysql_num_rows(mysql_query("select * from `notary`")))?> |
+
showfooter(); ?>
diff --git a/www/wot.php b/www/wot.php
index 95f7fcf..5ab422b 100644
--- a/www/wot.php
+++ b/www/wot.php
@@ -132,7 +132,8 @@
`to`='".$_SESSION['_config']['notarise']['id']."',
`points`='".intval($_POST['points'])."',
`location`='".mysql_escape_string(stripslashes($_POST['location']))."',
- `date`='".mysql_escape_string(stripslashes($_POST['date']))."'";
+ `date`='".mysql_escape_string(stripslashes($_POST['date']))."',
+ `when`=NOW()";
if($_SESSION['profile']['admin'] == 1)
$query .= ",\n`method`='".mysql_escape_string(stripslashes($_POST['method']))."'";
mysql_query($query);
@@ -143,7 +144,8 @@
`points`='2',
`location`='".mysql_escape_string(stripslashes($_POST['location']))."',
`date`='".mysql_escape_string(stripslashes($_POST['date']))."',
- `method`='Administrative Increase'";
+ `method`='Administrative Increase',
+ `when`=NOW()";
mysql_query($query);
$_SESSION['profile']['points'] += 2;
}