Second pass at adding key files

This commit is contained in:
dsainty
2024-06-17 22:24:05 +10:00
parent aa25e9347f
commit b6fc94ff0f
923 changed files with 243184 additions and 0 deletions

View File

@ -0,0 +1,175 @@
<!DOCTYPE html >
<html lang="en">
<head>
<title><:: Slowtwitch Forums ::></title>
<%include include_common_head.html%>
</head>
<body class="page-<%page_id%>">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<div class="sidebar">
<%include include_sidebar.html%>
</div>
<%~set content_header_title = 'Forum'%>
<%include include_breadcrumb.html%>
<div class="content"><%-- start content--%>
<%~loop everything%>
<%~if not forum_id and $current.user_id and $cat_show_forums and $main_page%>
<%~set url_param_hide_cat = "hide_cat=$cat_id"%>
<%~if cat_hidden%><%set url_param_hide_cat = "un$url_param_hide_cat"%><%endif%>
<a class="btn default btn-b" href="<%GForum::SEO::url(params => $url_param_hide_cat, anchor => "cat_$cat_id")%>" title="<%if cat_hidden%>Expand<%else%>Collapse<%endif%> this category" rel="nofollow"><%if cat_hidden%>Expand<%else%>Collapse<%endif%> <%cat_name%></a>
<%~endif%>
<%~endloop%>
<%include include_content_header.html%>
<div class="dtable bg"><%-- start table --%>
<div class="dhead">
<div class="drow">
<div class="dcell icon">&nbsp;</div>
<div class="dcell subject">Forum Name</div>
<div class="dcell threads">Threads</div>
<div class="dcell posts">Posts</div>
<div class="dcell date">Last Post</div>
</div>
</div>
<div class="dbody">
<%~loop everything%>
<%~if forum_id and not forum_archived%>
<div class="drow">
<div class="dcell icon"><span class="sprite-forum"></span></div>
<div class="dcell subject">
<a href="<% GForum::SEO::url(type => "forum", id=> $forum_id) %>" class="title"><% forum_name %></a>
<div class="post-mob">
<%~set escaped_username = escape_url $forum_last_poster%>
<span>by</span> <a href="<% GForum::SEO::url(params => "username=$escaped_username")%>" title="<% forum_last_poster %>" class="postedby"><% forum_last_poster %></a> | <%forum_last_date%>
<a href="<%GForum::SEO::url(params => "post=last-$forum_last_id", anchor => "last")%>" rel="nofollow" class="right-arrow">&rarr;</a>
</div>
<%~if forum_desc%>
<p class="desc"><%forum_desc%></p>
<%~endif%>
<%~if forum_id == 7 %>
<%-- Serve ad on mobile --%>
<%include include_ad_mobile.html%>
<%~endif%>
</div>
<div class="dcell threads"><%forum_total_threads || 0%></div>
<div class="dcell posts"><%forum_total || 0%></div>
<div class="dcell date">
<%forum_last_date%><br />by <a href="<% GForum::SEO::url(params => "username=$escaped_username") %>" title="<% forum_last_poster %>" class="postedby"><% forum_last_poster %></a>
<a href="<%GForum::SEO::url(params => "post=last-$forum_last_id", anchor => "last")%>" rel="nofollow" class="right-arrow">&rarr;</a>
</div>
</div>
<%~endif%>
<%~endloop%>
</div>
</div><%-- end dtable --%>
<hr class="line" />
<div class="lnk-actions">
<a href="#" rel="forum-rules" class="dialog-lnk">Forum Rules</a> | <a href="#" rel="forum-faq" class="dialog-lnk">FAQ</a> | <a href="#" rel="forum-legend" class="dialog-lnk">Legend</a>
</div>
</div><%-- end content --%>
</div>
</div>
<%include include_footer.html%>
</div>
<div id="forum-legend" class="hide" title="Forum Legend">
<div class="dtable">
<div class="drow">
<div class="dcell icon"><span class="sprite-hot-thread"></span></div>
<div class="dcell">Hot thread</div>
</div>
<div class="drow">
<div class="dcell icon"><span class="sprite-thread"></span></div>
<div class="dcell">Post with replies</div>
</div>
<div class="drow">
<div class="dcell icon"><span class="sprite-single-thread"></span></div>
<div class="dcell">Single post</div>
</div>
<div class="drow">
<div class="dcell icon"><span class="sprite-locked-thread"></span></div>
<div class="dcell">The thread is locked</div>
</div>
<div class="drow">
<div class="dcell icon"><span class="sprite-first-post"></span></div>
<div class="dcell">First post in thread</div>
</div>
<div class="drow">
<div class="dcell icon"><span class="right-arrow">&rarr;</span></div>
<div class="dcell">Jump to the last post in thread</div>
</div>
<div class="drow">
<div class="dcell icon"><span class="sprite-message"></span></div>
<div class="dcell">Unread message</div>
</div>
<div class="drow">
<div class="dcell icon"><span class="sprite-message-read"></span></div>
<div class="dcell">Read message</div>
</div>
<div class="drow">
<div class="dcell icon"><span class="sprite-message-replied"></span></div>
<div class="dcell">Replied message</div>
</div>
</div>
</div>
<div id="forum-faq" title="Forum FAQ" class="hide" width="500">
<ul>
<li><a href="#Anchor-IS-35882">IS THIS A PUBLIC FORUM?</a></li>
<li><a href="#Anchor-THIS-14210">IS THIS A MODERATED FORUM?</a></li>
<li><a href="#Anchor-EXPECTATION-49575">EXPECTATION OF ANONYMITY</a></li>
<li><a href="#Anchor-WHAT-23240">WHAT CAN I POST HERE?</a></li>
<li><a href="#Anchor-WHAT-3800">WHAT CAN'T I POST HERE?</a></li>
<li><a href="#Anchor-WHAT-33869">WHAT IS CONSIDERED ABUSIVE?</a></li>
<li><a href="#Anchor-WHAT-6296">WHAT IF MY POST IS PULLED?</a></li>
<li><a href="#Anchor-WHAT-48213">WHAT IF I'M BANNED?</a></li>
<li><a href="#Anchor-MULTIPLE-49575">MULTIPLE USER NAMES</a></li>
<li><a href="#Anchor-COMPLAINTS-47857">COMPLAINTS ABOUT RETAILERS OR RACES</a></li>
<li><a href="#Anchor-DATA-78140">SCIENTIFIC DATA</a></li>
<li><a href="#Anchor-DISCLAIMER-23522">ARE THESE ALL THE RULES?</a></li>
</ul>
<hr class="line" />
<h4 id="Anchor-IS-35882">IS THIS A PUBLIC FORUM?</h4>
<p>No, this is a private forum open to the public in general, but with certain restrictions including but not limited to those listed herein. Using this forum is a privilege, not a protected right, and this privilege can be revoked at our sole discretion.</p>
<h4 id="Anchor-THIS-14210">IS THIS A MODERATED FORUM?</h4>
<p>Yes, but moderation occurs after the fact, that is, we don't monitor a post before it is published, you publish it and then we eventually read it (or not). This forum receives between 1500 and 2500 posts every day, on average, too many posts to read and monitor. Accordingly, anything you see that you consider abusive or in bad taste; if you read a post that you think ought to be brought to our attention; please apprise us of this. In such case, the editorial email prompt is at the bottom of every page of the Slowtwitch.com editorial website (www.slowtwitch.com). That email address to use for such concerns is: <a href="mailto:slowman@slowtwitch.com">slowman@slowtwitch.com</a></p>
<h4 id="Anchor-EXPECTATION-49575">EXPECTATION OF ANONYMITY</h4>
<p>You have none. There is none. Slowtwitch.com does not warrant that your anonymity will be protected, nor that we will protect it. If the preservation of your anonymity is vital to you, don't post on any Slowtwitch forum.</p>
<h4 id="Anchor-WHAT-23240">WHAT CAN I POST HERE?</h4>
<p>Anything associated with swim, bike, run, or triathlon in general. Off-topic posts belong in the Lavender Room. Notices belong in Notices, jobs sought or advertised in Jobs, items for sale in Classifieds. There are rules for each of these forums posted in &quot;sticky&quot; threads on the tops of each of those forums.</p>
<h4 id="Anchor-WHAT-3800">WHAT CAN'T I POST HERE?</h4>
<p>We are especially cranky about trial-by-internet. Do not register to post on this forum only to have your first post be a complaint against a company doing business in the sport of triathlon. Do not lodge a complaint against a named entity unless you yourself are willing to be identifiable, that is, no anonymous rants. Do not EVER say somebody's product is unsafe unless you have rock-solid demonstrable proof. This is as much for your benefit as anyone's (we'd prefer your hot temper doesn't result in a lawsuit a manufacturer lodges against you). Do not accuse anyone of taking performance enhancing drugs.</p>
<h4 id="Anchor-WHAT-33869">WHAT IS CONSIDERED ABUSIVE?</h4>
<p>We don't know, but we know it when we see it.</p>
<h4 id="Anchor-WHAT-6296">WHAT IF MY POST IS PULLED?</h4>
<p>You might find that something you posted is no longer on the forum on which it was originally posted. In all likelihood, you posted something that really belongs in either our Classifieds or Lavender Room forum, and you might find your post there (we'll just move your post or thread to the right forum). If your post is pulled entirely, you wrote something inappropriate—at least in our view—and we pulled the post.</p>
<h4 id="Anchor-WHAT-48213">WHAT IF I'M BANNED?</h4>
<p>Then you *might* have been (according to us) a very bad boy (or girl). We reserve the right to do this, and at our sole discretion. If you want to keep your account active, be civil. But you might be posting from a location inside a bloc of IP addresses we banned in order to weed out a spammer or bad actor. Email us privately and we'll find out of that's the case.</h4>
<h4 id="Anchor-MULTIPLE-49575">MULTIPLE USER NAMES:</h4>
<p>A big no-no. Stick to one user account. You can change your user name, but no creating multiple accounts. Note that your string of previous user names appends to your user profile.</p>
<h4 id="Anchor-COMPLAINTS-47857">COMMENTS ABOUT RETAILERS OR RACES:</h4>
<p>Neither complaints nor praises belong on the reader forum. They should be lodged as &quot;comments&quot; attached to the profiles of these business entities, which reside on our databases listing them. You'll find links to these databases on a blue bar across the very top of our reader forum pages. Likewise bike fitters, coaches, and tri clubs.</p>
<h4 id="Anchor-DATA-78140">SCIENTIFIC DATA</h4>
<p>If the data is merely a reprint from another website or publication, all that is needed is a link or a reference to the original source (and as much information is provided by the original publisher). <font size="2" face="Verdana, Arial, Helvetica, sans-serif">If the data is coming from you, as a private individual, simply do your best to explain your testing protocol and methodology. You should be prepared to answer questions to the best of your ability. If the data is coming from a company that you work for or are otherwise affiliated with, you need to explain your affiliation to that company.</p>
<h4 id="Anchor-ARE-37516">ARE THESE ALL THE RULES?</h4>
<p>No. But these are most of them, in broad strokes. There may be others we place here from time to time. As you become familiar with this forum, and this community, you'll see that we interfere only when we need to. If you take a deep breath before you post, and give your idea a second thought before you push the &quot;send&quot; button, you probably won't write anything with which we'll take umbrage.</p>
<h4 id="Anchor-DISCLAIMER-23522">DISCLAIMER:</h4>
<p>This is a very loosely moderated forum. We do not and cannot see everything written here, and we may not see an offensive post for awhile or indeed at all unless it is brought to our attention. We are hosting a global digital &quot;water cooler,&quot; around which triathletes gather to &quot;talk shop.&quot; As such we cannot and do not accept any liability for what others post here. We can simply make our best effort to monitor abuse that is brought to our attention.</p>
</div>
</body>
<%include include_global_js.html%>
</html>

View File

@ -0,0 +1,212 @@
<!DOCTYPE html >
<%~set search_widget = 1%>
<%~set poll_widget = 1%>
<html lang="en">
<head>
<title><%cat_full_name%>: <%forum_name%><%if this_page > 1%>: Page <%this_page%><%endif%></title>
<%include include_common_head.html%>
</head>
<%~set hidden_sort = ''%><%set hidden_page = ''%><%set form_sort = ''%><%set form_page = ''%>
<%~if in.sb%><%set hidden_sort .= ";sb=$sb"%><%set form_sort .= "<input type=\"hidden\" name=\"sb\" value=\"$sb\" />"%><%endif%>
<%~if in.so%><%set hidden_sort .= ";so=$so"%><%set form_sort .= "<input type=\"hidden\" name=\"so\" value=\"$so\" />"%><%endif%>
<%~if in.mh%><%set hidden_page .= ";mh=$mh"%><%set form_page .= "<input type=\"hidden\" name=\"mh\" value=\"$mh\" />"%><%endif%>
<%~if in.page%><%set hidden_page .= ";page=$this_page"%><%set form_page .= "<input type=\"hidden\" name=\"page\" value=\"$this_page\" />"%><%endif%>
<%~set do = ''%><%if in.do%><%set do = "do=$this_do;"%><%endif%>
<body class="page-<%page_id%>">
<div class="container-b">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<div class="sidebar">
<%include include_sidebar.html%>
</div>
<%~set content_header_title = $forum_name%>
<%~set btn_new = 1%>
<%~init array breadcrumbs%><%init hash breadcrumbs.0%>
<%~set breadcrumbs.0.name = $forum_name%>
<%~set breadcrumbs.0.url = GForum::SEO::url(params => "forum=$forum_id")%>
<%include include_breadcrumb.html%>
<%~set paging_do = ''%>
<%~if in.do%>
<%~set paging_do = "do=$this_do"%>
<%~endif%>
<%~set pagination_options.type = 'forum'%>
<%~set pagination_options.id = $forum_id%>
<%~set pagination_options.params = "$paging_do$hidden_sort$hidden_page"%>
<%~set pagination_options.page_items = $forum_total_threads%>
<div class="content"><%-- start content--%>
<%include include_content_header.html%>
<div class="toolbar-b clearfix">
<%include include_hot_topics.html%>
<%include include_quicklaunch.html%>
</div>
<div class="dtable bg"><%-- start table --%>
<div class="dhead">
<div class="drow">
<div class="dcell icon">&nbsp;</div>
<div class="dcell subject">
<%~if sb eq post_subject and so ieq asc%><%set url_param_subject_so = 'desc'%><%else%><%set url_param_subject_so = 'asc'%><%endif%>
<a href="<%GForum::SEO::url(params => "${do}forum=$forum_id;sb=post_subject;so=$url_param_subject_so$hidden_page")%>" title="Sort by Subject">
Subject
<%~if sb eq post_subject%> <span class="<%if so ieq asc%>ascending<%else%>descending<%endif%>"></span><%endif~%>
</a>
</div>
<div class="dcell author">
<%~if sb eq post_username and so ieq asc%><%set url_param_author_so = 'desc'%><%else%><%set url_param_author_so = 'asc'%><%endif%>
<a href="<%GForum::SEO::url(params => "${do}forum=$forum_id;sb=post_username;so=$url_param_author_so$hidden_page")%>" title="Sort by Author"><%~%>
Author
<%~if sb eq post_username%> <span class="<%if so ieq asc%>ascending<%else%>descending<%endif%>"></span><%endif~%>
</a>
</div>
<div class="dcell views">Views</div>
<div class="dcell replies">
<%~if sb eq post_replies and so ieq desc%><%set url_param_replies_so = 'asc'%><%else%><%set url_param_replies_so = 'desc'%><%endif%>
<a href="<%GForum::SEO::url(params => "${do}forum=$forum_id;sb=post_replies;so=$url_param_replies_so$hidden_page")%>" title="Sort by # of Replies"><%~%>
Replies
<%~if sb eq post_replies%> <span class="<%if so ieq asc%>ascending<%else%>descending<%endif%>"></span><%endif~%>
</a>
</div>
<div class="dcell date">
<%~if sb eq post_latest_reply and so ieq asc%><%set url_param_last_post_so = 'desc'%><%else%><%set url_param_last_post_so = 'asc'%><%endif%>
<a href="<%GForum::SEO::url(params => "${do}forum=$forum_id;sb=post_latest_reply;so=$url_param_last_post_so$hidden_page")%>" title="Sort by # of Replies" rel="nofollow"><%~%>
Last Post
<%~if sb eq post_latest_reply%> <span class="<%if so ieq asc%>ascending<%else%>descending<%endif%>"></span><%endif~%>
</a>
</div>
</div>
</div>
<div class="dbody">
<%~loop post_loop%>
<%~if post_locked%><%set icon_class = 'locked-thread'%>
<%~elsif post_thread_hot%><%set icon_class = 'hot-thread'%>
<%~elsif post_new and new_replies%><%set icon_class = 'new-replies'%>
<%~elsif post_replies == 1%><%set icon_class = 'first-post'%>
<%~elsif post_replies%><%set icon_class = 'thread'%>
<%~elsif post_new%><%set icon_class = 'new-thread'%>
<%~else%><%set icon_class = 'single-thread'%><%endif%>
<div class="drow<%if post_sticky%> sticky-thread<%endif%>">
<div class="dcell icon"><span class="sprite-<%icon_class%>"></span></div>
<div class="dcell subject">
<%~unless post_moved and post_moved_perm < 3%>
<%~set forum_view = ''%>
<%~if in.do%>
<%~set forum_view = "forum_view=$this_do&"%>
<%~endif%>
<%~if post_moved%><%set url_id = $post_moved_id%><%else%><%set url_id = $post_id%><%endif%>
<%~set url_anchor = ""%>
<%~set url_param_unread = ""%>
<%~if current.user_default_post_display == 1 or not current.user_id%>
<%~if post_depth%>
<%~set url_anchor = "p$post_id"%>
<%~elsif current.user_jump_to_unread%>
<%~set url_param_unread = ";page=unread"%>
<%~set url_anchor = "unread"%>
<%~endif%>
<%~endif%>
<%~endunless%>
<%~if post_sticky%> <span class="sticky">Sticky:</span><%endif%>
<%~if post_moved%> <span class="moved">Moved:</span><%endif%>
<a href="<%GForum::SEO::url(type => "post", id => $url_id, params => "$forum_view$hidden_sort$url_param_unread", anchor => $url_anchor)%>" class="title">
<% post_subject %>
</a>
<div class="post-mob">
<span>by</span>
<%~set escaped_username = escape_url $post_username%>
<a href="<%GForum::SEO::url(params => "username=$escaped_username")%>" class="postedby"><%post_username %></a> <span>
<%if not post_moved%>
| <% post_latest_reply_date %>| <% post_replies || 0 %> replies</span>
<%~if post_depth == 0%>
<%~set url_param_page_last = "post=last-"%>
<%~if post_moved%><%set url_param_page_last .= "$post_moved_id"%><%else%><%set url_param_page_last .= "$post_id"%><%endif%>
<%~set url_anchor = ""%>
<%~if post_display_is_flat%><%set url_anchor = "last"%><%endif%>
<a href="<%GForum::SEO::url(params => "$forum_view$hidden_sort$url_param_page_last", anchor => $url_anchor)%>" rel="nofollow" class="right-arrow">&rarr;</a>
<%~endif%>
<%~endif%>
<%-- Server ad on mobile --%>
<%~if row_num == 3 %>
<%~set serve_ad = 1%><%set count = 0%><%set ad_count = 1%>
<%~else%>
<%~set count += 1%><%set show_poll = $count % 25 %><%set show_ad = $count % 10 %>
<%~if not $show_ad %>
<%~set serve_ad = 1%>
<%~if not $show_poll%>
<div class="mobpoll">
<%include include_poll_widget.html%>
<%~set serve_ad = 0%><%set count = 0%>
</div>
<%endif%>
<%endif%>
<%~endif%>
</div>
<%~if $serve_ad%><%set height_choice = $ad_count % 2%>
<%~if not height_choice%><%set ad_height = 250%><%else%><%set ad_height = 600 %><%endif%>
<%~set ad_count += 1%>
<%include include_ad_mobile.html%>
<%~set serve_ad = 0%>
<%~endif%>
</div>
<div class="dcell author">
<%~set include_username_display = $post_username%>
<%include include_username.html%>
</div>
<div class="dcell views"><%if not post_moved%><%post_views%><%endif%></div>
<div class="dcell replies"><%if not post_moved%><%post_replies%><%endif%></div>
<div class="dcell date">
<%~if not post_moved%>
<%post_latest_reply_date%>
<span class="nowrap-text">
<%~if post_replies%>
<%~set escaped_username = escape_url $post_latest_poster%>
by <a href="<%GForum::SEO::url(params => "username=$escaped_username")%>" class="postedby"><%post_latest_poster%></a>
<%~endif%>
<%~-- Show jump image for root posts --%>
<%~if post_depth == 0%>
<a href="<%GForum::SEO::url(params => "$forum_view$hidden_sort$url_param_page_last", anchor => $url_anchor)%>" rel="nofollow" class="right-arrow">&rarr;</a>
<%~endif%>
</span>
<%~endif%>
</div>
</div>
<%~ endloop %>
</div>
</div><%-- end dtable --%>
<div class="toolbar clearfix">
<hr class="line" />
<%~set paging_do = ''%>
<%~if in.do%>
<%~set paging_do = "do=$this_do"%>
<%~endif%>
<%~set pagination_options.type = 'forum'%>
<%~set pagination_options.id = $forum_id%>
<%~set pagination_options.params = "$paging_do$hidden_sort$hidden_page"%>
<%~set pagination_options.page_items = $forum_total_threads%>
<%include include_paging.html%>
<%include include_forum_actions.html%>
</div>
<%-- ad for tablet --%>
<%include include_ad_tablet.html%>
</div><%-- end content --%>
</div><%-- end contentwrapper --%>
</div><%-- end main --%>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
</html>

View File

@ -0,0 +1,72 @@
<%~if adsize eq '300x250' and $ad_300x250%>
<%~if forum_id eq '4' or page_id eq 'login'%>
<%~if admod eq 'mobile' or $admod eq 'tablet'%>
<div class="ad<%if admod eq 'mobile'%> admob<%elsif admod eq 'tablet'%> adtab<%endif%>">
<%~-- Serve ad for tablet/mobile --%>
<script type="text/javascript">
if (winWidth <= 1024) { document.write('<div class="adwrapper">' + "<%escape_js ad_lr_300x250%>" + '</div>'); }
</script>
</div>
<%~else%>
<div class="ad">
<script type="text/javascript">
if (winWidth > 1024) { document.write('<div class="adwrapper">' + "<%escape_js ad_lr_300x250%>" + '</div>'); }
</script>
</div>
<%~endif%>
<%~else%>
<%~if admod eq 'mobile' or $admod eq 'tablet'%>
<div class="ad<%if admod eq 'mobile'%> admob<%elsif admod eq 'tablet'%> adtab<%endif%>">
<%~-- Serve ad for tablet/mobile --%>
<script type="text/javascript">
if (winWidth <= 1024) { document.write('<div class="adwrapper">' + "<%escape_js ad_300x250%>" + '</div>'); }
</script>
</div>
<%~else%>
<div class="ad">
<script type="text/javascript">
if (winWidth > 1024) { document.write('<div class="adwrapper">' + "<%escape_js ad_300x250%>" + '</div>'); }
</script>
</div>
<%~endif%>
<%~endif%>
<%~elsif adsize eq '300x600' and $ad_300x600%>
<%~if admod eq 'mobile' or $admod eq 'tablet'%>
<div class="ad<%if admod eq 'mobile'%> admob<%elsif admod eq 'tablet'%> adtab<%endif%>">
<%~-- Serve ad for tablet/mobile --%>
<script type="text/javascript">
if (winWidth <= 1024) { document.write('<div class="adwrapper">' + "<%escape_js ad_300x600%>" + '</div>'); }
</script>
</div>
<%~else%>
<%~if forum_id eq '4' or page_id eq 'login'%>
<div class="ad">
<script type="text/javascript">
if (winWidth > 1024) { document.write('<div class="adwrapper">' + "<%escape_js ad_lr_300x600%>" + '</div>'); }
</script>
</div>
<%~else%>
<div class="ad">
<script type="text/javascript">
if (winWidth > 1024) { document.write('<div class="adwrapper">' + "<%escape_js ad_300x600%>" + '</div>'); }
</script>
</div>
<%~endif%>
<%~endif%>
<%~elsif adsize eq '728x90' and $ad_728x90%>
<%~if forum_id eq '4' or page_id eq 'login'%>
<div class="ad">
<%~-- Serve leaderboard ad --%>
<script type="text/javascript">
if (winWidth >= 767) { document.write('<div class="adwrapper">' + "<%escape_js ad_lr_728x90%>" + '</div>'); }
</script>
</div>
<%~else%>
<div class="ad">
<%~-- Serve leaderboard ad --%>
<script type="text/javascript">
if (winWidth >= 767) { document.write('<div class="adwrapper">' + "<%escape_js ad_728x90%>" + '</div>'); }
</script>
</div>
<%~endif%>
<%~endif%>

View File

@ -0,0 +1,22 @@
<%~set minify = $config.minify || 0%>
<%~set minify = 0%>
<%~set slowtwitch_forum = 1%>
<%include include_global_head.html%>
<%google_analytics%>
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '895910530528995');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=895910530528995&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->

View File

@ -0,0 +1,35 @@
<div class="btn-wrapper clearfix">
<%~if page_id eq 'category_list' and not $current_user_id%>
<!--You are not logged in. Click <a href="<%GForum::SEO::url(params => "do=login")%>">here</a> to sign in.-->
<%elsif page_id eq 'forum_view'%>
<a href="<%GForum::SEO::url()%>" class="btn default mobile">All Forums</a>
<%~if btn_new and user_forum_permission >= 5%>
<a href="<%GForum::SEO::url(params => "do=post_write&forum=$forum_id")%>" class="btn default">post new topic</a>
<%~endif%>
<%~elsif page_id eq 'search_results'%>
<a href="<%GForum::SEO::url()%>" class="btn default">All Forums</a>
<%~elsif page_id eq 'user_view'%>
<%~if perm_hide_post%>
<a href='<%GForum::SEO::url(params => "do=remove_permission;id=$user_id;username=$url_user_username;permission=hide_post;next_do=$this_do")%>' rel="post-only" class="btn default">Show User's Posts</a>
<%~else%>
<a href='<%GForum::SEO::url(params => "do=add_permission;id=$user_id;username=$url_user_username;permission=hide_post;next_do=$this_do")%>' rel="post-only" class="btn default">Hide User's Posts</a>
<%~endif%>
<%~if user_id ne $current.user_id%>
<%~set my_username = $current.user_username%>
<%~if user_accept_privmsg == 2 and buddy.$my_username%><%set buddy_ok = 1%><%endif~%>
<%~if user_accept_privmsg == 1 or buddy_ok~%>
<a href="<%GForum::SEO::url(params => "do=message;user_username=$url_user_username")%>" class="btn default">Send Private Message</a>
<%~endif%>
<%~endif%>
<%~elsif page_id like 'message'%>
<%~if not url_param_mh%><%set url_param_mh = ''%><%endif%>
<a href="<%GForum::SEO::url(params => "do=message_list$url_param_mh")%>" title="Private Messages - Inbox" class="btn default">Inbox</a>
<a href="<%GForum::SEO::url(params => "do=message_list;mode=sent$url_param_mh")%>" title="Private Messages - Sent" class="btn default">Sent</a>
<a href="<%GForum::SEO::url(params => "do=message")%>" title="Private Messages - Compose" class="btn default">Compose</a>
<%~endif%>
</div>

View File

@ -0,0 +1,177 @@
<%~if hide_post%>
<div id="p<%post_id || 'preview'%>_hide" class="post-wrapper hidden-post">
<div id="post_header_<%post_id || 'preview'%>" class="post-header clearfix">
<span class="post-subject">Ignored Post</span>
<div class="post-actions">
<a href="#" class="show_post" id="show_post_<%post_id%>">Show This Post</a>
</div>
</div>
<div class="post-body-wrapper">
<div class="dtable">
<div class="drow">
<div class="dcell">
<div id="post_info_<%post_id || 'preview'%>" class="post-info<%if post_user_is_moderator%> moderator<%endif%><%loop user_groups%> ug-<%if group_id == $config.id_group_guest%>guest<%elsif group_id == $config.id_group_moderator%>moderator<%elsif group_id == $config.id_group_not_validated%>not-validated<%elsif group_id == $config.id_group_registered%>registered<%else%><%group_id%><%endif%><%endloop%>">
<div class="username">
<%~set include_username_display = $post_username%>
<%~include include_username.html~%>
</div>
</div>
</div>
<div class="dcell">
</div>
</div>
</div>
</div>
</div>
<%endif%><%-- if hide_post --%>
<%~if preview%>
<div class="post-preview">Preview:</div>
<%~elsif reply_view%>
<div class="post-reply-view">Replying to:</div>
<%~elsif orig_view%>
<div class="post-orig-view">Original post:</div>
<%~endif%>
<div id="p<%post_id || 'preview'%>" class="post-wrapper<%if hide_post%> hide<%endif%><%if post_id == $root_post_id%> root-post<%endif%>">
<div id="post_header_<%post_id || 'preview'%>" class="post-header clearfix">
<%if last%><a name="last"></a><%endif%><%if first_new%><a name="unread"></a><%endif%>
<span class="post-subject">
<%~if post_deleted%>
Post deleted by <%post_deleted_by%><%if user_perm_moderator%>: <%post_subject%><%endif%>
<%~else%>
<%~if post_moved%><span class="post-moved">Moved:</span> <%endif%>
<%if post_subject%><%~post_subject%><%else%>&nbsp;<%endif%>
<%~if post_new%><span class="post-new"><span> -</span> NEW</span><%endif%>
<%~endif~%>
<%if not preview and not hide_post_menu and post_father_id%>
<%~ifnot post_father_on_page%>
<%~set do = ''%>
<%~if in.do%>
<%~set do = "do=$this_do"%>
<%~endif%>
[ <a href="<%GForum::SEO::url(type => "post", id => $post_father_id, params => "$do$hidden_sort", anchor => "p$post_father_id")%>" rel="nofollow">In reply to</a> ]
<%~else%>
[ <a href="#p<%post_father_id%>" rel="nofollow">In reply to</a> ]
<%~endif%>
<%endif%>
</span>
<div class="post-actions">
<%GForum::GUI::draw(
draw => post_display_options,
edit => "Edit",
delete => "Delete",
cant_post => "Can't Post",
quote => "Quote",
reply => "Reply",
order => "edit,delete,quote,reply",
a_attribs => "",
separator => " | ",
)%>
</div>
</div>
<div class="post-body-wrapper">
<div class="dtable">
<div class="drow">
<div class="dcell">
<%include include_post_display_infobar.html%>
</div>
<div class="dcell">
<div id="post_body_<%post_id || 'preview'%>" class="post-body">
<%~if not post_deleted or user_perm_moderator%>
<%Slowtwitch::Post::parse_youtube($post_message)%>
<%post_message%>
<%~endif%>
</div>
<%~set show_post_notes = 0%><%-- Determine whether or not we need the "post-notes" div --%>
<%~if this_do eq post_preview and in.redo eq post_edit and preview%><%set show_post_notes = 1%>
<%~elsif post_deleted and user_perm_moderator%><%set show_post_notes = 1%>
<%~elsif post_keep and user_perm_moderator%><%set show_post_notes = 1%>
<%~elsif post_moved or post_last_edit_username%><%set show_post_notes = 1%>
<%~endif%>
<%~if show_post_notes%>
<div class="post-notes">
<%~if this_do eq post_preview and in.redo eq post_edit and preview%>
<div class="post-edited">
<%~set escaped_username = escape_url unescape_html $current.user_username%>
<b>Last edited by:</b> <a href="<%GForum::SEO::url(params => "username=$escaped_username")%>"><%current.user_username%></a>: <%GForum::date($TIME)%>
</div>
<%~elsif post_last_edit_username%>
<div class="post-edited">
<%~set escaped_username = escape_url $post_last_edit_username%>
<b>Last <a href="<%GForum::SEO::url(params => "do=post_editlog;post=$post_id")%>" rel="nofollow">edited</a> by: </b>
<a href="<%GForum::SEO::url(params => "username=$escaped_username"%>"><%post_last_edit_username%></a>: <%post_last_edit_date%>
</div>
<%~endif%>
<%~if post_deleted and user_perm_moderator%>
<div class="post-edited">
<b>Deleted by: </b>
<%~set escaped_username = escape_url $post_deleted_by%>
<a href="<%GForum::SEO::url(params => "username=$escaped_username")%>"><%post_deleted_by%></a><%if post_deleted_time%>: <%post_deleted_date%><%endif%>
</div>
<%~endif%>
<%~if post_moved%><%-- An empty pointer to the moved post --%>
<div class="post-edited">
<h4>Moved: </h4>
<a href="<%GForum::SEO::url(type => "post", id => $post_moved_id)%>">Original post</a>
</div>
<%~endif%>
</div>
<%~endif%>
<%~set post_attachments_count = 0%>
<%~loop post_attachments%>
<%~if postatt_inline%><%if forum_attachment_inline or not forum_id%><%nextloop%><%endif%><%endif%>
<%~set post_attachments_count += 1%>
<%~endloop%>
<%~if tags.length or post_attachments_count%>
<div class="top-spacer">
<div class="post-footer">
<%~if tags.length%>
<h4>Tags:</h4>
<div class="content">
<%~loop tags%>
<a href="<%GForum::SEO::url(params => "do=tags;tags=$tag_name")%>"><%tag_name%></a><%unless last%>,<%endunless%>
<%~endloop~%>
</div>
<%~endif%>
<%~if post_attachments_count%>
<h4>Attached Files:</h4>
<ul class="attachments">
<%~loop post_attachments%>
<%~if postatt_inline%><%if forum_attachment_inline or not forum_id%><%nextloop%><%endif%><%endif%>
<li>
<img src="<%GForum::Attachment::icon($postatt_content, $postatt_filename)%>" alt="<%postatt_content%>" />
<a href="<%GForum::SEO::url(params => "do=post_attachment;postatt_id=$postatt_id")%>"><%postatt_filename%></a> (<%GForum::Attachment::friendly_size($postatt_size)%>)
</li>
<%~endloop%>
</ul>
<%~endif%>
</div><%~-- /div class="post-footer" --%>
</div><%~-- /div class="top-spacer" --%>
<%~endif%>
</div>
</div> <%-- drow --%>
</div> <%-- dtable --%>
<div class="post-actions mobile">
<%GForum::GUI::draw(
draw => post_display_options,
edit => "Edit",
delete => "Delete",
cant_post => "Can't Post",
quote => "Quote",
reply => "Reply",
order => "edit,delete,quote,reply",
a_attribs => "class='btn'",
separator => " ",
)%>
</div>
</div>
</div>

View File

@ -0,0 +1,33 @@
<%~set toolbar_id += 1~%>
<%if toolbar_id == 1%>
<div class="btn-wrapper clearfix">
<a href="<%GForum::SEO::url(params => "do=forum_view&forum=$forum_id")%>" class="btn default">Back To Forum</a>
<%~if current.user_id~%>
<a class="btn default" href="<%GForum::SEO::url(params => "do=watch_thread;thread=$root_post_id")%>" rel="post-only">Watch Thread</a><%~%>
<%~endif~%>
<a class="sprite-printer" href="<%GForum::SEO::url(params => "do=post_view_printable;post=$root_post_id")%>" target="_blank" onclick="return winopen('<%GForum::SEO::url(params => "do=post_view_printable;post=$root_post_id")%>', '<%root_post_id%>print')" rel="nofollow">Print Thread</a>
</div>
<%else%>
<form action="<%GForum::SEO::url()%>" method="post" id="toolbar_form">
<%hidden_form%>
</form>
<div id="toolbar<%toolbar_id%>" class="toolbar clearfix">
<hr class="line" />
<%~if num_posts > $mh%>
<%include include_paging.html%>
<%~endif%>
<div class="adbox">
<div class="adhori">
<%~set adsize = '728x90'%>
<%include include_ad.html%>
</div>
</div>
<div class="btn-wrapper clearfix">
<a href="<%GForum::SEO::url(params => "do=forum_view&forum=$forum_id")%>" class="btn default">Back To Forum</a>
<%~if current.user_id~%>
<a class="btn default" href="<%GForum::SEO::url(params => "do=watch_thread;thread=$root_post_id")%>" rel="post-only">Watch Thread</a><%~%>
<%~endif~%>
<a class="sprite-printer" href="<%GForum::SEO::url(params => "do=post_view_printable;post=$root_post_id")%>" target="_blank" onclick="return winopen('<%GForum::SEO::url(params => "do=post_view_printable;post=$root_post_id")%>', '<%root_post_id%>print')" rel="nofollow">Print Thread</a>
</div>
</div>
<%~endif%>

View File

@ -0,0 +1,266 @@
<%~if ie_version >= 5.5 or mozilla_version >= 1.4 or webkit_version >= 312.1%>
<%~if advanced_editor%>
<%~set ADVANCEDEDITOR = 1%>
<%~elsif current.user_advanced_editor and not basic_editor%>
<%~set ADVANCEDEDITOR = 1%>
<%~else%>
<%~set ADVANCEDEDITOR = 0%>
<%~endif%>
<%~else%>
<%~set ADVANCEDEDITOR = 0%>
<%~endif%>
<%~if ADVANCEDEDITOR and not forum_style % 2%>
<%~set ADVANCEDEDITOR = 0%>
<%~endif%>
<script type="text/javascript">
//<![CDATA[
<%~if ADVANCEDEDITOR%>
var ae, sc;
<%~else%>
var sc;
function addTag(tag) {
var textarea = document.getElementById('post_message');
insertText(textarea, '[' + tag + ']');
}
function wrapTag(tag) {
var textarea = document.getElementById('post_message');
wrapText(textarea, '[' + tag + ']', '[/' + tag + ']');
}
<%~endif%>
registerEvent(window, 'load', function () {
/* Cancel any "enter" key presses on non-button input elements as they would submit the form */
var inputs = document.getElementsByTagName('input');
for (var i = 0; i < inputs.length; i++) {
if (inputs[i].type != 'hidden' && inputs[i].type != 'button' && inputs[i].type != 'submit')
registerEvent(inputs[i], 'keypress', function (evt) { if (evt.keyCode == 13) { cancelEvent(evt); return false } });
}
/* Create and configure the spellcheck object */
sc = new spellCheck('sc');
sc.id.checkContent = 'post_message';
sc.id.htmlCompose = 'advanced_editor';
sc.id.extra = ['post_style', 'temp_id', 'post_id'];
sc.lang.resume = 'Resume Post';
sc.config.disableElements = ['editor_switch', 'button_attachment', 'button_post', 'button_preview'];
<%~if ADVANCEDEDITOR%>
sc.config.editorObj = ae;
<%~endif%>
sc.load();
});
//]]>
</script>
<input type="hidden" id="temp_id" name="temp_id" value="<%temp_id%>" />
<div class="post-header-group">
<div id="row_post_subject" class="row">
<label for="post_subject" class="name">Subject</label>
<div class="value"><input type="text" id="post_subject" name="post_subject" value="<%post_subject%>" class="txt midtext" tabindex="1" /></div>
</div>
<%~if this_do eq post_edit%>
<div id="row_edit_reason" class="row">
<label for="edit_reason" class="name">Reason for edit</label>
<div class="value"><input type="text" id="edit_reason" name="edit_reason" value="<%if edit_reason%><%edit_reason%><%endif%>" class="txt midtext" tabindex="2" /></div>
</div>
<%~endif%>
<%~if current.user_id and config.post_user_custom_username and this_do ne post_edit%>
<div id="row_alias_username" class="row">
<label for="alias_username" class="name">Alias</label>
<div class="value"><input type="text" id="alias_username" name="alias_username" value="<%if alias_username%><%alias_username%><%endif%>" class="txt" tabindex="2" /></div>
</div>
<%elsif not current.user_id%>
<%~if anonymous.length > 1 or config.post_guest_custom_username%>
<div id="row_guest_username" class="row">
<label for="<%if anonymous.length > 1%>anon_id<%else%>guest_username<%endif%>">Guest Username</label>
<div class="value">
<%~if anonymous.length > 1%>
<select id="anon_id" name="anon_id" tabindex="2">
<%~loop anonymous%>
<option value="<%user_id%>"<%if selected%> selected="selected"<%endif%>><%user_username%></option>
<%~endloop%>
</select>
<%~else%>
<input type="hidden" name="anon_id" value="<%anonymous.0.user_id%>" />
<%~endif%>
<%~if config.post_guest_custom_username%>
<input type="text" id="guest_username" name="guest_username" value="<%if guest_username%><%guest_username%><%endif%>" class="txt" tabindex="2" />
<%~endif%>
</div>
</div>
<%~endif%><%-- endif anonymous.length > 1 ... --%>
<div id="row_post_anonymous_email" class="row">
<label for="post_anonymous_email">E-mail address</label>
<div class="value"><input type="text" id="post_anonymous_email" name="post_anonymous_email" value="<%if post_anonymous_email%><%post_anonymous_email%><%endif%>" class="txt mid-text" tabindex="3" /></div>
</div>
<%endif%>
<div id="row_post_style" class="row">
<label class="name">Post Style</label>
<div class="value">
<%if ADVANCEDEDITOR%><%-- The advanced editor only works for markup posts --%>
<input type="hidden" id="post_style" name="post_style" value="1" />
<input type="hidden" id="advanced_editor" name="advanced_editor" value="1" />
<p><%GForum::language('FORUM_STYLE_MARKUP')%></p>
<%elsif forum_style%><%-- forum_style is set, which means the user gets a choice --%>
<select id="post_style" name="post_style" tabindex="4" onchange="document.getElementById('ae_switch_span').className = this.value == 1 ? '' : 'hide'; document.getElementById('get_markup_help').className = this.value % 2 == 0 ? 'hide' : ''">
<%~if forum_style == 3%>
<option value="3"<%if forum_style_selected == 3%> selected="selected"<%set selected = 1%><%endif%>><%GForum::language('FORUM_STYLE_BOTH')%></option>
<%~endif%>
<%~if forum_style >= 2%>
<option value="2"<%if forum_style_selected == 2%> selected="selected"<%set selected = 1%><%endif%>><%GForum::language('FORUM_STYLE_HTML')%></option>
<%~endif%>
<%~if forum_style % 2%>
<option value="1"<%if forum_style_selected == 1%> selected="selected"<%set selected = 1%><%endif%>><%GForum::language('FORUM_STYLE_MARKUP')%></option>
<%~endif%>
<option value="0"<%if not selected%> selected="selected"<%endif%>><%GForum::language('FORUM_STYLE_PLAIN')%></option>
</select>
<%~if forum_style % 2%>
<span id="get_markup_help">
&mdash;
<a href="#" rel="markup-help" class="dialog-lnk">Get Markup Help</a>
</span>
<%~if not forum_style_selected % 2%>
<script type="text/javascript">
document.getElementById('get_markup_help').className = 'hide';
</script>
<%~endif%>
<%~endif%>
<%~else%><%-- plain text only --%>
<input type="hidden" name="post_style" value="0" />
<%GForum::language('FORUM_STYLE_PLAIN')%>
<%~endif%>
</div>
</div>
</div>
<div id="row_post_message" class="row post-message">
<label class="name">Post</label>
<div class="value">
<script type="text/javascript" src="<%static_url%>/js/spellcheck.js"></script>
<%if ADVANCEDEDITOR%>
<input type="hidden" id="post_message" name="post_message" value="<%post_message%>" />
<script type="text/javascript" src="<%static_url%>/editor/editor.js"></script>
<script type="text/javascript">
//<![CDATA[
<%include editor_gforum.js%>
//]]>
</script>
<script type="text/javascript">
//<![CDATA[
var ae = new advancedEditor();
ae.config.imageDialogURL = '<%cgi_root_url%>' + '<%set url = GForum::SEO::url(params => "do=editor_image;forum_id=$forum_id;editor_type=post")%><%escape_js url%>';
<%~if in.do ne 'post_preview'%>
ae.config.focusOnload = true;
<%~endif%>
ae.load('<%compose_form_id%>', 'post_message');
//]]>
</script>
<iframe id="editor_iframe" src="<%static_url%>/editor/editor_iframe.html" frameborder="0" scrolling="no"></iframe>
<%else%>
<input type="hidden" name="basic_editor" value="1" />
<textarea id="post_message" name="post_message" tabindex="6" class="txt lngtext" onload="this.focus()"><%post_message%></textarea>
<%endif%>
</div>
</div>
<%if not ADVANCEDEDITOR%>
<%include include_markup_tags.html%>
<%endif%>
<div class="row post-link-actions">
<%if ADVANCEDEDITOR%><%-- The advanced editor only works for markup posts --%>
<input type="hidden" id="post_style" name="post_style" value="1" />
<input type="hidden" id="advanced_editor" name="advanced_editor" value="1" />
<a id="editor_switch" href="#" onclick="return submitForm(document.getElementById('<%compose_form_id%>'), ['do','<%this_do%>', 'basic_editor','1', 'basic_editor_switch','1'])" class="hide">Switch to Basic Editor</a> |
<script type="text/javascript">
document.getElementById('editor_switch').className = '';
</script>
<%~elsif forum_style % 2%>
<a id="editor_switch" href="#" onclick="return submitForm(document.getElementById('<%compose_form_id%>'), ['do','<%this_do%>', 'advanced_editor','1', 'advanced_editor_switch','1'])">Switch to Advanced Editor</a> |
<%endif%>
<a id="button_spellcheck" href="#" title="Spell Check">Check Spelling</a> |
<a id="button_preview" href="#" onclick="return submitForm(document.getElementById('<%compose_form_id%>'), ['do', 'post_preview', 'redo', '<%this_do%>'])" title="Spell Check">Preview Post</a>
</div>
<%~if current.user_status == 3%>
<div class="row post-tags">
<label class="name">Tags</label>
<div class="value clearfix">
<div class="col-6">
<input type="text" id="autocomplete" name="autocomplete" value="<%preview_tags || $post_tags || ''%>" tabindex="7" class="txt" placeholder="Separate tags with commas" />
<input type="submit" id="autocomplete-submit" value="Add" class="btn" />
<input type="hidden" id="autocomplete-tags" name="tags" value="<%if orig.tags.length%><%loop orig.tags%><%tag_name%><%unless last%>,<%endunless%><%endloop%><%endif%>" />
</div>
<div class="col-6">
<div id="autocomplete-selected">
<div id="autocomplete-selected-items" class="clearfix">
<%~loop orig.tags%>
<div class="button-remove" title="<%tag_name%>"><span class="sprite-remove-tag"></span><%tag_name%></div>
<%~endloop%>
</div>
</div>
</div>
</div>
</div>
<%~endif%>
<%if can_attach or attachments.length%>
<div id="row_attachments" class="row post-attachments">
<label class="name sprite-attachment">Attachments</label>
<div id="attachment_list" class="value clearfix">
<%include include_attachments.html%>
</div>
</div>
<%endif%>
<hr class="line" />
<%if current.user_id%>
<div id="row_post_options" class="row post-options">
<div class="option">
<input type="checkbox" id="post_append_signature" name="post_append_signature" value="1"<%if post_append_signature%> checked="checked"<%endif%> class="checkbox" tabindex="8" />
<label for="post_append_signature">Append signature to post</label>
</div>
<div class="option">
<input type="checkbox" id="post_reply_notify" name="post_reply_notify" value="1"<%if post_reply_notify%> checked="checked"<%endif%> class="checkbox" tabindex="8" />
<label for="post_reply_notify">Send e-mail notification on reply</label>
</div>
<%~if current.user_forum_permission >= $FORUM_PERM_MODERATOR%>
<%~if root.post_sticky%>
<div class="option" title="Thread is already sticky">
<input type="checkbox" id="post_sticky" checked="checked" disabled="disabled" class="checkbox" />
<label for="post_sticky">Make thread sticky</label>
</div>
<%~else%>
<div class="option">
<input type="checkbox" id="post_sticky" name="post_sticky" value="1"<%if post_sticky%> checked="checked"<%endif%> class="checkbox" tabindex="8" />
<label for="post_sticky">Make thread sticky</label>
</div>
<%~endif%>
<%~if root.post_locked%>
<div class="option already" title="Thread is already locked">
<input type="checkbox" id="post_locked" checked="checked" disabled="disabled" class="checkbox" />
<label for="post_locked">Lock thread</label>
</div>
<%~else%>
<div class="option">
<input type="checkbox" id="post_locked" name="post_locked" value="1"<%if post_locked%> checked="checked"<%endif%> class="checkbox" tabindex="8" />
<label for="post_locked">Lock thread</label>
</div>
<%~endif%>
<%~endif%>
</div>
<%endif%>
<div id="markup-help" title="Markup Help" class="hide">
<%include markup_help.html%>
</div>

View File

@ -0,0 +1,9 @@
<div class="dtable quick-launchers">
<div class="drow">
<div class="dcell"><a href="<%GForum::SEO::url(type => "forum", id => 1)%>"><span class="sprite-tri"></span> <span>Tri</span></a></div>
<div class="dcell"><a href="<%GForum::SEO::url(type => "forum", id => 2)%>"><span class="sprite-cla"></span> <span>Classifieds</span></a></div>
<div class="dcell"><a href="<%GForum::SEO::url(type => "forum", id => 4)%>"><span class="sprite-lav"></span> <span>Lavender</span></a></div>
<div class="dcell"><a href="<%GForum::SEO::url(type => "forum", id => 8)%>"><span class="sprite-job"></span> <span>Jobs</span></a></div>
<div class="dcell"><a href="<%GForum::SEO::url(type => "forum", id => 9)%>"><span class="sprite-not"></span> <span>Notices</span></a></div>
</div>
</div>

View File

@ -0,0 +1,91 @@
<%~if page_id eq 'category_list'%>
<div class="searchbox blank">
<%registered_users || 0%> registered users
</div>
<%~elsif search_widget or $forum_id%>
<%include include_sidebar_search.html%>
<%~endif%>
<%~if page_id ne 'category_list' and $poll_widget%>
<%~set adsize = '300x250'%>
<%include include_ad.html%>
<%~if poll_widget or $forum_id%>
<%include include_poll_widget.html%>
<%~endif%>
<%~endif%>
<%~if page_id eq 'category_list'%>
<%~set adsize = '300x600'%>
<%include include_ad.html%>
<%~else%>
<div class="dynamic-widget" data="45"></div>
<br>
<div class="dynamic-widget" data="46"></div>
<br>
<div class="dynamic-widget" data="47"></div>
<style>
#stickThis{
font-size: 1.5em;
width: 300px;
text-align: center;
}
#stickThis.box {
margin-top: 0;
position: fixed;
z-index: 9999;
}
</style>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<div id="stickHere"></div>
<div id="stickThis">
<div class="dynamic-widget" data="48"></div>
<%~if $forum_id != 4 %>
<%~set adsize = '300x600'%>
<%include include_ad.html%>
<%~endif%>
</div>
<script>
function boxtothetop() {
var windowTop = $(window).scrollTop();
var top = $('#stickHere').offset().top;
var bottom = $('#stickHere').offset().top + $('#stickThis')
.outerHeight(true);
var mainBottom = $('.footer').offset().top - 10;
var toolbarBottom = $('#toolbar2').offset().top + $('#toolbar2').outerHeight() + 20;
//console.log( { windowTop, top, bottom , mainBottom, toolbarBottom } );
if(windowTop > top && bottom < toolbarBottom ) {
$('#stickThis').addClass('box');
$('#stickHere').height($('#stickThis').outerHeight());
if ( windowTop + ( bottom - top ) < mainBottom ) {
$('#stickThis').css({"top": 0});
} else {
var gap = -1 * ( bottom - top ) + ( mainBottom - windowTop );
//console.log( {gap} );
$('#stickThis').css({"top": gap});
}
} else {
$('#stickThis').removeClass('box');
$('#stickHere').height(0);
}
}
$(function() {
$(window)
.scroll(boxtothetop);
boxtothetop();
});
</script>
<%~endif%>
<%~if $forum_id == 11 %>
<%ezoic_desktop_sidebar%>
<%~endif%>

View File

@ -0,0 +1,85 @@
<!DOCTYPE html >
<html lang="en">
<head>
<title><%cat_full_name%>: Lost Password</title>
<%include include_common_head.html%>
</head>
<%~set content_header_title = 'Lost Password'%>
<body class="page-<%page_id%>">
<div class="container-b">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<div class="sidebar">
<%include include_sidebar.html%>
</div>
<%~set content_header_title = 'Lost Password'%>
<%~init array breadcrumbs%><%init hash breadcrumbs.0%>
<%~set breadcrumbs.0.name = 'Lost Password'%>
<%include include_breadcrumb.html%>
<div class="content"><%-- start content--%>
<%include include_content_header.html%>
<%if form.page_errors%><p class="error">Enter your Username</p><%endif%>
<p>
If you have lost your password, <%cat_full_name%> can generate a new temporary
password for you to log in with. Note that after logging in the temporary
password will be lost so you should change your password immediately upon
logging in with the temporary password. The temporary password will be sent
to you at the e-mail address you specified when signing up.
</p>
<form action="<%GForum::SEO::url()%>" method="post">
<%hidden_form%>
<input type="hidden" name="do" value="lost_password" />
<input type="hidden" name="page_errors" value="1" />
<div class="dtable form">
<div class="drow">
<div class="dcell name">Your Username <span>*</span></div>
<div class="dcell divider"></div>
<div class="dcell value">
<input type="text" id="user_username" name="user_username" class="txt shotext" />
</div>
</div>
<%~set captcha_active = Plugins::GForum::GoogleCaptcha::is_captcha_enabled()%>
<%~if captcha_active%>
<div class="drow">
<div class="dcell name">Prove you're not a robot</div>
<div class="dcell divider"></div>
<div class="dcell value">
<%Plugins::GForum::GoogleCaptcha::get_rcaptcha_image()%>
</div>
</div>
<%endif%>
<div class="drow actions">
<div class="dcell name"></div>
<div class="dcell divider"></div>
<div class="dcell value">
<input type="submit" value="Send Password" class="btn default" />
<p class="note">* The temporary password will be sent to the e-mail address you entered while registering.</p>
</div>
</div>
</div>
</form>
</div>
</div><%-- end content --%>
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
<script type="text/javascript">
$(document).ready(function () {
$('#user_username').focus();
});
</script>
</html>

View File

@ -0,0 +1,158 @@
<!DOCTYPE html >
<%~set search_widget = 1%>
<%~set poll_widget = 1%>
<html lang="en">
<head>
<title><%root_post_subject%><%if this_page > 1%> (Page <%this_page%>)<%endif%>: <%forum_name%>: <%cat_full_name%></title>
<%include include_common_head.html%>
<%~if this_do eq post_view_printable%>
<link type="text/css" rel="stylesheet" href="<%static_url%>/css/print.css" />
<%~endif%>
<script type="text/javascript">
//<![CDATA[
<%if is_ie and ie_version >= 4%>
<%~-- JavaScript for "Copy Shortcut" (which only works in IE) --~%>
// IE-specific code to copy a post URL to the clipboard - takes the post_id.
// This works only in IE because other browsers (quite correctly) treat copy
// buffer manipulation as a security access violation.
function postShortcut(post_id) {
var url = document.createElement('input');
url.type = 'hidden';
url.value = '<%set url = GForum::SEO::url(params => "?post=__POST_ID__", anchor => "p__POST_ID__")%><%escape_js url%>';
url.value = url.value.replace(/__POST_ID__/g, post_id);
document.body.appendChild(url);
url.createTextRange().execCommand("Copy");
alert("Post URL copied to clipboard");
}
<%endif%>
function winopen(url, target) {
var win;
try {
win = window.open(url, target, 'resizable=yes,menubar=yes,scrollbars=yes,width=700,height=500');
win.focus();
}
catch (e) {
return true;
}
return win ? false : true;
}
<%~if forum_image_max_x or config.post_image_max_x%>
GForum.image_max_width = '<%forum_image_max_x || $config.post_image_max_x%>';
<%~endif%>
<%~if forum_image_max_y or config.post_image_max_y%>
GForum.image_max_height = '<%forum_image_max_y || $config.post_image_max_y%>';
<%~endif%>
//]]>
</script>
</head>
<%~set hidden_sort = ''%><%set hidden_page = ''%>
<%~if in.sb%><%set hidden_sort .= ";sb=$sb"%><%endif%>
<%~if in.so%><%set hidden_sort .= ";so=$so"%><%endif%>
<%~if in.mh%><%set hidden_page .= ";mh=$mh"%><%endif%>
<%~if in.page%><%set hidden_page .= ";page=$this_page"%><%endif%>
<body class="page-<%page_id%>">
<div class="container-b">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<div class="sidebar">
<%include include_sidebar.html%>
</div>
<%~set content_header_title = $forum_name%>
<%~set post_toolbar = 1%>
<%~init array breadcrumbs%><%init hash breadcrumbs.0%><%init hash breadcrumbs.1%>
<%~set breadcrumbs.0.name = $forum_name%>
<%~set breadcrumbs.0.url = GForum::SEO::url(params => "forum=$forum_id")%>
<%~set breadcrumbs.1.name = $root_post_subject%>
<%include include_breadcrumb.html%>
<div class="content"><%-- start content--%>
<%include include_content_header.html%>
<%~set root_post_id ||= $post_root_id || $post_id%>
<%~set do = ''%>
<%~if in.do%>
<%~set do = "do=$this_do"%>
<%~endif%>
<%~set pagination_options.type = 'post'%>
<%~set pagination_options.id = $root_post_id%>
<%~set pagination_options.params = "$do$hidden_sort$hidden_page"%>
<%~set pagination_options.page_items = $num_posts%>
<%~set pagination_options.show_view_all = 1%>
<div class="toolbar-b clearfix">
<%include include_paging.html%>
<%include include_quicklaunch.html%>
</div>
<%loop post_loop%>
<%~if is_moderator and post_reports_count%><%set admin_show_post = 1%><%else%><%set admin_show_post = 0%><%endif%>
<%~if blocked and not admin_show_post and in.post != $post_id%><%set hide_post = 1%><%else%><%set hide_post = 0%><%endif%>
<%-- Serve ad on mobile --%>
<%~if row_num == 1%>
<%~set serve_ad = 1%><%set ad_count = 1%>
<%~else%>
<%~set count += 1%><%set odd = $count % 10%>
<%~if not $odd%><%set serve_ad = 1%><%set count = 0%><%endif%>
<%~endif%>
<%include include_post_display.html%>
<%~if forum_id eq '4' %>
<%~else %>
<%~if $serve_ad%><%set height_choice = $ad_count % 2%>
<%~if not height_choice%><%set ad_height = 250%><%else%><%set ad_height = 600 %><%endif%>
<%~set ad_count += 1%>
<%include include_ad_mobile.html%>
<%~set serve_ad = 0%><%set count = 0%>
<%~endif%>
<%~if not $odd%>
<script type="text/javascript">
if (winWidth > 1024) { document.write('<div class="adbox"> <div class="adhori">'); }
</script>
<%~set adsize = '728x90'%> <%include include_ad.html%>
<script type="text/javascript">
if (winWidth > 1024) { document.write('</div> </div> <br />'); }
</script>
<%~endif%>
<%~endif%>
<%endloop%>
<%include include_post_toolbar.html%>
<%-- ad for tablet --%>
<%~if num_posts > 3%>
<%include include_ad_tablet.html%>
<%~endif%>
</div><%-- end content --%>
</div><%-- end contentwrapper --%>
</div><%-- end main --%>
<%include include_footer.html%>
</div>
</body>
<%if spellcheck%><%spellcheck_head%><%endif%>
<%include include_global_js.html%>
<script type="text/javascript">
$(document).ready(function () {
GForum.init_post_only();
GForum.init_hidden_posts();
<%~if is_moderator and post_reports_open.length%>
GForum.openPostReport();
<%~endif%>
<%~if this_do eq post_view_printable%>window.print();<%endif%>
});
</script>
</html>

View File

@ -0,0 +1,40 @@
<!DOCTYPE html >
<head>
<title><:: Slowtwitch Forums ::></title>
<%include include_common_head.html%>
</head>
<%~set content_header_title = 'Redirect'%>
<%~set content_header_subtitle = 'You are being redirected'%>
<body class="page-<%page_id%>">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<div class="sidebar">
<%include include_sidebar.html%>
</div>
<%~set content_header_title = 'Forum'%>
<%include include_breadcrumb.html%>
<div class="content"><%-- start content--%>
<%include include_content_header.html%>
<p>
You are leaving Slowtwitch to the selected URL, <a href="<%url%>" rel="nofollow"><%url%></a>.
</p>
</div><%-- end content --%>
</div>
</div>
<%include include_footer.html%>
</div>
</body>
<%include include_global_js.html%>
</html>

View File

@ -0,0 +1,158 @@
<!DOCTYPE html >
<html lang="en">
<head>
<title><%cat_full_name%>: Sign Up</title>
<%include include_common_head.html%>
</head>
<body class="page-<%page_id%>">
<div class="container-b">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<div class="sidebar">
<%include include_sidebar.html%>
</div>
<%~set content_header_title = 'Sign Up'%>
<%~init array breadcrumbs%><%init hash breadcrumbs.0%>
<%~set breadcrumbs.0.name = $content_header_title%>
<%include include_breadcrumb.html%>
<div class="content"><%-- start content--%>
<%include include_content_header.html%>
<p> You can sign up to the forum by entering your information here.</p>
<%GForum::Config::tpl_get(require_signup_email_validation)%>
<%if require_signup_email_validation%>
<p>If you have already filled out the signup form but still have not received a validation e-mail, <a href="gforum.cgi?do=resend_validation;<%hidden_query%>">click here</a> to have the validation e-mail re-sent.</p>
<%endif%>
<form action="<%GForum::SEO::url()%>" method="post">
<input type="hidden" name="do" value="user_signup_submit_training" />
<%hidden_form%>
<div class="dtable form">
<div class="drow">
<div class="dcell name">Username <span>*</span></div>
<div class="dcell divider"></div>
<div class="dcell value">
<input type="text" id="user_username" name="user_username" value="<%user_username%>" class="txt shotext" />
</div>
</div>
<div class="drow">
<div class="dcell name">Password <span>*</span></div>
<div class="dcell divider"></div>
<div class="dcell value">
<input type="password" id="user_password" name="user_password" value="<%user_password%>" class="txt shotext" />
<div class="pass-strength">Password Strength: <span id="pass-strength">None</span></div>
</div>
</div>
<div class="drow">
<div class="dcell name">Confirm Password <span>*</span></div>
<div class="dcell divider"></div>
<div class="dcell value">
<input type="password" id="user_password2" name="user_password" value="<%user_password%>" class="txt shotext" />
</div>
</div>
<div class="drow" title="This address must be valid as it is used for notification and validation">
<div class="dcell name">E-mail Address <span>*</span></div>
<div class="dcell divider"></div>
<div class="dcell value">
<input type="text" id="user_email" name="user_email" value="<%user_email || ''%>" class="txt midtext" />
<div class="note">Used for admin purposes only. We will never make this public.</div>
</div>
</div>
<div class="drow">
<div class="dcell name">Country <span>*</span></div>
<div class="dcell divider"></div>
<div class="dcell value">
<%~set countries = Plugins::GForum::ForumTrainingRegister::country_codes%>
<select name="user_country" id="user_country">
<%~loop countries%>
<option value="<%countrycode%>"<%if $in.user_country eq $countrycode%> selected<%elsif countrycode eq 'US'%>selected<%endif%>><%countryname%></option>
<%~endloop%>
</select>
</div>
</div>
<div class="drow">
<div class="dcell name">Sex <span>*</span></div>
<div class="dcell divider"></div>
<div class="dcell value">
<select name="user_sex">
<option value="1"<%if user_sex%> selected="selected"<%endif%>>Male</option>
<option value="0"<%if not user_sec%> selected="selected"<%endif%>>Female</option>
</select>
</div>
</div>
<div class="drow">
<div class="dcell name">Units of Measure <span>*</span></div>
<div class="dcell divider"></div>
<div class="dcell value">
<select name="user_units">
<option value="1"<%if user_units%> selected="selected"<%endif%>>Imperial</option>
<option value="0"<%if not user_units%> selected="selected"<%endif%>>Metric</option>
</select>
</div>
</div>
<div class="drow">
<div class="dcell name">
As a mischief-control tactic, name a <b>specific RACE</b> (be specific!) associated with the sport THIS site covers that interests you<span>*</span>
</div>
<div class="dcell divider"></div>
<div class="dcell value">
<textarea name="user_answer_1" rows="5" class="txt lngtext"><%user_answer_1 || ''%></textarea>
</div>
</div>
<%~if 0%>
<div class="drow">
<div class="dcell name">Would you like to receive our weekly newsletter?</div>
<div class="dcell divider"></div>
<div class="dcell value">
<select name="user_subscribe">
<option value="1"<%if user_subscribe%> selected="selected"<%endif%>>Yes</option>
<option value="0"<%if not user_subscribe%> selected="selected"<%endif%>>No</option>
</select>
</div>
</div>
<%endif%>
<%~set captcha_active = Plugins::GForum::GoogleCaptcha::is_captcha_enabled()%>
<%~if captcha_active%>
<div class="drow">
<div class="dcell name">Prove you're not a robot</div>
<div class="dcell divider"></div>
<div class="dcell value">
<%Plugins::GForum::GoogleCaptcha::get_rcaptcha_image()%>
</div>
</div>
<%endif%>
<div class="drow actions">
<div class="dcell name"></div>
<div class="dcell divider"></div>
<div class="dcell value">
<input type="submit" value="Sign Up" class="btn default" />
<p class="note"><b>Note:</b> Fields marked with <span class="req-star">*</span> are required for validation</p>
</div>
</div>
</div>
</form>
</div><%-- end content --%>
</div>
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
<script type="text/javascript">
$(document).ready(function () {
$('#user_username').focus();
GForum.init_password_strength('#user_password', '#pass-strength');
});
</script>
</html>