Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
- <head>
- <$mt:include module="HTML Head"$>
- <link rel="EditURI" type="application/rsd+xml" title="RSD" href="<$MTLink template="rsd"$>" />
- <title><$MTBlogName encode_html="1"$></title>
- <script src="http://stats.thatcriticguy.com/?js" type="text/javascript"></script>
- </head>
- <body id="<$mt:BlogTemplateSetID$>" class="mt-main-index <$MTVar name="page_layout"$>">
- <div id="container">
- <div id="container-inner">
- <$mt:include module="Banner Header"$>
- <div id="content">
- <div id="content-inner">
- <div id="alpha">
- <div id="alpha-inner">
- <mt:var name="currentp" value="0">
- <mt:var name="limit" value="10">
- <mt:var name="lastn" value="30"><?php
- $page = $_REQUEST['p'];
- if (!isset($page)) { $page = 1; }
- ?>
- <mt:Entries lastn="$lastn">
- <mt:setvarblock name="page"><mt:getvar name="__counter__" op="mod" value="$limit"></mt:setvarblock>
- <mt:if name="page" eq="1">
- <mt:setvar name="currentp" op="add" value="1">
- <mt:if name="currentp" gt="1"><?php } ?></mt:if>
- <?php if ($page == <$mt:var name="currentp"$>) { ?>
- </mt:if>
- <$mt:include module="Entry Summary"$>
- <mt:if name="__last__"><?php } ?></mt:if>
- </mt:Entries>
- <div id="pagination">
- <?php
- $limit = <mt:var name="limit">;
- $page_count = <mt:var name="currentp">;
- if ($page < $page_count) {
- echo '<a id="next-page" href="?p='.($page + 1).'">« Older Posts</a>';
- }
- if ($page > 1) {
- echo '<a id="prev-page" href="?p='.($page - 1).'">Newer Posts »</a>';
- }
- ?>
- </div>
- <div class="content-nav">
- <a href="<$mt:Link template="archive_index"$>">Archives</a>
- </div>
- </div>
- </div>
- <$MTInclude module="Sidebar"$>
- </div>
- </div>
- <$mt:include module="Banner Footer"$>
- </div>
- </div>
- <div id="overlay"></div>
- <div id="dialog"><div id="dialog-inner">
- <div id="dialog-content"></div>
- <a href="javascript:dialogClose();" id="dialog-close">Close</a>
- </div></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement