include ROOT_PATH . "views/footer.php"; ?> </div> <!-- #wrapper<!-- #content --> <!--data for js features.--> <input type="hidden" id="isAdmin" value="<?php echo $user->isAdmin(); ?> "/> <input type="hidden" id="userId" value="<?php echo $user->getId(); ?> "/> <input type="hidden" id="isBtnAddStudentPrsd" value="<?php echo isBtnAddStudentPrsd(); ?> "/> <?php if (isset($_POST['tutorId'])) { ?> <input type="hidden" id="tutorIdServerSide" value="<?php echo $_POST['tutorId']; ?> "/> <?php } if (isset($_POST['courseId'])) { ?> <input type="hidden" id="courseIdServerSide" value="<?php echo $_POST['courseId'];
</div> <div class="modal-body"> <div class="portlet"> <?php if (empty($errors) === false) { ?> <div class="alert alert-danger"> <a class="close" data-dismiss="alert" href="#" aria-hidden="true">×</a> <strong>Oh snap!</strong><?php echo '<p>' . implode('</p><p>', $errors) . '</p>'; ?> </div> <?php } else { if (isBtnAddStudentPrsd()) { ?> <div class="alert alert-success"> <a class="close" data-dismiss="alert" href="#" aria-hidden="true">×</a> <strong>Student successfully created!</strong> <br/> </div> <?php } } ?> <div class="portlet-content"> <div class="row">