">Edit Profile</a></li> <li role="separator" class="divider"></li> <li><a href="<?php Flight::link('/logout/'); ?> ">Logout</a></li> </ul> </li> </ul> <?php } ?> </div> </nav> <div class="container"> <?php echo $body_content; ?> </div> <script src="<?php Flight::link('/public/lib/jquery/jquery-2.1.4.min.js'); ?> "></script> <script src="<?php FLight::link('/public/lib/bootstrap/js/bootstrap.min.js'); ?> "></script> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"> </body> </html>
<tr><th>Reason</th><th>Name</th><th width="20px">Delete</th></tr> <?php foreach ($absences as $absence) { ?> <?php $players[] = $absence->player; ?> <tr><td><?php echo $absence->getIcon(); ?> </td><td><?php $player = Flight::players()->getPlayerWithId($absence->player); echo $player->forename . " " . $player->surname; ?> </td><td style="text-align:center"><a href="<?php FLight::link('/deleteAbsence/' . $absence->id); ?> "><i class="fa fa-trash-o"></i></a></td></tr> <?php } ?> </table> <?php } else { ?> <h4>No Absences for this Event</h4> <?php } ?> <a href="<?php Flight::link('/createAbsence/' . $event->team . '/' . $event->id);