auth(); if ($_REQUEST['withdrawl'] && $_REQUEST['confirm'] && $_REQUEST['id']) { if (!$user) { header("HTTP/1.0 302 Redirect"); header("Location: denied.php"); exit(); } $stmt = $db->getStatement("get decision"); $stmt->bindParam(":decision",$_REQUEST['id']); if ($stmt->execute() && ($decision=$stmt->fetch())) { $name = $user['name']; $tag = $decision['tag']; $title = $decision['title']; $content = $decision['content']; $body = <<notify("Re: $tag - $title - withdrawn",$body,$tag); } $stmt = $db->getStatement("close decision"); $status = -2; $stmt->bindParam(":status",$status); $stmt->bindParam(":decision",$_REQUEST['id']); $stmt->execute(); } ?> CAcert Board Decisions Show my outstanding votes
'; ?> getStatement("list decision"); $stmt->execute(array($_REQUEST['motion'])); } else { if ($user && $_REQUEST['unvoted']) { $stmt = $db->getStatement("list my unvoted decisions"); $stmt->bindParam(":id",$user['id']); } else { $stmt = $db->getStatement("list decisions"); } $stmt->bindParam(":page",$page); $stmt->execute(); } $items = 0; $id = -1; while ($row = $stmt->fetch()) { $items++; $id = $row['id']; ?>
Status Motion Actions
"> ".$row['due']." UTC"; break; case 1: echo "Approved
".$row['modified']." UTC"; break; case -1: echo "Declined
".$row['modified']." UTC"; break; case -2: echo "Withdrawn
".$row['modified']." UTC"; break; } ?>
'.$row['tag']; ?>


Due: UTC
Proposed: ( UTC)
Vote type:
Aye|Naye|Abstain: ||
getStatement("list votes"); $vstmt->execute(array($row['id'])); echo "Votes:
"; while ($vrow = $vstmt->fetch()) { echo "".$vrow['name'].": ".$state[$vrow['vote']+1]."
"; } } else { echo 'Show Votes
'; } ?>
 
  • New Motion
  • '); ?>
    Motion Withdrawn