home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / FAQ / discus_admin_1357211388 / skins / updatedclassic.tmpl < prev   
Text File  |  2009-11-06  |  33KB  |  834 lines

  1. # DISCUS SKIN FILE:  updatedclassic.tmpl
  2. # -------------------------------------------------------------------------------
  3. # Originally authored by Kevin W. Paulisse, DiscusWare, LLC
  4. # Copyright (c) 2002, 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.         }
  47.         <#insert part ($head->{topic_number}) "readcookie"#>
  48.     // end hide -->
  49.     </script>
  50.     <#define $onLoadJS = "initpage()"#>
  51.     <#insert part ($head->{topic_number}) "dynamic_top"#>
  52.     <a name="MT"></a>
  53. <#endif#>
  54. #**************************************************#
  55. # /\ DO NOT EDIT ANYTHING BETWEEN THESE MARKERS /\ #
  56. #**************************************************#
  57.  
  58. #--------------------------------------------------#
  59. # Navigation Bar                                   #
  60. #--------------------------------------------------#
  61.  
  62. <#if $general->{skip_nav_bar} == 0#>
  63.     <strong>
  64.     <#insert part ($head->{topic_number}) "navbar"#>
  65.     $head->{me_name}
  66.     </strong>
  67. <#endif#>
  68.  
  69. #--------------------------------------------------#
  70. # Announcement Message                             #
  71. #--------------------------------------------------#
  72.  
  73. <#if $head->{param} =~ match(Announce)#>
  74.     <hr>
  75.     <!--Announcement-->
  76.     $pginfo->{announcement}
  77.     <!--/Announcement-->
  78. <#endif#>
  79.  
  80. #--------------------------------------------------#
  81. # List of Subtopics                                #
  82. #--------------------------------------------------#
  83.  
  84. <#if $head->{param} =~ match(Sublist)#>
  85.     <hr>
  86.     <ul>
  87.     <#if $general->{subtopic_raw} == 1#>
  88.         $pginfo->{sublist_raw}
  89.     <#else#>
  90.         <#foreach $subtopic (@subtopics)#>
  91.             <#if $subtopic->{type} == 0#>
  92.  
  93.                 ## ----- \/ Do not change \/ -----
  94.                 <!--Top: $subtopic->{number}-->
  95.                 ## ----- /\ Do not change /\ -----
  96.  
  97.                 <li>\
  98.                 <#if $noqm == 0#>
  99.                     <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#>">$subtopic->{name}</a>\
  100.                 <#else#>
  101.                     <a href="<#if $general->{secure}#>$authorize_reader?file=<#else#>$message_url<#endif#>/$head->{topic_number}/$subtopic->{number}.$ext">$subtopic->{name}</a>\
  102.                 <#endif#>
  103.                  <font size="-1"><#date $subtopic->{lastmod} format "$L{SHORTDATE}"#> [$subtopic->{msg_count}]</font>\
  104.                 <#if $subtopic->{descr} ne ""#>
  105.                     <blockquote style="margin-top: 0pt"><font size="-1"><!--Descr-->$subtopic->{descr}<!--/Descr--></font></blockquote>\
  106.                 <#endif#>
  107.                 <p>
  108.                 
  109.                 ## ----- \/ Do not change \/ -----
  110.                 <!--/Top-->
  111.                 ## ----- /\ Do not change /\ -----
  112.  
  113.             <#else#>
  114.                 
  115.                 ## ----- \/ Do not change \/ -----
  116.                 <!--URL: $subtopic->{number}-->\
  117.                 <!--Data: <#escape "$subtopic->{url}"#>-<#escape "$subtopic->{target}"#>-<#escape "$subtopic->{properties}"#> -->
  118.                 ## ----- /\ Do not change /\ -----
  119.                 
  120.                 <li>\
  121.                 <a href="$subtopic->{url}"{#if $subtopic->{target} ne ""#} target="$subtopic->{target}"{#endif#}><!--Name-->$subtopic->{name}<!--/Name--></a> \
  122.                 <#if $subtopic->{descr} ne ""#>
  123.                     <blockquote style="margin-top: 0pt"><font size="-1"><!--Descr-->$subtopic->{descr}<!--/Descr--></font></blockquote>\
  124.                 <#endif#>
  125.                 <p>
  126.  
  127.                 ## ----- \/ Do not change \/ -----
  128.                 <!--/URL-->
  129.                 ## ----- /\ Do not change /\ -----
  130.  
  131.             <#endif#>
  132.         <#endloop#>
  133.     <#endif#>
  134.     </ul>
  135. <#endif#>
  136.  
  137. #--------------------------------------------------#
  138. # Create New Conversation                          #
  139. #--------------------------------------------------#
  140.  
  141. <#if $head->{param} =~ match(Create)#>
  142.     <hr>
  143.     <form action="$script_url/board-post.$cgi_extension" method="post">
  144.     <input type="hidden" name="HTTP_REFERER" value="/$head->{topic_number}/$head->{me_number}.$ext">
  145.     <input type="hidden" name="action" value="form">
  146.     <center><input type=submit value="$L{START_NEW_THREAD}"></center>
  147.     </form>
  148. <#endif#>    
  149.  
  150. #--------------------------------------------------#
  151. # About Message                                    #
  152. #--------------------------------------------------#
  153.  
  154. <#if $head->{param} =~ match(About)#>
  155.     <HR>
  156.     <!--About-->
  157.     $pginfo->{about}
  158.     <!--/About-->
  159. <#endif#>
  160.  
  161. #--------------------------------------------------#
  162. # Posted Messages                                  #
  163. #--------------------------------------------------#
  164.  
  165. <#if $head->{param} =~ match(Messages)#>
  166.     <#if $general->{messages_raw} == 1#>
  167.         $pginfo->{messages_raw}
  168.     <#else#>
  169.         <#if $#messages == 0#><HR>
  170.         <#foreach $message (@messages)#>
  171.             <#insert part ($head->{topic_number}) "individual_message"#>
  172.         <#endloop#>
  173.     <#endif#>
  174. <#endif#>
  175. <a name="MB"></a>
  176.  
  177. #--------------------------------------------------#
  178. # Add a Message Form                               #
  179. #--------------------------------------------------#
  180.  
  181. <#if $head->{param} =~ match(Add)#>
  182.     <form action="$script_url/board-post.$cgi_extension" method="post" name="userpass">
  183.     <input type=hidden name="HTTP_REFERER" value="$head->{topic_number}/$head->{me_number}">
  184.     <input type=hidden name="preview" value="1">
  185.     <#if $addmessage->{public} == 1#>
  186.         <HR>
  187.         <H3>$L{ADDMSG_ADD_A_MESSAGE_RETRO}</H3><P>
  188.         <#insert part ($head->{topic_number}) "addmessage-public"#>
  189.     <#else#>
  190.         <#if $addmessage->{disabled} == 1#>
  191.             <#insert part ($head->{topic_number}) "addmessage-disabled"#>
  192.         <#else#>
  193.             <HR>
  194.             <H3>$L{ADDMSG_ADD_A_MESSAGE_RETRO}</H3><P>
  195.             <#insert part ($head->{topic_number}) "addmessage-private"#>
  196.         <#endif#>
  197.     <#endif#>
  198.     </form>
  199. <#endif#>
  200.  
  201. <#if $general->{skip_bottom} == 0#>
  202.     <#insert part ($head->{topic_number}) "dynamic_bottom"#>
  203. <#endif#>
  204.  
  205. <#/part#>
  206.  
  207. #################################################################################
  208. # ADD A MESSAGE BOX SECTION - CONTROLS FORMS ALLOWING ADDITION OF A MESSAGE     #
  209. #################################################################################
  210.  
  211. #--------------------------------------------------#
  212. # Public Posting Area                              #
  213. #--------------------------------------------------#
  214.  
  215. <#part "addmessage-public"#>
  216.     <TABLE><TR><TD><TEXTAREA NAME="message" COLS=50 ROWS=11 WRAP=VIRTUAL><#form escape "$preview->{source}"#></TEXTAREA></TD></TR></TABLE>
  217.     <BR>
  218.     <TABLE>
  219.     <TR>
  220.     <TD></TD><TD></TD><TD></TD>
  221.     <TD VALIGN=CENTER ROWSPAN=3 WIDTH=250><FONT FACE="$color->{face}" SIZE="-1">$L{ADDMSG_PUBLIC}</FONT></TD>
  222.     </TR>
  223.     <TR>
  224.     <TD><FONT FACE="$color->{face}" size="-1">$L{PROFILE_USERNAME}</FONT></TD>
  225.     <TD><INPUT TYPE="Text" NAME="username" VALUE="$preview->{username}" SIZE=12></TD><TD WIDTH=20> </TD>
  226.     </TR>
  227.     <TR>
  228.     <TD><FONT FACE="$color->{face}" size="-1">$L{PROFILE_PASSWORD}</FONT></TD>
  229.     <TD><INPUT TYPE="Password" NAME="passwd" VALUE="$preview->{password}" SIZE=12></TD><TD></TD><TD></TD>
  230.     </TR>
  231.     <TR>
  232.     <TD><FONT FACE="$color->{face}" size="-1">$L{ADDMSG_EMAIL}</FONT></TD>
  233.     <TD COLSPAN=3 VALIGN=TOP><INPUT TYPE="Text" NAME="email" VALUE="$preview->{email}" SIZE=40></TD><TD></TD><TD></TD>
  234.     </TR>
  235.     <#if $addmessage->{anonymous_posting} == 1#>
  236.         <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>
  237.     <#endif#>
  238.     </TABLE>
  239.     <P>
  240.     <INPUT TYPE=SUBMIT NAME=submit VALUE="$L{BPPREVIEWPOST}" onClick="document.userpass.preview.value = '1';">
  241.     <#if $GLOBAL_OPTIONS->{html} == 1#>
  242.         <input type=hidden name="html" value=1>
  243.         <input type=hidden name="html_a" value=1>
  244.     <#endif#>
  245.     <#if $GLOBAL_OPTIONS->{active_links} == 1#>
  246.         <input type=hidden name="active_links" value=1>
  247.         <input type=hidden name="active_links_a" value=1>
  248.     <#endif#>
  249. <#/part#>
  250.  
  251. #--------------------------------------------------#
  252. # Private Posting Area                             #
  253. #--------------------------------------------------#
  254.  
  255. <#part "addmessage-private"#>
  256.     <TABLE><TR><TD><TEXTAREA NAME="message" COLS=50 ROWS=11 WRAP=VIRTUAL><#form escape "$preview->{source}"#></TEXTAREA></TD></TR></TABLE>
  257.     <BR>
  258.     <TABLE>
  259.     <TR>
  260.     <TD></TD><TD></TD><TD></TD>
  261.     <TD VALIGN=CENTER ROWSPAN=3 WIDTH=250><FONT FACE="$color->{face}" SIZE="-1">$L{ADDMSG_PRIVATE}</FONT></TD>
  262.     </TR>
  263.     <TR>
  264.     <TD><FONT FACE="$color->{face}" size="-1">$L{PROFILE_USERNAME}</FONT></TD>
  265.     <TD><INPUT TYPE="Text" NAME="username" VALUE="$preview->{username}" SIZE=12></TD><TD WIDTH=20> </TD>
  266.     </TR>
  267.     <TR>
  268.     <TD><FONT FACE="$color->{face}" size="-1">$L{PROFILE_PASSWORD}</FONT></TD>
  269.     <TD><INPUT TYPE="Password" NAME="passwd" VALUE="$preview->{password}" SIZE=12></TD><TD></TD><TD></TD>
  270.     </TR>
  271.     <#if $addmessage->{anonymous_posting} == 1#>
  272.         <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>
  273.     <#endif#>
  274.     </TABLE>
  275.     <P>
  276.     <INPUT TYPE=SUBMIT NAME=submit VALUE="$L{BPPREVIEWPOST}" onClick="document.userpass.preview.value = '1';">
  277.     <#if $GLOBAL_OPTIONS->{html} == 1#>
  278.         <input type=hidden name="html" value=1>
  279.         <input type=hidden name="html_a" value=1>
  280.     <#endif#>
  281.     <#if $GLOBAL_OPTIONS->{active_links} == 1#>
  282.         <input type=hidden name="active_links" value=1>
  283.         <input type=hidden name="active_links_a" value=1>
  284.     <#endif#>
  285. <#/part#>
  286.  
  287. #--------------------------------------------------#
  288. # Disabled Posting in Topic                        #
  289. #--------------------------------------------------#
  290.  
  291. <#part "addmessage-disabled"#>
  292.     <#define $l = "$L{BPPOSTINGDISABLEDDESCR}"#>
  293.     <#replace "%aopen" with "<a href='$script_url/board-contact.$cgi_extension'>" in $l#>
  294.     <#replace "%aclose" with "</a>" in $l#>
  295.     <HR>$l
  296. <#/part#>
  297.  
  298. #################################################################################
  299. # INDIVIDUAL MESSAGE DISPLAY                                                    #
  300. #################################################################################
  301.  
  302. <#part "individual_message"#>
  303.     <!--Post: $message->{number}--><!--Time: $message->{time}--> ## DO NOT CHANGE!!!
  304.     <a name="POST$message->{number}"><!--p:$message->{property}--></a>\ ## DO NOT CHANGE!!!
  305.     <#if $skip_hr_in_message == 0#><hr> \
  306.     <#define $l = "$L{POSTBY}"#>
  307.     <#if $GLOBAL_OPTIONS{message_icons} == 1 && $general->{no_icons_shown} == 0#>
  308.         <#if $GLOBAL_OPTIONS{message_icon_top} ne "0" && $GLOBAL_OPTIONS{message_icon_top} ne ""#>
  309.             <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>\
  310.         <#endif#>
  311.         <#if $GLOBAL_OPTIONS{message_icon_up} ne "0" && $GLOBAL_OPTIONS{message_icon_up} ne ""#>
  312.             <#if $message->{_is_first_element}#><a href="#MT"><#else#><a href="#POST$message->{_previous_element}->{number}"><#endif#>\
  313.             <img src="$icon_url/$GLOBAL_OPTIONS{message_icon_up}" height=12 width=12 border=0 alt="$GLOBAL_OPTIONS{message_icon_up_alt}"></a>\
  314.         <#endif#>
  315.         <#if $GLOBAL_OPTIONS{message_icon_down} ne "0" && $GLOBAL_OPTIONS{message_icon_down} ne ""#>
  316.             <#if $message->{_is_last_element}#><a href="#MB"><#else#><a href="#POST$message->{_next_element}->{number}"><#endif#>\
  317.             <img src="$icon_url/$GLOBAL_OPTIONS{message_icon_down}" height=12 width=12 border=0 alt="$GLOBAL_OPTIONS{message_icon_down_alt}"></a>\
  318.         <#endif#>
  319.         <#if $GLOBAL_OPTIONS{message_icon_bottom} ne "0" && $GLOBAL_OPTIONS{message_icon_bottom} ne ""#>
  320.             <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>\
  321.         <#endif#>
  322.         <#if $GLOBAL_OPTIONS{message_icon_link} ne "0" && $GLOBAL_OPTIONS{message_icon_link} ne ""#>
  323.              <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>\
  324.         <#endif#>
  325.           \
  326.     <#endif#>
  327.     <#if $message->{email} ne ""#>
  328.         <#replace "%name" with "<!--email--><a href="$message->{email}" target="_blank"><!--/email--><!--name-->$message->{author}<!--/name--></a>" in $l#>
  329.     <#else#>
  330.         <#replace "%name" with "<!--name-->$message->{author}<!--/name-->" in $l#>
  331.     <#endif#>
  332.     <#replace "%date" with "<#date $message->{time} format "$L{LONGDATE}"#>" in $l#>
  333.     $l <font size="1">\
  334.     <a href="$script_url/board-profile.$cgi_extension?action=editpost&postid=$message->{number}&page=$head->{topic_number}/$head->{me_number}">$L{QUICK_ADMIN_EDIT_POST}</a></font> \
  335.     <p><!--text-->$message->{text}<!--/text--> \
  336.     <#reference array @fields from $message->{fields}#>
  337.     <#foreach $field (@fields)#>
  338.         <#if $field->{value} ne ""#>
  339.             <!--f/$field->{name}:<#escape "$field->{value}"#>--> \
  340.         <#endif#>
  341.     <#endloop#>
  342.     <p>
  343.     <!--/Post: $message->{number}-->
  344. <#/part#>
  345.  
  346. #################################################################################
  347. # TOPICS SECTION -- THIS SECTION CONTROLS THE TOPICS PAGE OF THE BOARD          #
  348. #################################################################################
  349.  
  350. <#part "topics"#>
  351. <html>
  352. <head>
  353. <title>Topics - $title</title>
  354.  
  355. <#insert part () "dynamic_top"#>
  356.  
  357. <!--Title Message-->
  358. $titlemsg->{text}
  359. <#if $titlemsg->{hr} == 1#><hr>
  360. <!--/Title Message-->
  361.  
  362. <P>
  363. <#foreach $topic (@topics)#>
  364.     <#if $topic->{type} == 1#>
  365.  
  366.         ## ----- \/ Do not change \/ -----
  367.         <!--Top: $topic->{number}-->
  368.         ## ----- /\ Do not change /\ -----
  369.  
  370.         <#if $topic->{hidden} == 1#>
  371.             <!-- Topic Hidden -->
  372.             <#skip iteration#>
  373.         <#else#>
  374.             <img src="$icon_url/$topic->{icon}.gif" height=16 width=20>  <B><a href="$topic->{url}">$topic->{name}</a></B> 
  375.             <font size="-1"><#date $topic->{lastmod} format "$L{SHORTDATE}"#> [$topic->{posts}]</font>
  376.             <#if $topic->{descr} ne ""#>
  377.                 <blockquote style="margin-top: 0pt"><font size="-1"><!--Descr-->$topic->{descr}<!--/Descr--></font></blockquote>
  378.             <#endif#>
  379.             <P>
  380.         <#endif#>
  381.         
  382.         ## ----- \/ Do not change \/ -----
  383.         <!--/Top-->
  384.         ## ----- /\ Do not change /\ -----
  385.         
  386.     <#else#>
  387.         <#skip iteration#>
  388.  
  389.         ## ----- \/ Do not change \/ -----
  390.         <!--Category: $topic->{number}--><!--bgcolor:$topic->{bgcolor}-->
  391.         ## ----- /\ Do not change /\ -----
  392.  
  393.         <img src="$icon_url/tree_j.gif" height=16 width=20>  <B>\
  394.         <!--Text-->$topic->{text}<!--/Text--></b> \
  395.         <#if $topic->{descr} ne ""#>
  396.             <blockquote style="margin-top: 0pt"><font size="-1"><!--Descr-->$topic->{descr}<!--/Descr--></font></blockquote> \
  397.         <#endif#>
  398.         <P>
  399.         
  400.         ## ----- \/ Do not change \/ -----
  401.         <!--/Category-->
  402.         ## ----- /\ Do not change /\ -----
  403.  
  404.     <#endif#>
  405. <#endloop#>
  406. <!--End Topics-->
  407. <!--Message-->
  408. <#if $mainmsg->{hr} == 1#><hr>
  409. $mainmsg->{text}
  410. <!--/Message-->
  411.  
  412. <#insert part () "dynamic_bottom"#>
  413. <#/part#>
  414.  
  415. #################################################################################
  416. # CREATE NEW CONVERSATION / START NEW THREAD SCREEN                             #
  417. #################################################################################
  418.  
  419. <#part "newconv"#>
  420.     #**************************************************#
  421.     # \/ DO NOT EDIT ANYTHING BETWEEN THESE MARKERS \/ #
  422.     #**************************************************#
  423.     <html><head><title>$L{START_NEW_THREAD}</title>
  424.     <script language="JavaScript">
  425.     <!--
  426.     // Initial Load
  427.     function initpage() {
  428.         <#if $addmessage->{disabled} == 0#>document.userpass.subject.focus();
  429.           if (document.userpass) {
  430.             if (document.userpass.username) {
  431.               if (document.userpass.username.value == "") {
  432.                 document.userpass.username.value = readcookie("user$COOKIE_ID")
  433.               }
  434.             }
  435.             if (document.userpass.passwd) {
  436.               if (document.userpass.passwd.value == "") {
  437.                 document.userpass.passwd.value = readcookie("rpwd$COOKIE_ID")
  438.               }
  439.             }
  440.           }
  441.         }
  442.         <#insert part ($head->{topic_number}) "readcookie"#>
  443.     // -->
  444.     </script>
  445.  
  446.     <#define $onLoadJS = "initpage()"#>
  447.     <#define $pagetitle = "$L{START_NEW_THREAD}"#>
  448.     <#insert part ($head->{topic_number}) "dynamic_top"#>
  449.     #**************************************************#
  450.     # /\ DO NOT EDIT ANYTHING BETWEEN THESE MARKERS /\ #
  451.     #**************************************************#
  452.  
  453.     <strong>
  454.     <#insert part ($head->{topic_number}) "navbar"#>
  455.     <#if $general->{secure} == 1#>
  456.         <a href="$authorize_reader?file=/$head->{topic_number}/$head->{me_number}.$ext">$head->{me_name}</a>:
  457.     <#else#>
  458.         <a href="$message_url/$head->{topic_number}/$head->{me_number}.$ext">$head->{me_name}</a>:
  459.     <#endif#>
  460.     $L{START_NEW_THREAD}
  461.     </strong>
  462.     <hr>
  463.     
  464.     <form action="$script_url/board-post.$cgi_extension" method="post" name="userpass">
  465.     <input type=hidden name="action" value="">
  466.     <input type=hidden name="preview" value="1">
  467.     <input type=hidden name="HTTP_REFERER" value="$head->{topic_number}/$head->{me_number}">
  468.     <INPUT type=hidden name="new_conversation" value="1">
  469.     
  470.     $L{BPFSUBJECT}
  471.     <P>
  472.     <TABLE><TR><TD>
  473.     <Input Type="Text" Name="subject" Size=53>
  474.     </TD></TR></TABLE><BR>
  475.     <P>
  476.     <#if $addmessage->{public} == 1#>
  477.         <HR>
  478.         <H3>$L{ADDMSG_ADD_A_MESSAGE_RETRO}</H3><P>
  479.         <#insert part ($head->{topic_number}) "addmessage-public"#>
  480.     <#else#>
  481.         <#if $addmessage->{disabled} == 1#>
  482.             <#insert part ($head->{topic_number}) "addmessage-disabled"#>
  483.         <#else#>
  484.             <HR>
  485.             <H3>$L{ADDMSG_ADD_A_MESSAGE_RETRO}</H3><P>
  486.             <#insert part ($head->{topic_number}) "addmessage-private"#>
  487.         <#endif#>
  488.     <#endif#>
  489.     </form>
  490.     <#insert part ($head->{topic_number}) "dynamic_bottom"#>
  491. <#/part#>
  492.  
  493. #################################################################################
  494. # NAVIGATION BAR                                                                #
  495. #################################################################################
  496.  
  497. <#part "navbar"#>
  498. <#if $general->{secure} == 1#>
  499.     <#if $GLOBAL_OPTIONS{alternate_topic_navbar} == 1#>
  500.       <#if $GLOBAL_OPTIONS{alternate_topic_navbar_url} ne ""#>
  501.         <a href="$GLOBAL_OPTIONS{alternate_topic_navbar_url}">$title</a>:
  502.       <#endif#>
  503.     <#else#>
  504.       <a href="$topic_file_url">$title</a>:
  505.     <#endif#>
  506.     <#if $head->{me_number} != $head->{topic_number}#>
  507.       <a href="$authorize_reader?file=/$head->{topic_number}/$head->{topic_number}.$ext">$head->{topic_name}</a>:
  508.     <#endif#>
  509.     <#foreach $level (@levels)#>
  510.       <#if $level->{level_number} > 0#>
  511.         <#if $level->{level_number} != $head->{me_number}#>
  512.             <a href="$authorize_reader?file=/$head->{topic_number}/$level->{level_number}.$ext">$level->{level_name}</a>:
  513.         <#endif#>
  514.       <#endif#>
  515.     <#endloop#>
  516. <#else#>
  517.     <#if $GLOBAL_OPTIONS{alternate_topic_navbar} == 1#>
  518.       <#if $GLOBAL_OPTIONS{alternate_topic_navbar_url} ne ""#>
  519.         <a href="$GLOBAL_OPTIONS{alternate_topic_navbar_url}">$title</a>:
  520.       <#endif#>
  521.     <#else#>
  522.       <a href="$topic_file_url">$title</a>:
  523.     <#endif#>
  524.     <#if $head->{me_number} != $head->{topic_number}#>
  525.       <a href="$message_url/$head->{topic_number}/$head->{topic_number}.$ext">$head->{topic_name}</a>:
  526.     <#endif#>
  527.     <#foreach $level (@levels)#>
  528.       <#if $level->{level_number} > 0#>
  529.         <#if $level->{level_number} != $head->{me_number}#>
  530.             <a href="$message_url/$head->{topic_number}/$level->{level_number}.$ext">$level->{level_name}</a>:
  531.         <#endif#>
  532.       <#endif#>
  533.     <#endloop#>
  534. <#endif#>
  535. <#/part#>
  536.  
  537. #################################################################################
  538. # DYNAMIC TOP AND BOTTOM OF PAGES                                               #
  539. #################################################################################
  540.  
  541. <#part "dynamic_top"#>
  542.     <#if $GLOBAL_OPTIONS->{charset} ne "" && $GLOBAL_OPTIONS->{charset} ne "0"#>
  543.         <meta http-equiv="content-type" content="text/html; charset=$GLOBAL_OPTIONS->{charset}">
  544.     <#endif#>
  545.     </head>
  546.     <body bgcolor="$color->{bgcolor}" text="$color->{text}" link="$color->{link}" vlink="$color->{vlink}" alink="$color->{alink}"\
  547.         {#if $color->{background} ne ""#} background="$color->{background}"\
  548.         {#if $onLoadJS ne ""#} onLoad="$onLoadJS"{#endif#}>
  549.     <basefont size="$color->{size}"><font face="$color->{face}" size="$color->{size}">
  550.     <a name=MT></a>
  551.     <#if $pagetitle ne ""#>
  552.         <FONT SIZE=+1><CENTER><B>$pagetitle</B></CENTER></FONT><HR>
  553.     <#endif#>
  554. <#/part#>
  555.  
  556. <#part "dynamic_bottom"#>
  557.     <#insert part ($head->{topic_number}) "no_frames_buttons"#>
  558.     </font></body></html>
  559. <#/part#>
  560.  
  561. #################################################################################
  562. # NO FRAMES NAVIGATIONAL BUTTONS                                                #
  563. #################################################################################
  564.  
  565. <#part "no_frames_buttons"#>
  566.     <#if $skip_nav_bar == 0 && $general->{skip_no_frames_buttons} == 0#>
  567.         <#if $GLOBAL_OPTIONS{use_no_frames} == 1#>
  568.             <CENTER><TABLE BORDER=5><TR><TD ALIGN=CENTER>
  569.             <A HREF="$topic_file_url"><IMG SRC="$icon_url/noframes/topics.gif" HEIGHT=50 WIDTH=36 BORDER=0 ALT="Topics"></A>
  570.             <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>
  571.             <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>
  572.             <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>
  573.               
  574.             <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>
  575.             <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>
  576.             <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>
  577.             <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>
  578.               
  579.             <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>
  580.             <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>
  581.             <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>
  582.             <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>
  583.             <#if $general->{showadminfromhere} == 1#>
  584.                 <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>
  585.             <#else#>
  586.                 <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>
  587.             <#endif#>
  588.             </TD></TR></TABLE>
  589.             </CENTER>
  590.         <#endif#>
  591.     <#endif#>
  592. <#/part#>
  593.  
  594. #################################################################################
  595. # PREVIEW OF A POST                                                             #
  596. #################################################################################
  597.  
  598. <#part "preview"#>
  599. <#if $general->{create_new_conversation} == 1#>
  600.     <#define $pagetitle = "$L{START_NEW_THREAD}"#>
  601. <#else#>
  602.     <#define $pagetitle = "$L{BPNORMALTITLE}"#>
  603. <#endif#>
  604. <html>
  605. <head>
  606. <title>$pagetitle</title>
  607. <#if $GLOBAL_OPTIONS->{noload_warning} == 1#>
  608.     <script language="JavaScript">
  609.     <!--
  610.         function checkloaded() {
  611.             if (typeof document.userpass.loaded == 'undefined') {
  612.                 var J = "$L{PREVIEW_PAGE_NOT_LOADED_1}";
  613.                 J = J + "\n\n";
  614.                 J = J + "$L{PREVIEW_PAGE_NOT_LOADED_2}";
  615.                 var m = confirm(J);
  616.                 return m;
  617.             }
  618.             return true;
  619.         }
  620.     // -->
  621.     </script>
  622. <#endif#>
  623.  
  624. <#insert part ($head->{topic_number}) "dynamic_top"#>
  625.  
  626. <strong>
  627. <#insert part ($head->{topic_number}) "navbar"#>
  628. <#if $general->{secure} == 1#>
  629.     <a href="$authorize_reader?file=/$head->{topic_number}/$head->{me_number}.$ext">$head->{me_name}</a>:
  630. <#else#>
  631.     <a href="$message_url/$head->{topic_number}/$head->{me_number}.$ext">$head->{me_name}</a>:
  632. <#endif#>
  633. <#if $general->{create_new_conversation} == 1#>
  634.     $L{NEW_THREAD}
  635. <#else#>
  636.     $L{BPNORMALDISPLAY}
  637. <#endif#>
  638. </strong>
  639. <hr>
  640.  
  641. <form action="$script_url/board-post.$cgi_extension" method="post" name="userpass"{#if $GLOBAL_OPTIONS->{noload_warning} == 1#} onSubmit="return checkloaded();"{#endif#}>
  642. <#if $general->{admin_screen} == 1#><input type=hidden name="ADMIN_SCREEN" value="1">
  643. <input type=hidden name="action" value="">
  644. <input type=hidden name="HTTP_REFERER" value="$head->{topic_number}/$head->{me_number}">
  645. <input type=hidden name="preview" value="0">
  646.  
  647. <#if $message->{misspelled_words}#>
  648.     <p>
  649.     <#if $L{SPELLCHECKER_FLAG_BEGIN} eq ""#>
  650.         <font size=1 face="$color->{face}" color="#ff0000"><u>\
  651.     <#else#>
  652.         <font size=1>$L{SPELLCHECKER_FLAG_BEGIN}\
  653.     <#endif#>
  654.     $L{POSSIBLE_SPELLING_ERRORS_UNDERLINED}\
  655.     <#if $L{SPELLCHECKER_FLAG_END} eq ""#>
  656.         </u></font>\
  657.     <#else#>
  658.         $L{SPELLCHECKER_FLAG_END}</font>\
  659.     <#endif#>
  660.     </p>
  661. <#endif#>
  662.  
  663. <#if $preview->{error} == 0#>
  664.     <#define $skip_hr_in_message = "1"#>
  665.     <TABLE BORDER=1 WIDTH=97% HEIGHT=40%><TR><TD VALIGN=TOP>
  666.     <BASEFONT SIZE=$color->{size}>
  667.     <FONT FACE="$color->{face}" SIZE="$color->{size}" COLOR="$color->{text}">
  668.     <#if $general->{create_new_conversation} == 1#>
  669.         <B>$L{BPSUBJECTTAG}</B> $preview->{subject}
  670.         <HR>
  671.     <#endif#>
  672.     <#insert part ($head->{topic_number}) "individual_message"#>
  673.     </FONT>
  674.     </td></tr></table>
  675. <#else#>
  676.     <font face="$color->{face}" size="$color->{size}">
  677.     <h4>$L{POST_MESSAGE_ERROR}</h4>
  678.     <p>$preview->{errormsg}</p>
  679.     </font>
  680. <#endif#>
  681.  
  682. <p>
  683.     <HR>
  684.     <CENTER>
  685.     <#if $preview->{error} == 0#><input type=submit value="$L{BPPOSTTHISMESSAGE}">
  686.     <input type="button" value="$L{BPCANCELPOST}" onClick="\
  687.     <#if $general->{admin_screen} == 1#>
  688.         self.close();">
  689.     <#else#>
  690.         window.location='\
  691.         <#if $general->{secure} == 1#>$authorize_reader?file=/$head->{topic_number}/$head->{me_number}.$ext';">
  692.         <#if $general->{secure} == 0#>$message_url/$head->{topic_number}/$head->{me_number}.$ext';">
  693.     <#endif#>
  694.     </CENTER>
  695.     <HR>
  696. </center>
  697.  
  698.  
  699. <#if $general->{create_new_conversation} == 1#>
  700.     <H3>$L{BPREVISESUBJECT}</H3>
  701.     <#if $addmessage->{disabled} == 0#>
  702.         $L{BPFSUBJECT}
  703.         <p>
  704.         <input type="text" name="subject" size=51 value="<#form escape "$preview->{subject}"#>">
  705.         <hr>
  706.     <#endif#>
  707. <#endif#>
  708.  
  709. <H3>$L{BPREVISEMESSAGE}</H3>
  710.  
  711. <#if $addmessage->{public} == 1#>
  712.     <#insert part ($head->{topic_number}) "addmessage-public"#>
  713. <#else#>
  714.     <#if $addmessage->{disabled} == 1#>
  715.         <#insert part ($head->{topic_number}) "addmessage-disabled"#>
  716.     <#else#>
  717.         <#insert part ($head->{topic_number}) "addmessage-private"#>
  718.     <#endif#>
  719. <#endif#>
  720. <input type=hidden name="new_conversation" value="$general->{create_new_conversation}">
  721. <input type=hidden name="loaded" value="">
  722. </form>
  723. <#insert part ($head->{topic_number}) "dynamic_bottom"#>
  724.  
  725. <#/part#>
  726.  
  727. #################################################################################
  728. # OPTIONS MANAGER SCREEN (SKIN-SPECIFIC ITEMS)                                  #
  729. # You probably won't edit this unless you're going to be sharing your skin      #
  730. #################################################################################
  731.  
  732. <#part "options_screen"#>
  733.     (There are no options for this skin)
  734. <#/part#>
  735.  
  736. #################################################################################
  737. # INFORMATION SECTION -- THIS SECTION CONTAINS INFORMATION ABOUT THIS SKIN FILE #
  738. #################################################################################
  739.  
  740. <#part "info"#>
  741. Name            Discus Updated Classic
  742. Author            DiscusWare, LLC
  743. Copyright        Copyright © 2002, DiscusWare, LLC, all rights reserved
  744. Description        The updated classic Discus template is a look similar to previous versions of Discus, except that we add message counts and an "Edit" link to each post.
  745. *COLOR_bgcolor    #ffffff
  746. *COLOR_text        #000000
  747. *COLOR_link        #0000ff
  748. *COLOR_vlink    #800080
  749. *COLOR_alink    #ff0000
  750. *COLOR_face        Verdana,Arial,Helvetica
  751. *COLOR_size        2
  752. *COLOR_image
  753. *alt_color_1    #2f2f4f
  754. _alt_color_1    Header table backgrounds
  755. *alt_color_2    #ffff00
  756. _alt_color_2    Header table texts
  757. *alt_color_3    #f7f7f7
  758. _alt_color_3    Various table backgrounds
  759. *alt_color_4    #cccccc
  760. _alt_color_4    Various table backgrounds
  761. *alt_color_5    #f7f7f7
  762. _alt_color_5    Various table backgrounds
  763. *alt_color_6    #cccccc
  764. _alt_color_6    Various table backgrounds
  765. *alt_color_7    #f7f7f7
  766. _alt_color_7    Various table backgrounds
  767. *alt_color_8    #cccccc
  768. _alt_color_8    Various table backgrounds
  769. *alt_color_9    #f7f7f7
  770. _alt_color_9    Color on various screens
  771. *alt_color_10    #cccccc
  772. _alt_color_10    Color on various screens
  773. <#/part#>
  774.  
  775. #################################################################################
  776. # JAVASCRIPT SECTION -- DECLARATION OF SUBROUTINES USED IN COOKIE FUNCTIONS     #
  777. # You should not need to modify this section unless you have a strange server!  #
  778. #################################################################################
  779.  
  780. <#part "cookie_icons_offset"#>
  781. <#/part#>
  782.  
  783. <#part "cookie_icons"#>
  784. <#/part#>
  785.  
  786. <#part "readcookie"#>
  787.     function readcookie(name) {
  788.         var i = 0; var lookfor = name + "="
  789.         while (i < document.cookie.length) {
  790.             var j = i + lookfor.length
  791.             if (document.cookie.substring(i,j) == lookfor) {
  792.                 var endstr = document.cookie.indexOf(";", j)
  793.                 if (endstr == -1) {
  794.                     endstr = document.cookie.length
  795.                 }
  796.                 return unescape(document.cookie.substring(j, endstr))
  797.             }
  798.             i = document.cookie.indexOf(" ", i) + 1
  799.             if (i == 0) {
  800.                 break
  801.             }
  802.         }
  803.         return ""
  804.     }
  805. <#/part#>
  806.  
  807. #################################################################################
  808. # INITIALIZATION SECTION                                                        #
  809. # This code is automatically read (once) before any part of the skin.  Only     #
  810. # definitions (array, variables, etc.) are permitted in this section.           #
  811. #################################################################################
  812.  
  813. <#part "INIT"#>
  814.  
  815. <#define array @statuses (_index, text)#>
  816. 1    $L{USER_STATUS_1}
  817. 2    <#if $GLOBAL_OPTIONS{status2} eq ""#>$L{USER_STATUS_2}<#else#>$GLOBAL_OPTIONS{status2}<#endif#>
  818. 3    <#if $GLOBAL_OPTIONS{status3} eq ""#>$L{USER_STATUS_3}<#else#>$GLOBAL_OPTIONS{status3}<#endif#>
  819. 4    <#if $GLOBAL_OPTIONS{status4} eq ""#>$L{USER_STATUS_4}<#else#>$GLOBAL_OPTIONS{status4}<#endif#>
  820. 5    <#if $GLOBAL_OPTIONS{status5} eq ""#>$L{USER_STATUS_5}<#else#>$GLOBAL_OPTIONS{status5}<#endif#>
  821. 6    <#if $GLOBAL_OPTIONS{status6} eq ""#>$L{USER_STATUS_6}<#else#>$GLOBAL_OPTIONS{status6}<#endif#>
  822. 7    <#if $GLOBAL_OPTIONS{status7} eq ""#>$L{USER_STATUS_7}<#else#>$GLOBAL_OPTIONS{status7}<#endif#>
  823. 8    <#if $GLOBAL_OPTIONS{status8} eq ""#>$L{USER_STATUS_8}<#else#>$GLOBAL_OPTIONS{status8}<#endif#>
  824. 9    <#if $GLOBAL_OPTIONS{status9} eq ""#>$L{USER_STATUS_9}<#else#>$GLOBAL_OPTIONS{status9}<#endif#>
  825. 10    <#if $GLOBAL_OPTIONS{status10} eq ""#>$L{USER_STATUS_10}<#else#>$GLOBAL_OPTIONS{status10}<#endif#>
  826. 11    $L{USER_STATUS_1}
  827. <#/define#>
  828.  
  829. <#define array @subtopic_icons (name, url, height, width)#>
  830. <#/define#>
  831.  
  832. <#/part#>
  833.  
  834.