<p>You can print Do Not Hack stickers for your current storage projects.</p> <h2>Your current projects</h2> <form method="post"> <table class="table table-striped table-bordered"> <thead> <tr><th>Project</th><th>State</th><th>Print</th> </thead> <tbody> <?php foreach ($projects as $project) { ?> <tr> <th><?php echo $project->prepareName(); ?> </th> <td><?php echo $project->getState(); ?> </td> <td><?php if ($project->getStateId() == 2 or $project->getStateId() == 4) { ?> <button name="print" value="<?php echo $project->getId(); ?> " class="btn btn-primary"> <span class="glyphicon glyphicon-print"></span> Print