<?php $xclams = XclamManager::GetXclams(1); $xclams_count = count($xclams); $comments = array(); for ($i = 0; $i < $xclams_count; $i++) { $comments[$i] = CommentManager::GetComments(EntryType::XCLAM, $xclams[$i]->GetId()); } ?> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Nguyễn Thành Dũng's Website</title> <link rel="stylesheet" type="text/css" href="style/xclams.css"> <link rel="shortcut icon" href="images/icon.png"> </head> <body> <div id="logo"> <a href="index.php"><img alt="Logo" src="images/logo.png"></a> </div> <div id="account"> <?php if ($loggedUser) { echo "<p><b>" . $loggedUser->GetDisplayName() . "</b> | <a href='account.php?action=logout&source=xclams'>Log out</a></p>";