Recent Posts
None | 13 sec ago
Java | 15 sec ago
ASM (NASM) | 21 sec ago
None | 24 sec ago
None | 32 sec ago
None | 35 sec ago
Java | 38 sec ago
PHP | 44 sec ago
None | 50 sec ago
Python | 1 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By Byrne Reese on the 15th of Jul 2009 05:20:07 PM Download | Raw | Embed | Report
  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.     <$mt:include module="HTML Head"$>
  5.     <link rel="EditURI" type="application/rsd+xml" title="RSD" href="<$MTLink template="rsd"$>" />
  6.     <title><$MTBlogName encode_html="1"$></title>
  7. <script src="http://stats.thatcriticguy.com/?js" type="text/javascript"></script>
  8. </head>
  9. <body id="<$mt:BlogTemplateSetID$>" class="mt-main-index <$MTVar name="page_layout"$>">
  10.     <div id="container">
  11.         <div id="container-inner">
  12.             <$mt:include module="Banner Header"$>
  13.             <div id="content">
  14.                 <div id="content-inner">
  15.                     <div id="alpha">
  16.                         <div id="alpha-inner">
  17.  
  18. <mt:var name="currentp" value="0">
  19. <mt:var name="limit" value="10">
  20. <mt:var name="lastn" value="30"><?php
  21. $page = $_REQUEST['p'];
  22. if (!isset($page)) { $page = 1; }
  23. ?>
  24. <mt:Entries lastn="$lastn">
  25. <mt:setvarblock name="page"><mt:getvar name="__counter__" op="mod" value="$limit"></mt:setvarblock>
  26. <mt:if name="page" eq="1">
  27. <mt:setvar name="currentp" op="add" value="1">
  28. <mt:if name="currentp" gt="1"><?php } ?></mt:if>
  29. <?php if ($page == <$mt:var name="currentp"$>) { ?>
  30. </mt:if>
  31. <$mt:include module="Entry Summary"$>
  32. <mt:if name="__last__"><?php } ?></mt:if>
  33. </mt:Entries>
  34. <div id="pagination">
  35. <?php
  36. $limit = <mt:var name="limit">;
  37. $page_count = <mt:var name="currentp">;
  38. if ($page < $page_count) {
  39.  echo '<a id="next-page" href="?p='.($page + 1).'">&laquo; Older Posts</a>';
  40. }
  41. if ($page > 1) {
  42.   echo '<a id="prev-page" href="?p='.($page - 1).'">Newer Posts &raquo;</a>';
  43. }
  44. ?>
  45. </div>
  46.  
  47.                             <div class="content-nav">
  48.                                 <a href="<$mt:Link template="archive_index"$>">Archives</a>
  49.                             </div>
  50.                         </div>
  51.                     </div>
  52.                     <$MTInclude module="Sidebar"$>
  53.                 </div>
  54.             </div>
  55.             <$mt:include module="Banner Footer"$>
  56.         </div>
  57.     </div>
  58.     <div id="overlay"></div>
  59.     <div id="dialog"><div id="dialog-inner">
  60.         <div id="dialog-content"></div>
  61.         <a href="javascript:dialogClose();" id="dialog-close">Close</a>
  62.     </div></div>
  63. </body>
  64. </html>
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: