home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / FAQ / discus_admin_1357211388 / skins / tables1.tmpl < prev    next >
Text File  |  2009-11-06  |  44KB  |  1,114 lines

  1. # DISCUS SKIN FILE:  tables1.tmpl (the old Support Forum skin)
  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.  
  10. <!--BEGIN-->
  11.  
  12. #################################################################################
  13. # PAGE SECTION -- THIS SECTION CONTROLS ALL SUBTOPIC/MESSAGE PAGES              #
  14. #################################################################################
  15.  
  16. <#part "page"#>
  17. <#define $pagetitle = "$head->{me_name}"#>
  18.  
  19. #**************************************************#
  20. # \/ DO NOT EDIT ANYTHING BETWEEN THESE MARKERS \/ #
  21. #**************************************************#
  22. <#if $general->{skip_headers} == 0#>
  23.     <html>
  24.     $pginfo->{headers_asstring}
  25.     <head>
  26.     <title>$title: $head->{me_name}</title>
  27.     <meta http-equiv="pragma" content="no-cache">
  28.     <meta name="description" content="$pginfo->{meta_description}">
  29.     <meta name="keywords" content="$pginfo->{meta_keywords}">
  30.     <meta name="robots" content="$pginfo->{meta_robots}">
  31.     <script language="javascript">
  32.     <!-- ;
  33.         function initpage () {
  34.           if (document.userpass) {
  35.             if (document.userpass.username) {
  36.               if (document.userpass.username.value == "") {
  37.                 document.userpass.username.value = readcookie("user$COOKIE_ID")
  38.               }
  39.             }
  40.             if (document.userpass.passwd) {
  41.               if (document.userpass.passwd.value == "") {
  42.                 document.userpass.passwd.value = readcookie("rpwd$COOKIE_ID")
  43.               }
  44.             }
  45.           }
  46.         <#if $GLOBAL_OPTIONS{cookie_for_new} == 1#>
  47.               cookieinit();
  48.             }
  49.             <#insert part ($head->{topic_number}) "cookie_icons"#>
  50.             if (document.images) {
  51.                 <#foreach $subtopic (@subtopics)#>
  52.                     <#if $subtopic->{lastmod} ne ""#>
  53.                         if (($subtopic->{lastmod} - server_gmt_offset) > compare_time) {
  54.                             document.img$subtopic->{number}.src = img_new.src;
  55.                         }
  56.                     <#endif#>
  57.                 <#endloop#>
  58.             }
  59.         <#endif#>
  60.         }
  61.         <#insert part ($head->{topic_number}) "readcookie"#>
  62.     // end hide -->
  63.     </script>
  64.     <#define $onLoadJS = "initpage()"#>
  65.     <#insert part ($head->{topic_number}) "dynamic_top"#>
  66.     <a name="MT"></a>
  67. <#endif#>
  68. #**************************************************#
  69. # /\ DO NOT EDIT ANYTHING BETWEEN THESE MARKERS /\ #
  70. #**************************************************#
  71.  
  72. #--------------------------------------------------#
  73. # Navigation Bar                                   #
  74. #--------------------------------------------------#
  75.  
  76. <#if $general->{skip_nav_bar} == 0#>
  77.     <strong><font size="1">
  78.     <#insert part ($head->{topic_number}) "navbar"#>
  79.     $head->{me_name}
  80.     </font></strong>
  81. <#endif#>
  82.  
  83. #--------------------------------------------------#
  84. # Announcement Message                             #
  85. #--------------------------------------------------#
  86.  
  87. <#if $head->{param} =~ match(Announce)#>
  88.     <hr>
  89.     <!--Announcement-->
  90.     $pginfo->{announcement}
  91.     <!--/Announcement-->
  92. <#endif#>
  93.  
  94. #--------------------------------------------------#
  95. # List of Subtopics                                #
  96. #--------------------------------------------------#
  97.  
  98. <#if $head->{param} =~ match(Sublist)#>
  99.     <hr>
  100.  
  101.     <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=1 WIDTH=100%>
  102.     <TR BGCOLOR="$color->{alt_1}">
  103.     <TD><FONT SIZE=1 color="$color->{alt_2}"> </FONT></TD>
  104.     <TD WIDTH=100%><FONT SIZE=1 FACE="$color->{face}" color="$color->{alt_2}"><B>$L{SKIN_SUBTOPIC_WORD}</B></FONT></TD>
  105.     <TD ALIGN=RIGHT><FONT SIZE=1 FACE="$color->{face}" color="$color->{alt_2}"><B>$L{SKIN_POSTS_WORD}</B></FONT></TD>
  106.     <TD><FONT SIZE=1> </FONT></TD>
  107.     <TD><FONT SIZE=1 FACE="$color->{face}" color="$color->{alt_2}"><B>$L{SKIN_UPDATED_WORD}</B></FONT></TD>
  108.     </TR>
  109.  
  110.     <#if $general->{subtopic_raw} == 1#>
  111.         $pginfo->{sublist_raw}
  112.     <#else#>
  113.         <#foreach $subtopic (@subtopics)#>
  114.             <#if $subtopic->{type} == 0#>
  115.  
  116.                 ## ----- \/ Do not change \/ -----
  117.                 <!--Top: $subtopic->{number}-->
  118.                 ## ----- /\ Do not change /\ -----
  119.  
  120.                 <TR BGCOLOR="<#pick color $subtopic->{_iteration} from @_ALTCOLOR(3,4)#>"> \
  121.                 <td nowrap valign=top>\
  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=center><font face="$color->{face}" size="1"><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></td>\
  143.                 <#else#>
  144.                     <td width=80% valign=center><font face="$color->{face}" size="1"><a href="<#if $general->{secure}#>$authorize_reader?file=<#else#>$message_url<#endif#>/$head->{topic_number}/$subtopic->{number}.$ext"><#maxchar 70/... "$subtopic->{name}"#></a></td>\
  145.                 <#endif#>
  146.                 <td valign=center align=right><font face="$color->{face}" size="$color->{size}"><b>$subtopic->{msg_count}</b></font></td> \
  147.                 <td> </td>
  148.                 <td nowrap valign=center align=right><font face="$color->{face}" size="1"><#date $subtopic->{lastmod} format "$L{REALSHORTDATE}"#></font></td> \
  149.                 </tr> \
  150.                 <#if $subtopic->{descr} ne ""#>
  151.                     <TR BGCOLOR="<#pick color $subtopic->{_iteration} from @_ALTCOLOR(3,4)#>"> \
  152.                     <td> </td> \
  153.                     <td colspan=4><font size=1 face="$color->{face}"><!--Descr-->$subtopic->{descr}<!--/Descr--></font></td> \
  154.                     </tr> \
  155.                 <#endif#>
  156.  
  157.                 ## ----- \/ Do not change \/ -----
  158.                 <!--/Top-->
  159.                 ## ----- /\ Do not change /\ -----
  160.  
  161.             <#else#>
  162.  
  163.                 ## ----- \/ Do not change \/ -----
  164.                 <!--URL: $subtopic->{number}-->\
  165.                 <!--Data: <#escape "$subtopic->{url}"#>-<#escape "$subtopic->{target}"#>-<#escape "$subtopic->{properties}"#> -->
  166.                 ## ----- /\ Do not change /\ -----
  167.                 
  168.                 <TR BGCOLOR="<#pick color $subtopic->{_iteration} from @_ALTCOLOR(3,4)#>"> \
  169.                 <td nowrap valign=top>\
  170.                 <#if $GLOBAL_OPTIONS{cookie_for_new} == 1#>
  171.                     <img name="img$subtopic->{number}" height=$new_img_height width=$new_img_width border=0 src="$icon_url/tree_j.gif" alt="">\
  172.                 <#endif#>
  173.                 <#if $GLOBAL_OPTIONS->{subtopic_icons}#>
  174.                     <#define $icon = "$@subtopic_icons->{url:name="$subtopic->{property_emot}"}"#>
  175.                     <#if $icon eq ""#>
  176.                         <img src="$icon_url/tree_j.gif" height=16 width=20>\
  177.                     <#else#>
  178.                         <#define $height = "$@subtopic_icons->{height:name="$subtopic->{property_emot}"}"#>
  179.                         <#define $width = "$@subtopic_icons->{width:name="$subtopic->{property_emot}"}"#>
  180.                         <img src="$icon" height="$height" width="$width" alt="">\
  181.                         <#define $newwidth = "20"#>
  182.                         <#math: $newwidth -= "$width"#>
  183.                         <#if $newwidth > 0#>
  184.                             <img src="$icon_url/tree_j.gif" height=1 width="$newwidth">\
  185.                         <#endif#>
  186.                     <#endif#>
  187.                 <#endif#>
  188.                 <img src=$icon_url/$subtopic->{icon}.gif height=16 width=20></td>\
  189.                 <td width=80% valign=center colspan=4><font size="1" face="$color->{face}"><a href="$subtopic->{url}"{#if $subtopic->{target} ne ""#} target="$subtopic->{target}"{#endif#}><!--Name-->$subtopic->{name}<!--/Name--></a></font></td> \
  190.                 </tr> \                
  191.                 <#if $subtopic->{descr} ne ""#>
  192.                     <TR BGCOLOR="<#pick color $subtopic->{_iteration} from @_ALTCOLOR(3,4)#>"> \
  193.                     <td> </td> \
  194.                     <td colspan=4><font size=1 face="$color->{face}"><!--Descr-->$subtopic->{descr}<!--/Descr--></font></td> \
  195.                     </tr>
  196.                 <#endif#>
  197.                 
  198.                 ## ----- \/ Do not change \/ -----
  199.                 <!--/URL-->
  200.                 ## ----- /\ Do not change /\ -----
  201.  
  202.             <#endif#>
  203.         <#endloop#>
  204.     <#endif#>
  205.     </TABLE>
  206. <#endif#>
  207.  
  208. #--------------------------------------------------#
  209. # Create New Conversation                          #
  210. #--------------------------------------------------#
  211.  
  212. <#if $head->{param} =~ match(Create)#>
  213.     <hr>
  214.     <form action="$script_url/board-post.$cgi_extension" method="post">
  215.     <input type="hidden" name="HTTP_REFERER" value="/$head->{topic_number}/$head->{me_number}.$ext">
  216.     <input type="hidden" name="action" value="form">
  217.     <center><input type=submit value="$L{START_NEW_THREAD}"></center>
  218.     </form>
  219. <#endif#>    
  220.  
  221. #--------------------------------------------------#
  222. # About Message                                    #
  223. #--------------------------------------------------#
  224.  
  225. <#if $head->{param} =~ match(About)#>
  226.     <HR>
  227.     <!--About-->
  228.     $pginfo->{about}
  229.     <!--/About-->
  230. <#endif#>
  231.  
  232. #--------------------------------------------------#
  233. # Posted Messages                                  #
  234. #--------------------------------------------------#
  235.  
  236. <#if $head->{param} =~ match(Messages)#>
  237.     <#if $general->{messages_raw} == 1#>
  238.         $pginfo->{messages_raw}
  239.     <#else#>
  240.         <#if $#messages != 0#>
  241.             <HR>
  242.             <#foreach $message (@messages)#>
  243.                 <#insert part ($head->{topic_number}) "individual_message"#>
  244.             <#endloop#>
  245.         <#endif#>
  246.     <#endif#>
  247. <#endif#>
  248. <a name="MB"></a>
  249.  
  250. #--------------------------------------------------#
  251. # Add a Message Form                               #
  252. #--------------------------------------------------#
  253.  
  254. <#if $head->{param} =~ match(Add)#>
  255.     <form action="$script_url/board-post.$cgi_extension" method="post" name="userpass">
  256.     <input type=hidden name="HTTP_REFERER" value="$head->{topic_number}/$head->{me_number}">
  257.     <input type=hidden name="preview" value="1">
  258.     <#if $addmessage->{public} == 1#>
  259.         <HR>
  260.         <H3>$L{ADDMSG_ADD_A_MESSAGE_RETRO}</H3><P>
  261.         <#insert part ($head->{topic_number}) "addmessage-public"#>
  262.     <#else#>
  263.         <#if $addmessage->{disabled} == 1#>
  264.             <#insert part ($head->{topic_number}) "addmessage-disabled"#>
  265.         <#else#>
  266.             <HR>
  267.             <H3>$L{ADDMSG_ADD_A_MESSAGE_RETRO}</H3><P>
  268.             <#insert part ($head->{topic_number}) "addmessage-private"#>
  269.         <#endif#>
  270.     <#endif#>
  271.     </form>
  272. <#endif#>
  273.  
  274. <#if $general->{skip_bottom} == 0#>
  275.     <#insert part ($head->{topic_number}) "dynamic_bottom"#>
  276. <#endif#>
  277.  
  278. <#/part#>
  279.  
  280. #################################################################################
  281. # ADD A MESSAGE BOX SECTION - CONTROLS FORMS ALLOWING ADDITION OF A MESSAGE     #
  282. #################################################################################
  283.  
  284. #--------------------------------------------------#
  285. # Public Posting Area                              #
  286. #--------------------------------------------------#
  287.  
  288. <#part "addmessage-public"#>
  289.     <TABLE><TR><TD><TEXTAREA NAME="message" COLS=50 ROWS=11 WRAP=VIRTUAL><#form escape "$preview->{source}"#></TEXTAREA></TD></TR></TABLE>
  290.     <BR>
  291.     <TABLE>
  292.     <TR>
  293.     <TD></TD><TD></TD><TD></TD>
  294.     <TD VALIGN=CENTER ROWSPAN=3 WIDTH=250><FONT FACE="$color->{face}" SIZE="-1">$L{ADDMSG_PUBLIC}</FONT></TD>
  295.     </TR>
  296.     <TR>
  297.     <TD><FONT FACE="$color->{face}" size="-1">$L{PROFILE_USERNAME}</FONT></TD>
  298.     <TD><INPUT TYPE="Text" NAME="username" VALUE="$preview->{username}" SIZE=12></TD><TD WIDTH=20> </TD>
  299.     </TR>
  300.     <TR>
  301.     <TD><FONT FACE="$color->{face}" size="-1">$L{PROFILE_PASSWORD}</FONT></TD>
  302.     <TD><INPUT TYPE="Password" NAME="passwd" VALUE="$preview->{password}" SIZE=12></TD><TD></TD><TD></TD>
  303.     </TR>
  304.     <TR>
  305.     <TD><FONT FACE="$color->{face}" size="-1">$L{ADDMSG_EMAIL}</FONT></TD>
  306.     <TD COLSPAN=3 VALIGN=TOP><INPUT TYPE="Text" NAME="email" VALUE="$preview->{email}" SIZE=40></TD><TD></TD><TD></TD>
  307.     </TR>
  308.     <#if $addmessage->{anonymous_posting} == 1#>
  309.         <TR><TD COLSPAN=2><FONT FACE="$color->{face}"><INPUT TYPE=CHECKBOX NAME="Anon" VALUE="on"{#if $preview->{anonymous} == 1#} checked{#endif#}><FONT SIZE="-1">$L{POST_AS_ANONYMOUS}</FONT></FONT></TD><TD></TD></TR>
  310.     <#endif#>
  311.     </TABLE>
  312.     <P>
  313.     <INPUT TYPE=SUBMIT NAME=submit VALUE="$L{BPPREVIEWPOST}" onClick="document.userpass.preview.value = '1';">
  314.     <#if $GLOBAL_OPTIONS->{html} == 1#>
  315.         <input type=hidden name="html" value=1>
  316.         <input type=hidden name="html_a" value=1>
  317.     <#endif#>
  318.     <#if $GLOBAL_OPTIONS->{active_links} == 1#>
  319.         <input type=hidden name="active_links" value=1>
  320.         <input type=hidden name="active_links_a" value=1>
  321.     <#endif#>
  322. <#/part#>
  323.  
  324. #--------------------------------------------------#
  325. # Private Posting Area                             #
  326. #--------------------------------------------------#
  327.  
  328. <#part "addmessage-private"#>
  329.     <TABLE><TR><TD><TEXTAREA NAME="message" COLS=50 ROWS=11 WRAP=VIRTUAL><#form escape "$preview->{source}"#></TEXTAREA></TD></TR></TABLE>
  330.     <BR>
  331.     <TABLE>
  332.     <TR>
  333.     <TD></TD><TD></TD><TD></TD>
  334.     <TD VALIGN=CENTER ROWSPAN=3 WIDTH=250><FONT FACE="$color->{face}" SIZE="-1">$L{ADDMSG_PRIVATE}</FONT></TD>
  335.     </TR>
  336.     <TR>
  337.     <TD><FONT FACE="$color->{face}" size="-1">$L{PROFILE_USERNAME}</FONT></TD>
  338.     <TD><INPUT TYPE="Text" NAME="username" VALUE="$preview->{username}" SIZE=12></TD><TD WIDTH=20> </TD>
  339.     </TR>
  340.     <TR>
  341.     <TD><FONT FACE="$color->{face}" size="-1">$L{PROFILE_PASSWORD}</FONT></TD>
  342.     <TD><INPUT TYPE="Password" NAME="passwd" VALUE="$preview->{password}" SIZE=12></TD><TD></TD><TD></TD>
  343.     </TR>
  344.     <#if $addmessage->{anonymous_posting} == 1#>
  345.         <TR><TD COLSPAN=2><FONT FACE="$color->{face}"><INPUT TYPE=CHECKBOX NAME="Anon" VALUE="on"{#if $preview->{anonymous} == 1#} checked{#endif#}><FONT SIZE="-1">$L{POST_AS_ANONYMOUS}</FONT></FONT></TD><TD></TD></TR>
  346.     <#endif#>
  347.     </TABLE>
  348.     <P>
  349.     <INPUT TYPE=SUBMIT NAME=submit VALUE="$L{BPPREVIEWPOST}" onClick="document.userpass.preview.value = '1';">
  350.     <#if $GLOBAL_OPTIONS->{html} == 1#>
  351.         <input type=hidden name="html" value=1>
  352.         <input type=hidden name="html_a" value=1>
  353.     <#endif#>
  354.     <#if $GLOBAL_OPTIONS->{active_links} == 1#>
  355.         <input type=hidden name="active_links" value=1>
  356.         <input type=hidden name="active_links_a" value=1>
  357.     <#endif#>
  358. <#/part#>
  359.  
  360.  
  361. #--------------------------------------------------#
  362. # Disabled Posting in Topic                        #
  363. #--------------------------------------------------#
  364.  
  365. <#part "addmessage-disabled"#>
  366.     <#define $l = "$L{BPPOSTINGDISABLEDDESCR}"#>
  367.     <#replace "%aopen" with "<a href='$script_url/board-contact.$cgi_extension'>" in $l#>
  368.     <#replace "%aclose" with "</a>" in $l#>
  369.     <HR>$l
  370. <#/part#>
  371.  
  372. #################################################################################
  373. # INDIVIDUAL MESSAGE DISPLAY                                                    #
  374. #################################################################################
  375.  
  376. <#part "individual_message"#>
  377.     <!--Post: $message->{number}--><!--Time: $message->{time}--> ## DO NOT CHANGE!!!
  378.     <A NAME="POST$message->{number}">\
  379.     <TABLE BGCOLOR="<#pick color $message->{_iteration} from @_ALTCOLOR(3,4)#>" WIDTH=100% BORDER=1 BORDERCOLOR="$color->{alt_6}">\
  380.     <TR><TD><font size="-1" face="$color->{face}">\
  381.     <#if $GLOBAL_OPTIONS{message_icons} == 1 && $general->{no_icons_shown} == 0#>
  382.         <#if $GLOBAL_OPTIONS{message_icon_top} ne "0" && $GLOBAL_OPTIONS{message_icon_top} ne ""#>
  383.             <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>\
  384.         <#endif#>
  385.         <#if $GLOBAL_OPTIONS{message_icon_up} ne "0" && $GLOBAL_OPTIONS{message_icon_up} ne ""#>
  386.             <#if $message->{_is_first_element}#><a href="#MT"><#else#><a href="#POST$message->{_previous_element}->{number}"><#endif#>\
  387.             <img src="$icon_url/$GLOBAL_OPTIONS{message_icon_up}" height=12 width=12 border=0 alt="$GLOBAL_OPTIONS{message_icon_up_alt}"></a>\
  388.         <#endif#>
  389.         <#if $GLOBAL_OPTIONS{message_icon_down} ne "0" && $GLOBAL_OPTIONS{message_icon_down} ne ""#>
  390.             <#if $message->{_is_last_element}#><a href="#MB"><#else#><a href="#POST$message->{_next_element}->{number}"><#endif#>\
  391.             <img src="$icon_url/$GLOBAL_OPTIONS{message_icon_down}" height=12 width=12 border=0 alt="$GLOBAL_OPTIONS{message_icon_down_alt}"></a>\
  392.         <#endif#>
  393.         <#if $GLOBAL_OPTIONS{message_icon_bottom} ne "0" && $GLOBAL_OPTIONS{message_icon_bottom} ne ""#>
  394.             <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>\
  395.         <#endif#>
  396.         <#if $GLOBAL_OPTIONS{message_icon_link} ne "0" && $GLOBAL_OPTIONS{message_icon_link} ne ""#>
  397.              <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>\
  398.         <#endif#>
  399.           \
  400.     <#endif#>
  401.     <#define $l = "$L{POSTBY}"#>
  402.     <#if $message->{email} ne ""#>
  403.         <#replace "%name" with "<font size="1"><b><!--email--><a href="$message->{email}" target="_blank"><!--/email--><!--name-->$message->{author}<!--/name--></a></b></font>" in $l#>
  404.     <#else#>
  405.         <#replace "%name" with "<font size="1"><b><!--name-->$message->{author}<!--/name--></b></font>" in $l#>
  406.     <#endif#>
  407.     <#replace "%date" with "</b><font size="1" color="$color->{alt_5}"><#date $message->{time} format "$L{LONGDATE}"#></font><b>" in $l#>
  408.     $l\
  409.     <#if pro#>
  410.           <font size="1"><a href="$script_url/board-profile.$cgi_extension?action=editpost&postid=$message->{number}&page=$head->{topic_number}/$head->{me_number}">$L{SKIN_EDIT_WORD}</a> \
  411.     <#endif#>
  412.     </TD></TR></TABLE></A> \
  413.     <p><!--Text-->$message->{text}<!--/Text--></p> \
  414.     <#reference array @fields from $message->{fields}#>
  415.     <#foreach $field (@fields)#>
  416.         <#if $field->{value} ne ""#>
  417.             <!--f/$field->{name}:<#escape "$field->{value}"#>--> \
  418.         <#endif#>
  419.     <#endloop#>
  420.     {|}
  421.     <!--/Post: $message->{number}-->
  422. <#/part#>
  423.  
  424. #################################################################################
  425. # TOPICS SECTION -- THIS SECTION CONTROLS THE TOPICS PAGE OF THE BOARD          #
  426. #################################################################################
  427.  
  428. <#part "topics"#>
  429. <html>
  430. <head>
  431. <title>Topics - $title</title>
  432.  
  433. <#if $GLOBAL_OPTIONS{cookie_for_new}#>
  434.     <#define $onLoadJS = "cookieinit()"#>
  435.     <script language="JavaScript">
  436.     <!--
  437.     <#insert part () "readcookie"#>
  438.     <#insert part () "cookie_icons"#>
  439.         if (document.images) {
  440.             <#foreach $topic (@topics)#>
  441.                 <#if $topic->{lastmod} ne ""#>
  442.                     if (($topic->{lastmod} - server_gmt_offset) > compare_time ) {
  443.                         document.img$topic->{number}.src = img_new.src;
  444.                     }
  445.                 <#endif#>
  446.             <#endloop#>
  447.         }
  448.     }
  449.     // -->
  450.     </script>
  451. <#endif#>
  452. <#insert part () "dynamic_top"#>
  453.  
  454. <!--Title Message-->
  455. $titlemsg->{text}
  456. <#if $titlemsg->{hr} == 1#><hr>
  457. <!--/Title Message-->
  458.  
  459.  
  460. <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=1 WIDTH=100%>
  461. <TR BGCOLOR="$color->{alt_1}">
  462. <TD><FONT SIZE=1> </FONT></TD>
  463. <TD WIDTH=100%><FONT SIZE=1 FACE="Verdana,Arial,Helvetica" color="$color->{alt_2}"><B>$L{SKIN_TOPIC_WORD}</B></FONT></TD>
  464. <TD ALIGN=RIGHT><FONT SIZE=1 FACE="Verdana,Arial,Helvetica" color="$color->{alt_2}"><B>$L{SKIN_POSTS_WORD}</B></FONT></TD>
  465. <TD><FONT SIZE=1> </FONT></TD>
  466. <TD><FONT SIZE=1 FACE="Verdana,Arial,Helvetica" color="$color->{alt_2}"><B>$L{SKIN_UPDATED_WORD}</B></FONT></TD>
  467. </TR>
  468.  
  469. <#define $msgs = "0"#>
  470.  
  471. <#foreach $topic (@topics)#>
  472.     <#if $topic->{type} == 1#>
  473.  
  474.         ## ----- \/ Do not change \/ -----
  475.         <!--Top: $topic->{number}-->
  476.         ## ----- /\ Do not change /\ -----
  477.  
  478.         <#if $topic->{hidden} == 1#>
  479.             <!-- Topic Hidden -->
  480.             <#skip iteration#>
  481.         <#else#>
  482.             <TR BGCOLOR="<#pick color $topic->{_iteration} from @_ALTCOLOR(3,4)#>">
  483.             <td valign=top nowrap>
  484.             <#if $GLOBAL_OPTIONS{cookie_for_new} == 1#>
  485.                 <img name="img$topic->{number}" height=$new_img_height width=$new_img_width border=0 src="$icon_url/tree_j.gif" alt="">
  486.             <#endif#>
  487.             <img src="$icon_url/$topic->{icon}.gif" height=16 width=20>
  488.             </td>
  489.             <td valign=top><font size="1" face="$color->{face}"><a href="$topic->{url}"><b>$topic->{name}</b></a></td>
  490.             <TD VALIGN=CENTER ALIGN=RIGHT><font size="1" face="$color->{face}"><b>$topic->{posts}</b></font></td>
  491.             <TD VALIGN=CENTER><font size="1" face="$color->{face}"> </font></td>
  492.             <TD VALIGN=CENTER nowrap><font size="1" face="$color->{face}"><b><#date $topic->{lastmod} format "$L{SHORTDATE}"#></b></font></td>
  493.             </TR>
  494.             <#if $topic->{descr} ne ""#>
  495.                 <TR BGCOLOR="<#pick color $topic->{_iteration} from @_ALTCOLOR(3,4)#>">
  496.                 <TD VALIGN=CENTER> </TD>
  497.                 <TD VALIGN=CENTER COLSPAN=4><font size="1" face="$color->{face}"><!--Descr-->$topic->{descr}<!--/Descr--></FONT></TD></TR>
  498.             <#endif#>
  499.             <#math: $messages += $topic->{posts}#>
  500.         <#endif#>        
  501.  
  502.         ## ----- \/ Do not change \/ -----
  503.         <!--/Top-->
  504.         ## ----- /\ Do not change /\ -----
  505.  
  506.  
  507.     <#else#>
  508.         <#skip iteration#>
  509.  
  510.         ## ----- \/ Do not change \/ -----
  511.         <!--Category: $topic->{number}--><!--bgcolor:$topic->{bgcolor}-->
  512.         ## ----- /\ Do not change /\ -----
  513.  
  514.         <tr bgcolor="$topic->{bgcolor}">
  515.         <td> </td>
  516.         <td colspan=4><font size="1" face="$color->{face}"><b><!--Text-->$topic->{text}<!--/Text--></b>
  517.         <#if $topic->{descr} ne ""#><br><font size=1><!--Descr-->$topic->{descr}<!--/Descr--></font>
  518.         </td></tr>
  519.         
  520.         ## ----- \/ Do not change \/ -----
  521.         <!--/Category-->
  522.         ## ----- /\ Do not change /\ -----
  523.             
  524.     <#endif#>
  525. <#endloop#>
  526. <!--End Topics-->
  527.  
  528. </TABLE>
  529.  
  530. <CENTER>
  531. <I>$messages</I> $L{SKIN_MESSAGES_WORD};
  532. <I>$topicinfo->{registered_users}</I> $L{SKIN_REGISTERED_USERS_WORD};
  533. $L{SKIN_RUNNING_WORD} $topicinfo->{discus_version}
  534. </CENTER>
  535.  
  536. <!--Message-->
  537. <#if $mainmsg->{hr} == 1#><hr>
  538. $mainmsg->{text}
  539. <!--/Message-->
  540.  
  541. <#insert part () "dynamic_bottom"#>
  542. <#/part#>
  543.  
  544. #################################################################################
  545. # CREATE NEW CONVERSATION / START NEW THREAD SCREEN                             #
  546. #################################################################################
  547.  
  548. <#part "newconv"#>
  549.     #**************************************************#
  550.     # \/ DO NOT EDIT ANYTHING BETWEEN THESE MARKERS \/ #
  551.     #**************************************************#
  552.     <html><head><title>$L{START_NEW_THREAD}</title>
  553.     <script language="JavaScript">
  554.     <!--
  555.     // Initial Load
  556.     function initpage() {
  557.         <#if $addmessage->{disabled} == 0#>document.userpass.subject.focus();
  558.           if (document.userpass) {
  559.             if (document.userpass.username) {
  560.               if (document.userpass.username.value == "") {
  561.                 document.userpass.username.value = readcookie("user$COOKIE_ID")
  562.               }
  563.             }
  564.             if (document.userpass.passwd) {
  565.               if (document.userpass.passwd.value == "") {
  566.                 document.userpass.passwd.value = readcookie("rpwd$COOKIE_ID")
  567.               }
  568.             }
  569.           }
  570.         }
  571.         <#insert part ($head->{topic_number}) "readcookie"#>
  572.     // -->
  573.     </script>
  574.  
  575.     <#define $onLoadJS = "initpage()"#>
  576.     <#define $pagetitle = "$L{START_NEW_THREAD}"#>
  577.     <#insert part ($head->{topic_number}) "dynamic_top"#>
  578.     #**************************************************#
  579.     # /\ DO NOT EDIT ANYTHING BETWEEN THESE MARKERS /\ #
  580.     #**************************************************#
  581.  
  582.     <strong>
  583.     <font size="1">
  584.     <#insert part ($head->{topic_number}) "navbar"#>
  585.     <#if $general->{secure} == 1#>
  586.         <a href="$authorize_reader?file=/$head->{topic_number}/$head->{me_number}.$ext">$head->{me_name}</a>:
  587.     <#else#>
  588.         <a href="$message_url/$head->{topic_number}/$head->{me_number}.$ext">$head->{me_name}</a>:
  589.     <#endif#>
  590.     $L{START_NEW_THREAD}
  591.     <font size="1">
  592.     </strong>
  593.     <hr>
  594.     
  595.     <form action="$script_url/board-post.$cgi_extension" method="post" name="userpass">
  596.     <input type=hidden name="action" value="">
  597.     <input type=hidden name="preview" value="1">
  598.     <input type=hidden name="HTTP_REFERER" value="$head->{topic_number}/$head->{me_number}">
  599.     <INPUT type=hidden name="new_conversation" value="1">
  600.     
  601.     $L{BPFSUBJECT}
  602.     <P>
  603.     <TABLE><TR><TD>
  604.     <Input Type="Text" Name="subject" Size=53>
  605.     </TD></TR></TABLE><BR>
  606.     <P>
  607.     <#if $addmessage->{public} == 1#>
  608.         <HR>
  609.         <H3>$L{ADDMSG_ADD_A_MESSAGE_RETRO}</H3><P>
  610.         <#if $GLOBAL_OPTIONS->{subtopic_icons_user_choose}#>
  611.             <table border=1><tr><td>
  612.             <table>
  613.             <tr>
  614.             <td width=50><input type=radio name="emoticon" value="" checked></td>
  615.             <#foreach $subtopic_icon (@subtopic_icons)#>
  616.                 <#if [ $subtopic_icon->{_iteration} % 7 ] == 0#>
  617.                     </tr><tr>
  618.                 <#endif#>
  619.                 <td width=50><input type=radio name="emoticon" value="$subtopic_icon->{name}">\
  620.                 <img src="$subtopic_icon->{url}" height="$subtopic_icon->{height}" width="$subtopic_icon->{width}"></td>
  621.             <#endloop#>
  622.             </tr></table>
  623.             </td></tr></table>
  624.         <#endif#>
  625.         <#insert part ($head->{topic_number}) "addmessage-public"#>
  626.     <#else#>
  627.         <#if $addmessage->{disabled} == 1#>
  628.             <#insert part ($head->{topic_number}) "addmessage-disabled"#>
  629.         <#else#>
  630.             <HR>
  631.             <#if $GLOBAL_OPTIONS->{subtopic_icons_user_choose}#>
  632.                 <table border=1><tr><td>
  633.                 <table>
  634.                 <tr>
  635.                 <td width=50><input type=radio name="emoticon" value="" checked></td>
  636.                 <#foreach $subtopic_icon (@subtopic_icons)#>
  637.                     <#if [ $subtopic_icon->{_iteration} % 7 ] == 0#>
  638.                         </tr><tr>
  639.                     <#endif#>
  640.                     <td width=50><input type=radio name="emoticon" value="$subtopic_icon->{name}">\
  641.                     <img src="$subtopic_icon->{url}" height="$subtopic_icon->{height}" width="$subtopic_icon->{width}"></td>
  642.                 <#endloop#>
  643.                 </tr></table>
  644.                 </td></tr></table>
  645.             <#endif#>
  646.             <H3>$L{ADDMSG_ADD_A_MESSAGE_RETRO}</H3><P>
  647.             <#insert part ($head->{topic_number}) "addmessage-private"#>
  648.         <#endif#>
  649.     <#endif#>
  650.     </form>
  651.     <#insert part ($head->{topic_number}) "dynamic_bottom"#>
  652. <#/part#>
  653.  
  654. #################################################################################
  655. # NAVIGATION BAR                                                                #
  656. #################################################################################
  657.  
  658. <#part "navbar"#>
  659. <#if $general->{secure} == 1#>
  660.     <#if $GLOBAL_OPTIONS{alternate_topic_navbar} == 1#>
  661.       <#if $GLOBAL_OPTIONS{alternate_topic_navbar_url} ne ""#>
  662.         <a href="$GLOBAL_OPTIONS{alternate_topic_navbar_url}">$title</a>:
  663.       <#endif#>
  664.     <#else#>
  665.       <a href="$topic_file_url">$title</a>:
  666.     <#endif#>
  667.     <#if $head->{me_number} != $head->{topic_number}#>
  668.       <a href="$authorize_reader?file=/$head->{topic_number}/$head->{topic_number}.$ext">$head->{topic_name}</a>:
  669.     <#endif#>
  670.     <#foreach $level (@levels)#>
  671.       <#if $level->{level_number} > 0#>
  672.         <#if $level->{level_number} != $head->{me_number}#>
  673.             <a href="$authorize_reader?file=/$head->{topic_number}/$level->{level_number}.$ext">$level->{level_name}</a>:
  674.         <#endif#>
  675.       <#endif#>
  676.     <#endloop#>
  677. <#else#>
  678.     <#if $GLOBAL_OPTIONS{alternate_topic_navbar} == 1#>
  679.       <#if $GLOBAL_OPTIONS{alternate_topic_navbar_url} ne ""#>
  680.         <a href="$GLOBAL_OPTIONS{alternate_topic_navbar_url}">$title</a>:
  681.       <#endif#>
  682.     <#else#>
  683.       <a href="$topic_file_url">$title</a>:
  684.     <#endif#>
  685.     <#if $head->{me_number} != $head->{topic_number}#>
  686.       <a href="$message_url/$head->{topic_number}/$head->{topic_number}.$ext">$head->{topic_name}</a>:
  687.     <#endif#>
  688.     <#foreach $level (@levels)#>
  689.       <#if $level->{level_number} > 0#>
  690.         <#if $level->{level_number} != $head->{me_number}#>
  691.             <a href="$message_url/$head->{topic_number}/$level->{level_number}.$ext">$level->{level_name}</a>:
  692.         <#endif#>
  693.       <#endif#>
  694.     <#endloop#>
  695. <#endif#>
  696. <#/part#>
  697.  
  698. #################################################################################
  699. # DYNAMIC TOP AND BOTTOM OF PAGES                                               #
  700. #################################################################################
  701.  
  702. <#part "dynamic_top"#>
  703.     <#if $GLOBAL_OPTIONS->{charset} ne "" && $GLOBAL_OPTIONS->{charset} ne "0"#>
  704.         <meta http-equiv="content-type" content="text/html; charset=$GLOBAL_OPTIONS->{charset}">
  705.     <#endif#>
  706.     </head>
  707.     <body bgcolor="$color->{bgcolor}" text="$color->{text}" link="$color->{link}" vlink="$color->{vlink}" alink="$color->{alink}"\
  708.         {#if $color->{background} ne ""#}{||}background="$color->{background}"\
  709.         {#if $onLoadJS ne ""#}{||}onLoad="$onLoadJS"{#endif#}>
  710.     <basefont size="$color->{size}"><font face="$color->{face}" size="$color->{size}">
  711.     <a name=MT></a>
  712.     <#if $pagetitle ne ""#>
  713.         <FONT SIZE=+1><CENTER><B>$pagetitle</B></CENTER></FONT><HR>
  714.     <#endif#>
  715. <#/part#>
  716.  
  717. <#part "dynamic_bottom"#>
  718.     <#insert part ($head->{topic_number}) "no_frames_buttons"#>
  719.     </font></body></html>
  720. <#/part#>
  721.  
  722. #################################################################################
  723. # NO FRAMES NAVIGATIONAL BUTTONS                                                #
  724. #################################################################################
  725.  
  726. <#part "no_frames_buttons"#>
  727.     <#if $skip_nav_bar == 0 && $general->{skip_no_frames_buttons} == 0#>
  728.         <#if $GLOBAL_OPTIONS{use_no_frames} == 1#>
  729.             <CENTER><TABLE BORDER=5><TR><TD ALIGN=CENTER>
  730.             <A HREF="$topic_file_url"><IMG SRC="$icon_url/noframes/topics.gif" HEIGHT=50 WIDTH=36 BORDER=0 ALT="Topics"></A>
  731.             <A HREF="$script_url/board-newmessages.$cgi_extension?method=last&number=1&units=1440&tree=ON&where=all"><IMG SRC="$icon_url/noframes/lastday.gif" HEIGHT=50 WIDTH=36 BORDER=0 ALT="Last Day"></A>
  732.             <A HREF="$script_url/board-newmessages.$cgi_extension?method=last&number=7&units=1440&tree=ON&where=all"><IMG SRC="$icon_url/noframes/lastweek.gif" HEIGHT=50 WIDTH=36 BORDER=0 ALT="Last Week"></A>
  733.             <A HREF="$script_url/board-viewtree.$cgi_extension"><IMG SRC="$icon_url/noframes/treeview.gif" HEIGHT=50 WIDTH=36 BORDER=0 ALT="Tree View"></A>
  734.               
  735.             <A HREF="$script_url/discus.$cgi_extension?pg=instructions"><IMG SRC="$icon_url/noframes/gettingstarted.gif" HEIGHT=50 WIDTH=40 BORDER=0 ALT="Getting Started"></A>
  736.             <A HREF="$script_url/discus.$cgi_extension?pg=formatting"><IMG SRC="$icon_url/noframes/formatting.gif" HEIGHT=50 WIDTH=48 BORDER=0 ALT="Formatting"></A>
  737.             <A HREF="$script_url/discus.$cgi_extension?pg=troubleshooting"><IMG SRC="$icon_url/noframes/troubleshooting.gif" HEIGHT=50 WIDTH=40 BORDER=0 ALT="Troubleshooting"></A>
  738.             <A HREF="$script_url/discus.$cgi_extension?pg=credits"><IMG SRC="$icon_url/noframes/credits.gif" HEIGHT=50 WIDTH=48 BORDER=0 ALT="Program Credits"></A>
  739.               
  740.             <A HREF="$script_url/board-newmessages.$cgi_extension"><IMG SRC="$icon_url/noframes/newmessages.gif" HEIGHT=50 WIDTH=44 BORDER=0 ALT="New Messages"></A>
  741.             <A HREF="$script_url/board-search.$cgi_extension"><IMG SRC="$icon_url/noframes/keyword.gif" HEIGHT=50 WIDTH=44 BORDER=0 ALT="Keyword Search"></A>
  742.             <A HREF="$script_url/board-contact.$cgi_extension"><IMG SRC="$icon_url/noframes/contact.gif" HEIGHT=50 WIDTH=44 BORDER=0 ALT="Contact Moderators"></A>
  743.             <A HREF="$script_url/board-profile.$cgi_extension"><IMG SRC="$icon_url/noframes/profile.gif" HEIGHT=50 WIDTH=44 BORDER=0 ALT="Edit Profile"></A>
  744.             <#if $general->{showadminfromhere} == 1#>
  745.                 <a href="$script_url/board-admin-menuonly.$cgi_extension?cmd=start&startfrom=$head->{topic_number}/$head->{me_number}" target="_blank"><IMG SRC="$icon_url/noframes/admin.gif" HEIGHT=50 WIDTH=65 BORDER=0 ALT="Administration"></A>
  746.             <#else#>
  747.                 <a href="$script_url/discus.$cgi_extension?pg=admin" target=_top><IMG SRC="$icon_url/noframes/admin.gif" HEIGHT=50 WIDTH=65 BORDER=0 ALT="Administration"></A>
  748.             <#endif#>
  749.             </TD></TR></TABLE>
  750.             </CENTER>
  751.         <#endif#>
  752.     <#endif#>
  753. <#/part#>
  754.  
  755. #################################################################################
  756. # PREVIEW OF A POST                                                             #
  757. #################################################################################
  758.  
  759. <#part "preview"#>
  760. <#if $general->{create_new_conversation} == 1#>
  761.     <#define $pagetitle = "$L{START_NEW_THREAD}"#>
  762. <#else#>
  763.     <#define $pagetitle = "$L{BPNORMALTITLE}"#>
  764. <#endif#>
  765. <html>
  766. <head>
  767. <title>$pagetitle</title>
  768. <#if $GLOBAL_OPTIONS->{noload_warning} == 1#>
  769.     <script language="JavaScript">
  770.     <!--
  771.         function checkloaded() {
  772.             if (typeof document.userpass.loaded == 'undefined') {
  773.                 var J = "$L{PREVIEW_PAGE_NOT_LOADED_1}";
  774.                 J = J + "\n\n";
  775.                 J = J + "$L{PREVIEW_PAGE_NOT_LOADED_2}";
  776.                 var m = confirm(J);
  777.                 return m;
  778.             }
  779.             return true;
  780.         }
  781.     // -->
  782.     </script>
  783. <#endif#>
  784.  
  785. <#insert part ($head->{topic_number}) "dynamic_top"#>
  786.  
  787. <strong>
  788. <font size="1">
  789. <#insert part ($head->{topic_number}) "navbar"#>
  790. <#if $general->{secure} == 1#>
  791.     <a href="$authorize_reader?file=/$head->{topic_number}/$head->{me_number}.$ext">$head->{me_name}</a>:
  792. <#else#>
  793.     <a href="$message_url/$head->{topic_number}/$head->{me_number}.$ext">$head->{me_name}</a>:
  794. <#endif#>
  795. <#if $general->{create_new_conversation} == 1#>
  796.     $L{NEW_THREAD}
  797. <#else#>
  798.     $L{BPNORMALDISPLAY}
  799. <#endif#>
  800. </font>
  801. </strong>
  802. <hr>
  803.  
  804. <form action="$script_url/board-post.$cgi_extension" method="post" name="userpass"{#if $GLOBAL_OPTIONS->{noload_warning} == 1#} onSubmit="return checkloaded();"{#endif#}>
  805. <#if $general->{admin_screen} == 1#><input type=hidden name="ADMIN_SCREEN" value="1">
  806. <input type=hidden name="action" value="">
  807. <input type=hidden name="HTTP_REFERER" value="$head->{topic_number}/$head->{me_number}">
  808. <input type=hidden name="preview" value="0">
  809.  
  810. <#if $message->{misspelled_words}#>
  811.     <p>
  812.     <#if $L{SPELLCHECKER_FLAG_BEGIN} eq ""#>
  813.         <font size=1 face="$color->{face}" color="#ff0000"><u>\
  814.     <#else#>
  815.         <font size=1>$L{SPELLCHECKER_FLAG_BEGIN}\
  816.     <#endif#>
  817.     $L{POSSIBLE_SPELLING_ERRORS_UNDERLINED}\
  818.     <#if $L{SPELLCHECKER_FLAG_END} eq ""#>
  819.         </u></font>\
  820.     <#else#>
  821.         $L{SPELLCHECKER_FLAG_END}</font>\
  822.     <#endif#>
  823.     </p>
  824. <#endif#>
  825.  
  826. <#if $preview->{error} == 0#>
  827.     <#define $skip_hr_in_message = "1"#>
  828.     <TABLE BORDER=1 WIDTH=97% HEIGHT=40%><TR><TD VALIGN=TOP>
  829.     <BASEFONT SIZE=$color->{size}>
  830.     <FONT FACE="$color->{face}" SIZE="$color->{size}" COLOR="$color->{text}">
  831.     <#if $general->{create_new_conversation} == 1#>
  832.         <B>$L{BPSUBJECTTAG}</B> $preview->{subject}
  833.         <HR>
  834.     <#endif#>
  835.     <#insert part ($head->{topic_number}) "individual_message"#>
  836.     </FONT>
  837.     </td></tr></table>
  838. <#else#>
  839.     <font face="$color->{face}" size="$color->{size}">
  840.     <h4>$L{POST_MESSAGE_ERROR}</h4>
  841.     <p>$preview->{errormsg}</p>
  842.     </font>
  843. <#endif#>
  844.  
  845. <p>
  846.     <HR>
  847.     <CENTER>
  848.     <#if $preview->{error} == 0#><input type=submit value="$L{BPPOSTTHISMESSAGE}">
  849.     <input type="button" value="$L{BPCANCELPOST}" onClick="\
  850.     <#if $general->{admin_screen} == 1#>
  851.         self.close();">
  852.     <#else#>
  853.         window.location='\
  854.         <#if $general->{secure} == 1#>$authorize_reader?file=/$head->{topic_number}/$head->{me_number}.$ext';">
  855.         <#if $general->{secure} == 0#>$message_url/$head->{topic_number}/$head->{me_number}.$ext';">
  856.     <#endif#>
  857.     </CENTER>
  858.     <HR>
  859. </center>
  860.  
  861.  
  862. <#if $general->{create_new_conversation} == 1#>
  863.     <H3>$L{BPREVISESUBJECT}</H3>
  864.     <#if $addmessage->{disabled} == 0#>
  865.         $L{BPFSUBJECT}
  866.         <p>
  867.         <input type="text" name="subject" size=51 value="<#form escape "$preview->{subject}"#>">
  868.         <hr>
  869.     <#endif#>
  870. <#endif#>
  871.  
  872. <H3>$L{BPREVISEMESSAGE}</H3>
  873.  
  874. <#if $general->{create_new_conversation} == 1#>
  875.     <#if $GLOBAL_OPTIONS->{subtopic_icons_user_choose}#>
  876.         <table border=1><tr><td>
  877.         <table>
  878.         <tr>
  879.         <td width=50><input type=radio name="emoticon" value=""{#if $preview->{emoticon} eq ""#} checked{#endif#}></td>
  880.         <#foreach $subtopic_icon (@subtopic_icons)#>
  881.             <#if [ $subtopic_icon->{_iteration} % 7 ] == 0#>
  882.                 </tr><tr>
  883.             <#endif#>
  884.             <td width=50><input type=radio name="emoticon" value="$subtopic_icon->{name}"{#if $preview->{emoticon} eq $subtopic_icon->{name}#} checked{#endif#}>\
  885.             <img src="$subtopic_icon->{url}" height="$subtopic_icon->{height}" width="$subtopic_icon->{width}"></td>
  886.         <#endloop#>
  887.         </tr></table>
  888.         </td></tr></table>
  889.     <#endif#>
  890. <#endif#>
  891.  
  892. <#if $addmessage->{public} == 1#>
  893.     <#insert part ($head->{topic_number}) "addmessage-public"#>
  894. <#else#>
  895.     <#if $addmessage->{disabled} == 1#>
  896.         <#insert part ($head->{topic_number}) "addmessage-disabled"#>
  897.     <#else#>
  898.         <#insert part ($head->{topic_number}) "addmessage-private"#>
  899.     <#endif#>
  900. <#endif#>
  901. <input type=hidden name="new_conversation" value="$general->{create_new_conversation}">
  902. <input type=hidden name="loaded" value="">
  903. </form>
  904. <#insert part ($head->{topic_number}) "dynamic_bottom"#>
  905.  
  906. <#/part#>
  907.  
  908. #################################################################################
  909. # OPTIONS MANAGER SCREEN (SKIN-SPECIFIC ITEMS)                                  #
  910. # You probably won't edit this unless you're going to be sharing your skin      #
  911. #################################################################################
  912.  
  913. <#part "options_screen"#>
  914.     (There are no options for this skin)
  915. <#/part#>
  916.  
  917. #################################################################################
  918. # INFORMATION SECTION -- THIS SECTION CONTAINS INFORMATION ABOUT THIS SKIN FILE #
  919. #################################################################################
  920.  
  921. <#part "info"#>
  922. Name            Tables I
  923. Author            DiscusWare, LLC
  924. Copyright        Copyright © 2002, DiscusWare, LLC, all rights reserved
  925. Description        (Formerly the "Support Forum" skin) -- With this skin applied, your board will look very much like the version 3.10 support forum.  This skin features topics and subtopics in tables and messages on the text page.
  926. *COLOR_bgcolor    #ffffff
  927. *COLOR_text        #000000
  928. *COLOR_link        #0000ff
  929. *COLOR_vlink    #800080
  930. *COLOR_alink    #ff0000
  931. *COLOR_face        Verdana,Arial,Helvetica
  932. *COLOR_size        2
  933. *COLOR_image
  934. *alt_color_1    #0000a0
  935. _alt_color_1    Header table backgrounds
  936. *alt_color_2    #f7f7f7
  937. _alt_color_2    Header table texts
  938. *alt_color_3    #f7f7f7
  939. _alt_color_3    Message header table background
  940. *alt_color_4    #d0d0d0
  941. _alt_color_4    Message header table background
  942. *alt_color_5    #0000aa
  943. _alt_color_5    Color of the date in message headers
  944. *alt_color_6    #000000
  945. _alt_color_6    Color of message header border
  946. *alt_color_7    #f7f7f7
  947. _alt_color_7    Various table backgrounds
  948. *alt_color_8    #cccccc
  949. _alt_color_8    Various table backgrounds
  950. *alt_color_9    #f7f7f7
  951. _alt_color_9    Color on various screens
  952. *alt_color_10    #cccccc
  953. _alt_color_10    Color on various screens
  954. <#/part#>
  955.  
  956. #################################################################################
  957. # JAVASCRIPT SECTION -- DECLARATION OF SUBROUTINES USED IN COOKIE FUNCTIONS     #
  958. # You should not need to modify this section unless you have a strange server!  #
  959. #################################################################################
  960.  
  961. <#part "cookie_icons_offset"#>
  962.     <#if $GLOBAL_OPTIONS{cookie_for_new} == 1#>
  963.         <#define $onLoadJS = "cookie_icons_offset()"#>
  964.         <script language="JavaScript">
  965.         <!--
  966.         function setcookie(name, value, store) {
  967.             if (store >= 1) {
  968.                 var expire = new Date ();
  969.                 if (store == 1) {
  970.                     expire.setTime (expire.getTime() + (365*24*60*60*1000));
  971.                 }
  972.                 if (store == 2) {
  973.                     expire.setTime (expire.getTime() + (1*24*60*60*1000));
  974.                 }
  975.             } else {
  976.                 var expire = null;
  977.             }
  978.             document.cookie = name + "=" + escape(value) + ((expire == null) ? "" : "; expires=" + expire.toGMTString()) + "; path=/";
  979.         }
  980.         function cookie_icons_offset() {
  981.             var now = new Date ();
  982.             var browser_time = now.getTime();
  983.             setcookie("lastvisit$COOKIE_ID", browser_time, 1);
  984.             var server_now = "$DYNAMIC->{server_time}";
  985.             if (server_now != "") {
  986.                 var offset = browser_time - (1000*server_now);
  987.                 setcookie("offset$COOKIE_ID", offset, 1);
  988.             }
  989.         }
  990.         // -->
  991.         </script>
  992.     <#endif#>
  993. <#/part#>
  994.  
  995. <#part "cookie_icons"#>
  996.     function setcookie(name, value, store) {
  997.         if (store >= 1) {
  998.             var expire = new Date ();
  999.             if (store == 1) {
  1000.                 expire.setTime (expire.getTime() + (365*24*60*60*1000));
  1001.             }
  1002.             if (store == 2) {
  1003.                 expire.setTime (expire.getTime() + (1*24*60*60*1000));
  1004.             }
  1005.         } else {
  1006.             var expire = null;
  1007.         }
  1008.         document.cookie = name + "=" + escape(value) + ((expire == null) ? "" : "; expires=" + expire.toGMTString()) + "; path=/";
  1009.     }
  1010.     function cookieinit() {
  1011.         var last_time = readcookie("lastvisit$COOKIE_ID");
  1012.         var last_session = readcookie("lastsession$COOKIE_ID");
  1013.         var offset = readcookie("offset$COOKIE_ID");
  1014.         var now = new Date ();
  1015.         var browser_time = now.getTime();
  1016.         setcookie("lastvisit$COOKIE_ID", browser_time, 1);
  1017.         var server_now = "$DYNAMIC->{server_time}";
  1018.         if (server_now != "") {
  1019.             offset = browser_time - (1000*server_now);
  1020.             setcookie("offset$COOKIE_ID", offset, 1);
  1021.         }
  1022.         if (last_time == "" || last_time == null || last_time == 0) {
  1023.             last_time = browser_time + (3*24*60*60*365*1000);
  1024.         }
  1025.         if (last_session == null || last_session == 0 || last_session == "") {
  1026.             setcookie("lastsession$COOKIE_ID", last_time, 0);
  1027.             last_session = last_time;
  1028.         }
  1029.         if (browser_time - last_time > (15 * 60 * 1000)) {
  1030.             setcookie("lastsession$COOKIE_ID", last_time, 0);
  1031.             last_session = last_time;
  1032.         }
  1033.         # Generally the following is not needed.  However, give it a try
  1034.         # if the icons are always off by a certain number of hours.
  1035.         var server_gmt_offset = 0;
  1036.         # var server_gmt_offset = "<#gmtoffset#>";
  1037.         var compare_time = (last_session - offset) / 1000;
  1038.         if (document.images) {
  1039.             img_new = new Image();
  1040.             # Set this to something else if you want.
  1041.             <#if $GLOBAL_OPTIONS->{new_icon_choice} ne ""#>
  1042.                 img_new.src = "$GLOBAL_OPTIONS->{new_icon_choice}";
  1043.             <#else#>
  1044.                 img_new.src = "$html_url/clipart/new.gif";
  1045.             <#endif#>
  1046.             <#define $new_img_height = "11"#>
  1047.             <#define $new_img_width  = "28"#>
  1048.         }
  1049.     ## } is missing here, as topics page or regular page fills in information
  1050.     ## into the cookieinit() function and then closes the function.
  1051. <#/part#>
  1052.  
  1053. <#part "readcookie"#>
  1054.     function readcookie(name) {
  1055.         var i = 0; var lookfor = name + "="
  1056.         while (i < document.cookie.length) {
  1057.             var j = i + lookfor.length
  1058.             if (document.cookie.substring(i,j) == lookfor) {
  1059.                 var endstr = document.cookie.indexOf(";", j)
  1060.                 if (endstr == -1) {
  1061.                     endstr = document.cookie.length
  1062.                 }
  1063.                 return unescape(document.cookie.substring(j, endstr))
  1064.             }
  1065.             i = document.cookie.indexOf(" ", i) + 1
  1066.             if (i == 0) {
  1067.                 break
  1068.             }
  1069.         }
  1070.         return ""
  1071.     }
  1072. <#/part#>
  1073.  
  1074. #################################################################################
  1075. # INITIALIZATION SECTION                                                        #
  1076. # This code is automatically read (once) before any part of the skin.  Only     #
  1077. # definitions (array, variables, etc.) are permitted in this section.           #
  1078. #################################################################################
  1079.  
  1080. <#part "INIT"#>
  1081.  
  1082. <#define array @statuses (_index, text)#>
  1083. 1    $L{USER_STATUS_1}
  1084. 2    <#if $GLOBAL_OPTIONS{status2} eq ""#>$L{USER_STATUS_2}<#else#>$GLOBAL_OPTIONS{status2}<#endif#>
  1085. 3    <#if $GLOBAL_OPTIONS{status3} eq ""#>$L{USER_STATUS_3}<#else#>$GLOBAL_OPTIONS{status3}<#endif#>
  1086. 4    <#if $GLOBAL_OPTIONS{status4} eq ""#>$L{USER_STATUS_4}<#else#>$GLOBAL_OPTIONS{status4}<#endif#>
  1087. 5    <#if $GLOBAL_OPTIONS{status5} eq ""#>$L{USER_STATUS_5}<#else#>$GLOBAL_OPTIONS{status5}<#endif#>
  1088. 6    <#if $GLOBAL_OPTIONS{status6} eq ""#>$L{USER_STATUS_6}<#else#>$GLOBAL_OPTIONS{status6}<#endif#>
  1089. 7    <#if $GLOBAL_OPTIONS{status7} eq ""#>$L{USER_STATUS_7}<#else#>$GLOBAL_OPTIONS{status7}<#endif#>
  1090. 8    <#if $GLOBAL_OPTIONS{status8} eq ""#>$L{USER_STATUS_8}<#else#>$GLOBAL_OPTIONS{status8}<#endif#>
  1091. 9    <#if $GLOBAL_OPTIONS{status9} eq ""#>$L{USER_STATUS_9}<#else#>$GLOBAL_OPTIONS{status9}<#endif#>
  1092. 10    <#if $GLOBAL_OPTIONS{status10} eq ""#>$L{USER_STATUS_10}<#else#>$GLOBAL_OPTIONS{status10}<#endif#>
  1093. 11    $L{USER_STATUS_1}
  1094. <#/define#>
  1095.  
  1096. <#define array @subtopic_icons (name, url, height, width)#>
  1097. happy    $html_url/clipart/happy.gif    15    15
  1098. sad    $html_url/clipart/sad.gif    15    15
  1099. angry    $html_url/clipart/angry.gif    15    15
  1100. proud    $html_url/clipart/proud.gif    15    15
  1101. blush    $html_url/clipart/blush.gif    15    15
  1102. wink    $html_url/clipart/wink.gif    15    15
  1103. laugh    $html_url/clipart/lol.gif    15    15
  1104. talker    $html_url/clipart/talker.gif    15    15
  1105. uhoh    $html_url/clipart/uhoh.gif    15    15
  1106. yawn    $html_url/clipart/yawn.gif    15    15
  1107. biggrin    $html_url/clipart/biggrin.gif    15    15
  1108. kiss    $html_url/clipart/kiss.gif    15    15
  1109. rofl    $html_url/clipart/rofl.gif    15    15
  1110. <#/define#>
  1111.  
  1112. <#/part#>
  1113.  
  1114.