home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
FAQ
/
cgi-bin
/
discus4_00
/
source
/
tables2.tmpl
< prev
next >
Wrap
Text File
|
2009-11-06
|
64KB
|
1,347 lines
# DISCUS -- SKIN FILE: tables2.tmpl
# -------------------------------------------------------------------------------
# Originally authored by Kevin W. Paulisse, DiscusWare, LLC
# Copyright (c) 2001, DiscusWare, LLC, all rights reserved
#
# Do not edit or modify this file unless you know what you're doing, AND
# you've read the administration instructions for the Appearance Manager first.
# -------------------------------------------------------------------------------
<!--BEGIN-->
################################################################################
# PAGE SECTION -- THIS SECTION CONTROLS ALL SUBTOPIC/MESSAGE PAGES #
#################################################################################
<#part "page"#>
<#define $pagetitle = "<#maxchar 40/... "$head->{me_name}"#>"#>
#**************************************************#
# \/ DO NOT EDIT ANYTHING BETWEEN THESE MARKERS \/ #
#**************************************************#
<#if $general->{skip_headers} == 0#>
<html>
$pginfo->{headers_asstring}
<head>
<title>$title: $head->{me_name}</title>
<meta http-equiv="pragma" content="no-cache">
<meta name="description" content="$pginfo->{meta_description}">
<meta name="keywords" content="$pginfo->{meta_keywords}">
<meta name="robots" content="$pginfo->{meta_robots}">
<script language="javascript">
<!-- ;
function initpage () {
if (document.userpass) {
if (document.userpass.username) {
if (document.userpass.username.value == "") {
document.userpass.username.value = readcookie("user$COOKIE_ID")
}
}
if (document.userpass.passwd) {
if (document.userpass.passwd.value == "") {
document.userpass.passwd.value = readcookie("rpwd$COOKIE_ID")
}
}
}
<#if $GLOBAL_OPTIONS{cookie_for_new} == 1#>
cookieinit();
}
<#insert part ($head->{topic_number}) "cookie_icons"#>
if (document.images) {
<#foreach $subtopic (@subtopics)#>
<#if $subtopic->{lastmod} ne ""#>
if (($subtopic->{lastmod} - server_gmt_offset) > compare_time) {
document.img$subtopic->{number}.src = img_new.src;
}
<#endif#>
<#endloop#>
}
<#endif#>
}
<#insert part ($head->{topic_number}) "readcookie"#>
// end hide -->
</script>
<#define $onLoadJS = "initpage()"#>
<#insert part ($head->{topic_number}) "dynamic_top"#>
<a name="MT"></a>
<#endif#>
#**************************************************#
# /\ DO NOT EDIT ANYTHING BETWEEN THESE MARKERS /\ #
#**************************************************#
#--------------------------------------------------#
# Navigation Bar #
#--------------------------------------------------#
<#if $general->{skip_nav_bar} == 0#>
<table border=0 cellpadding=4 cellspacing=0 width="100%">
<tr bgcolor="$color->{alt_1}">
<td valign=top align=left width="80%"><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>
<#insert part ($head->{topic_number}) "navbar"#>
$head->{me_name}
</b></font></td>
<td valign=top align=right width="20%"><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>
<#if $head->{me_number} != $head->{topic_number}#>
« <a href="$script_url/discus.$cgi_extension?pg=prev&topic=$head->{topic_number}&page=$head->{me_number}"><font color="$color->{alt_2}">$L{ARROW_PREVIOUS}</font></a>
<a href="$script_url/discus.$cgi_extension?pg=next&topic=$head->{topic_number}&page=$head->{me_number}"><font color="$color->{alt_2}">$L{ARROW_NEXT}</font></a> »
<#else#>
<#endif#>
</b></font></td>
</tr></table>
<#endif#>
#--------------------------------------------------#
# Announcement Message #
#--------------------------------------------------#
<#if $head->{param} =~ match(Announce)#>
<p>
<!--Announcement-->
$pginfo->{announcement}
<!--/Announcement-->
</p>
<#endif#>
#--------------------------------------------------#
# List of Subtopics #
#--------------------------------------------------#
<#if $head->{param} =~ match(Sublist)#>
<p>
<table border=0 cellspacing=0 cellpadding=1 width="100%" bgcolor="$color->{alt_11}"><tr><td>
<table border=0 cellpadding=4 cellspacing=1 width="100%">
<tr bgcolor="$color->{alt_1}">
<td><font size=1> </font></td>
<td><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>$L{THREAD}</b></font></td>
<td><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>$L{LAST_POSTER}</b></font></td>
<td align=center><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>$L{SKIN_POSTS_WORD}</b></font></td>
<td align=center><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>$L{SKIN_PAGES_WORD}</b></font></td>
<td align=center><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>$L{LAST_POST}</b></font></td>
</tr>
<#if $general->{subtopic_raw} == 1#>
$pginfo->{sublist_raw}
<#else#>
<#foreach $subtopic (@subtopics)#>
<#if $subtopic->{type} == 0#>
## ----- \/ Do not change \/ -----
<!--Top: $subtopic->{number}-->
## ----- /\ Do not change /\ -----
<tr>
<td nowrap valign=top bgcolor="$color->{bgcolor}">\
<#if $GLOBAL_OPTIONS{cookie_for_new} == 1#>
<img name="img$subtopic->{number}" height=$new_img_height width=$new_img_width border=0 src="$icon_url/tree_j.gif" alt="">\
<#endif#>
<#if $GLOBAL_OPTIONS->{subtopic_icons}#>
<#define $icon = "$@subtopic_icons->{url:name="$subtopic->{property_emot}"}"#>
<#if $icon eq ""#>
<img src="$icon_url/tree_j.gif" height=16 width=20>\
<#else#>
<#define $height = "$@subtopic_icons->{height:name="$subtopic->{property_emot}"}"#>
<#define $width = "$@subtopic_icons->{width:name="$subtopic->{property_emot}"}"#>
<img src="$icon" height="$height" width="$width" alt="">\
<#define $newwidth = "20"#>
<#math: $newwidth -= "$width"#>
<#if $newwidth > 0#>
<img src="$icon_url/tree_j.gif" height=1 width="$newwidth">\
<#endif#>
<#endif#>
<#endif#>
<img src="$icon_url/$subtopic->{icon}.gif" height=16 width=20></td>\
<#if $noqm == 0#>
<td width=80% valign=top bgcolor="$color->{alt_5}"><font face="$color->{face}" size="$color->{size}"><a href="<#if $general->{secure}#>$authorize_reader?lm=$subtopic->{lastmod}&file=/$head->{topic_number}/$subtopic->{number}.$ext<#else#>$message_url/$head->{topic_number}/$subtopic->{number}.$ext?$subtopic->{lastmod}<#endif#>"><#maxchar 70/... "$subtopic->{name}"#></a>\
<#else#>
<td width=80% valign=top bgcolor="$color->{alt_5}"><font face="$color->{face}" size="$color->{size}"><a href="<#if $general->{secure}#>$authorize_reader?file=<#else#>$message_url<#endif#>/$head->{topic_number}/$subtopic->{number}.$ext"><#maxchar 70/... "$subtopic->{name}"#></a>\
<#endif#>
{#if $subtopic->{descr} ne ""#}<br><font size=1><!--Descr-->$subtopic->{descr}<!--/Descr--></font>{#endif#}</font></td> \
<td nowrap valign=top bgcolor="$color->{alt_6}"><font face="$color->{face}" size="$color->{size}">{#if $subtopic->{last_poster} eq ""#} {#else#}<#maxchar 20 "$subtopic->{last_poster}"#>{#endif#}</font></td> \
<td valign=top bgcolor="$color->{alt_5}" align=right><font face="$color->{face}" size="$color->{size}">$subtopic->{msg_count} </font></td> \
<td valign=top bgcolor="$color->{alt_6}" align=right><font face="$color->{face}" size="$color->{size}">$subtopic->{subs} </font></td> \
<td nowrap valign=top bgcolor="$color->{alt_5}" align=right><font face="$color->{face}" size="$color->{size}"><#date $subtopic->{lastmod} format "$L{TOPIC_LIST_DATE_FORMAT}"#></font></td> \
</tr>
## ----- \/ Do not change \/ -----
<!--/Top-->
## ----- /\ Do not change /\ -----
<#else#>
## ----- \/ Do not change \/ -----
<!--URL: $subtopic->{number}-->
<!--Data: <#escape "$subtopic->{url}"#>-<#escape "$subtopic->{target}"#>-<#escape "$subtopic->{properties}"#> -->
## ----- /\ Do not change /\ -----
<tr>
<td nowrap valign=top bgcolor="$color->{bgcolor}">\
<#if $GLOBAL_OPTIONS{cookie_for_new} == 1#>
<img name="img$subtopic->{number}" height=$new_img_height width=$new_img_width border=0 src="$icon_url/tree_j.gif" alt="">\
<#endif#>
<#if $GLOBAL_OPTIONS->{subtopic_icons}#>
<#define $icon = "$@subtopic_icons->{url:name="$subtopic->{property_emot}"}"#>
<#if $icon eq ""#>
<img src="$icon_url/tree_j.gif" height=16 width=20>\
<#else#>
<#define $height = "$@subtopic_icons->{height:name="$subtopic->{property_emot}"}"#>
<#define $width = "$@subtopic_icons->{width:name="$subtopic->{property_emot}"}"#>
<img src="$icon" height="$height" width="$width" alt="">\
<#define $newwidth = "20"#>
<#math: $newwidth -= "$width"#>
<#if $newwidth > 0#>
<img src="$icon_url/tree_j.gif" height=1 width="$newwidth">\
<#endif#>
<#endif#>
<#endif#>
<img src=$icon_url/$subtopic->{icon}.gif height=16 width=20></td>\
<td width=80% valign=top bgcolor="$color->{alt_5}"><font face="$color->{face}" size="$color->{size}"><a href="$subtopic->{url}"{#if $subtopic->{target} ne ""#} target="$subtopic->{target}"{#endif#}><!--Name-->$subtopic->{name}<!--/Name--></a> \
{#if $subtopic->{descr} ne ""#}<br><font size=1><!--Descr-->$subtopic->{descr}<!--/Descr--></font>{#endif#}</font></td> \
<td nowrap valign=top bgcolor="$color->{alt_6}"><font face="$color->{face}" size="$color->{size}"> </font></td> \
<td valign=top bgcolor="$color->{alt_5}" align=right><font face="$color->{face}" size="$color->{size}">- </td> \
<td valign=top bgcolor="$color->{alt_6}" align=right><font face="$color->{face}" size="$color->{size}">1 </font></td> \
<td valign=top bgcolor="$color->{alt_5}" align=right><font face="$color->{face}" size="$color->{size}"> </font></td> \
</tr>
## ----- \/ Do not change \/ -----
<!--/URL-->
## ----- /\ Do not change /\ -----
<#endif#>
<#endloop#>
<#endif#>
<tr bgcolor=$color->{alt_1}>
<td><font size=1> </font></td>
<td><font size=1 face="$color->{face}" color="$color->{alt_2}"><#if $head->{param} =~ match(Create)#><a href="$script_url/board-post.$cgi_extension?HTTP_REFERER=/$head->{topic_number}/$head->{me_number}.$ext&action=form"><font color="$color->{alt_2}">$L{START_NEW_THREAD}</font></a><#else#><img src="$icon_url/tree_o.gif" height=16 width=20 alt="Closed" align=left><font color="$color->{alt_2}">$L{THREAD_CLOSED_WORDING}</font><#endif#></font></td>
<td><font size=1 face="$color->{face}" color="$color->{alt_2}"> </font></td>
<td><font size=1 face="$color->{face}" color="$color->{alt_2}"> </font></td>
<td><font size=1 face="$color->{face}" color="$color->{alt_2}"> </font></td>
<td><font size=1 face="$color->{face}" color="$color->{alt_2}"> </font></td>
</tr>
</table></td></tr></table>
</p>
<#endif#>
#--------------------------------------------------#
# About Message #
#--------------------------------------------------#
<#if $head->{param} =~ match(About)#>
<p>
<!--About-->
$pginfo->{about}
<!--/About-->
</p>
<#endif#>
#--------------------------------------------------#
# Posted Messages #
#--------------------------------------------------#
<#if $head->{param} =~ match(Messages)#>
<p></p>
<table border=0 cellspacing=0 cellpadding=1 width=100% bgcolor=$color->{alt_11}>
<tr><td><table border=0 cellpadding=4 border=0 cellspacing=1 width=100%>
<tr bgcolor=$color->{alt_1}>
<td><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>$L{TABLES23_AUTHOR}</b></font></td>
<td><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>$L{TABLES23_MESSAGE}</b></font></td>
</tr>
<#if $general->{messages_raw} == 1#>
$pginfo->{messages_raw}
<#else#>
<#foreach $message (@messages)#>
<#insert part ($head->{topic_number}) "individual_message"#>
<#endloop#>
<#endif#>
</table></td></tr></table>
<#endif#>
<a name="MB"></a>
#--------------------------------------------------#
# Add a Message Form #
#--------------------------------------------------#
<#if $head->{param} =~ match(Add)#>
<form action="$script_url/board-post.$cgi_extension" method="post" name="userpass">
<input type=hidden name="HTTP_REFERER" value="$head->{topic_number}/$head->{me_number}">
<input type=hidden name="preview" value="1">
<p></p>
<table bgcolor=$color->{alt_11} border=0 cellpadding=0 cellspacing=1 width=100%><tr><td>\
<table border=0 cellpadding=4 border=0 cellspacing=1 width=100%>
<tr bgcolor="$color->{alt_1}">
<td colspan=3><font size=1 face="$color->{face}" color="$color->{alt_2}">
<b>$L{ADDMSG_ADD_MESSAGE_HERE}</b>
</font></td>
</tr>
<#if $addmessage->{public} == 1#>
<#insert part ($head->{topic_number}) "addmessage-public"#>
<#else#>
<#if $addmessage->{disabled} == 1#>
<#insert part ($head->{topic_number}) "addmessage-disabled"#>
<#else#>
<#insert part ($head->{topic_number}) "addmessage-private"#>
<#endif#>
<#endif#>
</table></td></tr></table>
</form>
<#endif#>
<#if $general->{skip_bottom} == 0#>
<#insert part ($head->{topic_number}) "dynamic_bottom"#>
<#endif#>
<#/part#>
#################################################################################
# ADD A MESSAGE BOX SECTION - CONTROLS FORMS ALLOWING ADDITION OF A MESSAGE #
#################################################################################
#--------------------------------------------------#
# Public Posting Area #
#--------------------------------------------------#
<#part "addmessage-public"#>
<tr>
<td valign=top bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
<b>$L{ADDMSG_POST}</b>
</font></td>
<td valign=top bgcolor="$color->{alt_10}" colspan=2>\
<#if $GLOBAL_OPTIONS->{format_panel}#>
<#insert template "fpanel"#>
<textarea name="message" cols=50 rows=7 wrap=virtual ONSELECT="storeCursorPosition(this)" ONKEYUP="storeCursorPosition(this)" ONCLICK="storeCursorPosition(this)">\
<#else#>
<textarea name="message" cols=50 rows=7 wrap=virtual>\
<#endif#>
<#form escape "$preview->{source}"#></textarea></td>
</tr>
<tr>
<td bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
<b>$L{PROFILE_USERNAME}</b>
</font></td>
<td bgcolor="$color->{alt_10}"><input type="text" name="username" value="$preview->{username}" size=15></td>
<td bgcolor="$color->{alt_10}" valign=top rowspan=2><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
<b>$L{ADDMSG_POSTING_INFO}</b><br>
$L{ADDMSG_PUBLIC}
</font></td>
</tr>
<tr>
<td bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
<b>$L{PROFILE_PASSWORD}</b>
</font></td>
<td bgcolor="$color->{alt_10}"><input type="password" name="passwd" value="$preview->{password}" size=15></td>
</tr>
<tr>
<td bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
<b>$L{ADDMSG_EMAIL}</b>
</font></td>
<td bgcolor="$color->{alt_10}" colspan=2><input type="text" name="email" value="$preview->{email}" size=51></td>
</tr>
<#if $addmessage->{anonymous_posting} == 1 || $GLOBAL_OPTIONS->{html} == 1 || $GLOBAL_OPTIONS->{active_links} == 1#>
<tr>
<td valign=top bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
<b>$L{ADDMSG_OPTIONS}</b>
</font></td>
<td bgcolor="$color->{alt_10}" colspan=2><font size="$color->{size}" face="$color->{face}">\
<#if $addmessage->{anonymous_posting} == 1#>
<input type=checkbox name="Anon" value=1{#if $preview->{anonymous} == 1#} checked{#endif#}>$L{POST_AS_ANONYMOUS}<br>
<#endif#>
<#if $GLOBAL_OPTIONS->{html} == 1#>
<input type=checkbox name="html" value=1{#if $preview->{html} == 1 || $preview->{html} eq ""#} checked{#endif#}>$L{HTML_CODE}<br>
<input type=hidden name="html_a" value=1> ## Leave this here!
<#endif#>
<#if $GLOBAL_OPTIONS->{active_links} == 1#>
<input type=checkbox name="active_links" value=1{#if $preview->{active_links} == 1 || $preview->{active_links} eq ""#} checked{#endif#}>$L{AUTO_ACTIVATE_LINKS}<br>
<input type=hidden name="active_links_a" value=1> ## Leave this here!
<#endif#>
</font></td></tr>
<#endif#>
<tr>
<td valign=center bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
<b>$L{ADDMSG_ACTION}</b>
</font></td>
<td valign=center bgcolor="$color->{alt_10}" colspan=2>
<font size="$color->{size}" face="$color->{face}">
<input type="submit" value="$L{BPPREVIEWPOST}" onClick="document.userpass.preview.value = '1';{#if $GLOBAL_OPTIONS{format_panel}#} panelclose();{#endif#}">
<#if pro && $GLOBAL_OPTIONS{images}#>
<input type=button value="$L{ADDMSG_UPLOAD_ATTACHMENT}" onClick='window.open("$script_url/board-post.$cgi_extension?action=posting_upload_form", "PopWin", "width=500,height=300,scrollbars=yes,resizable=yes");'>
<#endif#>
</font>
</td>
</tr>
<#/part#>
#--------------------------------------------------#
# Private Posting Area #
#--------------------------------------------------#
<#part "addmessage-private"#>
<tr>
<td valign=top bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}"><b>$L{ADDMSG_POST}</b></font></td>
<td valign=top bgcolor="$color->{alt_10}" colspan=2>\
<#if $GLOBAL_OPTIONS->{format_panel}#>
<#insert template "fpanel"#>
<textarea name="message" cols=50 rows=7 wrap=virtual ONSELECT="storeCursorPosition(this)" ONKEYUP="storeCursorPosition(this)" ONCLICK="storeCursorPosition(this)">\
<#else#>
<textarea name="message" cols=50 rows=7 wrap=virtual>\
<#endif#>
<#form escape "$preview->{source}"#></textarea></td>
</tr>
<tr>
<td bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}"><b>$L{PROFILE_USERNAME}</b></font></td>
<td bgcolor="$color->{alt_10}"><input type="text" name="username" value="<#form escape "$preview->{username}"#>" size=15></td>
<td bgcolor="$color->{alt_10}" valign=top rowspan=2><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
<b>$L{ADDMSG_POSTING_INFO}</b><br>
$L{ADDMSG_PRIVATE}
</font></td>
</tr>
<tr>
<td bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}"><b>$L{PROFILE_PASSWORD}</b></font></td>
<td bgcolor="$color->{alt_10}"><input type="password" name="passwd" value="<#form escape "$preview->{password}"#>" size=15></td>
</tr>
<#if $addmessage->{anonymous_posting} == 1 || $GLOBAL_OPTIONS->{html} == 1 || $GLOBAL_OPTIONS->{active_links} == 1#>
<tr>
<td valign=top bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
<b>$L{ADDMSG_OPTIONS}</b>
</font></td>
<td bgcolor="$color->{alt_10}" colspan=2><font size="$color->{size}" face="$color->{face}">\
<#if $addmessage->{anonymous_posting} == 1#>
<input type=checkbox name="Anon" value=1{#if $preview->{anonymous} == 1#} checked{#endif#}>$L{POST_AS_ANONYMOUS}<br>
<#endif#>
<#if $GLOBAL_OPTIONS->{html} == 1#>
<input type=checkbox name="html" value=1{#if $preview->{html} == 1 || $preview->{html} eq ""#} checked{#endif#}>$L{HTML_CODE}<br>
<input type=hidden name="html_a" value=1> ## Leave this here!
<#endif#>
<#if $GLOBAL_OPTIONS->{active_links} == 1#>
<input type=checkbox name="active_links" value=1{#if $preview->{active_links} == 1 || $preview->{active_links} eq ""#} checked{#endif#}>$L{AUTO_ACTIVATE_LINKS}<br>
<input type=hidden name="active_links_a" value=1> ## Leave this here!
<#endif#>
</font></td></tr>
<#endif#>
<tr>
<td valign=center bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}"><b>$L{ADDMSG_ACTION}</b></font></td>
<td valign=center bgcolor="$color->{alt_10}" colspan=2>
<font size="$color->{size}" face="$color->{face}">
<input type="submit" value="$L{BPPREVIEWPOST}" onClick="document.userpass.preview.value = '1';{#if $GLOBAL_OPTIONS{format_panel}#} panelclose();{#endif#}">
<#if pro && $GLOBAL_OPTIONS{images}#>
<input type=button value="$L{ADDMSG_UPLOAD_ATTACHMENT}" onClick='window.open("$script_url/board-post.$cgi_extension?action=posting_upload_form", "PopWin", "width=500,height=300,scrollbars=yes,resizable=yes");'>
<#endif#>
</font>
</td>
</tr>
<#/part#>
#--------------------------------------------------#
# Disabled Posting in Topic #
#--------------------------------------------------#
<#part "addmessage-disabled"#>
<tr>
<#define $l = "$L{BPPOSTINGDISABLEDDESCR}"#>
<#replace "%aopen" with "<a href='$script_url/board-contact.$cgi_extension'>" in $l#>
<#replace "%aclose" with "</a>" in $l#>
<td colspan=3 valign=top bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">$l</font></td>
</tr>
<#/part#>
#################################################################################
# INDIVIDUAL MESSAGE DISPLAY #
#################################################################################
<#part "individual_message"#>
<!--Post: $message->{number}--><!--Time: $message->{time}--> ## DO NOT CHANGE!!!
<!--p:$message->{property}-->\ ## DO NOT CHANGE!!!
<tr bgcolor="<#pick color $message->{_iteration} from @_ALTCOLOR(7,8)#>"> \
<td valign=top width=200><a name="POST$message->{number}">\
<#if $GLOBAL_OPTIONS{message_icons} == 1 && $general->{no_icons_shown} == 0#>
<#if $GLOBAL_OPTIONS{message_icon_top} ne "0" && $GLOBAL_OPTIONS{message_icon_top} ne ""#>
<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>\
<#endif#>
<#if $GLOBAL_OPTIONS{message_icon_up} ne "0" && $GLOBAL_OPTIONS{message_icon_up} ne ""#>
<#if $message->{_is_first_element}#><a href="#MT"><#else#><a href="#POST$message->{_previous_element}->{number}"><#endif#>\
<img src="$icon_url/$GLOBAL_OPTIONS{message_icon_up}" height=12 width=12 border=0 alt="$GLOBAL_OPTIONS{message_icon_up_alt}"></a>\
<#endif#>
<#if $GLOBAL_OPTIONS{message_icon_down} ne "0" && $GLOBAL_OPTIONS{message_icon_down} ne ""#>
<#if $message->{_is_last_element}#><a href="#MB"><#else#><a href="#POST$message->{_next_element}->{number}"><#endif#>\
<img src="$icon_url/$GLOBAL_OPTIONS{message_icon_down}" height=12 width=12 border=0 alt="$GLOBAL_OPTIONS{message_icon_down_alt}"></a>\
<#endif#>
<#if $GLOBAL_OPTIONS{message_icon_bottom} ne "0" && $GLOBAL_OPTIONS{message_icon_bottom} ne ""#>
<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>\
<#endif#>
<#if $GLOBAL_OPTIONS{message_icon_link} ne "0" && $GLOBAL_OPTIONS{message_icon_link} ne ""#>
<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>\
<#endif#>
<br><br>\
<#endif#>
<font face="$color->{face}" size="$color->{size}"><b>\
<!--email--><#if $message->{email} ne ""#><a href="$message->{email}" target="_blank"><#endif#><!--/email-->\
<!--name-->$message->{author}<!--/name--></b>\
<#if $message->{email} ne ""#></a>
</a><br> \
<#if pro#>
<#if $message->{field_status} ne ""#>
<font size=1><!--field:status--><!--use: $message->{field_status}--><!--/field--><#pick text $message->{field_status} from @statuses(*)#><br> \
<#key replace $message "field_status" => "author_status"#>
<#else#>
<#if $message->{author_status} >= 2#>
<font size=1><!--field:status--><!--use: $message->{author_status}--><!--/field--><#pick text $message->{author_status} from @statuses(*)#><br> \
<#endif#>
<#endif#>
<#endif#>
<#if $message->{author_status} <= 2#>
<!--field:posts--><!--/field--> \
<!--field:registered--><!--/field--> \
<#else#>
<#if $message->{field_uname} ne ""#>
$L{PROFEDIT_YOURUSERNAME} <!--field:uname-->$message->{field_uname}<!--/field--><br><br> \
<#else#>
<br> \
<#endif#>
<#if pro#>
<#if $message->{field_posts} ne ""#>
$L{IND_MSG_POSTS} <!--field:posts-->$message->{field_posts}<!--/field--><br> \
<#else#>
$L{IND_MSG_POSTS} <!--field:posts--><#if $message->{author_posts} == 0#>0<#else#>$message->{author_posts}<#endif#><!--/field--><br> \
<#endif#>
<#endif#>
<#if $message->{field_registered} ne ""#>
$L{IND_MSG_REGISTERED} <!--field:registered-->$message->{field_registered}<!--/field--><br> \
<#else#>
<#if $message->{author_registered} == 0#>
$L{IND_MSG_REGISTERED} <!--field:registered-->$L{IND_MSG_NOT_APPLICABLE}<!--/field--><br> \
<#else#>
$L{IND_MSG_REGISTERED} <!--field:registered--><#date $message->{author_registered} format "%nmonth-%year"#><!--/field--><br> \
<#endif#>
<#endif#>
<#endif#>
<#if $message->{field_ip_address} ne ""#>
<font size=1>$L{IND_MSG_POSTED_FROM} <!--field:ip_address-->$message->{field_ip_address}<!--/field--><br>\
<#else#>
<#if $message->{ip_address} ne ""#>
$L{IND_MSG_POSTED_FROM} <!--field:ip_address-->$message->{ip_address}<!--/field--><br>\
<#else#>
<!--field:ip_address--><!--/field-->\
<#endif#>
<#endif#>
<#if $message->{field_thumbnail} ne ""#>
<#if exists: "$message_dir/thumbnails/$message->{field_thumbnail}.jpg"#>
<br><img src="$message_url/thumbnails/$message->{field_thumbnail}.jpg"><br>\
<!--field:thumbnail--><!--use:$message->{field_thumbnail}--><!--/field-->\
<#else#>
<#if exists: "$message_dir/thumbnails/$message->{field_thumbnail}.gif"#>
<br><img src="$message_url/thumbnails/$message->{field_thumbnail}.gif"><br>\
<!--field:thumbnail--><!--use:$message->{field_thumbnail}--><!--/field-->\
<#endif#>
<#endif#>
<#endif#>
<#if $message->{thumbnail} ne ""#>
<#if exists: "$message_dir/thumbnails/$message->{thumbnail}.jpg"#>
<br><img src="$message_url/thumbnails/$message->{thumbnail}.jpg"><br>\
<!--field:thumbnail--><!--use:$message->{thumbnail}--><!--/field-->\
<#else#>
<#if exists: "$message_dir/thumbnails/$message->{thumbnail}.gif"#>
<br><img src="$message_url/thumbnails/$message->{thumbnail}.gif"><br>\
<!--field:thumbnail--><!--use:$message->{thumbnail}--><!--/field-->\
<#endif#>
<#endif#>
<#endif#>
<#if $DCONF->{pro} && $GLOBAL_OPTIONS->{post_ratings} && $message->{property_no_rating} == 0 && $general->{no_rating_shown} == 0#>
<#mathdefine $x = divide($message->{property_score},$message->{property_votes})#>
<p><font size=1>$L{POST_RATING_RATING} \
<#if $x <= 0#>
$L{POST_RATING_NA}\
<#else#>
<img src="$icon_url/s1\
<#for $c = 1.25 to 4.75 step 0.50#>
{#if $x >= $c->{value}#}1{#else#}0{#endif#}\
<#endfor#>
.gif" height=12 width=60>\
<#endif#>
<#mathdefine $v = sum(0,$message->{property_votes})#>
<br>$L{POST_RATING_VOTES} $v\
<#if $general->{showadminfromhere} && $message->{property_no_new_votes} == 0#>
(<a href="$script_url/board-profile.$cgi_extension?action=rate&topic=$head->{topic_number}&page=$head->{me_number}&post=$message->{number}">$L{POST_RATING_VOTE_NOW}</a>)\
<#endif#>
</p> \
<#endif#>
</font></font></td> \
<td valign=top>\
<font face="$color->{face}" size="$color->{size}">\
<table width=100% border=0 cellspacing=0 cellpadding=0><tr><td align=left>\
<font face="$color->{face}" size="$color->{size}">$L{POSTED_ON} <#date $message->{time} format "$L{LONGDATE}"#>: \
</font></td><td align=right>\
<#if pro && $hide_message_icons == 0 && $general->{no_message_icons_shown} == 0#>
<#if $GLOBAL_OPTIONS{TABLES2_edit_icon}#><a href="$script_url/board-profile.$cgi_extension?action=editpost&postid=$message->{number}&page=$head->{topic_number}/$head->{me_number}"><img src="$icon_url/tree_s.gif" border=0 alt="$L{QUICK_ADMIN_EDIT_POST}" border=0></a> \
<#if $GLOBAL_OPTIONS{TABLES2_delete_icon}#><a href="$script_url/board-profile.$cgi_extension?action=delpost&postid=$message->{number}&page=$head->{topic_number}/$head->{me_number}"><img src="$icon_url/delmsg.gif" alt="$L{QUICK_ADMIN_DELETE_POST}" border=0 width=20 height=16></a> \
<#if $GLOBAL_OPTIONS{TABLES2_checkip_icon}#><a href="#" onClick="return winpop('$cgiurl?action=quick&do=IP&HTTP_REFERER=$head->{topic_number}/$head->{me_number}&postindex=$message->{number}');"><img src="$icon_url/checkip.gif" alt="$L{QUICK_ADMIN_VIEW_POST}" border=0 width=15 height=15></a> \
<#if $GLOBAL_OPTIONS{TABLES2_print_icon}#><a href="#" onClick="return winpop('$cgiurl?action=quick&do=print&HTTP_REFERER=$head->{topic_number}/$head->{me_number}&postindex=$message->{number}');"><img src="$icon_url/printer.gif" alt="$L{QUICK_ADMIN_PRINT_POST}" border=0 width=17 height=15></a> \
<#if $GLOBAL_OPTIONS{TABLES2_print_icon} || $GLOBAL_OPTIONS{TABLES2_edit_icon} || $GLOBAL_OPTIONS{TABLES2_delete_icon} || $GLOBAL_OPTIONS{TABLES2_checkip_icon}#>
<#if $GLOBAL_OPTIONS{TABLES2_move_icon} || $GLOBAL_OPTIONS{TABLES2_banip_icon}#>
\
<#endif#>
<#endif#>
<#if $GLOBAL_OPTIONS{TABLES2_move_icon}#><a href="#" onClick="return winpop('$cgiurl?action=quick&do=movepost&HTTP_REFERER=$head->{topic_number}/$head->{me_number}&postindex=$message->{number}');"><img src="$icon_url/movemsg.gif" alt="$L{QUICK_ADMIN_MOVE_POST}" border=0 width=20 height=16></a> \
<#if $GLOBAL_OPTIONS{TABLES2_banip_icon}#><a href="#" onClick="return winpop('$cgiurl?action=quick&do=ban&HTTP_REFERER=$head->{topic_number}/$head->{me_number}&postindex=$message->{number}');"><img src="$icon_url/banip.gif" alt="$L{QUICK_ADMIN_BAN_IP}" border=0 width=15 height=15></a> \
<#endif#>
</td></tr></table>\
<hr noshade size=0> \
<!--Text-->$message->{text}<!--/Text--> \
<#if $message->{field_signature} ne ""#><hr noshade size=0><!--field:signature-->$message->{field_signature}<!--/field--> \
</td></tr>
<!--/Post: $message->{number}--> ## DO NOT CHANGE!!!
<#/part#>
#################################################################################
# TOPICS SECTION -- THIS SECTION CONTROLS THE TOPICS PAGE OF THE BOARD #
#################################################################################
<#part "topics"#>
#**************************************************#
# \/ DO NOT EDIT ANYTHING BETWEEN THESE MARKERS \/ #
#**************************************************#
<#if option_defined: "title_words"#>
<#define $pagetitle = "$GLOBAL_OPTIONS{title_words}"#>
<#else#>
<#define $pagetitle = "$L{NAVIGATION_TOPICS}"#>
<#endif#>
<html>
<head>
<title>$L{NAVIGATION_TOPICS} - $title</title>
<#if $GLOBAL_OPTIONS{cookie_for_new}#>
<#define $onLoadJS = "cookieinit()"#>
<script language="JavaScript">
<!--
<#insert part () "readcookie"#>
<#insert part () "cookie_icons"#>
if (document.images) {
<#foreach $topic (@topics)#>
<#if $topic->{lastmod} ne "" && $topic->{hidden} == 0#>
if (($topic->{lastmod} - server_gmt_offset) > compare_time ) {
document.img$topic->{number}.src = img_new.src;
}
<#endif#>
<#endloop#>
}
}
// -->
</script>
<#endif#>
<#insert part () "dynamic_top"#>
#**************************************************#
# /\ DO NOT EDIT ANYTHING BETWEEN THESE MARKERS /\ #
#**************************************************#
<!--Title Message-->
$titlemsg->{text}
<#if $titlemsg->{hr} == 1#><hr>
<!--/Title Message-->
<table border=0 cellpadding=0 cellspacing=0 width=100%><tr><td bgcolor="$color->{alt_11}">
<table cellpadding=4 cellspacing=1 border=0 width=100%>
<tr bgcolor="$color->{alt_1}">
<td nowrap><font size=1> </font></td>
<td width=80% valign=bottom><font size="1" face="$color->{face}" color="$color->{alt_2}"><b>$L{TOPIC_SINGULAR}</b></font></td>
<td nowrap valign=bottom align=center><font size="1" face="$color->{face}" color="$color->{alt_2}"><b>$L{SKIN_POSTS_WORD}</b></font></td>
<td nowrap valign=bottom align=center><font size="1" face="$color->{face}" color="$color->{alt_2}"><b>$L{SKIN_PAGES_WORD}</b></font></td>
<td nowrap valign=bottom align=center><font size="1" face="$color->{face}" color="$color->{alt_2}"><b>$L{LAST_POST}</b></font></td>
<td nowrap valign=bottom align=center><font size="1" face="$color->{face}" color="$color->{alt_2}"><b>$L{LAST_POSTER}</b></font></td>
</tr>
<#foreach $topic (@topics)#>
<#if $topic->{type} == 1#>
## ----- \/ Do not change \/ -----
<!--Top: $topic->{number}-->
## ----- /\ Do not change /\ -----
<#if $topic->{hidden} == 1#>
<!-- Topic Hidden -->
<#skip iteration#>
<#else#>
<tr>
<td bgcolor="$color->{bgcolor}" valign=top nowrap>
<#if $GLOBAL_OPTIONS{cookie_for_new} == 1#>
<img name="img$topic->{number}" height=$new_img_height width=$new_img_width border=0 src="$icon_url/tree_j.gif" alt="">
<#endif#>
<img src="$icon_url/$topic->{icon}.gif" height=16 width=20>
</td>
<td bgcolor="$color->{alt_3}" valign=top><font size="$color->{size}" face="$color->{face}">
<a href="$topic->{url}"><b>$topic->{name}</b></a>
<#if $topic->{descr} ne ""#><br><font size=1><!--Descr-->$topic->{descr}<!--/Descr--></font>
</td>
<td bgcolor="$color->{alt_4}" align=right valign=top nowrap><font size="$color->{size}" face="$color->{face}">$topic->{posts}</font></td>
<td bgcolor="$color->{alt_3}" align=right valign=top nowrap><font size="$color->{size}" face="$color->{face}">$topic->{subs}</font></td>
<td bgcolor="$color->{alt_4}" nowrap valign=top align=center><font size="$color->{size}" face="$color->{face}"><#date $topic->{lastmod} format "$L{TOPIC_LIST_DATE_FORMAT}"#></font></td>
<td bgcolor="$color->{alt_3}" align=left valign=top nowrap><font size="$color->{size}" face="$color->{face}">{#if $topic->{last_poster} eq ""#} {#else#}<#maxchar 20 "$topic->{last_poster}"#>{#endif#}</font></td>
</tr>
<#endif#>
## ----- \/ Do not change \/ -----
<!--/Top-->
## ----- /\ Do not change /\ -----
<#else#>
<#skip iteration#>
## ----- \/ Do not change \/ -----
<!--Category: $topic->{number}--><!--bgcolor:$topic->{bgcolor}-->
## ----- /\ Do not change /\ -----
<tr>
<td bgcolor="$topic->{bgcolor}" colspan=6><font size="$color->{size}" face="$color->{face}"><b><!--Text-->$topic->{text}<!--/Text--></b>
<#if $topic->{descr} ne ""#><br><font size=1><!--Descr-->$topic->{descr}<!--/Descr--></font>
</td>
</tr>
## ----- \/ Do not change \/ -----
<!--/Category-->
## ----- /\ Do not change /\ -----
<#endif#>
<#endloop#>
<!--End Topics-->
</table>
</td></tr></table>
<!--Message-->
<#if $mainmsg->{hr} == 1#><hr>
$mainmsg->{text}
<!--/Message-->
<#insert part () "dynamic_bottom"#>
<#/part#>
#################################################################################
# CREATE NEW CONVERSATION / START NEW THREAD SCREEN #
#################################################################################
<#part "newconv"#>
#**************************************************#
# \/ DO NOT EDIT ANYTHING BETWEEN THESE MARKERS \/ #
#**************************************************#
<html><head><title>$L{START_NEW_THREAD}</title>
<script language="JavaScript">
<!--
// Initial Load
function initpage() {
<#if $addmessage->{disabled} == 0#>document.userpass.subject.focus();
if (document.userpass) {
if (document.userpass.username) {
if (document.userpass.username.value == "") {
document.userpass.username.value = readcookie("user$COOKIE_ID")
}
}
if (document.userpass.passwd) {
if (document.userpass.passwd.value == "") {
document.userpass.passwd.value = readcookie("rpwd$COOKIE_ID")
}
}
}
}
<#insert part ($head->{topic_number}) "readcookie"#>
// -->
</script>
<#define $onLoadJS = "initpage()"#>
<#define $pagetitle = "$L{START_NEW_THREAD}"#>
<#insert part ($head->{topic_number}) "dynamic_top"#>
#**************************************************#
# /\ DO NOT EDIT ANYTHING BETWEEN THESE MARKERS /\ #
#**************************************************#
<table border=0 cellpadding=4 border=0 cellspacing=0 width=100%>
<tr bgcolor=$color->{alt_1}>
<td valign=top align=left width=80%><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>
<#insert part ($head->{topic_number}) "navbar"#>
<#if $general->{secure} == 1#>
<a href="$authorize_reader?file=/$head->{topic_number}/$head->{me_number}.$ext"><font color="$color->{alt_2}">$head->{me_name}</font></a> »
<#else#>
<a href="$message_url/$head->{topic_number}/$head->{me_number}.$ext"><font color="$color->{alt_2}">$head->{me_name}</font></a> »
<#endif#>
$L{START_NEW_THREAD}
</b></font></td>
<td valign=top align=right width=20%><font size=1 face="$color->{face}" color="$color->{alt_2}"> </font></td>
</tr></table>
<form action="$script_url/board-post.$cgi_extension" method="post" name="userpass">
<input type=hidden name="action" value="">
<input type=hidden name="preview" value="1">
<input type=hidden name="HTTP_REFERER" value="$head->{topic_number}/$head->{me_number}">
<table bgcolor="$color->{alt_11}" border=0 cellpadding=0 cellspacing=1 width=100%><tr><td>
<table border=0 cellpadding=4 border=0 cellspacing=1 width="100%">
<tr bgcolor=$color->{alt_1}>
<td colspan=3><font size=1 face="$color->{face}" color="$color->{alt_2}">
<b>$L{START_NEW_THREAD}</b>
</font></td>
</tr>
<#if $addmessage->{disabled} == 0#>
<tr>
<td valign=top bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
<b>$L{BPSUBJECTTAG}</b>
</font></td>
<td valign=top bgcolor="$color->{alt_10}" colspan=2><input type="text" name="subject" size=51 value=""></td>
</tr>
<#if $GLOBAL_OPTIONS->{subtopic_icons_user_choose}#>
<tr>
<td valign=top bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
<b>$L{CHOOSE_AN_ICON}</b>
</font></td>
<td valign=top bgcolor="$color->{alt_10}" colspan=2>
<table>
<tr>
<td width=50><input type=radio name="emoticon" value="" checked></td>
<#foreach $subtopic_icon (@subtopic_icons)#>
<#if [ $subtopic_icon->{_iteration} % 7 ] == 0#>
</tr><tr>
<#endif#>
<td width=50><input type=radio name="emoticon" value="$subtopic_icon->{name}">\
<img src="$subtopic_icon->{url}" height="$subtopic_icon->{height}" width="$subtopic_icon->{width}"></td>
<#endloop#>
</tr></table>
</td>
</tr>
<#endif#>
<#else#>
<input type=hidden name="subject">
<#endif#>
<#if $addmessage->{public} == 1#>
<#insert part ($head->{topic_number}) "addmessage-public"#>
<#else#>
<#if $addmessage->{disabled} == 1#>
<#insert part ($head->{topic_number}) "addmessage-disabled"#>
<#else#>
<#insert part ($head->{topic_number}) "addmessage-private"#>
<#endif#>
<#endif#>
</table></td></tr></table>
<input type=hidden name=new_conversation value=1>
</form>
<#insert part ($head->{topic_number}) "dynamic_bottom"#>
<#/part#>
#################################################################################
# NAVIGATION BAR #
#################################################################################
<#part "navbar"#>
<#if $general->{secure} == 1#>
<#if $GLOBAL_OPTIONS{alternate_topic_navbar} == 1#>
<#if $GLOBAL_OPTIONS{alternate_topic_navbar_url} ne ""#>
<a href="$GLOBAL_OPTIONS{alternate_topic_navbar_url}"><font color="$color->{alt_2}">$title</font></a> »
<#endif#>
<#else#>
<a href="$topic_file_url"><font color="$color->{alt_2}">$title</font></a> »
<#endif#>
<#if $head->{me_number} != $head->{topic_number}#>
<a href="$authorize_reader?file=/$head->{topic_number}/$head->{topic_number}.$ext"><font color="$color->{alt_2}">$head->{topic_name}</font></a> »
<#endif#>
<#foreach $level (@levels)#>
<#if $level->{level_number} > 0#>
<#if $level->{level_number} != $head->{me_number}#>
<a href="$authorize_reader?file=/$head->{topic_number}/$level->{level_number}.$ext"><font color="$color->{alt_2}">$level->{level_name}</font></a> »
<#endif#>
<#endif#>
<#endloop#>
<#else#>
<#if $GLOBAL_OPTIONS{alternate_topic_navbar} == 1#>
<#if $GLOBAL_OPTIONS{alternate_topic_navbar_url} ne ""#>
<a href="$GLOBAL_OPTIONS{alternate_topic_navbar_url}"><font color="$color->{alt_2}">$title</font></a> »
<#endif#>
<#else#>
<a href="$topic_file_url"><font color="$color->{alt_2}">$title</font></a> »
<#endif#>
<#if $head->{me_number} != $head->{topic_number}#>
<a href="$message_url/$head->{topic_number}/$head->{topic_number}.$ext"><font color="$color->{alt_2}">$head->{topic_name}</font></a> »
<#endif#>
<#foreach $level (@levels)#>
<#if $level->{level_number} > 0#>
<#if $level->{level_number} != $head->{me_number}#>
<a href="$message_url/$head->{topic_number}/$level->{level_number}.$ext"><font color="$color->{alt_2}">$level->{level_name}</font></a> »
<#endif#>
<#endif#>
<#endloop#>
<#endif#>
<#/part#>
#################################################################################
# DYNAMIC TOP AND BOTTOM OF PAGES #
#################################################################################
<#part "dynamic_top"#>
<#if $GLOBAL_OPTIONS{format_panel}#>
<script src="$html_url/fpanel.js">
</script>
<#endif#>
<#if pro && $hide_message_icons == 0 && $general->{no_message_icons_shown} == 0#>
<script language="JavaScript">
<!--
function winpop (url) {
window.open(url, 'AHWIN', 'height=480,width=640,scrollbars=yes,resizable=yes,toolbars=yes,status=yes');
return false;
}
// -->
</script>
<#endif#>
<#if $general->{stylesheet} eq ""#>
<style type="text/css">
<!--
p.topborder { border-bottom: thin $color->{alt_1} solid; padding-bottom: 4pt }
p { font: <#css size (+0)#> $color->{face}; }
table.topsection { }
td.topsect1 { vertical-align: bottom; text-align: left; font: <#css size (+2)#> $color->{face}; font-weight: 600; }
td.topsect2 { vertical-align: top; text-align: right; font: <#css size (+0)#> $color->{face}; }
td.nb { font: <#css size (+0)#> $color->{face}; }
td.b { font: <#css size (+0)#> $color->{face}; font-weight: 600;}
-->
</style>
<#if $GLOBAL_OPTIONS->{charset} ne "" && $GLOBAL_OPTIONS->{charset} ne "0"#>
<meta http-equiv="content-type" content="text/html; charset=$GLOBAL_OPTIONS->{charset}">
<#endif#>
</head>
<body bgcolor="$color->{bgcolor}" text="$GLOBAL_OPTIONS{COLOR_text}" link="$GLOBAL_OPTIONS{COLOR_link}" vlink="$GLOBAL_OPTIONS{COLOR_vlink}" alink="$GLOBAL_OPTIONS{COLOR_alink}" \
<#if $GLOBAL_OPTIONS{COLOR_image} ne "" && $GLOBAL_OPTIONS{COLOR_image} ne "0"#>{||}background="$GLOBAL_OPTIONS{COLOR_image}" \
<#if $onLoadJS ne ""#>{||}onLoad="$onLoadJS"{#endif#} \
>
<#else#>
<#if $GLOBAL_OPTIONS->{charset} ne "" && $GLOBAL_OPTIONS->{charset} ne "0"#>
<meta http-equiv="content-type" content="text/html; charset=$GLOBAL_OPTIONS->{charset}">
<#endif#>
</head>
<body{#if $onLoadJS ne ""#} onLoad="$onLoadJS"{#endif#}>
<#endif#>
<basefont size="$color->{size}"><font face="$color->{face}" size="$color->{size}">
<a name=MT></a>
<#if $skip_entire_top == 0#>
<#include file="$admin_dir/template/custom/site_header.tmpl"#>
<p class="topborder">
<table class="topsection" width=100% border=0 cellpadding=0 cellspacing=0>
<tr>
<td class="topsect1">$pagetitle</td>
<td class="topsect2">
<#if $skip_nav_bar == 1 || $general->{skip_top_options_bar} == 1#>
<#else#>
<a href="$script_url/discus.$cgi_extension?pg=logout">$L{LOGIN_CLEARBUTTON}</a> |
<a href="$topic_file_url">$L{NAVIGATION_TOPICS}</a> |
<a href="$script_url/search.$cgi_extension">$L{NAVIGATION_SEARCH}</a>
<br>
<a href="$script_url/board-contact.$cgi_extension">$L{NAVIGATION_CONTACT}</a> |
<#if pro && $GLOBAL_OPTIONS{allow_selfreg}#>
<a href="$script_url/board-profile.$cgi_extension?action=register">$L{NAVIGATION_REGISTER}</a> |
<#endif#>
<a href="$script_url/board-profile.$cgi_extension">$L{NAVIGATION_PROFILE}</a>
<#endif#>
</td>
</tr>
</table>
</p>
<#endif#>
<#/part#>
<#part "dynamic_bottom"#>
<#insert part ($head->{topic_number}) "no_frames_buttons"#>
<#include file="$admin_dir/template/custom/site_footer.tmpl"#>
</body></html>
<#/part#>
#################################################################################
# NO FRAMES NAVIGATIONAL BUTTONS #
#################################################################################
<#part "no_frames_buttons"#>
<#if $skip_nav_bar == 0 && $general->{skip_no_frames_buttons} == 0#>
<#if $GLOBAL_OPTIONS{use_no_frames} == 1#>
<p></p>
<table border=0 cellpadding=4 border=0 cellspacing=0 width=100%>
<tr bgcolor="$color->{alt_1}">
<td valign=top align=left width=80%><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>
<a href="$topic_file_url"><font color="$color->{alt_2}">$L{NAVIGATION_TOPICS}</font></a>
| <a href="$script_url/search.$cgi_extension?method=last&number=1&units=1440&tree=ON&where=all"><font color="$color->{alt_2}">$L{NAVIGATION_LAST_DAY}</font></a>
| <a href="$script_url/search.$cgi_extension?method=last&number=7&units=1440&tree=ON&where=all"><font color="$color->{alt_2}">$L{NAVIGATION_LAST_WEEK}</font></a>
| <a href="$script_url/board-viewtree.$cgi_extension"><font color="$color->{alt_2}">$L{NAVIGATION_TREE_VIEW}</font></a>
| <a href="$script_url/search.$cgi_extension"><font color="$color->{alt_2}">$L{NAVIGATION_SEARCH}</font></a>
<#if $GLOBAL_OPTIONS{allow_allusers}#>
| <a href="$script_url/allusers.$cgi_extension"><font color="$color->{alt_2}">$L{ALLUSERS_SCREEN_SHORT_TITLE}</font></a>
<#endif#>
| <a href="$script_url/discus.$cgi_extension?pg=help"><font color="$color->{alt_2}">$L{NAVIGATION_HELP}</font></a>
| <a href="$script_url/discus.$cgi_extension?pg=credits"><font color="$color->{alt_2}">$L{NAVIGATION_CREDITS}</font></a>
</td>
<td valign=top align=right width=20%><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>
<#if $general->{showadminfromhere} == 1#>
<#if pro#>
<a href="$script_url/board-admin.$cgi_extension?action=quick&topic=$head->{topic_number}&page=$head->{me_number}&do=select" target="_blank"><font color="$color->{alt_2}">$L{NAVIGATION_ADMIN}</font></a>
<#else#>
<a href="$script_url/board-admin-menuonly.$cgi_extension?cmd=start&startfrom=$head->{topic_number}/$head->{me_number}" target="_blank"><font color="$color->{alt_2}">$L{NAVIGATION_ADMIN}</font></a>
<#endif#>
<#else#>
<a href="$script_url/discus.$cgi_extension?pg=admin" target=_top><font color="$color->{alt_2}">$L{NAVIGATION_ADMIN}</font></a>
<#endif#>
</b></font>
</td></tr></table>
<#endif#>
<#endif#>
<#/part#>
#################################################################################
# PREVIEW OF A POST #
#################################################################################
<#part "preview"#>
<#if $general->{create_new_conversation} == 1#>
<#define $pagetitle = "$L{START_NEW_THREAD}"#>
<#else#>
<#define $pagetitle = "$L{BPNORMALTITLE}"#>
<#endif#>
<html>
<head>
<title>$pagetitle</title>
<#if $GLOBAL_OPTIONS->{noload_warning} == 1#>
<script language="JavaScript">
<!--
function checkloaded() {
if (typeof document.userpass.loaded == 'undefined') {
var J = "$L{PREVIEW_PAGE_NOT_LOADED_1}";
J = J + "\n\n";
J = J + "$L{PREVIEW_PAGE_NOT_LOADED_2}";
var m = confirm(J);
return m;
}
return true;
}
// -->
</script>
<#endif#>
<#insert part ($head->{topic_number}) "cookie_icons_offset"#>
<#insert part ($head->{topic_number}) "dynamic_top"#>
<p></p>
<table border=0 cellpadding=4 border=0 cellspacing=0 width=100%>
<tr bgcolor=$color->{alt_1}>
<td valign=top align=left width=80%><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>
<#insert part ($head->{topic_number}) "navbar"#>
<#if $general->{secure} == 1#>
<a href="$authorize_reader?file=/$head->{topic_number}/$head->{me_number}.$ext"><font color="$color->{alt_2}">$head->{me_name}</font></a> »
<#else#>
<a href="$message_url/$head->{topic_number}/$head->{me_number}.$ext"><font color="$color->{alt_2}">$head->{me_name}</font></a> »
<#endif#>
<#if $general->{create_new_conversation} == 1#>
$L{NEW_THREAD}
<#else#>
$L{BPNORMALDISPLAY}
<#endif#>
</b></font>
</td>
<td valign=top align=right width=20%><font size=1 face="$color->{face}" color="$color->{alt_2}"><b>
</b></font></td>
</tr></table>
<p></p>
<form action="$script_url/board-post.$cgi_extension" method="post" name="userpass"{#if $GLOBAL_OPTIONS->{noload_warning} == 1#} onSubmit="return checkloaded();"{#endif#}>
<#if $general->{admin_screen} == 1#><input type=hidden name="ADMIN_SCREEN" value="1">
<input type=hidden name="action" value="">
<input type=hidden name="HTTP_REFERER" value="$head->{topic_number}/$head->{me_number}">
<input type=hidden name="preview" value="0">
<table bgcolor="$color->{alt_11}" border=0 cellpadding=0 cellspacing=1 width="100%"><tr><td>
<table border=0 cellpadding=4 border=0 cellspacing=1 width=100%>
<tr bgcolor=$color->{alt_1}>
<td colspan=2><font size=1 face="$color->{face}" color="$color->{alt_2}">
<#if $general->{create_new_conversation} == 1 && $preview->{error} == 0#>
<b>$L{NEW_THREAD}:</b> "$new_conv->{subject}"
<#else#>
<b>$L{BPNORMALTITLE}</b>
<#endif#>
<#if $message->{misspelled_words}#>
(</font>\
<#if $L{SPELLCHECKER_FLAG_BEGIN} eq ""#>
<font size=1 face="$color->{face}" color="#ff0000"><u>\
<#else#>
<font size=1>$L{SPELLCHECKER_FLAG_BEGIN}\
<#endif#>
$L{POSSIBLE_SPELLING_ERRORS_UNDERLINED}\
<#if $L{SPELLCHECKER_FLAG_END} eq ""#>
</u></font>\
<#else#>
$L{SPELLCHECKER_FLAG_END}</font>\
<#endif#>
<font size=1 face="$color->{face}" color="$color->{alt_2}">)</font>
<#else#>
</font>
<#endif#>
</td>
</tr>
<#if $preview->{error} == 0#>
<#insert part ($head->{topic_number}) "individual_message"#>
<#else#>
<tr bgcolor="$color->{bgcolor}">
<td colspan=2>
<font face="$color->{face}" size="$color->{size}">
<h4>$L{POST_MESSAGE_ERROR}</h4>
$preview->{errormsg}
</font>
</td>
</tr>
<#endif#>
<tr bgcolor=$color->{alt_1}>
<td align=center colspan=2>
<font face="$color->{face}" size="$color->{size}">
<#if $preview->{error} == 0#>
<input type="submit" value="$L{BPPOSTTHISMESSAGE}" {#if $GLOBAL_OPTIONS{format_panel}#} onClick="panelclose();"{#endif#}>
<#endif#>
<input type="button" value="$L{BPCANCELPOST}" onClick="\
<#if $general->{admin_screen} == 1#>
self.close();">
<#else#>
window.location='\
<#if $general->{secure} == 1#>$authorize_reader?file=/$head->{topic_number}/$head->{me_number}.$ext';">
<#if $general->{secure} == 0#>$message_url/$head->{topic_number}/$head->{me_number}.$ext';">
<#endif#>
</font>
</td>
</tr>
</table>
</td></tr></table>
<p></p>
<table bgcolor="$color->{alt_11}" border=0 cellpadding=0 cellspacing=1 width=100%><tr><td>
<table border=0 cellpadding=4 border=0 cellspacing=1 width=100%>
<tr bgcolor=$color->{alt_1}>
<td colspan=3><font size=1 face="$color->{face}" color="$color->{alt_2}">
<b>$L{BPREVISEMESSAGE}</b>
</font></td>
</tr>
<#if $general->{create_new_conversation} == 1#>
<#if $addmessage->{disabled} == 0#>
<tr>
<td valign=top bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
<b>$L{BPSUBJECTTAG}</b>
</font></td>
<td valign=top bgcolor="$color->{alt_10}" colspan=2><input type="text" name="subject" size=51 value="<#form escape "$preview->{subject}"#>"></td>
</tr>
<#else#>
<input type=hidden name="subject">
<#endif#>
<#if $GLOBAL_OPTIONS->{subtopic_icons_user_choose}#>
<tr>
<td valign=top bgcolor="$color->{alt_9}"><font size="$color->{size}" face="$color->{face}" color="$GLOBAL_OPTIONS{COLOR_text}">
<b>$L{CHOOSE_AN_ICON}</b>
</font></td>
<td valign=top bgcolor="$color->{alt_10}" colspan=2>
<table>
<tr>
<td width=50><input type=radio name="emoticon" value=""{#if $preview->{emoticon} eq ""#} checked{#endif#}></td>
<#foreach $subtopic_icon (@subtopic_icons)#>
<#if [ $subtopic_icon->{_iteration} % 7 ] == 0#>
</tr><tr>
<#endif#>
<td width=50><input type=radio name="emoticon" value="$subtopic_icon->{name}"{#if $preview->{emoticon} eq $subtopic_icon->{name}#} checked{#endif#}>\
<img src="$subtopic_icon->{url}" height="$subtopic_icon->{height} width="$subtopic_icon->{width}"></td>
<#endloop#>
</tr></table>
</td>
</tr>
<#endif#>
<#endif#>
<#if $addmessage->{public} == 1#>
<#insert part ($head->{topic_number}) "addmessage-public"#>
<#else#>
<#if $addmessage->{disabled} == 1#>
<#insert part ($head->{topic_number}) "addmessage-disabled"#>
<#else#>
<#insert part ($head->{topic_number}) "addmessage-private"#>
<#endif#>
<#endif#>
</td></tr></table>
</td></tr></table>
<input type=hidden name="loaded" value="">
<input type=hidden name="new_conversation" value="$general->{create_new_conversation}">
</form>
<#insert part ($head->{topic_number}) "dynamic_bottom"#>
<#/part#>
#################################################################################
# OPTIONS MANAGER SCREEN (SKIN-SPECIFIC ITEMS) #
# You probably won't edit this unless you're going to be sharing your skin #
#################################################################################
<#part "options_screen"#>
<#if pro#>
<div class="surround">
{#if $browser->{ieX}#}<p class="blbar">Quick Administration Icons</p>{#else#}<table width=100% bgcolor=$color->{alt_11}><tr><td>$fs<font color=#ffff00>Quick Administration Icons</font></font></td></tr></table>{#endif#}
<p>
Select any of the "quick administration" icons that you want to appear next to each post.
</p>
<ul>
<input type=checkbox name=TABLES2_edit_icon value=1{#if $GLOBAL_OPTIONS{TABLES2_edit_icon}#} checked{#endif#}> Edit Post<br>
<input type=checkbox name=TABLES2_delete_icon value=1{#if $GLOBAL_OPTIONS{TABLES2_delete_icon}#} checked{#endif#}> Delete Post<br>
<input type=checkbox name=TABLES2_checkip_icon value=1{#if $GLOBAL_OPTIONS{TABLES2_checkip_icon}#} checked{#endif#}> View Post/Show IP Address<br>
<input type=checkbox name=TABLES2_print_icon value=1{#if $GLOBAL_OPTIONS{TABLES2_print_icon}#} checked{#endif#}> Print Post<br>
<input type=checkbox name=TABLES2_move_icon value=1{#if $GLOBAL_OPTIONS{TABLES2_move_icon}#} checked{#endif#}> Move Post<br>
<input type=checkbox name=TABLES2_banip_icon value=1{#if $GLOBAL_OPTIONS{TABLES2_banip_icon}#} checked{#endif#}> Ban IP Address<br>
</ul>
<input type=hidden name="a" value="TABLES2_print_icon,TABLES2_edit_icon,TABLES2_delete_icon,TABLES2_move_icon,TABLES2_checkip_icon,TABLES2_banip_icon">
</div>
<#else#>
<p>
(No options available for this skin in Freeware Discus)
</p>
<#endif#>
<#/part#>
#################################################################################
# INFORMATION SECTION -- THIS SECTION CONTAINS INFORMATION ABOUT THIS SKIN FILE #
#################################################################################
<#part "info"#>
Name Tables II
Author DiscusWare, LLC
Copyright Copyright © 2001, DiscusWare, LLC, all rights reserved
Description A tables-based look with useful information displayed. Includes JavaScript-based "New" icons for new activity. This is the default skin for version 4.0 and is recommended for the expanded features it offers.
*COLOR_bgcolor #ffffff
*COLOR_text #000000
*COLOR_link #0000ff
*COLOR_vlink #800080
*COLOR_alink #ff0000
*COLOR_face Verdana,Arial,Helvetica
*COLOR_size 2
*COLOR_image
*alt_color_1 #0000a0
_alt_color_1 Header table backgrounds
*alt_color_2 #f7f7f7
_alt_color_2 Header table texts
*alt_color_3 #f7f7f7
_alt_color_3 Color on main topics page
*alt_color_4 #cccccc
_alt_color_4 Color on main topics page
*alt_color_5 #f7f7f7
_alt_color_5 Color on subtopic lists
*alt_color_6 #cccccc
_alt_color_6 Color on subtopic lists
*alt_color_7 #f7f7f7
_alt_color_7 Color on message lists
*alt_color_8 #cccccc
_alt_color_8 Color on message lists
*alt_color_9 #f7f7f7
_alt_color_9 Color on various screens
*alt_color_10 #cccccc
_alt_color_10 Color on various screens
*alt_color_11 #000000
_alt_color_11 Borders around tables
<#/part#>
#################################################################################
# JAVASCRIPT SECTION -- DECLARATION OF SUBROUTINES USED IN COOKIE FUNCTIONS #
# You should not need to modify this section unless you have a strange server! #
#################################################################################
<#part "cookie_icons_offset"#>
<#if $GLOBAL_OPTIONS{cookie_for_new} == 1#>
<#define $onLoadJS = "cookie_icons_offset()"#>
<script language="JavaScript">
<!--
function setcookie(name, value, store) {
if (store >= 1) {
var expire = new Date ();
if (store == 1) {
expire.setTime (expire.getTime() + (365*24*60*60*1000));
}
if (store == 2) {
expire.setTime (expire.getTime() + (1*24*60*60*1000));
}
} else {
var expire = null;
}
document.cookie = name + "=" + escape(value) + ((expire == null) ? "" : "; expires=" + expire.toGMTString()) + "; path=/";
}
function cookie_icons_offset() {
var now = new Date ();
var browser_time = now.getTime();
setcookie("lastvisit$COOKIE_ID", browser_time, 1);
var server_now = "$DYNAMIC->{server_time}";
if (server_now != "") {
var offset = browser_time - (1000*server_now);
setcookie("offset$COOKIE_ID", offset, 1);
}
}
// -->
</script>
<#endif#>
<#/part#>
<#part "cookie_icons"#>
function setcookie(name, value, store) {
if (store >= 1) {
var expire = new Date ();
if (store == 1) {
expire.setTime (expire.getTime() + (365*24*60*60*1000));
}
if (store == 2) {
expire.setTime (expire.getTime() + (1*24*60*60*1000));
}
} else {
var expire = null;
}
document.cookie = name + "=" + escape(value) + ((expire == null) ? "" : "; expires=" + expire.toGMTString()) + "; path=/";
}
function cookieinit() {
var last_time = readcookie("lastvisit$COOKIE_ID");
var last_session = readcookie("lastsession$COOKIE_ID");
var offset = readcookie("offset$COOKIE_ID");
var now = new Date ();
var browser_time = now.getTime();
setcookie("lastvisit$COOKIE_ID", browser_time, 1);
var server_now = "$DYNAMIC->{server_time}";
if (server_now != "") {
offset = browser_time - (1000*server_now);
setcookie("offset$COOKIE_ID", offset, 1);
}
if (last_time == "" || last_time == null || last_time == 0) {
last_time = browser_time + (3*24*60*60*365*1000);
}
if (last_session == null || last_session == 0 || last_session == "") {
setcookie("lastsession$COOKIE_ID", last_time, 0);
last_session = last_time;
}
if (browser_time - last_time > (15 * 60 * 1000)) {
setcookie("lastsession$COOKIE_ID", last_time, 0);
last_session = last_time;
}
# Generally the following is not needed. However, give it a try
# if the icons are always off by a certain number of hours.
var server_gmt_offset = 0;
# var server_gmt_offset = "<#gmtoffset#>";
var compare_time = (last_session - offset) / 1000;
if (document.images) {
img_new = new Image();
# Set this to something else if you want.
<#if $GLOBAL_OPTIONS->{new_icon_choice} ne ""#>
img_new.src = "$GLOBAL_OPTIONS->{new_icon_choice}";
<#else#>
img_new.src = "$html_url/clipart/new.gif";
<#endif#>
<#define $new_img_height = "11"#>
<#define $new_img_width = "28"#>
}
## } is missing here, as topics page or regular page fills in information
## into the cookieinit() function and then closes the function.
<#/part#>
<#part "readcookie"#>
function readcookie(name) {
var i = 0; var lookfor = name + "="
while (i < document.cookie.length) {
var j = i + lookfor.length
if (document.cookie.substring(i,j) == lookfor) {
var endstr = document.cookie.indexOf(";", j)
if (endstr == -1) {
endstr = document.cookie.length
}
return unescape(document.cookie.substring(j, endstr))
}
i = document.cookie.indexOf(" ", i) + 1
if (i == 0) {
break
}
}
return ""
}
<#/part#>
#################################################################################
# INITIALIZATION SECTION #
# This code is automatically read (once) before any part of the skin. Only #
# definitions (array, variables, etc.) are permitted in this section. #
#################################################################################
<#part "INIT"#>
<#define array @statuses (_index, text)#>
1 $L{USER_STATUS_1}
2 <#if $GLOBAL_OPTIONS{status2} eq ""#>$L{USER_STATUS_2}<#else#>$GLOBAL_OPTIONS{status2}<#endif#>
3 <#if $GLOBAL_OPTIONS{status3} eq ""#>$L{USER_STATUS_3}<#else#>$GLOBAL_OPTIONS{status3}<#endif#>
4 <#if $GLOBAL_OPTIONS{status4} eq ""#>$L{USER_STATUS_4}<#else#>$GLOBAL_OPTIONS{status4}<#endif#>
5 <#if $GLOBAL_OPTIONS{status5} eq ""#>$L{USER_STATUS_5}<#else#>$GLOBAL_OPTIONS{status5}<#endif#>
6 <#if $GLOBAL_OPTIONS{status6} eq ""#>$L{USER_STATUS_6}<#else#>$GLOBAL_OPTIONS{status6}<#endif#>
7 <#if $GLOBAL_OPTIONS{status7} eq ""#>$L{USER_STATUS_7}<#else#>$GLOBAL_OPTIONS{status7}<#endif#>
8 <#if $GLOBAL_OPTIONS{status8} eq ""#>$L{USER_STATUS_8}<#else#>$GLOBAL_OPTIONS{status8}<#endif#>
9 <#if $GLOBAL_OPTIONS{status9} eq ""#>$L{USER_STATUS_9}<#else#>$GLOBAL_OPTIONS{status9}<#endif#>
10 <#if $GLOBAL_OPTIONS{status10} eq ""#>$L{USER_STATUS_10}<#else#>$GLOBAL_OPTIONS{status10}<#endif#>
11 $L{USER_STATUS_1}
<#/define#>
<#define array @subtopic_icons (name, url, height, width)#>
happy $html_url/clipart/happy.gif 15 15
sad $html_url/clipart/sad.gif 15 15
angry $html_url/clipart/angry.gif 15 15
proud $html_url/clipart/proud.gif 15 15
blush $html_url/clipart/blush.gif 15 15
wink $html_url/clipart/wink.gif 15 15
laugh $html_url/clipart/lol.gif 15 15
talker $html_url/clipart/talker.gif 15 15
uhoh $html_url/clipart/uhoh.gif 15 15
yawn $html_url/clipart/yawn.gif 15 15
biggrin $html_url/clipart/biggrin.gif 15 15
kiss $html_url/clipart/kiss.gif 15 15
rofl $html_url/clipart/rofl.gif 15 15
<#/define#>
<#language: $L{THREAD_CLOSED_WORDING} = "<b>Closed</b>: New threads not accepted on this page"#>
<#language: $L{THREAD} = "Thread"#>
<#language: $L{TOPIC_SINGULAR} = "Topic"#>
<#language: $L{LAST_POST} = "Last Post"#>
<#language: $L{LAST_POSTER} = "Last Poster"#>
<#language: $L{SKIN_PAGES_WORD} = "Pages"#>
<#language: $L{ARROW_PREVIOUS} = "Previous"#>
<#language: $L{ARROW_NEXT} = "Next"#>
<#language: $L{TABLES23_MESSAGE} = "Message"#>
<#language: $L{TABLES23_AUTHOR} = "Author"#>
<#/part#>