|
|
@ -156,7 +156,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
if($oldid == 6)
|
|
|
|
if($oldid == 6)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if($_POST['certify'] != 1 || $_POST['assertion'] != 1 || $_POST['rules'] != 1)
|
|
|
|
if($_POST['assertion'] != 1 || $_POST['rules'] != 1)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
$id = $oldid;
|
|
|
|
|
|
|
|
unset($oldid);
|
|
|
|
|
|
|
|
$_SESSION['_config']['error'] = _("You failed to check all boxes to validate your adherence to the rules and policies of CAcert");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if($_POST['certify'] != 1 && $_SESSION['profile']['admin'] != 1)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$id = $oldid;
|
|
|
|
$id = $oldid;
|
|
|
|
unset($oldid);
|
|
|
|
unset($oldid);
|
|
|
@ -164,7 +171,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if($oldid == 6)
|
|
|
|
if($oldid == 6 && $_SESSION['profile']['admin'] != 1)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if($_POST['location'] == "" || $_POST['date'] == "")
|
|
|
|
if($_POST['location'] == "" || $_POST['date'] == "")
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -193,6 +200,8 @@
|
|
|
|
`points`='".intval($_POST['points'])."',
|
|
|
|
`points`='".intval($_POST['points'])."',
|
|
|
|
`location`='".mysql_escape_string($_POST['location'])."',
|
|
|
|
`location`='".mysql_escape_string($_POST['location'])."',
|
|
|
|
`date`='".mysql_escape_string($_POST['date'])."'";
|
|
|
|
`date`='".mysql_escape_string($_POST['date'])."'";
|
|
|
|
|
|
|
|
if($_SESSION['profile']['admin'] == 1)
|
|
|
|
|
|
|
|
$query .= ",\n`method`='".mysql_escape_string($_POST['method'])."'";
|
|
|
|
mysql_query($query);
|
|
|
|
mysql_query($query);
|
|
|
|
|
|
|
|
|
|
|
|
if($_SESSION['_config']['notarise']['language'] != "")
|
|
|
|
if($_SESSION['_config']['notarise']['language'] != "")
|
|
|
|