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