auth())) { header("HTTP/1.0 302 Redirect"); header("Location: denied.php"); exit(); } ?> CAcert Board Decisions getStatement("get decision"); $stmt->bindParam(":decision",$_REQUEST['motion']); if ($stmt->execute() && ($decision=$stmt->fetch())) { if ($decision['status'] == 0) { $stmt = $db->getStatement("del vote"); $stmt->bindParam(":voter",$user['id']); $stmt->bindParam(":decision",$_REQUEST['motion']); if ($stmt->execute()) { $stmt = $db->getStatement("do vote"); $stmt->bindParam(":voter",$user['id']); $stmt->bindParam(":decision",$_REQUEST['motion']); $stmt->bindParam(":vote",$_REQUEST['vote']); $notes="Direct Vote\n\n".$_SERVER['SSL_CLIENT_CERT']; $stmt->bindParam(":notes",$notes); if ($stmt->execute()) { ?> Your vote has been registered.
Back to motions vote_notify("Re: $tag - $title",$body,$tag); } else { ?> Your vote has NOT been registered.
Back to motions \n",$stmt->errorInfo()); ?> Your vote has NOT been registered.
Back to motions \n",$stmt->errorInfo()); ?> Your vote has NOT been registered.
Voting is alread closed!
Back to motions Your vote has NOT been registered.
Could not find the motion to be voted!
Back to motions This call is not a valid vote!
Back to motions