<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="application/vnd.wap.xhtml+xml; charset=utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <title>XtGem tutorial</title>
</head>
<body><xt:blog tzone="0" format="Y-m-d" display="5" show_time="0" entries_per_page="10" comments_per_page="20" comments_sort="-1" entries_sort="-1" display_limit="0" display_symbol="" version="2" show_searchbox="1" t_back_to_posts="" t_comments="" t_comments_empty="" t_post_a_comment="" t_name="" t_comment="" t_post="" t_tags="" t_search="" t_created="" t_showing_tagged_posts="" t_no_entries_found="" t_no_search_results_found="" t_show_all_comments="" t_see_parent_thread="" t_show_all_replies="" t_show_replies="" t_reply="" t_posting_as="" t_comments_login_required="" t_login="" t_signup="" t_confirm_email="" t_report_spam="" />
    <div data-xtcontainer="container" class="xt_container"><xt:text>JABBERWOCKY<br />
<br />
Lewis Carroll<br />
<br />
(from Through the Looking Glass and What Alice Found There, 1872)<br />
<br />
`Twas brillig, and the slithy toves<br />
  Did gyre and gimble in the wabe:<br />
All mimsy were the borogoves,<br />
  And the mome raths outgrabe.<br />
<br />
&quot;Beware the Jabberwock, my son!<br />
  The jaws that bite, the claws that catch!<br />
Beware the Jubjub bird, and shun<br />
  The frumious Bandersnatch!&quot;<br />
<br />
He took his vorpal sword in hand:<br />
  Long time the manxome foe he sought --<br />
So rested he by the Tumtum tree,<br />
  And stood awhile in thought.<br />
<br />
And, as in uffish thought he stood,<br />
  The Jabberwock, with eyes of flame,<br />
Came whiffling through the tulgey wood,<br />
  And burbled as it came!<br />
<br />
One, two! One, two! And through and through<br />
  The vorpal blade went snicker-snack!<br />
He left it dead, and with its head<br />
  He went galumphing back.<br />
<br />
&quot;And, has thou slain the Jabberwock?<br />
  Come to my arms, my beamish boy!<br />
O frabjous day! Callooh! Callay!'<br />
  He chortled in his joy.<br />
<br />
`Twas brillig, and the slithy toves<br />
  Did gyre and gimble in the wabe;<br />
All mimsy were the borogoves,<br />
  And the mome raths outgrabe.</xt:text><br /><xt:code> <!--parser:xtscript-->
 #displays only active page, active page - 1 and active page + 1
 function paging_template $url;$page;$active_page;$total_pages;
     if $active_page == $page
         print <span>$page</span>&nbsp;
     else
         if ($page-1) == $active_page or ($page+1) == $active_page
             print <a href="$url">$page</a>&nbsp;
         endif
     endif
 endfunction
assign $a=<xt:filelist sort_type="updated" sort_dir="asc" folder="/manual/xtgem/pages" template="" per_page="5" />
print $a
 call paging_template $url=$url;$page=$page;$active_page=$active_page;$total_pages=$total_pages
call dump_vars
 <!--/parser:xtscript--> </xt:code>
    </div>
</body>
</html>
