Advertisement
Guest User

Byrne Reese

a guest
Jul 15th, 2009
437
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.35 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2.    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
  4. <head>
  5.     <$mt:include module="HTML Head"$>
  6.     <link rel="EditURI" type="application/rsd+xml" title="RSD" href="<$MTLink template="rsd"$>" />
  7.     <title><$MTBlogName encode_html="1"$></title>
  8. <script src="http://stats.thatcriticguy.com/?js" type="text/javascript"></script>
  9. </head>
  10. <body id="<$mt:BlogTemplateSetID$>" class="mt-main-index <$MTVar name="page_layout"$>">
  11.     <div id="container">
  12.         <div id="container-inner">
  13.             <$mt:include module="Banner Header"$>
  14.             <div id="content">
  15.                 <div id="content-inner">
  16.                     <div id="alpha">
  17.                         <div id="alpha-inner">
  18.  
  19. <mt:var name="currentp" value="0">
  20. <mt:var name="limit" value="10">
  21. <mt:var name="lastn" value="30"><?php
  22. $page = $_REQUEST['p'];
  23. if (!isset($page)) { $page = 1; }
  24. ?>
  25. <mt:Entries lastn="$lastn">
  26. <mt:setvarblock name="page"><mt:getvar name="__counter__" op="mod" value="$limit"></mt:setvarblock>
  27. <mt:if name="page" eq="1">
  28. <mt:setvar name="currentp" op="add" value="1">
  29. <mt:if name="currentp" gt="1"><?php } ?></mt:if>
  30. <?php if ($page == <$mt:var name="currentp"$>) { ?>
  31. </mt:if>
  32. <$mt:include module="Entry Summary"$>
  33. <mt:if name="__last__"><?php } ?></mt:if>
  34. </mt:Entries>
  35. <div id="pagination">
  36. <?php
  37. $limit = <mt:var name="limit">;
  38. $page_count = <mt:var name="currentp">;
  39. if ($page < $page_count) {
  40.  echo '<a id="next-page" href="?p='.($page + 1).'">&laquo; Older Posts</a>';
  41. }
  42. if ($page > 1) {
  43.   echo '<a id="prev-page" href="?p='.($page - 1).'">Newer Posts &raquo;</a>';
  44. }
  45. ?>
  46. </div>
  47.  
  48.                             <div class="content-nav">
  49.                                 <a href="<$mt:Link template="archive_index"$>">Archives</a>
  50.                             </div>
  51.                         </div>
  52.                     </div>
  53.                     <$MTInclude module="Sidebar"$>
  54.                 </div>
  55.             </div>
  56.             <$mt:include module="Banner Footer"$>
  57.         </div>
  58.     </div>
  59.     <div id="overlay"></div>
  60.     <div id="dialog"><div id="dialog-inner">
  61.         <div id="dialog-content"></div>
  62.         <a href="javascript:dialogClose();" id="dialog-close">Close</a>
  63.     </div></div>
  64. </body>
  65. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement