<div class="alert alert-dismissable alert-danger"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> <h4> 抱歉! </h4> ' . $data['msg'] . '! </div> '; } else { echo ' <div class="alert alert-dismissable alert-danger"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> <h4> 抱歉! </h4> 未知错误! </div> '; } } } else { $student = new infoQuery($_SESSION['sid'], $_SESSION['password']); $student->getSmateResult($_POST); } ?> </div> </div> <?php include 'footer.php'; ?> </div> </body> </html>