home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / FAQ / discus_admin_1357211388 / backups / tables2.tmpl.00 < prev   
Text File  |  2009-11-06  |  64KB  |  1,316 lines

  1. # DISCUS -- SKIN FILE:  tables2.tmpl
  2. # -------------------------------------------------------------------------------
  3. # Originally authored by Kevin W. Paulisse, DiscusWare, LLC
  4. # Copyright (c) 2001, DiscusWare, LLC, all rights reserved
  5. #
  6. # Do not edit or modify this file unless you know what you're doing, AND
  7. # you've read the administration instructions for the Appearance Manager first.
  8. # -------------------------------------------------------------------------------
  9. <!--BEGIN-->
  10. ################################################################################
  11. # PAGE SECTION -- THIS SECTION CONTROLS ALL SUBTOPIC/MESSAGE PAGES              #
  12. #################################################################################
  13. <#part "page"#>
  14. <#define $pagetitle = "<#maxchar 40/... "$head->{me_name}"#>"#>
  15. #**************************************************#
  16. # \/ DO NOT EDIT ANYTHING BETWEEN THESE MARKERS \/ #
  17. #**************************************************#
  18. <#if $general->{skip_headers} == 0#>
  19.     <html>
  20.     $pginfo->{headers_asstring}
  21.     <head>
  22.     <title>$title: $head->{me_name}</title>
  23.     <meta http-equiv="pragma" content="no-cache">
  24.     <meta name="description" content="$pginfo->{meta_description}">
  25.     <meta name="keywords" content="$pginfo->{meta_keywords}">
  26.     <meta name="robots" content="$pginfo->{meta_robots}">
  27.     <script language="javascript">
  28.     <!-- ;
  29.         function initpage () {
  30.           if (document.userpass) {
  31.             if (document.userpass.username) {
  32.               if (document.userpass.username.value == "") {
  33.                 document.userpass.username.value = readcookie("user$COOKIE_ID")
  34.               }
  35.             }
  36.             if (document.userpass.passwd) {
  37.               if (document.userpass.passwd.value == "") {
  38.                 document.userpass.passwd.value = readcookie("rpwd$COOKIE_ID")
  39.               }
  40.             }
  41.           }
  42.         <#if $GLOBAL_OPTIONS{cookie_for_new} == 1#>
  43.               cookieinit();
  44.             }
  45.             <#insert part ($head->{topic_number}) "cookie_icons"#>
  46.             if (document.images) {
  47.                 <#foreach $subtopic (@subtopics)#>
  48.                     <#if $subtopic->{lastmod} ne ""#>
  49.                         if (($subtopic->{lastmod} - server_gmt_offset) > compare_time) {
  50.                             document.img$subtopic->{number}.src = img_new.src;
  51.                         }
  52.                     <#endif#>
  53.                 <#endloop#>
  54.             }
  55.         <#endif#>
  56.         }
  57.         <#insert part ($head->{topic_number}) "readcookie"#>
  58.     // end hide -->
  59.     </script>
  60.     <#define $onLoadJS = "initpage()"#>
  61.     <#insert part ($head->{topic_number}) "dynamic_top"#>
  62.     <a name="MT"></a>
  63. <#endif#>
  64. #**************************************************#
  65. # /\ DO NOT EDIT ANYTHING BETWEEN THESE MARKERS /\ #
  66. #**************************************************#
  67. #--------------------------------------------------#
  68. # Navigation Bar                                   #
  69. #--------------------------------------------------#
  70. <#if $general->{skip_nav_bar} == 0#>
  71.     <table border=0 cellpadding=4 cellspacing=0 width="100%">
  72.     <tr bgcolor="$color->{alt_1}">
  73.     <td valign=top align=left width="80%"><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>
  74.     <#insert part ($head->{topic_number}) "navbar"#>
  75.     $head->{me_name}
  76.     </b></font></td>
  77.     <td valign=top align=right width="20%"><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>
  78.     <#if $head->{me_number} != $head->{topic_number}#>
  79.         « <a href="$script_url/discus.$cgi_extension?pg=prev&topic=$head->{topic_number}&page=$head->{me_number}"><font color="$color->{alt_2}">$L{ARROW_PREVIOUS}</font></a>
  80.         <a href="$script_url/discus.$cgi_extension?pg=next&topic=$head->{topic_number}&page=$head->{me_number}"><font color="$color->{alt_2}">$L{ARROW_NEXT}</font></a> »
  81.     <#else#>
  82.          
  83.     <#endif#>
  84.     </b></font></td>
  85.     </tr></table>
  86. <#endif#>
  87. #--------------------------------------------------#
  88. # Announcement Message                             #
  89. #--------------------------------------------------#
  90. <#if $head->{param} =~ match(Announce)#>
  91.     <p>
  92.     <!--Announcement-->
  93.     $pginfo->{announcement}
  94.     <!--/Announcement-->
  95.     </p>
  96. <#endif#>
  97. #--------------------------------------------------#
  98. # List of Subtopics                                #
  99. #--------------------------------------------------#
  100. <#if $head->{param} =~ match(Sublist)#>
  101.     <p>
  102.     <table border=0 cellspacing=0 cellpadding=1 width="100%" bgcolor="$color->{alt_11}"><tr><td>
  103.     <table border=0 cellpadding=4 cellspacing=1 width="100%">
  104.     <tr bgcolor="$color->{alt_1}">
  105.     <td><font size=1> </font></td>
  106.     <td><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>$L{THREAD}</b></font></td>
  107.     <td><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>$L{LAST_POSTER}</b></font></td>
  108.     <td align=center><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>$L{SKIN_POSTS_WORD}</b></font></td>
  109.     <td align=center><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>$L{SKIN_PAGES_WORD}</b></font></td>
  110.     <td align=center><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>$L{LAST_POST}</b></font></td>
  111.     </tr>
  112.     <#if $general->{subtopic_raw} == 1#>
  113.         $pginfo->{sublist_raw}
  114.     <#else#>
  115.         <#foreach $subtopic (@subtopics)#>
  116.             <#if $subtopic->{type} == 0#>
  117.                 ## ----- \/ Do not change \/ -----
  118.                 <!--Top: $subtopic->{number}-->
  119.                 ## ----- /\ Do not change /\ -----
  120.                 <tr>
  121.                 <td nowrap valign=top bgcolor="$color->{bgcolor}">\
  122.                 <#if $GLOBAL_OPTIONS{cookie_for_new} == 1#>
  123.                     <img name="img$subtopic->{number}" height=$new_img_height width=$new_img_width border=0 src="$icon_url/tree_j.gif" alt="">\
  124.                 <#endif#>
  125.                 <#if $GLOBAL_OPTIONS->{subtopic_icons}#>
  126.                     <#define $icon = "$@subtopic_icons->{url:name="$subtopic->{property_emot}"}"#>
  127.                     <#if $icon eq ""#>
  128.                         <img src="$icon_url/tree_j.gif" height=16 width=20>\
  129.                     <#else#>
  130.                         <#define $height = "$@subtopic_icons->{height:name="$subtopic->{property_emot}"}"#>
  131.                         <#define $width = "$@subtopic_icons->{width:name="$subtopic->{property_emot}"}"#>
  132.                         <img src="$icon" height="$height" width="$width" alt="">\
  133.                         <#define $newwidth = "20"#>
  134.                         <#math: $newwidth -= "$width"#>
  135.                         <#if $newwidth > 0#>
  136.                             <img src="$icon_url/tree_j.gif" height=1 width="$newwidth">\
  137.                         <#endif#>
  138.                     <#endif#>
  139.                 <#endif#>
  140.                 <img src="$icon_url/$subtopic->{icon}.gif" height=16 width=20></td>\
  141.                 <#if $noqm == 0#>
  142.                     <td width=80% valign=top bgcolor="$color->{alt_5}"><font face="$color->{face}" size="$color->{size}"><a href="<#if $general->{secure}#>$authorize_reader?lm=$subtopic->{lastmod}&file=/$head->{topic_number}/$subtopic->{number}.$ext<#else#>$message_url/$head->{topic_number}/$subtopic->{number}.$ext?$subtopic->{lastmod}<#endif#>"><#maxchar 70/... "$subtopic->{name}"#></a>\
  143.                 <#else#>
  144.                     <td width=80% valign=top bgcolor="$color->{alt_5}"><font face="$color->{face}" size="$color->{size}"><a href="<#if $general->{secure}#>$authorize_reader?file=<#else#>$message_url<#endif#>/$head->{topic_number}/$subtopic->{number}.$ext"><#maxchar 70/... "$subtopic->{name}"#></a>\
  145.                 <#endif#>
  146.                     {#if $subtopic->{descr} ne ""#}<br><font size=1><!--Descr-->$subtopic->{descr}<!--/Descr--></font>{#endif#}</font></td> \
  147.                 <td nowrap valign=top bgcolor="$color->{alt_6}"><font face="$color->{face}" size="$color->{size}">{#if $subtopic->{last_poster} eq ""#} {#else#}<#maxchar 20 "$subtopic->{last_poster}"#>{#endif#}</font></td> \
  148.                 <td valign=top bgcolor="$color->{alt_5}" align=right><font face="$color->{face}" size="$color->{size}">$subtopic->{msg_count} </font></td> \
  149.                 <td valign=top bgcolor="$color->{alt_6}" align=right><font face="$color->{face}" size="$color->{size}">$subtopic->{subs} </font></td> \
  150.                 <td nowrap valign=top bgcolor="$color->{alt_5}" align=right><font face="$color->{face}" size="$color->{size}"><#date $subtopic->{lastmod} format "$L{TOPIC_LIST_DATE_FORMAT}"#></font></td> \
  151.                 </tr>
  152.                 ## ----- \/ Do not change \/ -----
  153.                 <!--/Top-->
  154.                 ## ----- /\ Do not change /\ -----
  155.             <#else#>
  156.                 ## ----- \/ Do not change \/ -----
  157.                 <!--URL: $subtopic->{number}-->
  158.                 <!--Data: <#escape "$subtopic->{url}"#>-<#escape "$subtopic->{target}"#>-<#escape "$subtopic->{properties}"#> -->
  159.                 ## ----- /\ Do not change /\ -----
  160.                 <tr>
  161.                 <td nowrap valign=top bgcolor="$color->{bgcolor}">\
  162.                 <#if $GLOBAL_OPTIONS{cookie_for_new} == 1#>
  163.                     <img name="img$subtopic->{number}" height=$new_img_height width=$new_img_width border=0 src="$icon_url/tree_j.gif" alt="">\
  164.                 <#endif#>
  165.                 <#if $GLOBAL_OPTIONS->{subtopic_icons}#>
  166.                     <#define $icon = "$@subtopic_icons->{url:name="$subtopic->{property_emot}"}"#>
  167.                     <#if $icon eq ""#>
  168.                         <img src="$icon_url/tree_j.gif" height=16 width=20>\
  169.                     <#else#>
  170.                         <#define $height = "$@subtopic_icons->{height:name="$subtopic->{property_emot}"}"#>
  171.                         <#define $width = "$@subtopic_icons->{width:name="$subtopic->{property_emot}"}"#>
  172.                         <img src="$icon" height="$height" width="$width" alt="">\
  173.                         <#define $newwidth = "20"#>
  174.                         <#math: $newwidth -= "$width"#>
  175.                         <#if $newwidth > 0#>
  176.                             <img src="$icon_url/tree_j.gif" height=1 width="$newwidth">\
  177.                         <#endif#>
  178.                     <#endif#>
  179.                 <#endif#>
  180.                 <img src=$icon_url/$subtopic->{icon}.gif height=16 width=20></td>\
  181.                 <td width=80% valign=top bgcolor="$color->{alt_5}"><font face="$color->{face}" size="$color->{size}"><a href="$subtopic->{url}"{#if $subtopic->{target} ne ""#} target="$subtopic->{target}"{#endif#}><!--Name-->$subtopic->{name}<!--/Name--></a> \
  182.                 {#if $subtopic->{descr} ne ""#}<br><font size=1><!--Descr-->$subtopic->{descr}<!--/Descr--></font>{#endif#}</font></td> \
  183.                 <td nowrap valign=top bgcolor="$color->{alt_6}"><font face="$color->{face}" size="$color->{size}"> </font></td> \
  184.                 <td valign=top bgcolor="$color->{alt_5}" align=right><font face="$color->{face}" size="$color->{size}">- </td> \
  185.                 <td valign=top bgcolor="$color->{alt_6}" align=right><font face="$color->{face}" size="$color->{size}">1 </font></td> \
  186.                 <td valign=top bgcolor="$color->{alt_5}" align=right><font face="$color->{face}" size="$color->{size}"> </font></td> \
  187.                 </tr>
  188.                 ## ----- \/ Do not change \/ -----
  189.                 <!--/URL-->
  190.                 ## ----- /\ Do not change /\ -----
  191.             <#endif#>
  192.         <#endloop#>
  193.     <#endif#>
  194.     <tr bgcolor=$color->{alt_1}>
  195.     <td><font size=1> </font></td>
  196.     <td><font size=1 face="$color->{face}" color="$color->{alt_2}"><#if $head->{param} =~ match(Create)#><a href="$script_url/board-post.$cgi_extension?HTTP_REFERER=/$head->{topic_number}/$head->{me_number}.$ext&action=form"><font color="$color->{alt_2}">$L{START_NEW_THREAD}</font></a><#else#><img src="$icon_url/tree_o.gif" height=16 width=20 alt="Closed" align=left><font color="$color->{alt_2}">$L{THREAD_CLOSED_WORDING}</font><#endif#></font></td>
  197.     <td><font size=1 face="$color->{face}" color="$color->{alt_2}"> </font></td>
  198.     <td><font size=1 face="$color->{face}" color="$color->{alt_2}"> </font></td>
  199.     <td><font size=1 face="$color->{face}" color="$color->{alt_2}"> </font></td>
  200.     <td><font size=1 face="$color->{face}" color="$color->{alt_2}"> </font></td>
  201.     </tr>
  202.     </table></td></tr></table>
  203.     </p>
  204. <#endif#>
  205. #--------------------------------------------------#
  206. # About Message                                    #
  207. #--------------------------------------------------#
  208. <#if $head->{param} =~ match(About)#>
  209.     <p>
  210.     <!--About-->
  211.     $pginfo->{about}
  212.     <!--/About-->
  213.     </p>
  214. <#endif#>
  215. #--------------------------------------------------#
  216. # Posted Messages                                  #
  217. #--------------------------------------------------#
  218. <#if $head->{param} =~ match(Messages)#>
  219.     <p></p>
  220.     <table border=0 cellspacing=0 cellpadding=1 width=100% bgcolor=$color->{alt_11}>
  221.     <tr><td><table border=0 cellpadding=4 border=0 cellspacing=1 width=100%>
  222.     <tr bgcolor=$color->{alt_1}>
  223.         <td><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>$L{TABLES23_AUTHOR}</b></font></td>
  224.         <td><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>$L{TABLES23_MESSAGE}</b></font></td>
  225.     </tr>
  226.     <#if $general->{messages_raw} == 1#>
  227.         $pginfo->{messages_raw}
  228.     <#else#>
  229.         <#foreach $message (@messages)#>
  230.             <#insert part ($head->{topic_number}) "individual_message"#>
  231.         <#endloop#>
  232.     <#endif#>
  233.     </table></td></tr></table>
  234. <#endif#>
  235. <a name="MB"></a>
  236. #--------------------------------------------------#
  237. # Add a Message Form                               #
  238. #--------------------------------------------------#
  239. <#if $head->{param} =~ match(Add)#>
  240.     <form action="$script_url/board-post.$cgi_extension" method="post" name="userpass">
  241.     <input type=hidden name="HTTP_REFERER" value="$head->{topic_number}/$head->{me_number}">
  242.     <input type=hidden name="preview" value="1">
  243.     <p></p>
  244.     <table bgcolor=$color->{alt_11} border=0 cellpadding=0 cellspacing=1 width=100%><tr><td>\
  245.         <table border=0 cellpadding=4 border=0 cellspacing=1 width=100%>
  246.         <tr bgcolor="$color->{alt_1}">
  247.             <td colspan=3><font size=1 face="$color->{face}" color="$color->{alt_2}">
  248.             <b>$L{ADDMSG_ADD_MESSAGE_HERE}</b>
  249.             </font></td>
  250.         </tr>
  251.         <#if $addmessage->{public} == 1#>
  252.             <#insert part ($head->{topic_number}) "addmessage-public"#>
  253.         <#else#>
  254.             <#if $addmessage->{disabled} == 1#>
  255.                 <#insert part ($head->{topic_number}) "addmessage-disabled"#>
  256.             <#else#>
  257.                 <#insert part ($head->{topic_number}) "addmessage-private"#>
  258.             <#endif#>
  259.         <#endif#>
  260.         </table></td></tr></table>
  261.     </form>
  262. <#endif#>
  263. <#if $general->{skip_bottom} == 0#>
  264.     <#insert part ($head->{topic_number}) "dynamic_bottom"#>
  265. <#endif#>
  266. <#/part#>
  267. #################################################################################
  268. # ADD A MESSAGE BOX SECTION - CONTROLS FORMS ALLOWING ADDITION OF A MESSAGE     #
  269. #################################################################################
  270. #--------------------------------------------------#
  271. # Public Posting Area                              #
  272. #--------------------------------------------------#
  273. <#part "addmessage-public"#>
  274.     <tr>
  275.         <td valign=top bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
  276.         <b>$L{ADDMSG_POST}</b>
  277.         </font></td>
  278.         <td valign=top bgcolor="$color->{alt_10}" colspan=2>\
  279.         <#if $GLOBAL_OPTIONS->{format_panel}#>
  280.             <#insert template "fpanel"#>
  281.             <textarea name="message" cols=50 rows=7 wrap=virtual ONSELECT="storeCursorPosition(this)" ONKEYUP="storeCursorPosition(this)" ONCLICK="storeCursorPosition(this)">\
  282.         <#else#>
  283.             <textarea name="message" cols=50 rows=7 wrap=virtual>\
  284.         <#endif#>
  285.         <#form escape "$preview->{source}"#></textarea></td>
  286.     </tr>
  287.     <tr>
  288.         <td bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
  289.         <b>$L{PROFILE_USERNAME}</b>
  290.         </font></td>
  291.         <td bgcolor="$color->{alt_10}"><input type="text" name="username" value="$preview->{username}" size=15></td>
  292.         <td bgcolor="$color->{alt_10}" valign=top rowspan=2><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
  293.         <b>$L{ADDMSG_POSTING_INFO}</b><br>
  294.         $L{ADDMSG_PUBLIC}
  295.         </font></td>
  296.     </tr>
  297.     <tr>
  298.         <td bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
  299.         <b>$L{PROFILE_PASSWORD}</b>
  300.         </font></td>
  301.         <td bgcolor="$color->{alt_10}"><input type="password" name="passwd" value="$preview->{password}" size=15></td>
  302.     </tr>
  303.     <tr>
  304.         <td bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
  305.         <b>$L{ADDMSG_EMAIL}</b>
  306.         </font></td>
  307.         <td bgcolor="$color->{alt_10}" colspan=2><input type="text" name="email" value="$preview->{email}" size=51></td>
  308.     </tr>
  309.     <#if $addmessage->{anonymous_posting} == 1 || $GLOBAL_OPTIONS->{html} == 1 || $GLOBAL_OPTIONS->{active_links} == 1#>
  310.         <tr>
  311.         <td valign=top bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
  312.         <b>$L{ADDMSG_OPTIONS}</b>
  313.         </font></td>
  314.         <td bgcolor="$color->{alt_10}" colspan=2><font size="$color->{size}" face="$color->{face}">\
  315.         <#if $addmessage->{anonymous_posting} == 1#>
  316.             <input type=checkbox name="Anon" value=1{#if $preview->{anonymous} == 1#} checked{#endif#}>$L{POST_AS_ANONYMOUS}<br>
  317.         <#endif#>
  318.         <#if $GLOBAL_OPTIONS->{html} == 1#>
  319.             <input type=checkbox name="html" value=1{#if $preview->{html} == 1 || $preview->{html} eq ""#} checked{#endif#}>$L{HTML_CODE}<br>
  320.             <input type=hidden name="html_a" value=1> ## Leave this here!
  321.         <#endif#>
  322.         <#if $GLOBAL_OPTIONS->{active_links} == 1#>
  323.             <input type=checkbox name="active_links" value=1{#if $preview->{active_links} == 1 || $preview->{active_links} eq ""#} checked{#endif#}>$L{AUTO_ACTIVATE_LINKS}<br>
  324.             <input type=hidden name="active_links_a" value=1> ## Leave this here!
  325.         <#endif#>
  326.         </font></td></tr>
  327.     <#endif#>
  328.     <tr>
  329.         <td valign=center bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
  330.         <b>$L{ADDMSG_ACTION}</b>
  331.         </font></td>
  332.         <td valign=center bgcolor="$color->{alt_10}" colspan=2>
  333.             <font size="$color->{size}" face="$color->{face}">
  334.             <input type="submit" value="$L{BPPREVIEWPOST}" onClick="document.userpass.preview.value = '1';{#if $GLOBAL_OPTIONS{format_panel}#} panelclose();{#endif#}">
  335.             <#if pro && $GLOBAL_OPTIONS{images}#>
  336.                 <input type=button value="$L{ADDMSG_UPLOAD_ATTACHMENT}" onClick='window.open("$script_url/board-post.$cgi_extension?action=posting_upload_form", "PopWin", "width=500,height=300,scrollbars=yes,resizable=yes");'>
  337.             <#endif#>
  338.             </font>
  339.         </td>
  340.     </tr>
  341. <#/part#>
  342. #--------------------------------------------------#
  343. # Private Posting Area                             #
  344. #--------------------------------------------------#
  345. <#part "addmessage-private"#>
  346.     <tr>
  347.         <td valign=top bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}"><b>$L{ADDMSG_POST}</b></font></td>
  348.         <td valign=top bgcolor="$color->{alt_10}" colspan=2>\
  349.         <#if $GLOBAL_OPTIONS->{format_panel}#>
  350.             <#insert template "fpanel"#>
  351.             <textarea name="message" cols=50 rows=7 wrap=virtual ONSELECT="storeCursorPosition(this)" ONKEYUP="storeCursorPosition(this)" ONCLICK="storeCursorPosition(this)">\
  352.         <#else#>
  353.             <textarea name="message" cols=50 rows=7 wrap=virtual>\
  354.         <#endif#>
  355.         <#form escape "$preview->{source}"#></textarea></td>
  356.     </tr>
  357.     <tr>
  358.         <td bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}"><b>$L{PROFILE_USERNAME}</b></font></td>
  359.         <td bgcolor="$color->{alt_10}"><input type="text" name="username" value="<#form escape "$preview->{username}"#>" size=15></td>
  360.         <td bgcolor="$color->{alt_10}" valign=top rowspan=2><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
  361.         <b>$L{ADDMSG_POSTING_INFO}</b><br>
  362.         $L{ADDMSG_PRIVATE}
  363.         </font></td>
  364.     </tr>
  365.     <tr>
  366.         <td bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}"><b>$L{PROFILE_PASSWORD}</b></font></td>
  367.         <td bgcolor="$color->{alt_10}"><input type="password" name="passwd" value="<#form escape "$preview->{password}"#>" size=15></td>
  368.     </tr>
  369.     <#if $addmessage->{anonymous_posting} == 1 || $GLOBAL_OPTIONS->{html} == 1 || $GLOBAL_OPTIONS->{active_links} == 1#>
  370.         <tr>
  371.         <td valign=top bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
  372.         <b>$L{ADDMSG_OPTIONS}</b>
  373.         </font></td>
  374.         <td bgcolor="$color->{alt_10}" colspan=2><font size="$color->{size}" face="$color->{face}">\
  375.         <#if $addmessage->{anonymous_posting} == 1#>
  376.             <input type=checkbox name="Anon" value=1{#if $preview->{anonymous} == 1#} checked{#endif#}>$L{POST_AS_ANONYMOUS}<br>
  377.         <#endif#>
  378.         <#if $GLOBAL_OPTIONS->{html} == 1#>
  379.             <input type=checkbox name="html" value=1{#if $preview->{html} == 1 || $preview->{html} eq ""#} checked{#endif#}>$L{HTML_CODE}<br>
  380.             <input type=hidden name="html_a" value=1> ## Leave this here!
  381.         <#endif#>
  382.         <#if $GLOBAL_OPTIONS->{active_links} == 1#>
  383.             <input type=checkbox name="active_links" value=1{#if $preview->{active_links} == 1 || $preview->{active_links} eq ""#} checked{#endif#}>$L{AUTO_ACTIVATE_LINKS}<br>
  384.             <input type=hidden name="active_links_a" value=1> ## Leave this here!
  385.         <#endif#>
  386.         </font></td></tr>
  387.     <#endif#>
  388.     <tr>
  389.         <td valign=center bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}"><b>$L{ADDMSG_ACTION}</b></font></td>
  390.         <td valign=center bgcolor="$color->{alt_10}" colspan=2>
  391.             <font size="$color->{size}" face="$color->{face}">
  392.             <input type="submit" value="$L{BPPREVIEWPOST}" onClick="document.userpass.preview.value = '1';{#if $GLOBAL_OPTIONS{format_panel}#} panelclose();{#endif#}">
  393.             <#if pro && $GLOBAL_OPTIONS{images}#>
  394.                 <input type=button value="$L{ADDMSG_UPLOAD_ATTACHMENT}" onClick='window.open("$script_url/board-post.$cgi_extension?action=posting_upload_form", "PopWin", "width=500,height=300,scrollbars=yes,resizable=yes");'>
  395.             <#endif#>
  396.             </font>
  397.         </td>
  398.     </tr>
  399. <#/part#>
  400. #--------------------------------------------------#
  401. # Disabled Posting in Topic                        #
  402. #--------------------------------------------------#
  403. <#part "addmessage-disabled"#>
  404.     <tr>
  405.         <#define $l = "$L{BPPOSTINGDISABLEDDESCR}"#>
  406.         <#replace "%aopen" with "<a href='$script_url/board-contact.$cgi_extension'>" in $l#>
  407.         <#replace "%aclose" with "</a>" in $l#>
  408.         <td colspan=3 valign=top bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">$l</font></td>
  409.     </tr>
  410. <#/part#>
  411. #################################################################################
  412. # INDIVIDUAL MESSAGE DISPLAY                                                    #
  413. #################################################################################
  414. <#part "individual_message"#>
  415.     <!--Post: $message->{number}--><!--Time: $message->{time}--> ## DO NOT CHANGE!!!
  416.     <!--p:$message->{property}-->\ ## DO NOT CHANGE!!!
  417.     <tr bgcolor="<#pick color $message->{_iteration} from @_ALTCOLOR(7,8)#>"> \
  418.     <td valign=top width=200><a name="POST$message->{number}">\
  419.     <#if $GLOBAL_OPTIONS{message_icons} == 1 && $general->{no_icons_shown} == 0#>
  420.         <#if $GLOBAL_OPTIONS{message_icon_top} ne "0" && $GLOBAL_OPTIONS{message_icon_top} ne ""#>
  421.             <a href="#MT"><img src="$icon_url/$GLOBAL_OPTIONS{message_icon_top}" height=12 width=12 border=0 alt="$GLOBAL_OPTIONS{message_icon_top_alt}"></a>\
  422.         <#endif#>
  423.         <#if $GLOBAL_OPTIONS{message_icon_up} ne "0" && $GLOBAL_OPTIONS{message_icon_up} ne ""#>
  424.             <#if $message->{_is_first_element}#><a href="#MT"><#else#><a href="#POST$message->{_previous_element}->{number}"><#endif#>\
  425.             <img src="$icon_url/$GLOBAL_OPTIONS{message_icon_up}" height=12 width=12 border=0 alt="$GLOBAL_OPTIONS{message_icon_up_alt}"></a>\
  426.         <#endif#>
  427.         <#if $GLOBAL_OPTIONS{message_icon_down} ne "0" && $GLOBAL_OPTIONS{message_icon_down} ne ""#>
  428.             <#if $message->{_is_last_element}#><a href="#MB"><#else#><a href="#POST$message->{_next_element}->{number}"><#endif#>\
  429.             <img src="$icon_url/$GLOBAL_OPTIONS{message_icon_down}" height=12 width=12 border=0 alt="$GLOBAL_OPTIONS{message_icon_down_alt}"></a>\
  430.         <#endif#>
  431.         <#if $GLOBAL_OPTIONS{message_icon_bottom} ne "0" && $GLOBAL_OPTIONS{message_icon_bottom} ne ""#>
  432.             <a href="#MB"><img src="$icon_url/$GLOBAL_OPTIONS{message_icon_bottom}" height=12 width=12 border=0 alt="$GLOBAL_OPTIONS{message_icon_bottom_alt}"></a>\
  433.         <#endif#>
  434.         <#if $GLOBAL_OPTIONS{message_icon_link} ne "0" && $GLOBAL_OPTIONS{message_icon_link} ne ""#>
  435.              <a href="$script_url/show.$cgi_extension?tpc=$head->{topic_number}&post=$message->{number}#POST$message->{number}" onClick="alert('$L{POST_LINK_DO_NOT_CLICK_ME}'); return false;"><img src="$icon_url/$GLOBAL_OPTIONS{message_icon_link}" height=12 width=12 border=0 alt="$GLOBAL_OPTIONS{message_icon_link_alt}"></a>\
  436.         <#endif#>
  437.         <br><br>\
  438.     <#endif#>
  439.     <font face="$color->{face}" size="$color->{size}"><b>\
  440.     <!--email--><#if $message->{email} ne ""#><a href="$message->{email}" target="_blank"><#endif#><!--/email-->\
  441.     <!--name-->$message->{author}<!--/name--></b>\
  442.     <#if $message->{email} ne ""#></a>
  443.     </a><br> \
  444.     <#if pro#>
  445.         <#if $message->{field_status} ne ""#>
  446.             <font size=1><!--field:status--><!--use: $message->{field_status}--><!--/field--><#pick text $message->{field_status} from @statuses(*)#><br> \
  447.             <#key replace $message "field_status" => "author_status"#>
  448.         <#else#>
  449.             <#if $message->{author_status} >= 2#>
  450.                 <font size=1><!--field:status--><!--use: $message->{author_status}--><!--/field--><#pick text $message->{author_status} from @statuses(*)#><br> \
  451.             <#endif#>
  452.         <#endif#>
  453.     <#endif#>
  454.     <#if $message->{author_status} <= 2#>
  455.         <!--field:posts--><!--/field--> \
  456.         <!--field:registered--><!--/field--> \
  457.     <#else#>
  458.         <#if $message->{field_uname} ne ""#>
  459.             $L{PROFEDIT_YOURUSERNAME} <!--field:uname-->$message->{field_uname}<!--/field--><br><br> \
  460.         <#else#>
  461.             <br> \
  462.         <#endif#>
  463.         <#if pro#>
  464.             <#if $message->{field_posts} ne ""#>
  465.                 $L{IND_MSG_POSTS} <!--field:posts-->$message->{field_posts}<!--/field--><br> \
  466.             <#else#>
  467.                 $L{IND_MSG_POSTS} <!--field:posts--><#if $message->{author_posts} == 0#>0<#else#>$message->{author_posts}<#endif#><!--/field--><br> \
  468.             <#endif#>
  469.         <#endif#>
  470.         <#if $message->{field_registered} ne ""#>
  471.             $L{IND_MSG_REGISTERED} <!--field:registered-->$message->{field_registered}<!--/field--><br> \
  472.         <#else#>
  473.             <#if $message->{author_registered} == 0#>
  474.                 $L{IND_MSG_REGISTERED} <!--field:registered-->$L{IND_MSG_NOT_APPLICABLE}<!--/field--><br> \
  475.             <#else#>
  476.                 $L{IND_MSG_REGISTERED} <!--field:registered--><#date $message->{author_registered} format "%nmonth-%year"#><!--/field--><br> \
  477.             <#endif#>
  478.         <#endif#>
  479.     <#endif#>
  480.     <#if $message->{field_ip_address} ne ""#>
  481.         <font size=1>$L{IND_MSG_POSTED_FROM} <!--field:ip_address-->$message->{field_ip_address}<!--/field--><br>\
  482.     <#else#>
  483.         <#if $message->{ip_address} ne ""#>
  484.             $L{IND_MSG_POSTED_FROM} <!--field:ip_address-->$message->{ip_address}<!--/field--><br>\
  485.         <#else#>
  486.             <!--field:ip_address--><!--/field-->\
  487.         <#endif#>
  488.     <#endif#>
  489.     <#if $message->{field_thumbnail} ne ""#>
  490.         <#if exists: "$message_dir/thumbnails/$message->{field_thumbnail}.jpg"#>
  491.             <br><img src="$message_url/thumbnails/$message->{field_thumbnail}.jpg"><br>\
  492.             <!--field:thumbnail--><!--use:$message->{field_thumbnail}--><!--/field-->\
  493.         <#else#>
  494.             <#if exists: "$message_dir/thumbnails/$message->{field_thumbnail}.gif"#>
  495.                 <br><img src="$message_url/thumbnails/$message->{field_thumbnail}.gif"><br>\
  496.                 <!--field:thumbnail--><!--use:$message->{field_thumbnail}--><!--/field-->\
  497.             <#endif#>
  498.         <#endif#>
  499.     <#endif#>
  500.     <#if $message->{thumbnail} ne ""#>
  501.         <#if exists: "$message_dir/thumbnails/$message->{thumbnail}.jpg"#>
  502.             <br><img src="$message_url/thumbnails/$message->{thumbnail}.jpg"><br>\
  503.             <!--field:thumbnail--><!--use:$message->{thumbnail}--><!--/field-->\
  504.         <#else#>
  505.             <#if exists: "$message_dir/thumbnails/$message->{thumbnail}.gif"#>
  506.                 <br><img src="$message_url/thumbnails/$message->{thumbnail}.gif"><br>\
  507.                 <!--field:thumbnail--><!--use:$message->{thumbnail}--><!--/field-->\
  508.             <#endif#>
  509.         <#endif#>
  510.     <#endif#>
  511.     <#if $DCONF->{pro} && $GLOBAL_OPTIONS->{post_ratings} && $message->{property_no_rating} == 0 && $general->{no_rating_shown} == 0#>
  512.         <#mathdefine $x = divide($message->{property_score},$message->{property_votes})#>
  513.         <p><font size=1>$L{POST_RATING_RATING} \
  514.         <#if $x <= 0#>
  515.             $L{POST_RATING_NA}\
  516.         <#else#>
  517.             <img src="$icon_url/s1\
  518.             <#for $c = 1.25 to 4.75 step 0.50#>
  519.                 {#if $x >= $c->{value}#}1{#else#}0{#endif#}\
  520.             <#endfor#>
  521.             .gif" height=12 width=60>\
  522.         <#endif#>
  523.         <#mathdefine $v = sum(0,$message->{property_votes})#>
  524.         <br>$L{POST_RATING_VOTES} $v\
  525.         <#if $general->{showadminfromhere} && $message->{property_no_new_votes} == 0#>
  526.              (<a href="$script_url/board-profile.$cgi_extension?action=rate&topic=$head->{topic_number}&page=$head->{me_number}&post=$message->{number}">$L{POST_RATING_VOTE_NOW}</a>)\
  527.         <#endif#>
  528.         </p> \
  529.     <#endif#>
  530.     </font></font></td> \
  531.     <td valign=top>\
  532.     <font face="$color->{face}" size="$color->{size}">\
  533.     <table width=100% border=0 cellspacing=0 cellpadding=0><tr><td align=left>\
  534.     <font face="$color->{face}" size="$color->{size}">$L{POSTED_ON} <#date $message->{time} format "$L{LONGDATE}"#>:    \
  535.     </font></td><td align=right>\
  536.     <#if pro && $hide_message_icons == 0 && $general->{no_message_icons_shown} == 0#>
  537.         <#if $GLOBAL_OPTIONS{TABLES2_edit_icon}#><a href="$script_url/board-profile.$cgi_extension?action=editpost&postid=$message->{number}&page=$head->{topic_number}/$head->{me_number}"><img src="$icon_url/tree_s.gif" border=0 alt="$L{QUICK_ADMIN_EDIT_POST}" border=0></a> \
  538.         <#if $GLOBAL_OPTIONS{TABLES2_delete_icon}#><a href="$script_url/board-profile.$cgi_extension?action=delpost&postid=$message->{number}&page=$head->{topic_number}/$head->{me_number}"><img src="$icon_url/delmsg.gif" alt="$L{QUICK_ADMIN_DELETE_POST}" border=0 width=20 height=16></a> \
  539.         <#if $GLOBAL_OPTIONS{TABLES2_checkip_icon}#><a href="#" onClick="return winpop('$cgiurl?action=quick&do=IP&HTTP_REFERER=$head->{topic_number}/$head->{me_number}&postindex=$message->{number}');"><img src="$icon_url/checkip.gif" alt="$L{QUICK_ADMIN_VIEW_POST}" border=0 width=15 height=15></a> \
  540.         <#if $GLOBAL_OPTIONS{TABLES2_print_icon}#><a href="#" onClick="return winpop('$cgiurl?action=quick&do=print&HTTP_REFERER=$head->{topic_number}/$head->{me_number}&postindex=$message->{number}');"><img src="$icon_url/printer.gif" alt="$L{QUICK_ADMIN_PRINT_POST}" border=0 width=17 height=15></a> \
  541.         <#if $GLOBAL_OPTIONS{TABLES2_print_icon} || $GLOBAL_OPTIONS{TABLES2_edit_icon} || $GLOBAL_OPTIONS{TABLES2_delete_icon} || $GLOBAL_OPTIONS{TABLES2_checkip_icon}#>
  542.             <#if $GLOBAL_OPTIONS{TABLES2_move_icon} || $GLOBAL_OPTIONS{TABLES2_banip_icon}#>
  543.                    \
  544.             <#endif#>
  545.         <#endif#>
  546.         <#if $GLOBAL_OPTIONS{TABLES2_move_icon}#><a href="#" onClick="return winpop('$cgiurl?action=quick&do=movepost&HTTP_REFERER=$head->{topic_number}/$head->{me_number}&postindex=$message->{number}');"><img src="$icon_url/movemsg.gif" alt="$L{QUICK_ADMIN_MOVE_POST}" border=0 width=20 height=16></a> \
  547.         <#if $GLOBAL_OPTIONS{TABLES2_banip_icon}#><a href="#" onClick="return winpop('$cgiurl?action=quick&do=ban&HTTP_REFERER=$head->{topic_number}/$head->{me_number}&postindex=$message->{number}');"><img src="$icon_url/banip.gif" alt="$L{QUICK_ADMIN_BAN_IP}" border=0 width=15 height=15></a> \
  548.     <#endif#>
  549.     </td></tr></table>\
  550.     <hr noshade size=0> \
  551.     <!--Text-->$message->{text}<!--/Text--> \
  552.     <#if $message->{field_signature} ne ""#><hr noshade size=0><!--field:signature-->$message->{field_signature}<!--/field--> \
  553.     </td></tr>
  554.     <!--/Post: $message->{number}--> ## DO NOT CHANGE!!!
  555. <#/part#>
  556. #################################################################################
  557. # TOPICS SECTION -- THIS SECTION CONTROLS THE TOPICS PAGE OF THE BOARD          #
  558. #################################################################################
  559. <#part "topics"#>
  560. #**************************************************#
  561. # \/ DO NOT EDIT ANYTHING BETWEEN THESE MARKERS \/ #
  562. #**************************************************#
  563. <#if option_defined: "title_words"#>
  564.     <#define $pagetitle = "$GLOBAL_OPTIONS{title_words}"#>
  565. <#else#>
  566.     <#define $pagetitle = "$L{NAVIGATION_TOPICS}"#>
  567. <#endif#>
  568. <html>
  569. <head>
  570. <title>$L{NAVIGATION_TOPICS} - $title</title>
  571. <#if $GLOBAL_OPTIONS{cookie_for_new}#>
  572.     <#define $onLoadJS = "cookieinit()"#>
  573.     <script language="JavaScript">
  574.     <!--
  575.     <#insert part () "readcookie"#>
  576.     <#insert part () "cookie_icons"#>
  577.         if (document.images) {
  578.             <#foreach $topic (@topics)#>
  579.                 <#if $topic->{lastmod} ne "" && $topic->{hidden} == 0#>
  580.                     if (($topic->{lastmod} - server_gmt_offset) > compare_time ) {
  581.                         document.img$topic->{number}.src = img_new.src;
  582.                     }
  583.                 <#endif#>
  584.             <#endloop#>
  585.         }
  586.     }
  587.     // -->
  588.     </script>
  589. <#endif#>
  590. <#insert part () "dynamic_top"#>
  591. #**************************************************#
  592. # /\ DO NOT EDIT ANYTHING BETWEEN THESE MARKERS /\ #
  593. #**************************************************#
  594. <!--Title Message-->
  595. $titlemsg->{text}
  596. <#if $titlemsg->{hr} == 1#><hr>
  597. <!--/Title Message-->
  598. <table border=0 cellpadding=0 cellspacing=0 width=100%><tr><td bgcolor="$color->{alt_11}">
  599. <table cellpadding=4 cellspacing=1 border=0 width=100%>
  600. <tr bgcolor="$color->{alt_1}">
  601. <td nowrap><font size=1> </font></td>
  602. <td width=80% valign=bottom><font size="1" face="$color->{face}" color="$color->{alt_2}"><b>$L{TOPIC_SINGULAR}</b></font></td>
  603. <td nowrap valign=bottom align=center><font size="1" face="$color->{face}" color="$color->{alt_2}"><b>$L{SKIN_POSTS_WORD}</b></font></td>
  604. <td nowrap valign=bottom align=center><font size="1" face="$color->{face}" color="$color->{alt_2}"><b>$L{SKIN_PAGES_WORD}</b></font></td>
  605. <td nowrap valign=bottom align=center><font size="1" face="$color->{face}" color="$color->{alt_2}"><b>$L{LAST_POST}</b></font></td>
  606. <td nowrap valign=bottom align=center><font size="1" face="$color->{face}" color="$color->{alt_2}"><b>$L{LAST_POSTER}</b></font></td>
  607. </tr>
  608. <#foreach $topic (@topics)#>
  609.     <#if $topic->{type} == 1#>
  610.         ## ----- \/ Do not change \/ -----
  611.         <!--Top: $topic->{number}-->
  612.         ## ----- /\ Do not change /\ -----
  613.         <#if $topic->{hidden} == 1#>
  614.             <!-- Topic Hidden -->
  615.             <#skip iteration#>
  616.         <#else#>
  617.             <tr>
  618.             <td bgcolor="$color->{bgcolor}" valign=top nowrap>
  619.             <#if $GLOBAL_OPTIONS{cookie_for_new} == 1#>
  620.                 <img name="img$topic->{number}" height=$new_img_height width=$new_img_width border=0 src="$icon_url/tree_j.gif" alt="">
  621.             <#endif#>
  622.             <img src="$icon_url/$topic->{icon}.gif" height=16 width=20>
  623.             </td>
  624.             <td bgcolor="$color->{alt_3}" valign=top><font size="$color->{size}" face="$color->{face}">
  625.             <a href="$topic->{url}"><b>$topic->{name}</b></a>
  626.             <#if $topic->{descr} ne ""#><br><font size=1><!--Descr-->$topic->{descr}<!--/Descr--></font>
  627.             </td>
  628.             <td bgcolor="$color->{alt_4}" align=right valign=top nowrap><font size="$color->{size}" face="$color->{face}">$topic->{posts}</font></td>
  629.             <td bgcolor="$color->{alt_3}" align=right valign=top nowrap><font size="$color->{size}" face="$color->{face}">$topic->{subs}</font></td>
  630.             <td bgcolor="$color->{alt_4}" nowrap valign=top align=center><font size="$color->{size}" face="$color->{face}"><#date $topic->{lastmod} format "$L{TOPIC_LIST_DATE_FORMAT}"#></font></td>
  631.             <td bgcolor="$color->{alt_3}" align=left valign=top nowrap><font size="$color->{size}" face="$color->{face}">{#if $topic->{last_poster} eq ""#} {#else#}<#maxchar 20 "$topic->{last_poster}"#>{#endif#}</font></td>
  632.             </tr>
  633.         <#endif#>
  634.         ## ----- \/ Do not change \/ -----
  635.         <!--/Top-->
  636.         ## ----- /\ Do not change /\ -----
  637.     <#else#>
  638.         <#skip iteration#>
  639.         ## ----- \/ Do not change \/ -----
  640.         <!--Category: $topic->{number}--><!--bgcolor:$topic->{bgcolor}-->
  641.         ## ----- /\ Do not change /\ -----
  642.         <tr>
  643.         <td bgcolor="$topic->{bgcolor}" colspan=6><font size="$color->{size}" face="$color->{face}"><b><!--Text-->$topic->{text}<!--/Text--></b>
  644.         <#if $topic->{descr} ne ""#><br><font size=1><!--Descr-->$topic->{descr}<!--/Descr--></font>
  645.         </td>
  646.         </tr>
  647.         ## ----- \/ Do not change \/ -----
  648.         <!--/Category-->
  649.         ## ----- /\ Do not change /\ -----
  650.     <#endif#>
  651. <#endloop#>
  652. <!--End Topics-->
  653. </table>
  654. </td></tr></table>
  655. <!--Message-->
  656. <#if $mainmsg->{hr} == 1#><hr>
  657. $mainmsg->{text}
  658. <!--/Message-->
  659. <#insert part () "dynamic_bottom"#>
  660. <#/part#>
  661. #################################################################################
  662. # CREATE NEW CONVERSATION / START NEW THREAD SCREEN                             #
  663. #################################################################################
  664. <#part "newconv"#>
  665.     #**************************************************#
  666.     # \/ DO NOT EDIT ANYTHING BETWEEN THESE MARKERS \/ #
  667.     #**************************************************#
  668.     <html><head><title>$L{START_NEW_THREAD}</title>
  669.     <script language="JavaScript">
  670.     <!--
  671.     // Initial Load
  672.     function initpage() {
  673.         <#if $addmessage->{disabled} == 0#>document.userpass.subject.focus();
  674.           if (document.userpass) {
  675.             if (document.userpass.username) {
  676.               if (document.userpass.username.value == "") {
  677.                 document.userpass.username.value = readcookie("user$COOKIE_ID")
  678.               }
  679.             }
  680.             if (document.userpass.passwd) {
  681.               if (document.userpass.passwd.value == "") {
  682.                 document.userpass.passwd.value = readcookie("rpwd$COOKIE_ID")
  683.               }
  684.             }
  685.           }
  686.         }
  687.         <#insert part ($head->{topic_number}) "readcookie"#>
  688.     // -->
  689.     </script>
  690.     <#define $onLoadJS = "initpage()"#>
  691.     <#define $pagetitle = "$L{START_NEW_THREAD}"#>
  692.     <#insert part ($head->{topic_number}) "dynamic_top"#>
  693.     #**************************************************#
  694.     # /\ DO NOT EDIT ANYTHING BETWEEN THESE MARKERS /\ #
  695.     #**************************************************#
  696.     <table border=0 cellpadding=4 border=0 cellspacing=0 width=100%>
  697.     <tr bgcolor=$color->{alt_1}>
  698.     <td valign=top align=left width=80%><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>
  699.     <#insert part ($head->{topic_number}) "navbar"#>
  700.     <#if $general->{secure} == 1#>
  701.         <a href="$authorize_reader?file=/$head->{topic_number}/$head->{me_number}.$ext"><font color="$color->{alt_2}">$head->{me_name}</font></a> »
  702.     <#else#>
  703.         <a href="$message_url/$head->{topic_number}/$head->{me_number}.$ext"><font color="$color->{alt_2}">$head->{me_name}</font></a> »
  704.     <#endif#>
  705.     $L{START_NEW_THREAD}
  706.     </b></font></td>
  707.     <td valign=top align=right width=20%><font size=1 face="$color->{face}" color="$color->{alt_2}"> </font></td>
  708.     </tr></table>
  709.     <form action="$script_url/board-post.$cgi_extension" method="post" name="userpass">
  710.     <input type=hidden name="action" value="">
  711.     <input type=hidden name="preview" value="1">
  712.     <input type=hidden name="HTTP_REFERER" value="$head->{topic_number}/$head->{me_number}">
  713.     <table bgcolor="$color->{alt_11}" border=0 cellpadding=0 cellspacing=1 width=100%><tr><td>
  714.         <table border=0 cellpadding=4 border=0 cellspacing=1 width="100%">
  715.         <tr bgcolor=$color->{alt_1}>
  716.             <td colspan=3><font size=1 face="$color->{face}" color="$color->{alt_2}">
  717.             <b>$L{START_NEW_THREAD}</b>
  718.             </font></td>
  719.         </tr>
  720.         <#if $addmessage->{disabled} == 0#>
  721.             <tr>
  722.                 <td valign=top bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
  723.                 <b>$L{BPSUBJECTTAG}</b>
  724.                 </font></td>
  725.                 <td valign=top bgcolor="$color->{alt_10}" colspan=2><input type="text" name="subject" size=51 value=""></td>
  726.             </tr>
  727.             <#if $GLOBAL_OPTIONS->{subtopic_icons_user_choose}#>
  728.                 <tr>
  729.                     <td valign=top bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
  730.                     <b>$L{CHOOSE_AN_ICON}</b>
  731.                     </font></td>
  732.                     <td valign=top bgcolor="$color->{alt_10}" colspan=2>
  733.                         <table>
  734.                         <tr>
  735.                         <td width=50><input type=radio name="emoticon" value="" checked></td>
  736.                         <#foreach $subtopic_icon (@subtopic_icons)#>
  737.                             <#if [ $subtopic_icon->{_iteration} % 7 ] == 0#>
  738.                                 </tr><tr>
  739.                             <#endif#>
  740.                             <td width=50><input type=radio name="emoticon" value="$subtopic_icon->{name}">\
  741.                             <img src="$subtopic_icon->{url}" height="$subtopic_icon->{height}" width="$subtopic_icon->{width}"></td>
  742.                         <#endloop#>
  743.                         </tr></table>
  744.                     </td>
  745.                 </tr>
  746.             <#endif#>
  747.         <#else#>
  748.             <input type=hidden name="subject">
  749.         <#endif#>
  750.     <#if $addmessage->{public} == 1#>
  751.         <#insert part ($head->{topic_number}) "addmessage-public"#>
  752.     <#else#>
  753.         <#if $addmessage->{disabled} == 1#>
  754.             <#insert part ($head->{topic_number}) "addmessage-disabled"#>
  755.         <#else#>
  756.             <#insert part ($head->{topic_number}) "addmessage-private"#>
  757.         <#endif#>
  758.     <#endif#>
  759.     </table></td></tr></table>
  760.     <input type=hidden name=new_conversation value=1>
  761.     </form>
  762.     <#insert part ($head->{topic_number}) "dynamic_bottom"#>
  763. <#/part#>
  764. #################################################################################
  765. # NAVIGATION BAR                                                                #
  766. #################################################################################
  767. <#part "navbar"#>
  768. <#if $general->{secure} == 1#>
  769.     <#if $GLOBAL_OPTIONS{alternate_topic_navbar} == 1#>
  770.       <#if $GLOBAL_OPTIONS{alternate_topic_navbar_url} ne ""#>
  771.         <a href="$GLOBAL_OPTIONS{alternate_topic_navbar_url}"><font color="$color->{alt_2}">$title</font></a> »
  772.       <#endif#>
  773.     <#else#>
  774.         <a href="$topic_file_url"><font color="$color->{alt_2}">$title</font></a> »
  775.     <#endif#>
  776.     <#if $head->{me_number} != $head->{topic_number}#>
  777.       <a href="$authorize_reader?file=/$head->{topic_number}/$head->{topic_number}.$ext"><font color="$color->{alt_2}">$head->{topic_name}</font></a> »
  778.     <#endif#>
  779.     <#foreach $level (@levels)#>
  780.       <#if $level->{level_number} > 0#>
  781.         <#if $level->{level_number} != $head->{me_number}#>
  782.             <a href="$authorize_reader?file=/$head->{topic_number}/$level->{level_number}.$ext"><font color="$color->{alt_2}">$level->{level_name}</font></a> »
  783.         <#endif#>
  784.       <#endif#>
  785.     <#endloop#>
  786. <#else#>
  787.     <#if $GLOBAL_OPTIONS{alternate_topic_navbar} == 1#>
  788.       <#if $GLOBAL_OPTIONS{alternate_topic_navbar_url} ne ""#>
  789.         <a href="$GLOBAL_OPTIONS{alternate_topic_navbar_url}"><font color="$color->{alt_2}">$title</font></a> »
  790.       <#endif#>
  791.     <#else#>
  792.         <a href="$topic_file_url"><font color="$color->{alt_2}">$title</font></a> »
  793.     <#endif#>
  794.     <#if $head->{me_number} != $head->{topic_number}#>
  795.       <a href="$message_url/$head->{topic_number}/$head->{topic_number}.$ext"><font color="$color->{alt_2}">$head->{topic_name}</font></a> »
  796.     <#endif#>
  797.     <#foreach $level (@levels)#>
  798.       <#if $level->{level_number} > 0#>
  799.         <#if $level->{level_number} != $head->{me_number}#>
  800.             <a href="$message_url/$head->{topic_number}/$level->{level_number}.$ext"><font color="$color->{alt_2}">$level->{level_name}</font></a> »
  801.         <#endif#>
  802.       <#endif#>
  803.     <#endloop#>
  804. <#endif#>
  805. <#/part#>
  806. #################################################################################
  807. # DYNAMIC TOP AND BOTTOM OF PAGES                                               #
  808. #################################################################################
  809. <#part "dynamic_top"#>
  810.     <#if $GLOBAL_OPTIONS{format_panel}#>
  811.         <script src="$html_url/fpanel.js">
  812.         </script>
  813.     <#endif#>
  814.     <#if pro && $hide_message_icons == 0 && $general->{no_message_icons_shown} == 0#>
  815.         <script language="JavaScript">
  816.         <!--
  817.             function winpop (url) {
  818.                 window.open(url, 'AHWIN', 'height=480,width=640,scrollbars=yes,resizable=yes,toolbars=yes,status=yes');
  819.                 return false;
  820.             }
  821.         // -->
  822.         </script>
  823.     <#endif#>
  824.     <#if $general->{stylesheet} eq ""#>
  825.         <style type="text/css">
  826.         <!--
  827.             p.topborder { border-bottom: thin $color->{alt_1} solid; padding-bottom: 4pt }
  828.             p { font: <#css size (+0)#> $color->{face}; }
  829.             table.topsection { }
  830.             td.topsect1 { vertical-align: bottom; text-align: left; font: <#css size (+2)#> $color->{face}; font-weight: 600; }
  831.             td.topsect2 { vertical-align: top; text-align: right; font: <#css size (+0)#> $color->{face}; }
  832.             td.nb { font: <#css size (+0)#> $color->{face}; }
  833.             td.b { font: <#css size (+0)#> $color->{face}; font-weight: 600;}
  834.         -->
  835.         </style>
  836.         <#if $GLOBAL_OPTIONS->{charset} ne "" && $GLOBAL_OPTIONS->{charset} ne "0"#>
  837.             <meta http-equiv="content-type" content="text/html; charset=$GLOBAL_OPTIONS->{charset}">
  838.         <#endif#>
  839.         </head>
  840.         <body bgcolor="$color->{bgcolor}" text="$GLOBAL_OPTIONS{COLOR_text}" link="$GLOBAL_OPTIONS{COLOR_link}" vlink="$GLOBAL_OPTIONS{COLOR_vlink}" alink="$GLOBAL_OPTIONS{COLOR_alink}" \
  841.         <#if $GLOBAL_OPTIONS{COLOR_image} ne "" && $GLOBAL_OPTIONS{COLOR_image} ne "0"#>{||}background="$GLOBAL_OPTIONS{COLOR_image}" \
  842.         <#if $onLoadJS ne ""#>{||}onLoad="$onLoadJS"{#endif#} \
  843.         >
  844.     <#else#>
  845.         <#if $GLOBAL_OPTIONS->{charset} ne "" && $GLOBAL_OPTIONS->{charset} ne "0"#>
  846.             <meta http-equiv="content-type" content="text/html; charset=$GLOBAL_OPTIONS->{charset}">
  847.         <#endif#>
  848.         </head>
  849.         <body{#if $onLoadJS ne ""#} onLoad="$onLoadJS"{#endif#}>
  850.     <#endif#>
  851.     <basefont size="$color->{size}"><font face="$color->{face}" size="$color->{size}">
  852.     <a name=MT></a>
  853.     <#if $skip_entire_top == 0#>
  854.         <#include file="$admin_dir/template/custom/site_header.tmpl"#>
  855.         <p class="topborder">
  856.         <table class="topsection" width=100% border=0 cellpadding=0 cellspacing=0>
  857.         <tr>
  858.         <td class="topsect1">$pagetitle</td>
  859.         <td class="topsect2">
  860.         <#if $skip_nav_bar == 1 || $general->{skip_top_options_bar} == 1#>
  861.              
  862.         <#else#>
  863.             <a href="$script_url/discus.$cgi_extension?pg=logout">$L{LOGIN_CLEARBUTTON}</a> |
  864.             <a href="$topic_file_url">$L{NAVIGATION_TOPICS}</a> |
  865.             <a href="$script_url/search.$cgi_extension">$L{NAVIGATION_SEARCH}</a>
  866.             <br>
  867.             <a href="$script_url/board-contact.$cgi_extension">$L{NAVIGATION_CONTACT}</a> |
  868.             <#if pro && $GLOBAL_OPTIONS{allow_selfreg}#>
  869.                  <a href="$script_url/board-profile.$cgi_extension?action=register">$L{NAVIGATION_REGISTER}</a> |
  870.             <#endif#>
  871.             <a href="$script_url/board-profile.$cgi_extension">$L{NAVIGATION_PROFILE}</a>
  872.         <#endif#>
  873.         </td>
  874.         </tr>
  875.         </table>
  876.         </p>
  877.     <#endif#>
  878. <#/part#>
  879. <#part "dynamic_bottom"#>
  880.     <#insert part ($head->{topic_number}) "no_frames_buttons"#>
  881.     <#include file="$admin_dir/template/custom/site_footer.tmpl"#>
  882.     </body></html>
  883. <#/part#>
  884. #################################################################################
  885. # NO FRAMES NAVIGATIONAL BUTTONS                                                #
  886. #################################################################################
  887. <#part "no_frames_buttons"#>
  888.     <#if $skip_nav_bar == 0 && $general->{skip_no_frames_buttons} == 0#>
  889.         <#if $GLOBAL_OPTIONS{use_no_frames} == 1#>
  890.             <p></p>
  891.             <table border=0 cellpadding=4 border=0 cellspacing=0 width=100%>
  892.             <tr bgcolor="$color->{alt_1}">
  893.             <td valign=top align=left width=80%><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>
  894.             <a href="$topic_file_url"><font color="$color->{alt_2}">$L{NAVIGATION_TOPICS}</font></a>
  895.             | <a href="$script_url/search.$cgi_extension?method=last&number=1&units=1440&tree=ON&where=all"><font color="$color->{alt_2}">$L{NAVIGATION_LAST_DAY}</font></a>
  896.             | <a href="$script_url/search.$cgi_extension?method=last&number=7&units=1440&tree=ON&where=all"><font color="$color->{alt_2}">$L{NAVIGATION_LAST_WEEK}</font></a>
  897.             | <a href="$script_url/board-viewtree.$cgi_extension"><font color="$color->{alt_2}">$L{NAVIGATION_TREE_VIEW}</font></a>
  898.             | <a href="$script_url/search.$cgi_extension"><font color="$color->{alt_2}">$L{NAVIGATION_SEARCH}</font></a>
  899.             <#if $GLOBAL_OPTIONS{allow_allusers}#>
  900.                 | <a href="$script_url/allusers.$cgi_extension"><font color="$color->{alt_2}">$L{ALLUSERS_SCREEN_SHORT_TITLE}</font></a>
  901.             <#endif#>
  902.             | <a href="$script_url/discus.$cgi_extension?pg=help"><font color="$color->{alt_2}">$L{NAVIGATION_HELP}</font></a>
  903.             | <a href="$script_url/discus.$cgi_extension?pg=credits"><font color="$color->{alt_2}">$L{NAVIGATION_CREDITS}</font></a>
  904.             </td>
  905.             <td valign=top align=right width=20%><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>
  906.             <#if $general->{showadminfromhere} == 1#>
  907.                 <#if pro#>
  908.                     <a href="$script_url/board-admin.$cgi_extension?action=quick&topic=$head->{topic_number}&page=$head->{me_number}&do=select" target="_blank"><font color="$color->{alt_2}">$L{NAVIGATION_ADMIN}</font></a>
  909.                 <#else#>
  910.                     <a href="$script_url/board-admin-menuonly.$cgi_extension?cmd=start&startfrom=$head->{topic_number}/$head->{me_number}" target="_blank"><font color="$color->{alt_2}">$L{NAVIGATION_ADMIN}</font></a>
  911.                 <#endif#>
  912.             <#else#>
  913.                 <a href="$script_url/discus.$cgi_extension?pg=admin" target=_top><font color="$color->{alt_2}">$L{NAVIGATION_ADMIN}</font></a>
  914.             <#endif#>
  915.             </b></font>
  916.             </td></tr></table>
  917.         <#endif#>
  918.     <#endif#>
  919. <#/part#>
  920. #################################################################################
  921. # PREVIEW OF A POST                                                             #
  922. #################################################################################
  923. <#part "preview"#>
  924. <#if $general->{create_new_conversation} == 1#>
  925.     <#define $pagetitle = "$L{START_NEW_THREAD}"#>
  926. <#else#>
  927.     <#define $pagetitle = "$L{BPNORMALTITLE}"#>
  928. <#endif#>
  929. <html>
  930. <head>
  931. <title>$pagetitle</title>
  932. <#if $GLOBAL_OPTIONS->{noload_warning} == 1#>
  933.     <script language="JavaScript">
  934.     <!--
  935.         function checkloaded() {
  936.             if (typeof document.userpass.loaded == 'undefined') {
  937.                 var J = "$L{PREVIEW_PAGE_NOT_LOADED_1}";
  938.                 J = J + "\n\n";
  939.                 J = J + "$L{PREVIEW_PAGE_NOT_LOADED_2}";
  940.                 var m = confirm(J);
  941.                 return m;
  942.             }
  943.             return true;
  944.         }
  945.     // -->
  946.     </script>
  947. <#endif#>
  948. <#insert part ($head->{topic_number}) "cookie_icons_offset"#>
  949. <#insert part ($head->{topic_number}) "dynamic_top"#>
  950. <p></p>
  951. <table border=0 cellpadding=4 border=0 cellspacing=0 width=100%>
  952. <tr bgcolor=$color->{alt_1}>
  953. <td valign=top align=left width=80%><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>
  954. <#insert part ($head->{topic_number}) "navbar"#>
  955. <#if $general->{secure} == 1#>
  956.     <a href="$authorize_reader?file=/$head->{topic_number}/$head->{me_number}.$ext"><font color="$color->{alt_2}">$head->{me_name}</font></a> »
  957. <#else#>
  958.     <a href="$message_url/$head->{topic_number}/$head->{me_number}.$ext"><font color="$color->{alt_2}">$head->{me_name}</font></a> »
  959. <#endif#>
  960. <#if $general->{create_new_conversation} == 1#>
  961.     $L{NEW_THREAD}
  962. <#else#>
  963.     $L{BPNORMALDISPLAY}
  964. <#endif#>
  965. </b></font>
  966. </td>
  967. <td valign=top align=right width=20%><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>
  968. </b></font></td>
  969. </tr></table>
  970. <p></p>
  971. <form action="$script_url/board-post.$cgi_extension" method="post" name="userpass"{#if $GLOBAL_OPTIONS->{noload_warning} == 1#} onSubmit="return checkloaded();"{#endif#}>
  972. <#if $general->{admin_screen} == 1#><input type=hidden name="ADMIN_SCREEN" value="1">
  973. <input type=hidden name="action" value="">
  974. <input type=hidden name="HTTP_REFERER" value="$head->{topic_number}/$head->{me_number}">
  975. <input type=hidden name="preview" value="0">
  976. <table bgcolor="$color->{alt_11}" border=0 cellpadding=0 cellspacing=1 width="100%"><tr><td>
  977.     <table border=0 cellpadding=4 border=0 cellspacing=1 width=100%>
  978.     <tr bgcolor=$color->{alt_1}>
  979.         <td colspan=2><font size=1 face="$color->{face}" color="$color->{alt_2}">
  980.         <#if $general->{create_new_conversation} == 1 && $preview->{error} == 0#>
  981.             <b>$L{NEW_THREAD}:</b> "$new_conv->{subject}"
  982.         <#else#>
  983.             <b>$L{BPNORMALTITLE}</b>
  984.         <#endif#>
  985.         <#if $message->{misspelled_words}#>
  986.             (</font>\
  987.             <#if $L{SPELLCHECKER_FLAG_BEGIN} eq ""#>
  988.                 <font size=1 face="$color->{face}" color="#ff0000"><u>\
  989.             <#else#>
  990.                 <font size=1>$L{SPELLCHECKER_FLAG_BEGIN}\
  991.             <#endif#>
  992.             $L{POSSIBLE_SPELLING_ERRORS_UNDERLINED}\
  993.             <#if $L{SPELLCHECKER_FLAG_END} eq ""#>
  994.                 </u></font>\
  995.             <#else#>
  996.                 $L{SPELLCHECKER_FLAG_END}</font>\
  997.             <#endif#>
  998.             <font size=1 face="$color->{face}" color="$color->{alt_2}">)</font>
  999.         <#else#>
  1000.             </font>
  1001.         <#endif#>
  1002.         </td>
  1003.     </tr>
  1004.     <#if $preview->{error} == 0#>
  1005.         <#insert part ($head->{topic_number}) "individual_message"#>
  1006.     <#else#>
  1007.         <tr bgcolor="$color->{bgcolor}">
  1008.             <td colspan=2>
  1009.                 <font face="$color->{face}" size="$color->{size}">
  1010.                 <h4>$L{POST_MESSAGE_ERROR}</h4>
  1011.                 $preview->{errormsg}
  1012.                 </font>
  1013.             </td>
  1014.         </tr>
  1015.     <#endif#>
  1016.     <tr bgcolor=$color->{alt_1}>
  1017.         <td align=center colspan=2>
  1018.             <font face="$color->{face}" size="$color->{size}">
  1019.             <#if $preview->{error} == 0#>
  1020.                 <input type="submit" value="$L{BPPOSTTHISMESSAGE}" {#if $GLOBAL_OPTIONS{format_panel}#} onClick="panelclose();"{#endif#}>
  1021.             <#endif#>
  1022.             <input type="button" value="$L{BPCANCELPOST}" onClick="\
  1023.             <#if $general->{admin_screen} == 1#>
  1024.                 self.close();">
  1025.             <#else#>
  1026.                 window.location='\
  1027.                 <#if $general->{secure} == 1#>$authorize_reader?file=/$head->{topic_number}/$head->{me_number}.$ext';">
  1028.                 <#if $general->{secure} == 0#>$message_url/$head->{topic_number}/$head->{me_number}.$ext';">
  1029.             <#endif#>
  1030.             </font>
  1031.         </td>
  1032.     </tr>
  1033.     </table>
  1034. </td></tr></table>
  1035. <p></p>
  1036. <table bgcolor="$color->{alt_11}" border=0 cellpadding=0 cellspacing=1 width=100%><tr><td>
  1037.     <table border=0 cellpadding=4 border=0 cellspacing=1 width=100%>
  1038.     <tr bgcolor=$color->{alt_1}>
  1039.         <td colspan=3><font size=1 face="$color->{face}" color="$color->{alt_2}">
  1040.         <b>$L{BPREVISEMESSAGE}</b>
  1041.         </font></td>
  1042.     </tr>
  1043.     <#if $general->{create_new_conversation} == 1#>
  1044.         <#if $addmessage->{disabled} == 0#>
  1045.             <tr>
  1046.                 <td valign=top bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
  1047.                 <b>$L{BPSUBJECTTAG}</b>
  1048.                 </font></td>
  1049.                 <td valign=top bgcolor="$color->{alt_10}" colspan=2><input type="text" name="subject" size=51 value="<#form escape "$preview->{subject}"#>"></td>
  1050.             </tr>
  1051.         <#else#>
  1052.             <input type=hidden name="subject">
  1053.         <#endif#>
  1054.         <#if $GLOBAL_OPTIONS->{subtopic_icons_user_choose}#>
  1055.             <tr>
  1056.                 <td valign=top bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
  1057.                 <b>$L{CHOOSE_AN_ICON}</b>
  1058.                 </font></td>
  1059.                 <td valign=top bgcolor="$color->{alt_10}" colspan=2>
  1060.                     <table>
  1061.                     <tr>
  1062.                     <td width=50><input type=radio name="emoticon" value=""{#if $preview->{emoticon} eq ""#} checked{#endif#}></td>
  1063.                     <#foreach $subtopic_icon (@subtopic_icons)#>
  1064.                         <#if [ $subtopic_icon->{_iteration} % 7 ] == 0#>
  1065.                             </tr><tr>
  1066.                         <#endif#>
  1067.                         <td width=50><input type=radio name="emoticon" value="$subtopic_icon->{name}"{#if $preview->{emoticon} eq $subtopic_icon->{name}#} checked{#endif#}>\
  1068.                         <img src="$subtopic_icon->{url}" height="$subtopic_icon->{height} width="$subtopic_icon->{width}"></td>
  1069.                     <#endloop#>
  1070.                     </tr></table>
  1071.                 </td>
  1072.             </tr>
  1073.         <#endif#>
  1074.     <#endif#>
  1075.     <#if $addmessage->{public} == 1#>
  1076.         <#insert part ($head->{topic_number}) "addmessage-public"#>
  1077.     <#else#>
  1078.         <#if $addmessage->{disabled} == 1#>
  1079.             <#insert part ($head->{topic_number}) "addmessage-disabled"#>
  1080.         <#else#>
  1081.             <#insert part ($head->{topic_number}) "addmessage-private"#>
  1082.         <#endif#>
  1083.     <#endif#>
  1084.     </td></tr></table>
  1085. </td></tr></table>
  1086. <input type=hidden name="loaded" value="">
  1087. <input type=hidden name="new_conversation" value="$general->{create_new_conversation}">
  1088. </form>
  1089. <#insert part ($head->{topic_number}) "dynamic_bottom"#>
  1090. <#/part#>
  1091. #################################################################################
  1092. # OPTIONS MANAGER SCREEN (SKIN-SPECIFIC ITEMS)                                  #
  1093. # You probably won't edit this unless you're going to be sharing your skin      #
  1094. #################################################################################
  1095. <#part "options_screen"#>
  1096.     <#if pro#>
  1097.         <div class="surround">
  1098.             {#if $browser->{ieX}#}<p class="blbar">Quick Administration Icons</p>{#else#}<table width=100% bgcolor=$color->{alt_11}><tr><td>$fs<font color=#ffff00>Quick Administration Icons</font></font></td></tr></table>{#endif#}
  1099.             <p>
  1100.             Select any of the "quick administration" icons that you want to appear next to each post.
  1101.             </p>
  1102.             <ul>
  1103.             <input type=checkbox name=TABLES2_edit_icon value=1{#if $GLOBAL_OPTIONS{TABLES2_edit_icon}#} checked{#endif#}> Edit Post<br>
  1104.             <input type=checkbox name=TABLES2_delete_icon value=1{#if $GLOBAL_OPTIONS{TABLES2_delete_icon}#} checked{#endif#}> Delete Post<br>
  1105.             <input type=checkbox name=TABLES2_checkip_icon value=1{#if $GLOBAL_OPTIONS{TABLES2_checkip_icon}#} checked{#endif#}> View Post/Show IP Address<br>
  1106.             <input type=checkbox name=TABLES2_print_icon value=1{#if $GLOBAL_OPTIONS{TABLES2_print_icon}#} checked{#endif#}> Print Post<br>
  1107.             <input type=checkbox name=TABLES2_move_icon value=1{#if $GLOBAL_OPTIONS{TABLES2_move_icon}#} checked{#endif#}> Move Post<br>
  1108.             <input type=checkbox name=TABLES2_banip_icon value=1{#if $GLOBAL_OPTIONS{TABLES2_banip_icon}#} checked{#endif#}> Ban IP Address<br>
  1109.             </ul>
  1110.             <input type=hidden name="a" value="TABLES2_print_icon,TABLES2_edit_icon,TABLES2_delete_icon,TABLES2_move_icon,TABLES2_checkip_icon,TABLES2_banip_icon">
  1111.         </div>
  1112.     <#else#>
  1113.         <p>
  1114.         (No options available for this skin in Freeware Discus)
  1115.         </p>
  1116.     <#endif#>
  1117. <#/part#>
  1118. #################################################################################
  1119. # INFORMATION SECTION -- THIS SECTION CONTAINS INFORMATION ABOUT THIS SKIN FILE #
  1120. #################################################################################
  1121. <#part "info"#>
  1122. Name            Tables II
  1123. Author            DiscusWare, LLC
  1124. Copyright        Copyright © 2001, DiscusWare, LLC, all rights reserved
  1125. Description        A tables-based look with useful information displayed.  Includes JavaScript-based "New" icons for new activity.  This is the default skin for version 4.0 and is recommended for the expanded features it offers.
  1126. *COLOR_bgcolor    #ffffff
  1127. *COLOR_text        #000000
  1128. *COLOR_link        #0000ff
  1129. *COLOR_vlink    #800080
  1130. *COLOR_alink    #ff0000
  1131. *COLOR_face        Verdana,Arial,Helvetica
  1132. *COLOR_size        2
  1133. *COLOR_image
  1134. *alt_color_1    #0000a0
  1135. _alt_color_1    Header table backgrounds
  1136. *alt_color_2    #f7f7f7
  1137. _alt_color_2    Header table texts
  1138. *alt_color_3    #f7f7f7
  1139. _alt_color_3    Color on main topics page
  1140. *alt_color_4    #cccccc
  1141. _alt_color_4    Color on main topics page
  1142. *alt_color_5    #f7f7f7
  1143. _alt_color_5    Color on subtopic lists
  1144. *alt_color_6    #cccccc
  1145. _alt_color_6    Color on subtopic lists
  1146. *alt_color_7    #f7f7f7
  1147. _alt_color_7    Color on message lists
  1148. *alt_color_8    #cccccc
  1149. _alt_color_8    Color on message lists
  1150. *alt_color_9    #f7f7f7
  1151. _alt_color_9    Color on various screens
  1152. *alt_color_10    #cccccc
  1153. _alt_color_10    Color on various screens
  1154. *alt_color_11    #000000
  1155. _alt_color_11    Borders around tables
  1156. <#/part#>
  1157. #################################################################################
  1158. # JAVASCRIPT SECTION -- DECLARATION OF SUBROUTINES USED IN COOKIE FUNCTIONS     #
  1159. # You should not need to modify this section unless you have a strange server!  #
  1160. #################################################################################
  1161. <#part "cookie_icons_offset"#>
  1162.     <#if $GLOBAL_OPTIONS{cookie_for_new} == 1#>
  1163.         <#define $onLoadJS = "cookie_icons_offset()"#>
  1164.         <script language="JavaScript">
  1165.         <!--
  1166.         function setcookie(name, value, store) {
  1167.             if (store >= 1) {
  1168.                 var expire = new Date ();
  1169.                 if (store == 1) {
  1170.                     expire.setTime (expire.getTime() + (365*24*60*60*1000));
  1171.                 }
  1172.                 if (store == 2) {
  1173.                     expire.setTime (expire.getTime() + (1*24*60*60*1000));
  1174.                 }
  1175.             } else {
  1176.                 var expire = null;
  1177.             }
  1178.             document.cookie = name + "=" + escape(value) + ((expire == null) ? "" : "; expires=" + expire.toGMTString()) + "; path=/";
  1179.         }
  1180.         function cookie_icons_offset() {
  1181.             var now = new Date ();
  1182.             var browser_time = now.getTime();
  1183.             setcookie("lastvisit$COOKIE_ID", browser_time, 1);
  1184.             var server_now = "$DYNAMIC->{server_time}";
  1185.             if (server_now != "") {
  1186.                 var offset = browser_time - (1000*server_now);
  1187.                 setcookie("offset$COOKIE_ID", offset, 1);
  1188.             }
  1189.         }
  1190.         // -->
  1191.         </script>
  1192.     <#endif#>
  1193. <#/part#>
  1194. <#part "cookie_icons"#>
  1195.     function setcookie(name, value, store) {
  1196.         if (store >= 1) {
  1197.             var expire = new Date ();
  1198.             if (store == 1) {
  1199.                 expire.setTime (expire.getTime() + (365*24*60*60*1000));
  1200.             }
  1201.             if (store == 2) {
  1202.                 expire.setTime (expire.getTime() + (1*24*60*60*1000));
  1203.             }
  1204.         } else {
  1205.             var expire = null;
  1206.         }
  1207.         document.cookie = name + "=" + escape(value) + ((expire == null) ? "" : "; expires=" + expire.toGMTString()) + "; path=/";
  1208.     }
  1209.     function cookieinit() {
  1210.         var last_time = readcookie("lastvisit$COOKIE_ID");
  1211.         var last_session = readcookie("lastsession$COOKIE_ID");
  1212.         var offset = readcookie("offset$COOKIE_ID");
  1213.         var now = new Date ();
  1214.         var browser_time = now.getTime();
  1215.         setcookie("lastvisit$COOKIE_ID", browser_time, 1);
  1216.         var server_now = "$DYNAMIC->{server_time}";
  1217.         if (server_now != "") {
  1218.             offset = browser_time - (1000*server_now);
  1219.             setcookie("offset$COOKIE_ID", offset, 1);
  1220.         }
  1221.         if (last_time == "" || last_time == null || last_time == 0) {
  1222.             last_time = browser_time + (3*24*60*60*365*1000);
  1223.         }
  1224.         if (last_session == null || last_session == 0 || last_session == "") {
  1225.             setcookie("lastsession$COOKIE_ID", last_time, 0);
  1226.             last_session = last_time;
  1227.         }
  1228.         if (browser_time - last_time > (15 * 60 * 1000)) {
  1229.             setcookie("lastsession$COOKIE_ID", last_time, 0);
  1230.             last_session = last_time;
  1231.         }
  1232.         # Generally the following is not needed.  However, give it a try
  1233.         # if the icons are always off by a certain number of hours.
  1234.         var server_gmt_offset = 0;
  1235.         # var server_gmt_offset = "<#gmtoffset#>";
  1236.         var compare_time = (last_session - offset) / 1000;
  1237.         if (document.images) {
  1238.             img_new = new Image();
  1239.             # Set this to something else if you want.
  1240.             <#if $GLOBAL_OPTIONS->{new_icon_choice} ne ""#>
  1241.                 img_new.src = "$GLOBAL_OPTIONS->{new_icon_choice}";
  1242.             <#else#>
  1243.                 img_new.src = "$html_url/clipart/new.gif";
  1244.             <#endif#>
  1245.             <#define $new_img_height = "11"#>
  1246.             <#define $new_img_width  = "28"#>
  1247.         }
  1248.     ## } is missing here, as topics page or regular page fills in information
  1249.     ## into the cookieinit() function and then closes the function.
  1250. <#/part#>
  1251. <#part "readcookie"#>
  1252.     function readcookie(name) {
  1253.         var i = 0; var lookfor = name + "="
  1254.         while (i < document.cookie.length) {
  1255.             var j = i + lookfor.length
  1256.             if (document.cookie.substring(i,j) == lookfor) {
  1257.                 var endstr = document.cookie.indexOf(";", j)
  1258.                 if (endstr == -1) {
  1259.                     endstr = document.cookie.length
  1260.                 }
  1261.                 return unescape(document.cookie.substring(j, endstr))
  1262.             }
  1263.             i = document.cookie.indexOf(" ", i) + 1
  1264.             if (i == 0) {
  1265.                 break
  1266.             }
  1267.         }
  1268.         return ""
  1269.     }
  1270. <#/part#>
  1271. #################################################################################
  1272. # INITIALIZATION SECTION                                                        #
  1273. # This code is automatically read (once) before any part of the skin.  Only     #
  1274. # definitions (array, variables, etc.) are permitted in this section.           #
  1275. #################################################################################
  1276. <#part "INIT"#>
  1277. <#define array @statuses (_index, text)#>
  1278. 1    $L{USER_STATUS_1}
  1279. 2    <#if $GLOBAL_OPTIONS{status2} eq ""#>$L{USER_STATUS_2}<#else#>$GLOBAL_OPTIONS{status2}<#endif#>
  1280. 3    <#if $GLOBAL_OPTIONS{status3} eq ""#>$L{USER_STATUS_3}<#else#>$GLOBAL_OPTIONS{status3}<#endif#>
  1281. 4    <#if $GLOBAL_OPTIONS{status4} eq ""#>$L{USER_STATUS_4}<#else#>$GLOBAL_OPTIONS{status4}<#endif#>
  1282. 5    <#if $GLOBAL_OPTIONS{status5} eq ""#>$L{USER_STATUS_5}<#else#>$GLOBAL_OPTIONS{status5}<#endif#>
  1283. 6    <#if $GLOBAL_OPTIONS{status6} eq ""#>$L{USER_STATUS_6}<#else#>$GLOBAL_OPTIONS{status6}<#endif#>
  1284. 7    <#if $GLOBAL_OPTIONS{status7} eq ""#>$L{USER_STATUS_7}<#else#>$GLOBAL_OPTIONS{status7}<#endif#>
  1285. 8    <#if $GLOBAL_OPTIONS{status8} eq ""#>$L{USER_STATUS_8}<#else#>$GLOBAL_OPTIONS{status8}<#endif#>
  1286. 9    <#if $GLOBAL_OPTIONS{status9} eq ""#>$L{USER_STATUS_9}<#else#>$GLOBAL_OPTIONS{status9}<#endif#>
  1287. 10    <#if $GLOBAL_OPTIONS{status10} eq ""#>$L{USER_STATUS_10}<#else#>$GLOBAL_OPTIONS{status10}<#endif#>
  1288. 11    $L{USER_STATUS_1}
  1289. <#/define#>
  1290. <#define array @subtopic_icons (name, url, height, width)#>
  1291. happy    $html_url/clipart/happy.gif    15    15
  1292. sad    $html_url/clipart/sad.gif    15    15
  1293. angry    $html_url/clipart/angry.gif    15    15
  1294. proud    $html_url/clipart/proud.gif    15    15
  1295. blush    $html_url/clipart/blush.gif    15    15
  1296. wink    $html_url/clipart/wink.gif    15    15
  1297. laugh    $html_url/clipart/lol.gif    15    15
  1298. talker    $html_url/clipart/talker.gif    15    15
  1299. uhoh    $html_url/clipart/uhoh.gif    15    15
  1300. yawn    $html_url/clipart/yawn.gif    15    15
  1301. biggrin    $html_url/clipart/biggrin.gif    15    15
  1302. kiss    $html_url/clipart/kiss.gif    15    15
  1303. rofl    $html_url/clipart/rofl.gif    15    15
  1304. <#/define#>
  1305. <#language: $L{THREAD_CLOSED_WORDING} = "<b>Closed</b>: New threads not accepted on this page"#>
  1306. <#language: $L{THREAD} = "Thread"#>
  1307. <#language: $L{TOPIC_SINGULAR} = "Topic"#>
  1308. <#language: $L{LAST_POST} = "Last Post"#>
  1309. <#language: $L{LAST_POSTER} = "Last Poster"#>
  1310. <#language: $L{SKIN_PAGES_WORD} = "Pages"#>
  1311. <#language: $L{ARROW_PREVIOUS} = "Previous"#>
  1312. <#language: $L{ARROW_NEXT} = "Next"#>
  1313. <#language: $L{TABLES23_MESSAGE} = "Message"#>
  1314. <#language: $L{TABLES23_AUTHOR} = "Author"#>
  1315. <#/part#>
  1316.