?> <div class="container"> <div class="row"> <div class="9u"> <section> <table id="readityourself" class="marginauto" summary="List of Read It Yourself Pages"> <thead> <tr> <th>Date</th> <th>Title</th> </tr> </thead> <tbody> <?php $articles = Article::findArticle($_SESSION['username']); if ($articles != null && count($articles) > 0) { foreach ($articles as $article) { echo "<tr><th>" . $article->getDate() . "</th><td><a href='readityourself.php?\n url=" . urlencode($article->getUrl()) . "' title='" . $article->getTitle() . "'>" . $article->getTitle() . "</a></td></tr>"; } } ?> </tbody> </table> </section> </div> </div> </div> <script> window.onload = function() { var sales = new TableSort("readityourself");