|
|
@ -132,7 +132,8 @@
|
|
|
|
`to`='".$_SESSION['_config']['notarise']['id']."',
|
|
|
|
`to`='".$_SESSION['_config']['notarise']['id']."',
|
|
|
|
`points`='".intval($_POST['points'])."',
|
|
|
|
`points`='".intval($_POST['points'])."',
|
|
|
|
`location`='".mysql_escape_string(stripslashes($_POST['location']))."',
|
|
|
|
`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)
|
|
|
|
if($_SESSION['profile']['admin'] == 1)
|
|
|
|
$query .= ",\n`method`='".mysql_escape_string(stripslashes($_POST['method']))."'";
|
|
|
|
$query .= ",\n`method`='".mysql_escape_string(stripslashes($_POST['method']))."'";
|
|
|
|
mysql_query($query);
|
|
|
|
mysql_query($query);
|
|
|
@ -143,7 +144,8 @@
|
|
|
|
`points`='2',
|
|
|
|
`points`='2',
|
|
|
|
`location`='".mysql_escape_string(stripslashes($_POST['location']))."',
|
|
|
|
`location`='".mysql_escape_string(stripslashes($_POST['location']))."',
|
|
|
|
`date`='".mysql_escape_string(stripslashes($_POST['date']))."',
|
|
|
|
`date`='".mysql_escape_string(stripslashes($_POST['date']))."',
|
|
|
|
`method`='Administrative Increase'";
|
|
|
|
`method`='Administrative Increase',
|
|
|
|
|
|
|
|
`when`=NOW()";
|
|
|
|
mysql_query($query);
|
|
|
|
mysql_query($query);
|
|
|
|
$_SESSION['profile']['points'] += 2;
|
|
|
|
$_SESSION['profile']['points'] += 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|