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,36 @@
<%~if Widget eq 'poll'%>
<div id="poll_widget" data="<%Forum%>"></div>
<%~elsif Widget eq 'feature_threads'%>
<%include _widget_threads.html%>
<%~else%>
<div class="widget<%if Widget eq 'feature_article'%> widget-fullwidth<%elsif Widget eq 'collapse'%> collapse widget-full<%endif%>">
<%if Widget eq 'collapse'%>
<a rel="hottopic"<%if TitleStyle%> style="<%TitleStyle%>"<%endif%> class="lnk"><%Title%> <i class="sprite-arrow-down-b"></i></a>
<div class="tagwidget">
<%~if Subtitle%><%Subtitle%><%endif%>
<%if Image%><%if URL%><a href="<%URL%>"><%endif%><img width="300" height="166" src="<%config.build_root_url%><%Image_URL%>" class="img-responsive" /><%if URL%></a><%endif%><%endif%>
<%if Button%><br /><div class="center"><a href="<%URL%>" class="btn"><%Button%></a></div><%endif%>
</div>
<%else%>
<h2<%if TitleStyle%> style="<%TitleStyle%>"<%endif%>><%Title%></h2>
<%~if Subtitle%><div class="description"><%Subtitle%></div><%endif%>
<%~if Widget eq 'newsletter'%>
<%include _widget_newsletter.html%>
<%~elsif Widget eq 'calculators'%>
<%include _widget_calculators.html%>
<%~elsif Widget eq 'local_listings'%>
<%include _widget_local_listings.html%>
<%~elsif Widget eq 'category_list'%>
<%include _widget_category_list.html%>
<%~elsif Widget eq 'editors_pick'%>
<%include _widget_editors_pick.html%>
<%~elsif Widget eq 'feature_article'%>
<%include _widget_feature_article.html%>
<%~elsif Widget eq 'most_popular'%>
<%include _widget_most_popular.html%>
<%elsif Widget eq 'external'%>
<%include ../twitch/_widget_external.html%>
<%~endif%>
<%endif%>
</div><!-- end widget -->
<%~endif%>

View File

@ -0,0 +1,30 @@
<div class="listings justify">
<div>
<a href="<%main_site_url%>/fit_calculator/fit_calculator.php">
<span class="sprite-bike"></span>
<div><div class="vertical-align">Custom Bike</div></div>
</a>
</div>
<div class="icon-divider"></div>
<div>
<a href="<%main_site_url%>/fit_calculator/stem_calc.php" >
<span class="sprite-stem"></span>
<div><div class="vertical-align">Stem</div></div>
</a>
</div>
<div class="icon-divider"></div>
<div>
<a href="<%main_site_url%>/stackreach/">
<span class="sprite-stack"></span>
<div><div class="vertical-align">Stack Reach</div></div>
</a>
</div>
<div class="icon-divider"></div>
<div>
<a href="<%main_site_url%>/fit_calculator/bar_bore_calc.php" >
<span class="sprite-bar"></span>
<div><div class="vertical-align">Bar to HT</div></div>
</a>
</div>
<div class="icon-spacer hide-on-mobile"></div>
</div><!-- end listings -->

View File

@ -0,0 +1,8 @@
<%~set category_list_loop = Plugins::UI::fetch_links(category => $Category, max_hits => 5)%>
<div class="list">
<%~loop category_list_loop%>
<div class="link">
<div><span><%row_num%></span></div> <a href="<%detailed_url%>"><%Title%></a>
</div>
<%~endloop%>
</div>

View File

@ -0,0 +1,8 @@
<%~set editor_list_loop = Plugins::UI::fetch_links(ids => $Articles, sb => 'Date')%>
<div class="list">
<%~loop editor_list_loop%>
<div class="link">
<div><span><%row_num%></span></div> <a href="<%detailed_url%>"><%Title%></a>
</div>
<%~endloop%>
</div>

View File

@ -0,0 +1,9 @@
<%~set external_links_loop = Plugins::UI::fetch_widget_external_links($ID)%>
<div class="list">
<%~loop external_links_loop%>
<div class="link">
<div><span><%row_num%></span></div><a href="<%URL%>"><%Title%></a>
<%if Abstract%><p><%Abstract%></p><%endif%>
</div>
<%~endloop%>
</div>

View File

@ -0,0 +1,22 @@
<%~set feature_list_loop = Plugins::UI::fetch_links(ids => $Articles, sb => 'Date')%>
<%~loop feature_list_loop%>
<div class="product center">
<a href="<%URL%>" class="label label-category"><%escape_html Name%></a>
<div class="product-image">
<%~if thumbnail_url%>
<img src="<%config.build_root_url%><%thumbnail_url.medium || $thumbnail_url.small%>" width="300" height="166" class="img-responsive" />
<%~else%>
<img src="<%config.build_static_url%>/images/default_300x166.png" width="300" height="166" class="img-responsive" />
<%~endif%>
</div>
<div class="post-meta medium-grey">
<i class="icon sprite-slowtwitch"></i>
<span class="author uppercase"><%Contact_Name%></span>
</div>
<div class="excerpt">
<%Description%>
<a href="<%detailed_url%>" class="readmore">Read &gt;</a>
</div>
</div>
<%~endloop%>

View File

@ -0,0 +1,22 @@
<div class="listings justify">
<div>
<a href="<%main_site_url%>/coaches" class="sprite-coaches"></a>
<a href="<%main_site_url%>/coaches">Coaches</a>
</div>
<div class="icon-divider"></div>
<div>
<a href="<%main_site_url%>/triclubs" class="sprite-clubs"></a>
<a href="<%main_site_url%>/triclubs">Clubs</a>
</div>
<div class="icon-divider"></div>
<div>
<a href="<%main_site_url%>/fitters" class="sprite-fitters"></a>
<a href="<%main_site_url%>/fitters">Fitters</a>
</div>
<div class="icon-divider"></div>
<div>
<a href="<%main_site_url%>/retailers" class="sprite-stores"></a>
<a href="<%main_site_url%>/retailers">Stores</a>
</div>
<div class="icon-spacer hide-on-mobile"></div>
</div><!-- end listings -->

View File

@ -0,0 +1,6 @@
<div class="widget widget-fullwidth">
<%if Title%><h2<%if TitleStyle%> style="<%TitleStyle%>"<%endif%>><a href="<%URL%>"><%Title%></a></h2><%endif%>
<%if Subtitle%><div class="description"><%Subtitle%></div><%endif%>
<%if Image%><%if URL%><a href="<%URL%>"><%endif%><img width="300" height="166" src="<%config.build_root_url%><%Image_URL%>" class="img-responsive" /><%if URL%></a><%endif%><%endif%>
<%if Button%><br /><div class="center"><a href="<%URL%>" class="btn"><%Button%></a></div><%endif%>
</div>

View File

@ -0,0 +1,9 @@
<%~Plugins::MostPopular::generate_popular_links%>
<div class="list">
<%~loop MostPopularLinks%>
<%rewrite_detail_url || ''%>
<div class="link">
<div><span><%row_num%></span></div> <a href="<%detailed_url%>"><%Title%></a>
</div>
<%~endloop%>
</div>

View File

@ -0,0 +1,3 @@
<div class="widget-form">
<%include include_subscribe.html%>
</div>

View File

@ -0,0 +1,5 @@
<div class="widget widget-threads">
<h2<%if TitleStyle%> style="<%TitleStyle%>"<%endif%>><%Title%></h2>
<%~if Subtitle%><div class="description"><%Subtitle%></div><%endif%>
<div class="list" data="<%Articles%>"></div>
</div>

60
site/articles/add.html Normal file
View File

@ -0,0 +1,60 @@
<% set title = "Add a Link" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><%site_title%>: <%title%></title>
<%--
<script type="text/javascript" src="<%config.build_static_url%>/jquery/jquery.js"></script>
<script type="text/javascript" src="<%config.build_static_url%>/jquery/jquery.lightbox-0.5.js"></script>
<link rel="stylesheet" type="text/css" href="<%config.build_static_url%>/jquery/css/jquery.lightbox-0.5.css" media="screen" />
--%>
<%include include_common_head.html%>
</head>
<body id="add">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<div class="breadcrumb">
<%Links::Utils::format_title($main_title_loop, separator => ' > ', no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%>
</div>
<div class="content"><%-- start content--%>
<h1><% title %></h1>
<%~ set megabytes = 1048576 ~%>
<%~ set image_cfg = Links::Plugins::get_plugin_user_cfg('SlideShow') ~%>
<%~ set image_size = image_cfg.max_upload_size / $megabytes ~%>
<%~ set image_size = round($image_size) ~%>
<%~ set video_max_size = Plugins::ConvertVideo::get_video_max_size() ~%>
<%~ set video_size = $video_max_size / $megabytes ~%>
<%~ set video_size = round($video_size) ~%>
<p>
Please completely fill out the form, and we'll add your article as soon as possible.<br/>
<b>Note:</b> image files must be smaller than <% if image_size %><% image_size %><%else%>1<%endif%>MB and video files must be smaller than <% if video_size %><% video_size %><%else%>1<%endif%>MB.
</p>
<form id="modify_form" action="<%config.db_cgi_url%>/add.cgi" enctype="multipart/form-data" method="post">
<div class="dtable form addlink">
<%include include_form.html%>
<div class="drow actions">
<div class="dcell name"></div>
<div class="dcell value">
<input type="submit" name="add" value="Add" class="btn" />
</div>
</div>
</div>
</form>
</div><%-- end content --%>
</div>
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
<%~include include_form.js%>
</html>

View File

@ -0,0 +1,75 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%~Plugins::UI::update_featured_links('article', $ID, $in.featured_article)%>
<%~Plugins::UI::update_featured_links('photo', $ID, $in.featured_photo)%>
<html>
<head>
<title><%site_title%>: Link Added</title>
<%include include_common_head.html%>
</head>
<body id="add_success">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<div class="breadcrumb">
<%Links::Utils::format_title($main_title_loop, separator => ' > ', no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%>
</div>
<div class="content"><%-- start content--%>
<h1>Link Added</h1>
<p>
We have received the following link:
</p>
<div class="row clear">
<label class="name">Title:</label>
<div class="value wrappedtext"><%Title%></div>
</div>
<div class="row clear">
<label class="name">Category:</label>
<div class="value wrappedtext">
<%~if Category_loop.length > 1%>
<ul><%loop Category_loop%><li><%loop_value%></li><%endloop%></ul>
<%~else%>
<%Category%>
<%~endif%>
</div>
</div>
<div class="row clear">
<label class="name">Link Type:</label>
<div class="value wrappedtext"><%if Link_Type eq 'photo'%>Photo Gallery<%elseif Link_Type eq 'video'%>Video<%else%>Article<%endif%></div>
</div>
<div class="row clear">
<label class="name">Description:</label>
<div class="value wrappedtext"><%escape_html Description%></div>
</div>
<div class="row clear">
<label class="name">Contact Name:</label>
<div class="value wrappedtext"><%escape_html Contact_Name%></div>
</div>
<div class="row clear">
<label class="name">Contact E-mail:</label>
<div class="value wrappedtext"><%escape_html Contact_Email%></div>
</div>
<p>
<%~if config.build_auto_validate%>
Your link has been added to <%if Category_loop.length > 1%>the following categories: <%loop Category_loop%><%loop_value%><%unless last%>, <%endunless%><%endloop%><%else%><%Category%><%endif%>.
<%~else%>
Thank you! We will send you an e-mail once your link has been validated.
<%~endif%>
</p>
</div><%-- end content --%>
</div>
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
<%~include include_form.js%>
</html>

View File

@ -0,0 +1,50 @@
<!DOCTYPE html >
<html lang="en">
<head>
<title><%site_title%></title>
<%include include_common_head.html%>
</head>
<body id="home">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<%~set title_loop = Links::Build::build('title', 'Articles')%>
<%include include_breadcrumb.html%>
<section class="section category-list section-has-widgets section-reverse">
<div class="sidebar-b">
<%~set adsize = '300x600'%>
<%include include_ad.html%>
<div class="widget-spacer"></div>
<%~set widgets_loop = Plugins::UI::fetch_widgets('category')%>
<%~set widget_end = $widgets_loop.length%>
<%include include_widgets.html%>
</div>
<div class="content content-has-widgets">
<div class="grid">
<div class="col-1-1">
<h1>Articles</h1>
<%~set category_loop = Plugins::UI::fetch_categories()%>
<%~loop category_loop%>
<%~if Name like 'Bike Fit' or $Name like 'Products' or $Name like 'RD Aids'%><%nextloop%><%endif%>
<%include include_category.html%>
<%~endloop%>
</div>
</div>
<div class="section-divider mobile"></div>
</div><!-- end content -->
</section><!-- end section -->
<div class="section-spacer"></div>
</div><!-- End contentwrapper -->
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>

View File

@ -0,0 +1,48 @@
<!DOCTYPE html >
<html lang="en">
<head>
<title><%site_title%></title>
<%include include_common_head.html%>
</head>
<body id="home">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<%include include_breadcrumb.html%>
<%~if not links_loop.length%>
<section class="section category-list section-has-widgets section-reverse">
<div class="sidebar-b">
<%~set widgets_loop = Plugins::UI::fetch_widgets('category', $ID)%>
<%~set widget_end = $widgets_loop.length%>
<%include include_widgets.html%>
</div>
<div class="content content-has-widgets">
<div class="grid">
<!-- latest articles -->
<div class="clearfix">
<h1><%Name%></h1>
<%~loop category_loop%>
<%include include_category.html%>
<%~endloop%>
</div>
</div>
</div><!-- end content -->
</section><!-- end section -->
<%~else%>
<%include subcategory.html%>
<%~endif%>
<div class="section-spacer"></div>
</div><!-- End contentwrapper -->
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>

137
site/articles/coaching.html Normal file
View File

@ -0,0 +1,137 @@
<!DOCTYPE html >
<html lang="en">
<head>
<title><%site_title%></title>
<%include include_common_head.html%>
</head>
<body id="home">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<%~set title_loop = Links::Build::build('title', 'Slowtwitch Coaching')%>
<%include include_breadcrumb.html%>
<section class="section section-has-widgets section-reverse">
<div class="sidebar-b">
<%~Plugins::UI::fetch_widget(27)%>
<div class="widget-spacer"></div>
<%include _widget_manual.html%>
<div class="widget-spacer"></div>
<div class="advert hide-on-mobile">
<img width="300px" height="600px" src="//placehold.it/300x600/333/fff?text=300x600+ad,+1+of+1"/>
</div>
<div class="widget-spacer"></div>
<%~set Title = 'Local Listing'%>
<%~set Widget = 'local_listings'%>
<%include _widget_automated.html%>
</div>
<div class="content content-has-widgets">
<div class="grid">
<div class="col-1-1">
<h1>Slowtwitch Coaching</h1>
<img src="<%static_url%>/images/coaching.jpg" class="center img-responsive">
<p>Slowtwitch Coaching Certification Clinics are designed for the multisport or individual sport coach looking to take his or her knowledge and coaching business to the next level. By combining interactive discussions and presentations with actual hands-on coaching instruction, the Slowtwitch Coaching Certification Clinics go beyond the traditional classroom setting to provide coaches with real, practical training that directly translates to their coaching careers.</p>
<p>Slowtwitch currently offers the following coaching certifications:</p>
<ul>
<li><a href="<%config.build_root_url%>/coaching/Swim Coaching Certification.pdf">Certified Triathlon Swim Coach</a></li>
<li><a href="<%config.build_root_url%>/coaching/Cycling Power Certification.pdf">Certified Cycling Power Coach</a></li>
<li><a href="<%config.build_root_url%>/coaching/Cycling Coaching Certification.pdf">Certified Triathlon Cycling Coach</a></li>
<li><a href="<%config.build_root_url%>/coaching/Run Coaching Certification.pdf">Certified Triathlon Run Coach</a></li>
</ul>
<p>Click on the links above to learn more about each clinic and see a sample schedule with descriptions of each session.
<h3>Purpose</h3>
<p>Slowtwitch Coaching Certification Clinics are designed to educate coaches on how to better train their
athletes on specific aspects of swimming, biking, and running. By focusing on one specific topic, these programs are able to
delve deeper, thereby giving coaches practical tools that translate into
real-life training implementation strategies for working with clients, athletes and teams. More importantly,
coaches are given an opportunity to practice these skills through direct, hands-on coaching experience with
real athletes.
<p>Over the course of 2 days, coaches learn how to work with athletes of all levels from the basic beginner
to the most advanced. Beginning from the initial athlete introduction, the Slowtwitch Coaching Certification
Clinics take coaches along the journey of how to accurately assess an athlete, create an effective training
plan, measure progress and skill development, and spot the need for change along the way within an individual
sport perspective.
<h3>Get Slowtwitch Certified</h3>
<p>Prior to certification, a coach must complete and/or submit the following:</p>
<ul>
<li><a href="#Clinics">Slowtwitch Coaching Certification Clinic</a></li>
<li><a href="<%config.build_root_url%>/coaching/Coach Instructions.pdf">Online Background Check</a></li>
<li><a href="http://coaching.slowtwitch.com/onlinetesting/">Online Written Examination</a></li>
<li>CPR Certification</li>
</ul>
<p><i>Slowtwitch Coaching Certification Clinic</i></p>
<p>The clinic requirement is met by attending a Slowtwitch coaching certification clinic. Any travel arrangements that cannot be cancelled without a full refund should not be made before registering for a clinic as each clinic schedule varies and attendance is capped at 20-40, depending on the topic. The maximum number for each clinic will be posted on the registration site.</p>
<p>The clinic is a 2-day practicum and classroom presentation combination course with opportunities to learn and network. Participants must attend the entire clinic in order to be eligible for certification. The minimum age for participation is 18. The fee of $399 includes 2 full days of the clinic, registration fees, clinic manual, and exam. It does not include lodging, meals, travel expenses or the background check fee. </p>
<p>Directions for completing the online written exam are given at the end of the clinic. The provided course manual, classroom instruction, and hands-on portions of the clinic are the basis for the exam. Attendees are given 3 months to complete the exam. After the 3 month deadline, late fees apply for submission. </p>
<div class="dtable coaching">
<div class="drow">
<div class="dcell"><b>Registration Opens</b></div>
<div class="dcell"><b>Clinic Location/Dates</b></div>
<div class="dcell"><b>Certification Topic</b></div>
<div class="dcell"><b>Registration Link</b></div>
</div>
<div class="drow">
<div class="dcell">May 31, 2016</div>
<div class="dcell">August 4-5, 2016<br>Denver, CO</div>
<div class="dcell">Triathlon Cycling</div>
<div class="dcell"><a href="https://www.trireg.com/slowtwitch-cycling-coaching-certification">REGISTER HERE</a></div>
</div>
<div class="drow">
<div class="dcell">June 15, 2016</div>
<div class="dcell">September 22-23, 2016<br>Las Vegas, NV</div>
<div class="dcell">Triathlon Cycling Power</div>
<div class="dcell"><a href="https://www.bikereg.com/slowtwitchcyclingpower">REGISTER HERE</a></div>
</div>
<div class="drow">
<p>More dates coming soon!</p>
</div>
</div>
<p><i>Background Check</i></p>
<p>Coaching certification candidates must pass a criminal history check through the NCSI background check
application prior to attending a clinic in order to become certified. The fee is $21.25 for most U.S.
citizens but does vary by
state. International background checks cost more and vary by country. Fees for the background check are not
included in the clinic registration fee. Each candidate must complete and pass the required background
check or entry into the clinic and certification are denied.</p>
<p>Background checks are based on <a href="<%config.build_root_url%>/coaching/Criteria.pdf">this criteria</a>. A failed background check results in the
candidate being ineligible for participation in a coaching clinic and certification. There is no appeal
process for failed background checks and no exceptions. Any candidate concerned about his or her
background should complete the background check prior to registration.</p>
<p><i>CPR</i></p>
<p>A current CPR or AED certification is required at the time of the exam submission in order to be
certified. It may be youth or adult and can be taken online.</p>
<h3>Certification Period</h3>
<p>Slowtwitch Coaching Certifications do not expire. Coaches are encouraged to continue their education on their own and return to a course in the future as they are continually evolving.</p>
<h3>Bring a Clinic to You</h3>
<p>If you would like a clinic brought to your facility, please contact <a href="mailto:coaching@slowtwitch.com">coaching@slowtwitch.com</a> with the desired dates, clinic topic, location and capabilities of the facility (pool, track, classroom, etc.). Classroom space is required for all clinics. Ancillary needs like pool space, a track or fields for bike drills vary based on the desired clinic. Please note that you must be able to guarantee a minimum of 10 registrations to be considered.</p>
<h3>Questions</h3>
<p>Please email <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#99;&#111;&#97;&#99;&#104;&#105;&#110;&#103&#64;&#115;&#108;&#111;&#119;&#116;&#119;&#105;&#116;&#99;&#104;&#46;&#99;&#111;&#109;">&#99;&#111;&#97;&#99;&#104;&#105;&#110;&#103&#64;&#115;&#108;&#111;&#119;&#116;&#119;&#105;&#116;&#99;&#104;&#46;&#99;&#111;&#109;</a>
with any questions you have about the Slowtwitch Coaching Education Program.</p>
</div><!-- end col-2/3 -->
</div><!-- end grid -->
<div class="section-divider mobile"></div>
</div><!-- end content -->
</section>
</div>
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
</html>

186
site/articles/detailed.html Normal file
View File

@ -0,0 +1,186 @@
<%~set detailed_url = get_detailed_url($ID)%>
<%~Links::Utils::load_reviews($ID, $detailed_max_reviews)~%>
<%~Plugins::SlideShow::generate_paths($ID)%>
<%~convert_nl_br%>
<%old_detailed_url($detailed_url)%>
<!DOCTYPE html >
<html lang="en">
<head>
<title><%Title%> - <%site_title_short%></title>
<%--Facebook Meta Tags--%>
<meta name="title" content="<%escape_html Title%>" />
<meta name="description" content="<%escape_html Description%>" />
<meta property="og:title" content="<%escape_html Title%>"/>
<meta name="og:description" content="<%escape_html Description%>" />
<meta property="og:site_name" content="<%site_title_short%>"/>
<meta property="og:type" content="article"/>
<meta property="og:url" content="<%detailed_url%>/<%http_detailed_url%>"/>
<meta property="fb:app_id" content="193269620735521"/>
<%--Twitter Meta Tags--%>
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@slowtwitch " />
<meta name="twitter:creator" content="@slowtwitch" />
<meta name="twitter:title" content="<%escape_html Title%>" />
<meta name="twitter:description" content="<%escape_html Description%>" />
<%~if Image1_thumbnail_path%>
<link rel="image_src" href="<%escape_html Image1_largest_path%>" / >
<meta property="og:image" content="<%escape_html Image1_largest_path%>"/>
<meta name="twitter:image" content="<%escape_html Image1_largest_path%>" />
<%~elsif Thumbnail_URL and Thumbnail_URL ne 'http://' %>
<link rel="image_src" href="<%Thumbnail_URL%>" / >
<meta property="og:image" content="<%Thumbnail_URL%>"/>
<meta name="twitter:image" content="<%Thumbnail_URL%>" />
<%else%>
<%~Plugins::ConvertVideo::get_file_path($ID, "thumbnail_file_field") %>
<%~if thumbnail_file_field_path%>
<link rel="image_src" href="<%thumbnail_file_field_path%>" / >
<meta property="og:image" content="<%thumbnail_file_field_path%>"/>
<meta name="twitter:image" content="<%thumbnail_file_field_path%>" />
<%~endif%>
<%~endif%>
<%~include include_common_head.html%>
</head>
<body id="detailed">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<%include include_breadcrumb.html%>
<section class="section article section-has-widgets section-reverse clearfix">
<div class="sidebar-b">
<%~set adsize = '300x250'%>
<%include include_ad.html%>
<div class="widget-spacer"></div>
<%~set widgets_loop = Plugins::UI::fetch_widgets('article')%>
<%~set widget_start = 1%><%set widget_end = 2%>
<%include include_widgets.html%>
</div>
<div class="content content-has-widgets">
<div class="grid">
<div class="clearfix">
<h1><%Title%></h1>
<div class="post-meta light-grey grid">
<%~if Contact_Name%>
<i class="icon sprite-slowtwitch"></i>
<%~if LinkOwner ine 'admin'%>
<span class="author"><a href="<%config.db_cgi_url%>/search.cgi?LinkOwner=<%LinkOwner%>"><%Contact_Name%></a></span>
<%~else%>
<span class="author"><%Contact_Name%></span>
<%~endif%>
<%~endif%>
<span class="time"><%Add_Date%></span>
</div>
<div class="grid article-content">
<div class="col-1-1">
<div class="content-divider-top"></div>
<%~if Link_Type eq 'article'%>
<%~include include_detailed_article.html%>
<%~elsif Link_Type eq 'photo' %>
<%~if slideshow%>
<%~include include_detailed_slideshow.html%>
<%~elsif is_old_article($Add_Date_orig)%>
<%~include include_detailed_old_photo.html%>
<%else%>
<%~include include_detailed_photo.html%>
<%~endif%>
<%~else%>
<%~include include_detailed_video.html%>
<%~endif%>
<div class="lnkactions">
<%~if user.Status eq 'Administrator'%>
<a href="<%config.db_cgi_url%>/modify.cgi?LinkID=<%ID%>">EDIT THIS ARTICLE</a>
<a href="<%config.db_cgi_url%>/feature.cgi">EDIT FEATURED LINKS</a>
<%~endif%>
<%if user.Status eq 'Editor' AND user.Status neq 'Administrator'%><a href="<%config.db_cgi_url%>/modify.cgi?LinkID=<%ID%>">EDIT THIS ARTICLE</a><%endif%>
<%if user.Status eq 'Administrator'%><a href="<%config.db_cgi_url%>/user.cgi?do=logout">Log Out</a><%endif%>
<%if config.bookmark_enabled%><a href="<%config.db_cgi_url%>/bookmark.cgi?action=link_add;ID=<%ID%>">Bookmark It</a><%endif%>
<%if isLinkOwner%><a href="<%config.db_cgi_url%>/modify.cgi?LinkID=<%ID%>">Edit this link</a><%endif%>
<%if paymentsEnabled%><a href="<%config.db_cgi_url%>/modify.cgi?do=payment_linked;process_payment=1;modify=1;ID=<%ID%>"><%if isUnpaid or isFree%>New Payment<%else%>Renewal Payment<%endif%></a><%endif%>
</div>
<%include include_share.html%>
<%include include_fb_comments.html%>
</div>
</div>
</div>
</div><!-- end grid -->
<div class="section-divider mobile"></div>
</div><!-- end content -->
</section>
<div class="section-divider"></div>
<section class="section related highlight-list clearfix remove-sidebar section-has-widgets">
<div class="sidebar-b">
<%~set adsize = '300x600'%>
<%include include_ad.html%>
</div>
<div class="content content-has-widgets">
<div class ="grid">
<%~if RelatedArticles%>
<h1>Related Articles</h1>
<%~old_related_articles($RelatedArticles, $ID)%>
<%~loop related_articles_loop%>
<%~if row_num > 3%><%lastloop%><%endif%>
<%~rewrite_detail_url%>
<%~set thumbnail_url = Plugins::UI::fetch_thumbnail($loop_value)%>
<div class="highlight col-4-12">
<a href="<%detailed_url%>">
<%~if thumbnail_url%>
<img src="<%thumbnail_url.medium%>" width="193" height="144" class="img-responsive"/>
<%~else%>
<img src="<%config.build_static_url%>/images/default_193x144.png" width="193" height="144" class="img-responsive"/>
<%~endif%>
</a>
<div class="info">
<h3><a href="<%detailed_url%>"><%Title%></a></h3>
<div class="post-meta light-grey"><%Add_Date%></div>
</div>
</div>
<%~set has_related_articles = 1%>
<%~endloop%>
<%~else%>
<%~loop 1..5%>
<%~set related_article = Plugins::UI::retrieve_param('Related_Article', $loop_value)%>
<%~if related_article%>
<div class="highlight col-4-12">
<%related_article%>
</div>
<%~set has_related_articles = 1%>
<%~endif%>
<%~endloop%>
<%~endif%>
</div>
</div>
</section>
<div class="clearfix"></div>
<section class="section advert-large hide-on-mobile">
<div class="content content-has-widgets">
<%~set adsize = '970x250'%>
<%include include_ad.html%>
</div>
</section>
</div><!-- End contentwrapper -->
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
</html>

19
site/articles/error.html Normal file
View File

@ -0,0 +1,19 @@
<%set error_message = $error~%>
<%set error = ''~%>
<html>
<head>
<title><%site_title%>: Error</title>
<%include include_common_head.html%>
</head>
<body id="error">
<h2>Error</h2>
<p>
Oops, we had the following problem:
</p>
<p>
<%error_message%>
</p>
</body>
</html>

View File

@ -0,0 +1,61 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><%site_title%>: Featured Links</title>
<%include include_common_head.html%>
</head>
<body id="add_success">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<div class="breadcrumb">
<%~set main_title_loop = Links::Build::build("title", "Featured Links")%>
<%Links::Utils::format_title($main_title_loop, separator => ' > ', no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%>
</div>
<div class="content"><%-- start content--%>
<h1>Featured Links</h1>
<form action="feature.cgi" method="post">
<input type="hidden" name="update" value="1">
<%if error%><p class="error"><%error%>
<%elsif message%><p class="message"><%message%><%endif%>
<div class="dtable form">
<div class="drow">
<label class="dcell name">Featured Article IDs*:</label>
<div class="dcell value">
<input type="text" name="article_1" value="<%if update%><%article_1%><%else%><%config.featured_articles.0%><%endif%>" class="txt smatext" placeholder="Article 1">
<input type="text" name="article_2" value="<%if update%><%article_2%><%else%><%config.featured_articles.1%><%endif%>" class="txt smatext" placeholder="Article 2">
<input type="text" name="article_3" value="<%if update%><%article_3%><%else%><%config.featured_articles.2%><%endif%>" class="txt smatext" placeholder="Article 3">
<input type="text" name="article_4" value="<%if update%><%article_4%><%else%><%config.featured_articles.3%><%endif%>" class="txt smatext" placeholder="Article 4">
</div>
</div>
<div class="drow">
<label class="dcell name">Featured Photo &amp; Video ID*:</label>
<div class="dcell value">
<input type="text" name="photo_1" value="<%if update%><%photo_1%><%else%><%config.featured_photos.0%><%endif%>" class="txt smatext" placeholder="Photo ID">
<input type="text" name="photo_2" value="<%if update%><%photo_2%><%else%><%config.featured_photos.1%><%endif%>" class="txt smatext" placeholder="Video ID">
</div>
</div>
<div class="drow actions">
<div class="dcell name"></div>
<div class="dcell value">
<input type="submit" name="update_submit" value="Update Features" class="btn" />
</div>
</div>
</div>
</form>
</div><%-- end content --%>
</div>
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
<%~include include_form.js%>
</html>

258
site/articles/home.html Normal file
View File

@ -0,0 +1,258 @@
<!DOCTYPE html >
<html lang="en">
<head>
<title><%site_title%></title>
<%include include_common_head.html%>
</head>
<body id="home">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<%~if $config.featured_articles%><%set featured_articles_loop = Plugins::UI::fetch_links(ids => $config.featured_articles)%><%endif%>
<%~if featured_articles_loop.length%>
<section class="section featured home">
<%loop featured_articles_loop%>
<%if row_num > 1%><%lastloop%><%endif%>
<%~rewrite_detail_url%>
<div class="home-featured grid">
<div class="col-1-2">
<a href="<%detailed_url%>">
<%~if thumbnail_url%>
<div class="crop-3"><img src="<%thumbnail_url.large || $thumbnail_url.medium%>" class="img-responsive"></div>
<%--
srcset="<%thumbnail_url.largest%> 620w, <%thumbnail_url.large%> 900w"
class="img-responsive">
--%>
<%~else%>
<img src="<%config.build_static_url%>/images/default_470x260.png">
<%~endif%>
</a>
</div>
<div class="col-1-2">
<div class="featured-hero">
<a href="<%URL%>" class="label label-category"><%escape_html Name%></a>
<h1><a href="<%detailed_url%>"><%Title%></a></h1>
<div class="excerpt">
<%shorten_it($Description, 150)%> <a href="<%detailed_url%>" class="readmore">Read &gt;</a>
</div>
<div class="post-meta light-grey">
<i class="icon sprite-slowtwitch"></i>
<span class="author">By <%Contact_Name%></span>
<span class="hide-on-mobile"> | </span>
<span class="time"><%Plugins::UI::friendly_date($Timestmp)%></span>
</div>
</div><!-- end featured-content -->
</div><!-- end col-6-12 -->
</div><!-- end grid grid-pad -->
<%~endloop%>
<!-- Latest Headlines -->
<div class="section-has-widgets remove-sidebar clearfix">
<div class="sidebar-b">
<%~set adsize = '300x600'%>
<%include include_ad.html%>
</div><!-- end sidebar -->
<div class="content content-has-sidebar">
<div class="grid">
<%~set skip_first = 1%><%~set show_ad = 4%><%set show_category = 1%>
<%include include_featured_articles.html%>
<%~set show_category = 0%>
</div>
</div><!-- end content -->
</div>
</section><!-- end section: featured articles -->
<div class="section-divider"></div>
<%~endif%>
<%~set widgets_loop = Plugins::UI::fetch_widgets('home')%>
<section class="section section-has-widgets list clearfix latest-headlines section-reverse">
<div class="sidebar-b">
<%~set widget_start = 1%><%set widget_end = 3%>
<%include include_widgets.html%>
</div>
<div class="content content-has-widgets">
<div class="grid">
<!-- latest articles -->
<div class="list-column col-6-12 show-3">
<h1>Latest Headlines</h1>
<%~set latest_news = Plugins::UI::fetch_links(type => 'news', max_hits => 6)%>
<%~set list_view = 'latest'%>
<%~if latest_news.length%>
<%~loop latest_news%>
<%include link.html%>
<%~endloop%>
<%~endif%>
</div>
<!-- latest techs -->
<%~set latest_tech = Plugins::UI::fetch_links(type => 'editorial', max_hits => 3)%>
<%~set list_view = 'latest'%>
<%~if latest_tech.length%>
<div class="list-column col-6-12">
<%~set adsize = '300x250_1'%>
<%include include_ad.html%>
<h1>Latest Tech</h1>
<%~loop latest_tech%>
<%include link.html%>
<%~endloop%>
</div><!-- end .list-column -->
<%~endif%>
</div><!-- end grid -->
<div class="section-divider mobile"></div>
</div><!-- end content -->
</section><!-- end section -->
<div class="section-divider"></div>
<%-- Featured photo & video section --%>
<%~if $config.featured_photos%><%set featured_photo_video_loop = Plugins::UI::fetch_links(ids => $config.featured_photos)%><%endif%>
<%~if featured_photo_video_loop.length%>
<section class="section section-has-widgets clearfix featured-photo-video section-reverse">
<div class="sidebar-b">
<%~set adsize = '300x250_1'%>
<%include include_ad.html%>
</div>
<div class="content content-has-widgets">
<div class="grid">
<%~loop featured_photo_video_loop%>
<%~rewrite_detail_url%>
<div class="featured-content col-6-12">
<div class="widget widget-fullwidth center">
<h2><%if Link_Type eq 'photo'%>Photos<%else%>Video<%endif%></h2>
<a href="<%URL%>" class="label label-category"><%escape_html Name%></a>
<br/><br/>
<%if Link_Type eq 'video'%>
<a href="<%detailed_url%>" class="video-thumb">
<%~if thumbnail_url%>
<div class="crop-2"><img class="img-responsive" src="<%$thumbnail_url.large || $thumbnail_url.medium || $thumbnail_url.small%>" /></div>
<%~else%>
<img class="img-responsive" width="300" height="166" src="<%config.build_static_url%>/images/default_300x166.png" />
<%~endif%>
<i class="sprite-video-play"></i>
<div class="excerpt"><%Contact_Name%></div>
</a>
<%~else%>
<a href="<%detailed_url%>">
<%~if thumbnail_url%>
<div class="crop-2"><img class="img-responsive" src="<%$thumbnail_url.large || $thumbnail_url.medium || $thumbnail_url.small%>" /></div>
<%~else%>
<img class="img-responsive" width="300" height="166" src="<%config.build_static_url%>/images/default_300x166.png" />
<%~endif%>
<div class="excerpt">More <%Contact_Name%> pictures</div>
</a>
<%~endif%>
</div>
</div>
<%~endloop%>
</div><!-- end grid -->
</div><!-- end content -->
</section><!-- end section -->
<div class="section-divider"></div>
<%~endif%>
<%-- Begin Inside Track --%>
<%~set interviews = Plugins::UI::fetch_links(category => 7, max_hits => 6)%>
<%~if interviews.length%>
<section class="section highlight-list section-has-widgets clearfix section-reverse">
<div class="sidebar-b">
<%~set widget_start = 4%><%set widget_end = 5%>
<%include include_widgets.html%>
</div>
<div class="content content-has-widgets">
<div class="grid">
<div class="clearfix">
<div class="center">
<h1>Inside Track</h1>
<a href="<%interviews.0.URL%>" class="label label-category">Interviews</a>
</div>
<div class="clearfix"></div>
<br/>
<div class="grid content-has-widgets">
<%~loop interviews%>
<div class="highlight col-4-12">
<a href="<%detailed_url%>">
<%~if thumbnail_url%>
<div class="crop"><img src="<%thumbnail_url.medium%>" class="img-responsive" /></div>
<%~else%>
<img src="<%config.build_static_url%>/images/default_193x144.png" class="img-responsive" width="193" height="144" />
<%~endif%>
</a>
<div class="info">
<h3><a href="<%detailed_url%>"><%escape_html Title%></a></h3>
<span class="post-meta light-grey"><%Plugins::UI::friendly_date($Add_Date, $Timestmp)%></span>
</div>
</div>
<%if row_num == 3%><div class="clearall"></div><%endif%>
<%~endloop%>
<div class="more col-1-1 center">
<a href="<%interviews.0.URL%>" class="btn btn-more">More Interviews</a>
</div>
</div>
</div>
</div> <!-- end grid -->
<div class="section-divider mobile"></div>
</div>
</section>
<div class="section-divider"></div>
<%~endif%>
<%-- End Inside Track --%>
<%-- Begin Featured Articles --%>
<%~set features = Plugins::UI::fetch_links(category => 9, max_hits => 12)%>
<%~if features.length%>
<section class="section list section-has-widgets clearfix latest-headlines section-reverse">
<div class="sidebar-b">
<%~set widget_start = 6%><%set widget_end = 0%>
<%include include_widgets.html%>
</div>
<div class="content content-has-widgets">
<div class="grid">
<div class="list-column col-1-1 show-6">
<!-- articles -->
<h1>Feature Articles</h1>
<%~set list_view = 'column'%>
<%~loop features%>
<%include link.html%>
<%~endloop%>
<div class="more col-1-1 center">
<a href="<%features.0.URL%>" class="btn btn-more">More Features</a>
</div>
</div><!-- end .list-column -->
</div>
<div class="section-divider mobile"></div>
</div>
</section>
<%~endif%>
<%-- End Featured Articles --%>
<section class="section advert-large">
<div class="content content-has-widgets">
<%~set adsize = '970x250'%>
<%include include_ad.html%>
</div>
</section>
<div class="section-divider mobile tablet"></div>
</div><!-- End contentwrapper -->
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
</html>

View File

@ -0,0 +1,28 @@
<%~if adsize eq '300x600'%>
<div class="ad">
<script type="text/javascript">
if (winWidth > 1024) { document.write('<div class="adwrapper">' + "<%escape_js ad_300x600%>" + '</div>'); }
else { document.write('<div class="adwrapper">' + "<%escape_js ad_300x250_1%>" + '</div>'); }
</script>
</div>
<%~elsif adsize eq '970x250'%>
<div class="ad">
<script type="text/javascript">
if (winWidth > 1024) { document.write('<div class="adwrapper">' + "<%escape_js ad_970x250%>" + '</div>'); }
</script>
</div>
<%~elsif adsize eq '728x90' and $ad_728x90%>
<div class="ad">
<script type="text/javascript">
if (winWidth >= 767) { document.write('<div class="adwrapper">' + "<%escape_js ad_728x90%>" + '</div>'); }
</script>
</div>
<%~elsif adsize eq '300x250_1'%>
<script type="text/javascript">
document.write('<div class="adwrapper">' + "<%escape_js ad_300x250_1%>" + '</div>');
</script>
<%~elsif adsize eq '300x250'%>
<script type="text/javascript">
document.write('<div class="adwrapper">' + "<%escape_js ad_300x250%>" + '</div>');
</script>
<%~endif%>

View File

@ -0,0 +1,13 @@
<div class="breadcrumb">
<%~if Link_Type ieq 'photo' and $slideshow%>
<%set mode = 'photo'%>
<%~elsif Link_Type ieq 'video'%>
<%set mode = 'video'%>
<%~endif%>
<%~if title_loop%>
<%~ set breadcrumbs_loop = Plugins::UI::rewrite_breadcrumbs($title_loop, $mode)%>
<%~else%>
<%~ set breadcrumbs_loop = Plugins::UI::rewrite_breadcrumbs($main_title_loop, $mode)%>
<%~endif%>
<%Links::Utils::format_title($breadcrumbs_loop, separator => ' > ', no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%>
</div>

View File

@ -0,0 +1,25 @@
<%~set latest_links = Plugins::UI::fetch_links(category => $ID, max_hits => 3)%>
<%~if latest_links.length%>
<div class="cat-view grid">
<div class="thumb col-1-2">
<%~if latest_links.length and $latest_links.0.thumbnail_url%>
<a href="<%latest_links.0.detailed_url%>"><img class="img-responsive" width="300" height="166" src="<%latest_links.0.thumbnail_url.medium%>"/></a>
<%~else%>
<img src="<%config.build_static_url%>/images/default_300x166.png" width="300" height="166" class="img-responsive" />
<%~endif%>
</div>
<div class="detail col-1-2">
<a class="label label-category" href="<%URL%>"><%escape_html Name%></a>
<%~if latest_links.length%>
<ul class="liststyle">
<%~loop latest_links%>
<li><a href="<%detailed_url%>"><%escape_html Title%></a> <span class="post-meta light-grey"><%Plugins::UI::friendly_date($Add_Date, $Timestmp)%></span><%if isNew%> <span class="new">New</span><%endif%></li>
<%~endloop%>
</ul>
<%~endif%>
<div class="more col-1-1 right">
<a href="<%URL%>" class="btn btn-more">More</a>
</div>
</div>
</div>
<%~endif%>

View File

@ -0,0 +1,6 @@
<%~set minify = $config.minify || 0%>
<%include include_global_head.html%>
<%google_analytics%>
<%ga_link_tracker%>
<%comscore%>
<%quantcast%>

View File

@ -0,0 +1,12 @@
<div class="detail_text clearfix <%Link_Type%>">
<%~loop 1 .. 16%>
<%~set paragraph = Plugins::UI::retrieve_param('Paragraph', $loop_value)%>
<%~set image_path = Plugins::UI::retrieve_param("Image_largest_path", $loop_value)%>
<%~if image_path%><img src="<%image_path%>" class="img-responsive" /><%endif%>
<%~if paragraph%>
<p><%paragraph%></p>
<%~endif%>
<%~endloop%>
</div>

View File

@ -0,0 +1,22 @@
<div class="detail_text"i>
<p><%Paragraph1%></p>
<%~set count = 0%>
<%~loop 1 .. 20%>
<%~set count += 1%>
<%~set image_path = Plugins::UI::retrieve_param("Image_largest_path", $loop_value)%>
<%~set description = Plugins::UI::retrieve_param('Image_description', $loop_value)%>
<%~if description%>
<p><%description%></p>
<%~endif%>
<%~if image_path%>
<p>
<img src="<%image_path%>" class="img-responsive" />
</p>
<%~if count == 1%>
<div class="clearfix">
<a href="<%Plugins::UI::slideshow_url($detailed_url)%>" class="float-right uppercase">Slideshow<i class="sprite-gallery"></i></a>
</div>
<%~endif%>
<%~endif%>
<%~endloop%>
</div>

View File

@ -0,0 +1,22 @@
<div class="detail_text"i>
<p><%Paragraph1%></p>
<%~set count = 0%>
<%~loop 1 .. 20%>
<%~set count += 1%>
<%~set image_path = Plugins::UI::retrieve_param("Image_largest_path", $loop_value)%>
<%~set description = Plugins::UI::retrieve_param('Image_description', $loop_value)%>
<%~if image_path%>
<p>
<img src="<%image_path%>" class="img-responsive" />
</p>
<%~if count == 1%>
<div class="clearfix">
<a href="<%Plugins::UI::slideshow_url($detailed_url)%>" class="float-right uppercase">Slideshow<i class="sprite-gallery"></i></a>
</div>
<%~endif%>
<%~endif%>
<%~if description%>
<p><%description%></p>
<%~endif%>
<%~endloop%>
</div>

View File

@ -0,0 +1,53 @@
<%~init array photos_loop%>
<%~set index = 0%>
<%~loop 1 .. 20%>
<%~set image_path = Plugins::UI::retrieve_param("Image_largest_path", $loop_value)%>
<%~set image_caption = Plugins::UI::retrieve_param('Image_description', $loop_value)%>
<%~set thumbnail_path = Plugins::UI::retrieve_param("Image_thumbnail_path", $loop_value)%>
<%~if image_path%>
<%~init hash image%><%set image.path = $image_path%><%set image.caption = $image_caption%><%set image.thumb = $thumbnail_path%>
<%~set photos_loop.$index = $image%>
<%~set index += 1%>
<%~endif%>
<%~endloop%>
<div class="swiper-container swiper-content" style="position: relative">
<div class="swiper-wrapper">
<%~loop photos_loop%>
<div class="swiper-slide">
<div class="swiper-holder">
<img src="<%path%>" class="img-responsive" />
<div class="index italic right"><%row_num%> of <%photos_loop.length%> photo<%if photos_loop.length > 1%>s<%endif%></div>
<%~if $photos_loop.length%>
<div class="slideshow-controller mobile">
<div class="btn btn-prev">&lt;</div>
<div class="btn btn-next">&gt;</div>
</div>
<%~endif%>
</div>
<div class="caption">
<%caption || ''%>
</div>
</div>
<%~endloop%>
</div>
</div>
<%~if photos_loop.length%>
<div class="slideshow-controller">
<div class="btn btn-prev">PREV</div>
<div class="btn btn-next">NEXT</div>
<div class="index italic right"><span>1</span> of <%photos_loop.length%> photo<%if photos_loop.length > 1%>s<%endif%></div>
</div>
<div class="swiper-container swiper-nav">
<div class="swiper-wrapper">
<%~loop photos_loop%>
<div class="swiper-slide<%if row_num == 1%> active-nav<%endif%>"><img src="<%thumb%>" width="107" height="80" /></div>
<%~endloop%>
</div>
<div class="swiper-button-next swiper-button"> &gt; </div>
<div class="swiper-button-prev swiper-button"> &lt; </div>
</div>
<%~endif%>
<!-- end Slider -->

View File

@ -0,0 +1,29 @@
<%~if URL and URL ne 'http://' %><%set video = $URL%><%endif%>
<%~if Image_URL and Image_URL ne 'http://' %><%set image = $Image_URL%><%endif%>
<%~if video%>
<%~if not image%>
<%~Plugins::ConvertVideo::get_file_path($ID, "image_file_field") %>
<%~set image = $image_file_field_path %>
<%~endif %>
<%~if not video%>
<%~Plugins::ConvertVideo::get_file_path($ID, "flash_file_field") %>
<%~set video = $flash_file_field_path %>
<%~endif%>
<%~Plugins::ConvertVideo::get_flash_dimension() %>
<script type="text/javascript" src="<%config.build_root_url%>/videos/static/swfobject.js"></script>
<div id="player"><a href="<%video%>" style="display:block;width:<%video_width%>px;height:<%video_height%>px"></a></div>
<script type="text/javascript">
var so = new SWFObject('<%config.build_root_url%>/videos/static/mediaplayer.swf', 'mpl', '<%video_width%>', '<%video_height%>', '8');
so.addParam('allowscriptaccess', 'always');
so.addParam('allowfullscreen', 'true');
so.addParam('wmode', 'transparent');
so.addVariable('height', '331');
so.addVariable('width', '400');
so.addVariable("file", "<%video%>");
<%~if image%>so.addVariable("image", "<%image%>"); <%endif%>
so.write('player');
</script>
<%~endif%>
<div class="detail_text">
<%Paragraph1 || ''%>
</div>

View File

@ -0,0 +1,9 @@
<div class="content-divider-bottom"></div>
<div class="fb-comments" data-href="<%http_detailed_url%>" data-width="620" data-num-posts="5"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=193269620735521";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

View File

@ -0,0 +1,18 @@
<div class="featured-wrapper">
<%~set list_view = 'featured'%>
<%~set row_index = 0%>
<%~loop featured_articles_loop%>
<%~if skip_first%><%if row_num == 1%><%nextloop%><%endif%><%elsif row_num > 3%><%lastloop%><%endif%>
<%if get_thumbnail_url%>
<%~set thumbnail_url = Plugins::UI::fetch_thumbnail($loop_value)%>
<%~endif%>
<%~if row_num == $show_ad%>
<div class="featured-content col-6-12">
<%~set adsize = '300x250'%>
<%~include include_ad.html%>
</div>
<%~endif%>
<%~set row_index += 1%>
<%include link.html%>
<%~endloop%>
</div>

View File

@ -0,0 +1,47 @@
<%~if $config.featured_photos%><%set featured_photo_video_loop = Plugins::UI::fetch_links(ids => $config.featured_photos)%><%endif%>
<%~if featured_photo_video_loop.length%>
<section class="section section-has-widgets clearfix featured-photo-video section-reverse">
<div class="sidebar-b">
<%~set adsize = '300x250_1'%>
<%include include_ad.html%>
</div>
<div class="content content-has-widgets">
<div class="grid">
<%~loop featured_photo_video_loop%>
<%~rewrite_detail_url%>
<div class="featured-content col-6-12">
<div class="widget widget-fullwidth center">
<h2><%if Link_Type eq 'photo'%>Photos<%else%>Video<%endif%></h2>
<a href="<%URL%>" class="label label-category"><%escape_html Name%></a>
<br/><br/>
<%if Link_Type eq 'video'%>
<a href="<%detailed_url%>" class="video-thumb">
<%~if thumbnail_url%>
<div class="crop-2"><img class="img-responsive" src="<%$thumbnail_url.large || $thumbnail_url.medium || $thumbnail_url.small%>" /></div>
<%~else%>
<img class="img-responsive" width="300" height="166" src="<%config.build_static_url%>/images/default_300x166.png" />
<%~endif%>
<i class="sprite-video-play"></i>
<div class="excerpt"><%Contact_Name%></div>
</a>
<%~else%>
<a href="<%detailed_url%>">
<%~if thumbnail_url%>
<div class="crop-2"><img class="img-responsive" src="<%$thumbnail_url.large || $thumbnail_url.medium || $thumbnail_url.small%>" /></div>
<%~else%>
<img class="img-responsive" width="300" height="166" src="<%config.build_static_url%>/images/default_300x166.png" />
<%~endif%>
<div class="excerpt">More <%Contact_Name%> pictures</div>
</a>
<%~endif%>
</div>
</div>
<%~endloop%>
</div><!-- end grid -->
</div><!-- end content -->
</section><!-- end section -->
<div class="section-divider"></div>
<%~endif%>

View File

@ -0,0 +1,174 @@
<%~if user.Status eq 'Administrator'%>
<div class="drow required">
<div for="Title" class="dcell name">Featured Link:</div>
<div class="dcell value">
<%~if in.modify%>
<%~set featured_article = $in.featured_article%>
<%~set featured_photo = $in.featured_photo%>
<%~elsif $ID%>
<%~set featured_article = Plugins::UI::is_featured('article', $ID)%>
<%~set featured_photo = Plugins::UI::is_featured('photo', $ID)%>
<%~endif%>
<input type="checkbox" id="featured_article" name="featured_article" value="1"<%if featured_article%> checked<%endif%>><label for="featured_article">Article</label>
<input type="checkbox" id="featured_photo" name="featured_photo" value="1"<%if featured_photo%> checked<%endif%>><label for="featured_photo">Photo/Video</label>
</div>
</div>
<%~endif%>
<div class="drow required">
<div for="Title" class="dcell name">Tag:</div>
<div class="dcell value">
<input type="checkbox" id="tag_swim" name="tag_swim" value="1"<%if tag_swim%> checked<%endif%>><label for="tag_swim">Swim</label>
<input type="checkbox" id="tag_bike" name="tag_bike" value="1"<%if tag_bike%> checked<%endif%>><label for="tag_bike">Bike</label>
<input type="checkbox" id="tag_run" name="tag_run" value="1"<%if tag_run%> checked<%endif%>><label for="tag_run">Run</label>
</div>
</div>
<div class="drow required">
<div for="Title" class="dcell name">Title: <span>*</span></div>
<div class="dcell value">
<input type="text" id="Title" name="Title" value="<%if Title%><%escape_html Title%><%endif%>" class="txt midtext" />
</div>
</div>
<div class="drow<%unless category_loop_selected%> required<%endunless%>">
<div for="CatLinks.CategoryID" class="dcell name">Category:<%unless category_loop_selected%> <span>*</span><%endunless%></div>
<div class="value wrappedtext">
<%~if config.db_gen_category_list == 2%>
<script type="text/javascript" src="<%config.build_static_url%>/treecats.js"></script>
<%~set selected_cats = Links::Tools::category_list_selected%>
<%~loop selected_cats%>
<input type="hidden" name="CatLinks.CategoryID" value="<%escape_html ID%>" />
<%~endloop%>
<noscript>
<ul class="categories">
<%~loop selected_cats%>
<li><%Full_Name%></li>
<%~endloop%>
<%~if not selected_cats.length%>
<li><%Links::language('ADD_SELCAT')%></li>
<%~endif%>
</ul>
</noscript>
<div id="treecats"></div>
<script type="text/javascript">
var tc = new treecats({ selectionMode : 'multiple', cgiURL : '<%config.db_cgi_url%>', imageURL : '<%config.build_static_url%>/images' });
tc.load();
</script>
<%~elsif category_loop_selected%>
<%~if category_loop.length > 1%>
<ul class="categories"><%loop category_loop%><li><%Full_Name%><input type="hidden" name="CatLinks.CategoryID" value="<%escape_html ID%>" /></li><%endloop%></ul>
<%~else%>
<%loop category_loop%><%Full_Name%><input type="hidden" name="CatLinks.CategoryID" value="<%escape_html ID%>" /><%endloop%>
<%~endif%>
<%~else%>
<select id="CatLinks.CategoryID" name="CatLinks.CategoryID">
<%~loop category_loop%>
<option value="<%escape_html ID%>"<%if selected%> selected="selected"<%endif%>><%'&nbsp;&nbsp;' x $CatDepth%><%Name%></option>
<%~endloop%>
</select>
<%~endif%>
</div>
</div>
<div class="drow required">
<div for="Type" class="dcell name">Type: <span>*</span></div>
<div class="dcell value">
<select name="Type" id="Type">
<option value="editorial"<%if Type eq 'editorial'%> selected<%endif%>>Latest Tech</option>
<option value="news"<%if Type eq 'news'%> selected<%endif%>>Latest Headlines</option>
</select>
</div>
</div>
<div class="drow required">
<div for="Link_Type" class="dcell name">Link Type: <span>*</span></div>
<div class="dcell value">
<% if modify and Link_Type%>
<input type="hidden" id="Link_Type" name="Link_Type" value="<%Link_Type%>">
<%if Link_Type eq 'photo'%>Photo Gallery<%elseif Link_Type eq 'video'%>Video<%else%>Article<%endif%>
<% else %>
<select name="Link_Type" id="Link_Type">
<option value="article"<%if Link_Type eq 'article'%> selected<%endif%>>Article</option>
<option value="photo"<%if Link_Type eq 'photo'%> selected<%endif%>>Photo Gallery</option>
<option value="video"<%if Link_Type eq 'video'%> selected<%endif%>>Video</option>
</select>
<% endif%>
</div>
</div>
<div class="drow">
<div for="Description" class="dcell name">Description:</div>
<div class="dcell value">
<textarea id="Description" name="Description" rows="3" class="txt midtext"><%if Description%><%escape_html Description%><%endif%></textarea>
</div>
</div>
<div class="drow">
<div for="Contact_Name" class="dcell name">Contact Name:</div>
<div class="dcell value">
<input type="text" id="Contact_Name" name="Contact_Name" value="<%if Contact_Name%><%escape_html Contact_Name%><%endif%>" class="txt midtext" />
</div>
</div>
<div class="drow">
<div for="Contact_Email" class="dcell name">Contact E-mail:</div>
<div class="dcell value">
<input type="text" id="Contact_Email" name="Contact_Email" value="<%if Contact_Email%><%escape_html Contact_Email%><%endif%>" class="txt midtext" />
</div>
</div>
<div class="drow">
<div for="Add_Date" class="dcell name">Add Date: </div>
<div class="dcell value">
<input type="text" id="Add_Date" name="Add_Date" value="<%if Add_Date%><%escape_html Add_Date%><%endif%>" class="txt" />
</div>
</div>
<div class="drow">
<div for="Mod_Date" class="dcell name">Mod Date: </div>
<div class="dcell value">
<input type="text" id="Mod_Date" name="Mod_Date" value="<%if Mod_Date%><%escape_html Mod_Date%><%endif%>" class="txt" />
</div>
</div>
<div id='photo_body' class="drow"<%if Link_Type ne 'photo' and Link_Type ne 'video' %> style="display:none"<% endif %>>
<div for="Main_Body" class="dcell name">Main Body:</div>
<div class="dcell value">
<textarea id="Main_Body" name="Main_Body" class="txt midtext" rows="3" ><%if Paragraph1%><%escape_html Paragraph1%><%endif%></textarea>
</div>
</div>
<div class="dbody" id='video_form'<%if Link_Type ne 'video'%> style="display:none"<%endif%>>
<% include include_form_video.html %>
</div>
<div class="dbody" id='article_photo_form'<%if Link_Type eq 'video'%> style="display:none"<%endif%>>
<% include include_form_article_photo.html %>
</div>
<div class="drow">
<div for="RelatedArticles" class="dcell name">Related Article IDs:<br />One per line</div>
<div class="dcell value">
<textarea id="RelatedArticles" name="RelatedArticles" rows="3" class="txt midtext"><%if RelatedArticles%><%escape_html RelatedArticles%><%endif%></textarea>
</div>
</div>
<%--
<div class="drow">
<div for="Related_Article1" class="dcell name">Related Article #1:</div>
<div class="dcell value">
<input type="text" id="Related_Article1" name="Related_Article1" value="<%if Related_Article1%><%escape_html Related_Article1%><%endif%>" class="txt midtext" />
</div>
</div>
<div class="drow">
<div for="Related_Article2" class="dcell name">Related Article #2:</div>
<div class="dcell value">
<input type="text" id="Related_Article2" name="Related_Article2" value="<%if Related_Article2%><%escape_html Related_Article2%><%endif%>" class="txt midtext" />
</div>
</div>
<div class="drow">
<div for="Related_Article3" class="dcell name">Related Article #3:</div>
<div class="dcell value">
<input type="text" id="Related_Article3" name="Related_Article3" value="<%if Related_Article3%><%escape_html Related_Article3%><%endif%>" class="txt midtext" />
</div>
</div>
<div class="drow">
<div for="Related_Article4" class="dcell name">Related Article #4:</div>
<div class="dcell value">
<input type="text" id="Related_Article4" name="Related_Article4" value="<%if Related_Article4%><%escape_html Related_Article4%><%endif%>" class="txt midtext" />
</div>
</div>
<div class="drow">
<div for="Related_Article5" class="dcell name">Related Article #5:</div>
<div class="dcell value">
<input type="text" id="Related_Article5" name="Related_Article5" value="<%if Related_Article5%><%escape_html Related_Article5%><%endif%>" class="txt midtext" />
</div>
</div>
--%>

View File

@ -0,0 +1,281 @@
<% set show_photo = 0 %>
<% if Link_Type eq 'photo' %>
<% set show_photo = 1 %>
<% endif %>
<div id='article_has_video' class="drow"<%if show_photo %> style="display:none"<% endif %>>
<div for="hasVideo" class="dcell name">Does this article have a video embedded?</div>
<div class="dcell value">
<select name="hasVideo" id="hasVideo">
<option value="Yes"<%if hasVideo eq 'Yes'%> selected<%endif%>>Yes</option>
<option value="No"<%ifnot hasVideo eq 'Yes'%> selected<%endif%>>No</option>
</select>
</div>
</div>
<input type="hidden" name="showLargePic" value="Yes">
<%--
<div id='photo_large_pic' class="drow"<%if not show_photo %> style="display:none"<% endif %>>
<div for="showLargePic" class="dcell name">Use Large Pictures Template?</div>
<div class="dcell value">
<select name="showLargePic" id="showLargePic">
<option value="Yes"<%if showLargePic eq 'Yes'%> selected<%endif%>>Yes</option>
<option value="No"<%ifnot showLargePic eq 'Yes'%> selected<%endif%>>No</option>
</select>
</div>
</div>
--%>
<%loop 1 .. 20%>
<%~set image_context = get_image_context($loop_value)%>
<div class="drow" id='photo<%loop_value%>' <%if not show_photo %> style="display:none"<% endif %>>
<div class="dcell name" for="Image1_description">Description for Image #<%loop_value%>:</div>
<div class="dcell value">
<textarea id="Image<%loop_value%>_description" name="Image<%loop_value%>_description" rows="3" class="txt midtext"><%escape_html image_context.description%></textarea>
</div>
</div>
<div class="drow" id='article<%loop_value%>'<%if show_photo %> style="display:none"<% endif %>>
<div for="Paragraph1" class="dcell name">Paragraph #<%loop_value%>:</div>
<div class="dcell value">
<textarea id="Paragraph<%loop_value%>" name="Paragraph<%loop_value%>" rows="3" class="txt midtext"><%escape_html image_context.paragraph%></textarea>
</div>
</div>
<div class="drow form_image">
<div class="dcell name">Image #<%loop_value%></div>
<div class="dcell value">
<input type="file" name="Image<%loop_value%>" />
</div>
</div>
<%~endloop%>
<%--
<div class="drow">
<div class="form_left form_image">
Image #2: <input type="file" name="Image2" />
</div>
<div class="form_right" id='photo2' <%if not show_photo %> style="display:none"<% endif %>>
<div for="Image2_description">Description for Image #2:</div>
<textarea id="Image2_description" name="Image2_description" rows="3" cols="25"><%if Image2_description%><%escape_html Image2_description%><%endif%></textarea>
</div>
<div class="form_right" id='article2' <%if show_photo %> style="display:none"<% endif %>>
<div for="Paragraph2" class="dcell name">Paragraph #2:</div>
<textarea id="Paragraph2" name="Paragraph2" rows="3" cols="25"><%if Paragraph2%><%escape_html Paragraph2%><%endif%></textarea>
</div>
</div>
<div class="drow">
<div class="form_left" id='photo3' <%if not show_photo %> style="display:none"<% endif %>>
<div for="Image3_description">Description for Image #3:</div>
<textarea id="Image3_description" name="Image3_description" rows="3" cols="25"><%if Image3_description%><%escape_html Image3_description%><%endif%></textarea>
</div>
<div class="form_left" id='article3' <%if show_photo %> style="display:none"<% endif %>>
<div for="Paragraph3" class="dcell name">Paragraph #3:</div>
<textarea id="Paragraph3" name="Paragraph3" rows="3" cols="25"><%if Paragraph3%><%escape_html Paragraph3%><%endif%></textarea>
</div>
<div class="form_right form_image">
Image #3: <input type="file" name="Image3" />
</div>
</div>
<div class="drow">
<div class="form_left form_image">
Image #4: <input type="file" name="Image4" />
</div>
<div class="form_right" id='photo4' <%if not show_photo %> style="display:none"<% endif %>>
<div for="Image4_description">Description for Image #4:</div>
<textarea id="Image4_description" name="Image4_description" rows="3" cols="25"><%if Image4_description%><%escape_html Image4_description%><%endif%></textarea>
</div>
<div class="form_right" id='article4' <%if show_photo %> style="display:none"<% endif %>>
<div for="Paragraph4" class="dcell name">Paragraph #4:</div>
<textarea id="Paragraph4" name="Paragraph4" rows="3" cols="25"><%if Paragraph4%><%escape_html Paragraph4%><%endif%></textarea>
</div>
</div>
<div class="drow">
<div class="form_left" id='photo5' <%if not show_photo %> style="display:none"<% endif %>>
<div for="Image5_description">Description for Image #5:</div>
<textarea id="Image5_description" name="Image5_description" rows="3" cols="25"><%if Image5_description%><%escape_html Image5_description%><%endif%></textarea>
</div>
<div class="form_left" id='article5' <%if show_photo %> style="display:none"<% endif %>>
<div for="Paragraph5" class="dcell name">Paragraph #5:</div>
<textarea id="Paragraph5" name="Paragraph5" rows="3" cols="25"><%if Paragraph5%><%escape_html Paragraph5%><%endif%></textarea>
</div>
<div class="form_right form_image">
Image #5: <input type="file" name="Image5" />
</div>
</div>
<div class="drow">
<div class="form_left form_image">
Image #6: <input type="file" name="Image6" />
</div>
<div class="form_right" id='photo6' <%if not show_photo %> style="display:none"<% endif %>>
<div for="Image6_description">Description for Image #6:</div>
<textarea id="Image6_description" name="Image6_description" rows="3" cols="25"><%if Image6_description%><%escape_html Image6_description%><%endif%></textarea>
</div>
<div class="form_right" id='article6' <%if show_photo %> style="display:none"<% endif %>>
<div for="Paragraph6" class="dcell name">Paragraph #6:</div>
<textarea id="Paragraph6" name="Paragraph6" rows="3" cols="25"><%if Paragraph6%><%escape_html Paragraph6%><%endif%></textarea>
</div>
</div>
<div class="drow">
<div class="form_left" id='photo7' <%if not show_photo %> style="display:none"<% endif %>>
<div for="Image7_description">Description for Image #7:</div>
<textarea id="Image7_description" name="Image7_description" rows="3" cols="25"><%if Image7_description%><%escape_html Image7_description%><%endif%></textarea>
</div>
<div class="form_left" id='article7' <%if show_photo %> style="display:none"<% endif %>>
<div for="Paragraph7" class="dcell name">Paragraph #7:</div>
<textarea id="Paragraph7" name="Paragraph7" rows="3" cols="25"><%if Paragraph7%><%escape_html Paragraph7%><%endif%></textarea>
</div>
<div class="form_right form_image">
Image #7: <input type="file" name="Image7" />
</div>
</div>
<div class="drow">
<div class="form_left form_image">
Image #8: <input type="file" name="Image8" />
</div>
<div class="form_right" id='photo8' <%if not show_photo %> style="display:none"<% endif %>>
<div for="Image8_description">Description for Image #8:</div>
<textarea id="Image8_description" name="Image8_description" rows="3" cols="25"><%if Image8_description%><%escape_html Image8_description%><%endif%></textarea>
</div>
<div class="form_right" id='article8' <%if show_photo %> style="display:none"<% endif %>>
<div for="Paragraph8" class="dcell name">Paragraph #8:</div>
<textarea id="Paragraph8" name="Paragraph8" rows="3" cols="25"><%if Paragraph8%><%escape_html Paragraph8%><%endif%></textarea>
</div>
</div>
<div class="drow">
<div class="form_left" id='photo9' <%if not show_photo %> style="display:none"<% endif %>>
<div for="Image9_description">Description for Image #9:</div>
<textarea id="Image9_description" name="Image9_description" rows="3" cols="25"><%if Image9_description%><%escape_html Image9_description%><%endif%></textarea>
</div>
<div class="form_left" id='article9' <%if show_photo %> style="display:none"<% endif %>>
<div for="Paragraph9" class="dcell name">Paragraph #9:</div>
<textarea id="Paragraph9" name="Paragraph9" rows="3" cols="25"><%if Paragraph9%><%escape_html Paragraph9%><%endif%></textarea>
</div>
<div class="form_right form_image">
Image #9: <input type="file" name="Image9" />
</div>
</div>
<div class="drow">
<div class="form_left form_image">
Image #10: <input type="file" name="Image10" />
</div>
<div class="form_right" id='photo10' <%if not show_photo %> style="display:none"<% endif %>>
<div for="Image10_description">Description for Image #10:</div>
<textarea id="Image10_description" name="Image10_description" rows="3" cols="25"><%if Image10_description%><%escape_html Image10_description%><%endif%></textarea>
</div>
<div class="form_right" id='article10' <%if show_photo %> style="display:none"<% endif %>>
<div for="Paragraph10" class="dcell name">Paragraph #10:</div>
<textarea id="Paragraph10" name="Paragraph10" rows="3" cols="25"><%if Paragraph10%><%escape_html Paragraph10%><%endif%></textarea>
</div>
</div>
<div class="drow">
<div class="form_left" id='photo11' <%if not show_photo %> style="display:none"<% endif %>>
<div for="Image11_description">Description for Image #11:</div>
<textarea id="Image11_description" name="Image11_description" rows="3" cols="25"><%if Image11_description%><%escape_html Image11_description%><%endif%></textarea>
</div>
<div class="form_left" id='article11' <%if show_photo %> style="display:none"<% endif %>>
<div for="Paragraph11" class="dcell name">Paragraph #11:</div>
<textarea id="Paragraph11" name="Paragraph11" rows="3" cols="25"><%if Paragraph11%><%escape_html Paragraph11%><%endif%></textarea>
</div>
<div class="form_right form_image">
Image #11: <input type="file" name="Image11" />
</div>
</div>
<div class="drow">
<div class="form_left form_image">
Image #12: <input type="file" name="Image12" />
</div>
<div class="form_right" id='photo12' <%if not show_photo %> style="display:none"<% endif %>>
<div for="Image12_description">Description for Image #12:</div>
<textarea id="Image12_description" name="Image12_description" rows="3" cols="25"><%if Image12_description%><%escape_html Image12_description%><%endif%></textarea>
</div>
<div class="form_right" id='article12' <%if show_photo %> style="display:none"<% endif %>>
<div for="Paragraph12" class="dcell name">Paragraph #12:</div>
<textarea id="Paragraph12" name="Paragraph12" rows="3" cols="25"><%if Paragraph12%><%escape_html Paragraph12%><%endif%></textarea>
</div>
</div>
<div class="drow">
<div class="form_left" id='photo13' <%if not show_photo %> style="display:none"<% endif %>>
<div for="Image13_description">Description for Image #13:</div>
<textarea id="Image13_description" name="Image13_description" rows="3" cols="25"><%if Image13_description%><%escape_html Image13_description%><%endif%></textarea>
</div>
<div class="form_left" id='article13' <%if show_photo %> style="display:none"<% endif %>>
<div for="Paragraph13" class="dcell name">Paragraph #13:</div>
<textarea id="Paragraph13" name="Paragraph13" rows="3" cols="25"><%if Paragraph13%><%escape_html Paragraph13%><%endif%></textarea>
</div>
<div class="form_right form_image">
Image #13: <input type="file" name="Image13" />
</div>
</div>
<div class="drow">
<div class="form_left form_image">
Image #14: <input type="file" name="Image14" />
</div>
<div class="form_right" id='photo14' <%if not show_photo %> style="display:none"<% endif %>>
<div for="Image14_description">Description for Image #14:</div>
<textarea id="Image14_description" name="Image14_description" rows="3" cols="25"><%if Image14_description%><%escape_html Image14_description%><%endif%></textarea>
</div>
<div class="form_right" id='article14' <%if show_photo %> style="display:none"<% endif %>>
<div for="Paragraph14" class="dcell name">Paragraph #14:</div>
<textarea id="Paragraph14" name="Paragraph14" rows="3" cols="25"><%if Paragraph14%><%escape_html Paragraph14%><%endif%></textarea>
</div>
</div>
<div class="drow">
<div class="form_left" id='photo15' <%if not show_photo %> style="display:none"<% endif %>>
<div for="Image15_description">Description for Image #15:</div>
<textarea id="Image15_description" name="Image15_description" rows="3" cols="25"><%if Image15_description%><%escape_html Image15_description%><%endif%></textarea>
</div>
<div class="form_left" id='article15' <%if show_photo %> style="display:none"<% endif %>>
<div for="Paragraph15" class="dcell name">Paragraph #15:</div>
<textarea id="Paragraph15" name="Paragraph15" rows="3" cols="25"><%if Paragraph15%><%escape_html Paragraph15%><%endif%></textarea>
</div>
<div class="form_right form_image">
Image #15: <input type="file" name="Image15" />
</div>
</div>
<div class="drow">
<div class="form_left form_image">
Image #16: <input type="file" name="Image16" />
</div>
<div class="form_right" id='photo16' <%if not show_photo %> style="display:none"<% endif %>>
<div for="Image16_description">Description for Image #16:</div>
<textarea id="Image16_description" name="Image16_description" rows="3" cols="25"><%if Image16_description%><%escape_html Image16_description%><%endif%></textarea>
</div>
<div class="form_right" id='article16' <%if show_photo %> style="display:none"<% endif %>>
<div for="Paragraph16" class="dcell name">Paragraph #16:</div>
<textarea id="Paragraph16" name="Paragraph16" rows="3" cols="25"><%if Paragraph16%><%escape_html Paragraph16%><%endif%></textarea>
</div>
</div>
<div id='photo_extra' <%if not show_photo %> style="display:none"<% endif %>>
<div class="drow">
<div class="form_left">
<div for="Image17_description">Description for Image #17:</div>
<textarea id="Image17_description" name="Image17_description" rows="3" cols="25"><%if Image17_description%><%escape_html Image17_description%><%endif%></textarea>
</div>
<div class="form_right form_image">
Image #17: <input type="file" name="Image17" />
</div>
</div>
<div class="drow">
<div class="form_left form_image">
Image #18: <input type="file" name="Image18" />
</div>
<div class="form_right">
<div for="Image18_description">Description for Image #18:</div>
<textarea id="Image18_description" name="Image18_description" rows="3" cols="25"><%if Image18_description%><%escape_html Image18_description%><%endif%></textarea>
</div>
</div>
<div class="drow">
<div class="form_left">
<div for="Image19_description">Description for Image #19:</div>
<textarea id="Image19_description" name="Image19_description" rows="3" cols="25"><%if Image19_description%><%escape_html Image19_description%><%endif%></textarea>
</div>
<div class="form_right form_image">
Image #19: <input type="file" name="Image19" />
</div>
</div>
<div class="drow">
<div class="form_left form_image">
Image #20: <input type="file" name="Image20" />
</div>
<div class="form_right">
<div for="Image20_description">Description for Image #20:</div>
<textarea id="Image20_description" name="Image20_description" rows="3" cols="25"><%if Image20_description%><%escape_html Image20_description%><%endif%></textarea>
</div>
</div>
--%>

View File

@ -0,0 +1,61 @@
<%~if File_Path%>
<%set selectfile = 1 %>
<% else %>
<%set selectfile = 0 %>
<%endif~%>
<div class="drow">
<div for="Selection" class="dcell name">Selection:</div>
<div class="dcell value">
<input type="radio" id="SelectWebsite" name="Selection"<%ifnot selectfile%> checked<%endif%> value="website"><label for="SelectWebsite">Website</label>
<input type="radio" id="SelectFile" name="Selection"<%if selectfile%> checked<%endif%> value="file"><label for="SelectFile">File</label>
</div>
</div>
<div class="drow websitecontent"<%if selectfile%> style="display:none"<%endif%>>
<div for="URL" class="dcell name">URL:</div>
<div class="dcell value">
<input type="text" id="URL" name="URL" value="<%if URL%><%escape_html URL%><%else%>http://<%endif%>" class="txt midtext" />
</div>
</div>
<div class="drow websitecontent"<%if selectfile%> style="display:none"<%endif%>>
<div for="Image_Path" class="dcell name">Image:</div>
<div class="dcell value">
<input type="file" id="Image_Path" name="Image_Path"/><%if Image_Path%>&nbsp;<%Image_Path%><%endif%>
</div>
</div>
<div class="drow filecontent"<%ifnot selectfile%> style="display:none"<%endif%>>
<div for="File_Path" class="dcell name">File:</div>
<div class="dcell value">
<input type="file" id="File_Path" name="File_Path"/><%if File_Path%>&nbsp;<%File_Path%><%endif%>
</div>
</div>
<div class="drow filecontent"<%ifnot selectfile%> style="display:none"<%endif%>>
<div for="admin_convert_video" class="dcell name">Generate Thumbnail and Image:</div>
<div class="dcell value">
<input type="checkbox" id="admin_convert_video" name="admin_convert_video" value="1"/>
<img src="/images/question-mark.gif" onmouseover="document.getElementById('tooltip').style.display='block'" onmouseout="document.getElementById('tooltip').style.display='none'"/>
<div id='tooltip' class="toolTip">Select this checkbox if you want to generate the associated video files (for example, image file, flash file) while uploading the video file. This process may take several minutes.</div>
</div>
</div>
<!--<div class="drow">
<div for="Tag" class="dcell name">Tag:</div>
<div class="dcell value">
<input type="text" id="Tag" name="Tag" value="<%if Tag%><%escape_html Tag%><%endif%>" class="text" />
</div>
</div>
<div class="drow">
<div for="Family_Friendly" class="dcell name">Family Friendly</div>
<div class="dcell value">
<select name="Family_Friendly">
<option></option>
<option value="No"<%if Family_Friendly eq 'No'%> selected<%endif%>>No</option>
<option value="Yes"<%if Family_Friendly eq 'Yes'%> selected<%endif%>>Yes</option>
</select>
</div>
</div>
<div class="drow">
<div for="Duration" class="dcell name">Duration:</div>
<div class="dcell value">
<input type="text" id="Duration" name="Duration"<%if Duration%> value="<%escape_html Duration%>"<%endif%> class="text" />
</div>
</div>
-->

View File

@ -0,0 +1,14 @@
<div class="paging">
<%~if not page_button%><%set page_button = 'page_button1'%><%endif%>
<%Links::Utils::paging(
button_id => $page_button,
style_next => '<span class="next"><span>Next</span> <span class="sprite-next"></span></span>',
style_prev => '<span class="prev"><span class="sprite-prev"></span> <span>Prev</span></span>',
style_first => '<span class="first"><span class="sprite-first"></span></span>',
style_last => '<span class="last"><span class="sprite-last"></span></span>',
style_nonext => '<span class="next"><span>Next</span> <span class="sprite-nonext"></span></span>',
style_noprev => '<span class="prev"><span class="sprite-noprev"></span> <span>Prev</span></span>',
style_nofirst => '<span class="first"><span class="sprite-nofirst"></span></span>',
style_nolast => '<span class="last"><span class="sprite-nolast"></span></span>',
)%>
</div>

View File

@ -0,0 +1,19 @@
<div class="social-networks">
<a href="https://twitter.com/share" class="twitter-share-button" data-text="<%escape_html Title%>" data-count="vertical" data-via="slowtwitch">Tweet</a>
<script type="text/javascript" src="https://platform.twitter.com/widgets.js"></script>
<div class="fb-like" data-href="<%http_detailed_url%>" data-send="false" data-layout="button_count" data-show-faces="false" data-font="verdana"></div>
<!-- Place this tag where you want the +1 button to render -->
<g:plusone></g:plusone>
<!-- Place this render call where appropriate -->
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
</div>

View File

View File

@ -0,0 +1,5 @@
<%~if Type%>
<%include _widget_automated.html%>
<%~else%>
<%include _widget_manual.html%>
<%~endif%>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
../common/templates/include_subscribe.html

View File

@ -0,0 +1,14 @@
<%~if not widget_end%><%set widget_end = $widgets_loop.length%><%endif%>
<%~loop widgets_loop%>
<%~if row_num >= $widget_start%>
<%~if Type%>
<%include _widget_automated.html%>
<%~else%>
<%include _widget_manual.html%>
<%~endif%>
<%~if row_num < $widget_end or $widgets_loop.length == 1%>
<div class="widget-divider"></div>
<%~endif%>
<%~endif%>
<%~if row_num == $widget_end%><%lastloop%><%endif%>
<%~endloop%>

59
site/articles/link.html Normal file
View File

@ -0,0 +1,59 @@
<%~rewrite_detail_url%>
<%~if list_view eq 'latest'%>
<div class="list-view withcategory">
<div class="thumb">
<%~if thumbnail_url%>
<a href="<%detailed_url%>"><img src="<%thumbnail_url.small%>" width="107" height="80" /></a>
<%else%>
<img src="<%config.build_static_url%>/images/default_107x80.png" width="107" height="80" />
<%~endif%>
</div>
<div class="detail">
<div class="list-category"><a href="<%URL%>" class="label label-category"><%escape_html Name%></a></div>
<h3><a href="<%detailed_url%>"><%escape_html Title%></a><%if Link_Type eq 'video'%><i class="sprite-video"></i><%elsif Link_Type eq 'photo'%><i class="sprite-gallery"></i><%endif%></h3>
</div>
</div>
<%~elsif list_view eq 'featured'%>
<div class="featured-content col-6-12">
<a href="<%detailed_url%>" class="detailed-url no-underline<%if Link_Type eq 'video'%> video-thumb<%endif%>" title="<%escape_html Title%>">
<%~if thumbnail_url%>
<div class="crop-2"><img src="<%thumbnail_url.large || $thumbnail_url.medium%>" alt="<%escape_html Title%>" class="img-responsive" /></div>
<%~else%>
<img src="<%config.build_static_url%>/images/default_300x166.png" width="300" height="166" class="img-responsive" />
<%~endif%>
<%~if Link_Type eq 'video'%><i class="sprite-video-play"></i><%endif%>
</a>
<%~if show_category%>
<div class="featured-category"><a href="<%URL%>" class="label label-category"><%escape_html Name%></a></div>
<%~endif%>
<h3><a href="<%detailed_url%>"><%escape_html Title%></a><%if Link_Type eq 'video'%> <i class="sprite-video"></i><%elsif $Link_Type eq 'photo'%><a href="<%Plugins::UI::slideshow_url($detailed_url)%>"><i class="sprite-gallery"></i></a><%endif%></h3>
<div class="excerpt briefy">
<a href="<%detailed_url%>" class="no-underline" title="Read more">
<span class="post-meta light-grey"><% set desc = shorten_it($Description, 110) %><%desc%>
</a>
</div>
</div>
<%if row_index == 2%><div class="clearall"></div><%endif%>
<%~else%>
<div class="list-view <%if list_view eq 'column'%>col-6-12<%else%>archive<%endif%><%if show_category%> withcategory<%endif%>">
<div class="thumb">
<%~if thumbnail_url%>
<img src="<%thumbnail_url.small%>" width="107" height="80" />
<%~else%>
<img width="107" height="80" src="<%config.build_static_url%>/images/default_107x80.png" />
<%~endif%>
</div>
<div class="detail<%if show_category%> cat-content<%endif%>">
<%~if show_category%><div class="list-category"><a href="<%URL%>" class="label label-category"><%escape_html Name%></a></div><%endif%>
<h3><a href="<%detailed_url%>"><%escape_html Title%></a><%if Link_Type eq 'video'%><i class="sprite-video"></i><%elsif Link_Type eq 'photo'%><i class="sprite-gallery"></i><%endif%></h3>
<%~if list_view ne 'column'%>
<div class="excerpts">
<span class="post-meta light-grey">
<%if Description%><% set desc = shorten_it($Description, 200) %><%if highlight%><%Links::Tools::highlight($desc, $query)%><%else%><%desc%><%endif%><%endif%>
</div>
<%~else%>
<span class="post-meta light-grey"></span>
<%~endif%>
</div>
</div>
<%~endif%>

View File

@ -0,0 +1,48 @@
<!DOCTYPE html >
<html lang="en">
<head>
<title><%site_title%></title>
<%include include_common_head.html%>
</head>
<body id="home">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<%include include_breadcrumb.html%>
<%~if not links_loop.length%>
<section class="section category-list section-has-widgets section-reverse">
<div class="sidebar-b">
<%~set widgets_loop = Plugins::UI::fetch_widgets('category', $ID)%>
<%~set widget_end = $widgets_loop.length%>
<%include include_widgets.html%>
</div>
<div class="content content-has-widgets">
<div class="grid">
<!-- latest articles -->
<div class="clearfix">
<h1><%Name%></h1>
<%~loop category_loop%>
<%include include_category.html%>
<%~endloop%>
</div>
</div>
</div><!-- end content -->
</section><!-- end section -->
<%~else%>
<%include subcategory.html%>
<%~endif%>
<div class="section-spacer"></div>
</div><!-- End contentwrapper -->
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>

View File

@ -0,0 +1,69 @@
<!DOCTYPE html >
<html lang="en">
<head>
<title><%site_title%></title>
<%include include_common_head.html%>
</head>
<body id="home">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<%~set title_loop = Links::Build::build('title', 'Slowtwitch Coaching')%>
<%include include_breadcrumb.html%>
<section class="section section-has-widgets section-reverse">
<div class="sidebar-b">
<%~Plugins::UI::fetch_widget(27)%>
<div class="widget-spacer"></div>
<%include _widget_manual.html%>
<div class="widget-spacer"></div>
<div class="advert hide-on-mobile">
<%~set adsize = '300x600'%>
<%include include_ad.html%>
</div>
<div class="widget-spacer"></div>
<%~set Title = 'Local Listing'%>
<%~set Widget = 'local_listings'%>
<%include _widget_automated.html%>
</div>
<div class="content content-has-widgets">
<div class="grid">
<div class="col-1-1">
<h1>Slowtwitch Coaching</h1>
<img src="<%static_url%>/images/coaching.jpg" class="center img-responsive">
<p>Slowtwitch Coaching Certification Clinics are designed for the multisport or individual sport coach looking to take his or her knowledge and coaching business to the next level. By combining interactive discussions and presentations with actual hands-on coaching instruction, the Slowtwitch Coaching Certification Clinics go beyond the traditional classroom setting to provide coaches with real, practical training that directly translates to their coaching careers.</p>
<p>Slowtwitch currently offers the following coaching certifications:</p>
<ul>
<li><a href="<%config.build_root_url%>/coaching/Swim Coaching Certification.pdf">Certified Triathlon Swim Coach</a></li>
<li><a href="<%config.build_root_url%>/coaching/Cycling Power Certification.pdf">Certified Cycling Power Coach</a></li>
<li><a href="<%config.build_root_url%>/coaching/Cycling Coaching Certification.pdf">Certified Triathlon Cycling Coach</a></li>
<li><a href="<%config.build_root_url%>/coaching/Run Coaching Certification.pdf">Certified Triathlon Run Coach</a></li>
</ul>
<p>Click on the links above to learn more about each clinic and see a sample schedule with descriptions of each session.
<p>You can find a list of Slowtwitch Certified Coaches <a href="<%config.build_root_url%>/coaching/Database Listing.pdf">here</a>.
</div><!-- end col-2/3 -->
</div><!-- end grid -->
<div class="section-divider mobile"></div>
</div><!-- end content -->
</section>
</div>
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
</html>

View File

@ -0,0 +1,238 @@
<%~set detailed_url = get_detailed_url($ID)%>
<%~Links::Utils::load_reviews($ID, $detailed_max_reviews)~%>
<%~Plugins::SlideShow::generate_paths($ID)%>
<%~convert_nl_br%>
<%old_detailed_url($detailed_url)%>
<!DOCTYPE html >
<html lang="en">
<head>
<title><%Title%> - <%site_title_short%></title>
<%--Facebook Meta Tags--%>
<meta name="title" content="<%escape_html Title%>" />
<meta name="description" content="<%escape_html Description%>" />
<meta property="og:title" content="<%escape_html Title%>"/>
<meta name="og:description" content="<%escape_html Description%>" />
<meta property="og:site_name" content="<%site_title_short%>"/>
<meta property="og:type" content="article"/>
<meta property="og:url" content="<%detailed_url%>/<%http_detailed_url%>"/>
<meta property="fb:app_id" content="193269620735521"/>
<%--Twitter Meta Tags--%>
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@slowtwitch " />
<meta name="twitter:creator" content="@slowtwitch" />
<meta name="twitter:title" content="<%escape_html Title%>" />
<meta name="twitter:description" content="<%escape_html Description%>" />
<%~if Image1_thumbnail_path%>
<link rel="image_src" href="<%escape_html Image1_largest_path%>" / >
<meta property="og:image" content="https://slowtwitch.com<%escape_html Image1_largest_path%>"/>
<meta name="twitter:image" content="https://slowtwitch.com<%escape_html Image1_largest_path%>" />
<%~elsif Thumbnail_URL and Thumbnail_URL ne 'http://' %>
<link rel="image_src" href="<%Thumbnail_URL%>" / >
<meta property="og:image" content="<%Thumbnail_URL%>"/>
<meta name="twitter:image" content="<%Thumbnail_URL%>" />
<%else%>
<%~Plugins::ConvertVideo::get_file_path($ID, "thumbnail_file_field") %>
<%~if thumbnail_file_field_path%>
<link rel="image_src" href="<%thumbnail_file_field_path%>" / >
<meta property="og:image" content="<%thumbnail_file_field_path%>"/>
<meta name="twitter:image" content="<%thumbnail_file_field_path%>" />
<%~endif%>
<%~endif%>
<%~include include_common_head.html%>
</head>
<body id="detailed">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<%include include_breadcrumb.html%>
<section class="section article section-has-widgets section-reverse clearfix">
<div class="sidebar-b">
<%~set adsize = '300x250'%>
<%include include_ad.html%>
<div class="widget-spacer"></div>
<%~set widgets_loop = Plugins::UI::fetch_widgets('article')%>
<%~set widget_start = 1%><%set widget_end = 2%>
<%include include_widgets.html%>
<div class="widget-divider"></div>
<style>
#stickThis {
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 id="poll_widget" data="<%Forum%>"></div>
<div class="widget-spacer"></div>
<%~set adsize = '300x600'%>
<%include include_ad.html%>
</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 = $('#article-bottom.section-divider').offset().top + $('#article-bottom.section-divider').outerHeight() - 20;
if ( $('#related_three').length ) {
toolbarBottom = $('#related_three.highlight.col-4-12').offset().top - 20;
}
// console.log( { windowTop, top, bottom , mainBottom, toolbarBottom } );
if ( windowTop > top && bottom < toolbarBottom ) {
$('#stickThis').addClass('box');
$('#stickHere').height($('#stickThis').outerHeight());
if ( windowTop + ( bottom - top ) < toolbarBottom ) {
$('#stickThis').css({"top": 0});
} else {
var gap = -1 * ( bottom - top ) + ( toolbarBottom - windowTop );
//console.log( {gap} );
$('#stickThis').css({"top": gap});
}
} else {
$('#stickThis').removeClass('box');
$('#stickHere').height(0);
}
}
$(function() {
$(window).scroll(boxtothetop);
boxtothetop();
});
</script>
</div>
<div class="content content-has-widgets">
<div class="grid">
<div class="clearfix">
<h1><%Title%></h1>
<div class="post-meta light-grey grid">
<%~if Contact_Name%>
<i class="icon sprite-slowtwitch"></i>
<%~if LinkOwner ine 'admin'%>
<span class="author"><a href="<%config.db_cgi_url%>/search.cgi?LinkOwner=<%LinkOwner%>"><%Contact_Name%></a></span>
<%~else%>
<span class="author"><%Contact_Name%></span>
<%~endif%>
<%~endif%>
<span class="time"><%Add_Date%></span>
</div>
<div class="grid article-content">
<div class="col-1-1">
<div class="content-divider-top"></div>
<%~if Link_Type eq 'article'%>
<%~include include_detailed_article.html%>
<%~elsif Link_Type eq 'photo' %>
<%~if slideshow%>
<%~include include_detailed_slideshow.html%>
<%~elsif is_old_article($Add_Date_orig)%>
<%~include include_detailed_old_photo.html%>
<%else%>
<%~include include_detailed_photo.html%>
<%~endif%>
<%~else%>
<%~include include_detailed_video.html%>
<%~endif%>
<div class="lnkactions">
<%~if user.Status eq 'Administrator'%>
<a href="<%config.db_cgi_url%>/modify.cgi?LinkID=<%ID%>">EDIT THIS ARTICLE</a>
<a href="<%config.db_cgi_url%>/feature.cgi">EDIT FEATURED LINKS</a>
<%~endif%>
<%if user.Status eq 'Editor' AND user.Status neq 'Administrator'%><a href="<%config.db_cgi_url%>/modify.cgi?LinkID=<%ID%>">EDIT THIS ARTICLE</a><%endif%>
<%if user.Status eq 'Administrator'%><a href="<%config.db_cgi_url%>/user.cgi?do=logout">Log Out</a><%endif%>
<%if config.bookmark_enabled%><a href="<%config.db_cgi_url%>/bookmark.cgi?action=link_add;ID=<%ID%>">Bookmark It</a><%endif%>
<%if isLinkOwner%><a href="<%config.db_cgi_url%>/modify.cgi?LinkID=<%ID%>">Edit this link</a><%endif%>
<%if paymentsEnabled%><a href="<%config.db_cgi_url%>/modify.cgi?do=payment_linked;process_payment=1;modify=1;ID=<%ID%>"><%if isUnpaid or isFree%>New Payment<%else%>Renewal Payment<%endif%></a><%endif%>
</div>
<%include include_share.html%>
<%include include_fb_comments.html%>
</div>
</div>
</div>
</div><!-- end grid -->
<div class="section-divider mobile"></div>
</div><!-- end content -->
</section>
<section class="section related highlight-list clearfix remove-sidebar section-has-widgets">
<div class="content content-has-widgets">
<div class ="grid">
<%~if RelatedArticles%>
<h1>Related Articles</h1>
<%~old_related_articles($RelatedArticles, $ID)%>
<%~loop related_articles_loop%>
<%~if row_num > 3%><%lastloop%><%endif%>
<%~rewrite_detail_url%>
<%~set thumbnail_url = Plugins::UI::fetch_thumbnail($loop_value)%>
<%~if row_num < 3%>
<div class="highlight col-4-12">
<%~else%>
<div class="highlight col-4-12" id="related_three">
<%~endif%>
<a href="<%detailed_url%>">
<%~if thumbnail_url%>
<img src="<%thumbnail_url.medium%>" width="193" height="144" class="img-responsive"/>
<%~else%>
<img src="<%config.build_static_url%>/images/default_193x144.png" width="193" height="144" class="img-responsive"/>
<%~endif%>
</a>
<div class="info">
<h3><a href="<%detailed_url%>"><%Title%></a></h3>
<div class="post-meta light-grey"><%Add_Date%></div>
</div>
</div>
<%~set has_related_articles = 1%>
<%~endloop%>
<%~else%>
<%~loop 1..5%>
<%~set related_article = Plugins::UI::retrieve_param('Related_Article', $loop_value)%>
<%~if related_article%>
<div class="highlight col-4-12">
<%related_article%>
</div>
<%~set has_related_articles = 1%>
<%~endif%>
<%~endloop%>
<%~endif%>
</div>
</div>
</section>
<div class="clearfix"></div>
<div class="section-divider" id="article-bottom"></div>
<section class="section advert-large hide-on-mobile">
<div class="content content-has-widgets">
<%~set adsize = '970x250'%>
<%include include_ad.html%>
</div>
</section>
</div><!-- End contentwrapper -->
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
</html>

View File

@ -0,0 +1,143 @@
<!DOCTYPE html >
<html lang="en">
<head>
<title><%site_title%></title>
<%include include_common_head.html%>
</head>
<body id="home">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<%~if $config.featured_articles%><%set featured_articles_loop = Plugins::UI::fetch_links(ids => $config.featured_articles)%><%endif%>
<%~if featured_articles_loop.length%>
<section class="section featured home">
<%loop featured_articles_loop%>
<%if row_num > 1%><%lastloop%><%endif%>
<%~rewrite_detail_url%>
<div class="home-featured grid">
<div class="col-1-2">
<a href="<%detailed_url%>">
<%~if thumbnail_url%>
<div class="crop-3"><img src="<%thumbnail_url.large || $thumbnail_url.medium%>" class="img-responsive"></div>
<%--
srcset="<%thumbnail_url.largest%> 620w, <%thumbnail_url.large%> 900w"
class="img-responsive">
--%>
<%~else%>
<img src="<%config.build_static_url%>/images/default_470x260.png">
<%~endif%>
</a>
</div>
<div class="col-1-2">
<div class="featured-hero">
<a href="<%URL%>" class="label label-category"><%escape_html Name%></a>
<h1><a href="<%detailed_url%>"><%Title%></a></h1>
<div class="excerpt briefy">
<a href="<%detailed_url%>" class="no-underline" Title="Read more">
<span style="font-size: 15px; font-family: Open Sans, sans-serif" class="post-meta">
<%shorten_it($Description, 150)%>
</span>
</a>
</div>
<div class="post-meta light-grey">
<i class="icon sprite-slowtwitch"></i>
<span class="author"><%Contact_Name%></span>
</div>
</div><!-- end featured-content -->
</div><!-- end col-6-12 -->
</div><!-- end grid grid-pad -->
<%~endloop%>
<!-- Latest Headlines -->
<div class="section-has-widgets remove-sidebar clearfix">
<div class="sidebar-b">
<%~set adsize = '300x600'%>
<%include include_ad.html%>
</div><!-- end sidebar -->
<div class="content content-has-sidebar">
<div class="grid">
<%~set skip_first = 1%><%~set show_ad = 4%><%set show_category = 1%>
<%include include_featured_articles.html%>
<%~set show_category = 0%>
</div>
</div><!-- end content -->
</div>
</section><!-- end section: featured articles -->
<div class="section-divider"></div>
<%~endif%>
<%~set widgets_loop = Plugins::UI::fetch_widgets('home')%>
<section class="section section-has-widgets list clearfix latest-headlines section-reverse">
<div class="sidebar-b">
<%~set widget_start = 1%><%set widget_end = 3%>
<%include include_widgets.html%>
</div>
<div class="content content-has-widgets">
<div class="grid">
<!-- latest articles -->
<div class="list-column col-6-12 show-3">
<%~set row_index = 0%>
<%~set latest_news = Plugins::UI::fetch_links(max_hits => 21)%>
<%~set list_view = 'latest'%>
<%~if latest_news.length%>
<%~loop latest_news%>
<%~if row_index == 10%>
</div>
<div class="list-column col-6-12">
<%~set adsize = '300x250_1'%>
<%include include_ad.html%>
<script type="text/javascript">
if (winWidth <= 1024) { document.write('<div style="padding-bottom: 20px;">' + '</div>'); }
else { document.write('<div style="padding-bottom: 48px;">' + '</div>'); }
</script>
<%~endif%>
<%~set local_id = $ID %>
<%~set is_featured = 0 %>
<%~loop featured_articles_loop%>
<%~if $local_id == $ID %>
<%~set is_featured = 1 %>
<%~endif%>
<%~endloop%>
<%~if not is_featured%>
<%include link.html%>
<%~set row_index += 1%>
<%~endif%>
<%~endloop%>
<%~endif%>
</div>
</div><!-- end grid -->
<div class="section-divider mobile"></div>
</div><!-- end content -->
</section><!-- end section -->
<div class="section-divider"></div>
<!--section class="section advert-large"-->
<div class="content content-has-widgets">
<%~set adsize = '970x250'%>
<%include include_ad.html%>
</div>
<!--/section-->
<div class="section-divider mobile tablet"></div>
</div><!-- End contentwrapper -->
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
</html>

View File

@ -0,0 +1,28 @@
<%~if adsize eq '300x600'%>
<div class="ad">
<script type="text/javascript">
if (winWidth > 1024) { document.write('<div class="adwrapper">' + "<%escape_js ad_300x600%>" + '</div>'); }
else { document.write('<div class="adwrapper">' + "<%escape_js ad_300x250_1%>" + '</div>'); }
</script>
</div>
<%~elsif adsize eq '970x250'%>
<div class="ad">
<script type="text/javascript">
if (winWidth > 1024) { document.write('<div class="adwrapper">' + "<%escape_js ad_970x250%>" + '</div>'); } else { document.write('<div class="adwrapper">' + "<%escape_js ad_300x250_1%>" + '</div>'); }
</script>
</div>
<%~elsif adsize eq '728x90' and $ad_728x90%>
<div class="ad">
<script type="text/javascript">
if (winWidth >= 767) { document.write('<div class="adwrapper">' + "<%escape_js ad_728x90%>" + '</div>'); }
</script>
</div>
<%~elsif adsize eq '300x250_1'%>
<script type="text/javascript">
document.write('<div class="adwrapper">' + "<%escape_js ad_300x250_1%>" + '</div>');
</script>
<%~elsif adsize eq '300x250'%>
<script type="text/javascript">
document.write('<div class="adwrapper">' + "<%escape_js ad_300x250%>" + '</div>');
</script>
<%~endif%>

View File

@ -0,0 +1,2 @@
<%~set minify = $config.minify || 0%>
<%include include_global_head.html%>

View File

@ -0,0 +1,21 @@
<div class="featured-wrapper">
<%~set list_view = 'featured'%>
<%~set row_index = 0%>
<%~loop featured_articles_loop%>
<%~if skip_first%><%if row_num == 1%><%nextloop%><%endif%><%elsif row_num > 3%><%lastloop%><%endif%>
<%if get_thumbnail_url%>
<%~set thumbnail_url = Plugins::UI::fetch_thumbnail($loop_value)%>
<%~endif%>
<%~if row_num == $show_ad%>
<div class="featured-content col-6-12">
<%~set adsize = '300x250'%>
<%~include include_ad.html%>
</div>
<script type="text/javascript">
if (winWidth <= 1024) { document.write('<div style="padding-bottom: 20px;">' + '</div>'); }
</script>
<%~endif%>
<%~set row_index += 1%>
<%include link.html%>
<%~endloop%>
</div>

View File

@ -0,0 +1,7 @@
<!--section class="section advert-large"-->
<div class="content content-has-widgets">
<%~set adsize = '970x250'%>
<%include include_ad.html%>
</div>
<!--/section-->
<div class="section-divider"></div>

View File

@ -0,0 +1,28 @@
<!-- Begin Mailchimp Signup Form -->
<link href="//cdn-images.mailchimp.com/embedcode/classic-071822.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{background:#fff; clear:left; font:14px 'Open Sans',Oswald,'Roboto Slab',sans-serif; width:310px;}
/* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style>
<div id="mc_embed_signup" style="width: 280px; text-align: left;">
<form action="https://slowtwitch.us21.list-manage.com/subscribe/post?u=b58ef8acd6002eb5457faccd3&id=edf2eda097&f_id=009fcce1f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" style="margin: 0 0 0 0;" novalidate>
<div id="mc_embed_signup_scroll">
<div class="mc-field-group">
<label for="mce-EMAIL" style="font-family: 'Open Sans';" >Email Address <span class="asterisk">*</span>
</label>
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL" required>
<span id="mce-EMAIL-HELPERTEXT" class="helper_text"></span>
</div>
<div hidden="true"><input type="hidden" name="tags" value="32170"></div>
<div id="mce-responses" class="clear">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_b58ef8acd6002eb5457faccd3_edf2eda097" tabindex="-1" value=""></div>
<div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="btn" style="margin: 0"></div>
</div>
</form>
</div>
<script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script><script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[3]='ADDRESS';ftypes[3]='address';fnames[4]='PHONE';ftypes[4]='phone';fnames[5]='BIRTHDAY';ftypes[5]='birthday';}(jQuery));var $mcj = jQuery.noConflict(true);</script>
<!--End mc_embed_signup-->

View File

@ -0,0 +1,84 @@
<!DOCTYPE html >
<html lang="en">
<head>
<title><%site_title%></title>
<%include include_common_head.html%>
</head>
<body id="home">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<%~set title_loop = Links::Build::build('title', 'Slowtwitch Podcast')%>
<%include include_breadcrumb.html%>
<section class="section section-has-widgets section-reverse">
<div class="sidebar-b">
<%~Plugins::UI::fetch_widget(27)%>
<div class="widget-spacer"></div>
<%include _widget_manual.html%>
<div class="widget-spacer"></div>
<div class="advert hide-on-mobile">
<%~set adsize = '300x600'%>
<%include include_ad.html%>
</div>
<div class="widget-spacer"></div>
<%~set Title = 'Local Listing'%>
<%~set Widget = 'local_listings'%>
<%include _widget_automated.html%>
</div>
<div class="content content-has-widgets">
<div class="grid">
<div class="col-1-1">
<h1>Slowtwitch Podcast</h1>
<img src="https://slowtwitch.com/images/slowtwitch_podcast.png" width="300px" class="img-responsive">
Hosted by Ryan &amp; Eric The Slowtwitch Podcast is the latest addition to our coverage.
<br /><br />Guests or not each episode will be wide-ranging conversations while staying true to the ethos of Slowtwitch: fiercely independent and authentic.
<br /><br />Episodes will release weekly on Thursdays and be available on your favorite streaming services.
<br /><br />Find us on:
<ul>
<li>
<a href="https://open.spotify.com/episode/0XWxS1KdabSPhNj9vAhNVY?si=UZ9tYwdTR7ybKjzh0K2u-A">Spotify</a>
</li>
<li>
<a href="https://theslowtwitchpodcast.podbean.com/e/rough-draft-10/">PodBean</a>
</li>
</ul>
</div><!-- end col-2/3 -->
<div class="grid">
<!-- latest articles -->
<div class="clearfix">
<%~loop category_loop%>
<%include include_category.html%>
<%~endloop%>
</div>
</div>
</div><!-- end grid -->
<div class="section-divider mobile"></div>
</div><!-- end content -->
</section>
</div>
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
</html>

View File

@ -0,0 +1,144 @@
<%~set widgets_loop = Plugins::UI::fetch_widgets('subcategory', $ID)%>
<%~set widget_start = 1%>
<%~set widget_end = 3%>
<%~if paging.current_page == 1 or not $paging%>
<section class="section featured section-has-widgets remove-sidebar clearfix">
<div class="sidebar-b">
<%~set adsize = '300x600'%>
<%include include_ad.html%>
</div><!-- end sidebar -->
<div class="content content-has-sidebar">
<div class="grid">
<div class="col-1-1">
<h1><%~if $ID == 719 %>The Slowtwitch&nbsp;<%~endif%><%Name%></h1>
<%~if $ID == 719 %>
<img src="https://slowtwitch.com/images/slowtwitch_podcast.png" width="300px" class="img-responsive">
<%~endif%>
</div>
<%~if $ID == 719 %>
Hosted by Ryan &amp; Eric The Slowtwitch Podcast is the latest addition to our coverage.
<br /><br />Guests or not each episode will be wide-ranging conversations while staying true to the ethos of Slowtwitch: fiercely independent and authentic.
<br /><br />Episodes will release weekly on Thursdays and be available on your favorite streaming services.
<br /><br />Find us on:
<ul>
<li>
<a href="https://podcasts.apple.com/us/podcast/the-slowtwitch-podcast/id1691441710">Apple Podcasts</a>
</li>
<li>
<a href="https://open.spotify.com/episode/0XWxS1KdabSPhNj9vAhNVY?si=UZ9tYwdTR7ybKjzh0K2u-A">Spotify</a>
</li>
<li>
<a href="https://theslowtwitchpodcast.podbean.com/e/rough-draft-10/">PodBean</a>
</li>
</ul>
<%~endif%>
<%~if $category_loop.length%>
<%~set split = Links::Utils::column_split($category_loop.length, 2)%>
<div class="subcategory">
<h3>Sections</h3>
<div class="clearfix">
<%~loop category_loop%>
<%~if Number_of_Links%>
<%~set splitmod = $row_num % $split%>
<%~if row_num == 1 or splitmod == 1 or split == 1%><dl><%endif%>
<li><a href="<%URL%>"><%Name%></a></li>
<%~if row_num == $category_loop.length or splitmod == 0%></dl><%endif%>
<%~endif%>
<%~endloop%>
</div>
</div>
<div class="widget-divider"></div>
<%~endif%>
<%~set max_hits = 3%>
<%~if category_loop.length > 4%><%set max_hits = 1%><%endif%>
<%~set featured_articles_loop = Plugins::UI::fetch_links(category => $ID, max_hits => $max_hits)%>
<%~if not featured_articles_loop.length%>
<%~init array featured_articles_loop%>
<%~set index = 0%>
<%~loop links_loop%>
<%if row_num > $max_hits%><%lastloop%><%endif%>
<%~set featured_articles_loop.$index = $loop_value%>
<%~set index += 1%>
<%~endloop%>
<%~endif%>
<%~if featured_articles_loop.length%>
<%~if not Featured_Links%><%set skip_top_three = 1%><%endif%>
<%~if max_hits == 1%><%~set show_ad = 1%><%else%><%set show_ad = 3%><%endif%>
<%~set get_thumbnail_url = 1%>
<%include include_featured_articles.html%>
<%~endif%>
</div>
</div><!-- end content -->
</section><!-- end section -->
<div class="section-divider"></div>
<%~endif%>
<%~set list_view = ''%>
<%~set num_links = $links_loop.length%>
<%~set num_page_break = 9%>
<section class="section archive section-has-widgets section-reverse">
<div class="sidebar-b">
<%include include_widgets.html%>
</div>
<div class="content content-has-widgets">
<div class="grid">
<div class="clearfix<%if paging.current_page > 1%> relative<%endif%>">
<%~if paging.current_page > 1%>
<div class="col-1-1 toolbar-b">
<h1><%Name%></h1>
<%include include_paging.html%>
</div>
<%~endif%>
<%~loop links_loop%>
<%if skip_top_three and $row_num <= $max_hits%><%nextloop%><%endif%>
<%~rewrite_detail_url%>
<%~set thumbnail_url = Plugins::UI::fetch_thumbnail($loop_value)%>
<%include link.html%>
<%~if row_num == $num_page_break%><%lastloop%><%endif%>
<%~endloop%>
</div>
</div>
<div class="section-divider mobile"></div>
</div><!-- end content -->
</section><!-- end section -->
<div class="clearall"></div>
<div class="section-divider"></div>
<%~include include_featured_photo_video.html%>
<%~if num_links > $num_page_break%>
<section class="section archive section-has-widgets section-reverse">
<div class="sidebar-b">
<%~set widget_start = 4%>
<%~set widget_end = 5%>
<%include include_widgets.html%>
</div>
<div class="content content-has-widgets">
<div class="grid">
<div class="clearfix">
<%~loop links_loop%>
<%~if row_num <= $num_page_break%><%nextloop%><%endif%>
<%~rewrite_detail_url%>
<%~set thumbnail_url = Plugins::UI::fetch_thumbnail($loop_value)%>
<%include link.html%>
<%~endloop%>
<div class="toolbar right">
<%~set page_button = 'page_button2'%>
<hr class="line">
<%include include_paging.html%>
</div>
</div><!-- end column -->
</div>
<div class="section-divider mobile"></div>
</div><!-- end content -->
</section><!-- end section -->
<%~endif%>

74
site/articles/login.html Normal file
View File

@ -0,0 +1,74 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%~if logout and error%>
<%~set message = $error%>
<%~set error = ''%>
<%~endif%>
<%~if url and not error%>
<%~set error = 'You must first login before you can access that.'%>
<%~endif%>
<html>
<head>
<title><%site_title%>: User Login</title>
<%include include_common_head.html%>
</head>
<body id="login">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<div class="breadcrumb">
<%Links::Utils::format_title($main_title_loop, separator => ' > ', no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%>
</div>
<div class="content"><%-- start content--%>
<h1>User Login</h1>
<form action="<%config.db_cgi_url%>/user.cgi" method="post">
<input type="hidden" name="login" value="1" />
<%if url%><input type="hidden" name="url" value="<%escape_html url%>" /><%endif%>
<div class="dtable form">
<div class="drow">
<div class="dcell name">Username</div>
<div class="dcell divider"></div>
<div class="dcell value">
<input type="text" id="Username" name="Username" value="<%if Username%><%escape_html Username%><%endif%>" class="txt midtext" />
</div>
</div>
<div class="drow">
<div class="dcell name">Password</div>
<div class="dcell divider"></div>
<div class="dcell value">
<input type="password" id="Password" name="Password" class="txt midtext" />
</div>
</div>
<%~if config.user_sessions eq Cookies%>
<div class="drow remember-me">
<div class="dcell name">Remember me</div>
<div class="dcell divider"></div>
<div class="dcell value">
<input type="checkbox" id="Remember_me" name="remember_me" value="1" class="checkbox" />
</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="Login" class="btn" />
<p><em>If you've forgotten your password, we can <a href="<%config.db_cgi_url%>/user.cgi?email_pass=1">e-mail it to you</a>.</em></p>
</div>
</div>
</div>
</form>
</div><%-- end content --%>
</div>
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
</html>

View File

@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><%site_title%>: Forgotten Password</title>
<%include include_common_head.html%>
</head>
<body id="login_email">
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<div class="breadcrumb">
<%Links::Utils::format_title($main_title_loop, separator => ' > ', no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%>
</div>
<div class="content"><%-- start content--%>
<h1>Forgot your password?</h1>
<p>Simply enter your e-mail address that you signed up with and we will e-mail you your password.</p>
<form action="<%config.db_cgi_url%>/user.cgi" method="post">
<input type="hidden" name="send_pass" value="1" />
<%if url%><input type="hidden" name="url" value="<%escape_html url%>" /><%endif%>
<div class="dtable form">
<div class="drow">
<div class="dcell name">E-mail Address</div>
<div class="dcell divider"></div>
<div class="dcell value">
<input type="text" id="Email" name="Email" value="" class="txt" />
</div>
</div>
<div class="drow actions">
<div class="dcell name"></div>
<div class="dcell divider"></div>
<div class="dcell value">
<input type="submit" value="Submit" class="btn" />
</div>
</div>
</div>
</form>
</div><%-- end content --%>
</div>
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
</html>

View File

@ -0,0 +1,32 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><%site_title%>: Logged In</title>
<%include include_common_head.html%>
</head>
<body id="login_success">
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<div class="breadcrumb">
<%Links::Utils::format_title($main_title_loop, separator => ' > ', no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%>
</div>
<div class="content"><%-- start content--%>
<h1>Logged In</h1>
<p>You have been successfully logged in.<%--site_title--%></p>
<%if not d and Links::Utils::is_editor%>
<p>
Enter the <a href="<%config.db_cgi_url%>/browser.cgi">editor system</a>.
</p>
<%endif%>
</div><%-- end content --%>
</div>
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
</html>

95
site/articles/modify.html Normal file
View File

@ -0,0 +1,95 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><%site_title%>: Modify a Link</title>
<%--
<script type="text/javascript" src="<%config.build_static_url%>/jquery/jquery.js"></script>
<script type="text/javascript" src="<%config.build_static_url%>/jquery/jquery.lightbox-0.5.js"></script>
<link rel="stylesheet" type="text/css" href="<%config.build_static_url%>/jquery/css/jquery.lightbox-0.5.css" media="screen" />
--%>
<%include include_common_head.html%>
</head>
<body id="modify">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<div class="breadcrumb">
<%Links::Utils::format_title($main_title_loop, separator => ' > ', no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%>
</div>
<div class="content"><%-- start content--%>
<h1>Modify a Link</h1>
<%~ set megabytes = 1048576 ~%>
<%~ set image_cfg = Links::Plugins::get_plugin_user_cfg('SlideShow') ~%>
<%~ set image_size = image_cfg.max_upload_size / $megabytes ~%>
<%~ set image_size = round($image_size) ~%>
<%~ set video_max_size = Plugins::ConvertVideo::get_video_max_size() ~%>
<%~ set video_size = $video_max_size / $megabytes ~%>
<%~ set video_size = round($video_size) ~%>
<p><b>Note:</b> image files must be smaller than <% if image_size %><% image_size %><%else%>1<%endif%>MB and video files must be smaller than <% if video_size %><% video_size %><%else%>1<%endif%>MB.</p>
<form id="modify_form" action="<%config.db_cgi_url%>/modify.cgi" enctype="multipart/form-data" method="post">
<input type="hidden" name="modify" value="1" />
<%~if LinkID%>
<input type="hidden" name="LinkID" value="<%escape_html LinkID%>" />
<input type="hidden" name="Current_ID" value="<%escape_html LinkID%>" />
<%~else%>
<%~if config.db_gen_category_list == 2%>
<noscript>
<%~endif%>
<p>
Please enter the URL of the link you wish to modify. Make sure it is identical to the one already in the database:
</p>
<div class="row required clear">
<label for="Current_URL" class="name">URL: <span>*</span></label>
<div class="value">
<input type="text" name="Current_URL" value="<%if Current_URL%><%escape_html Current_URL%><%endif%>" class="text" />
</div>
</div>
<%~if config.db_gen_category_list == 2%>
</noscript>
<div id="LinkID" class="row required clear" style="display: none">
<label class="name">Link: <span>*</span></label>
<div class="value wrappedtext">
<%~if Current_ID%>
<input type="hidden" name="Current_ID" value="<%escape_html Current_ID%>" />
<%~endif%>
<script type="text/javascript" src="<%config.build_static_url%>/treecats.js"></script>
<div id="treecats-links"></div>
<script type="text/javascript">
var tcl = new treecats({ selectionMode : 'link', workspace : 'treecats-links', objName : 'tcl', inputName : 'Current_ID', cgiURL : '<%config.db_cgi_url%>', imageURL : '<%config.build_static_url%>/<%t%>/images' });
tcl.load();
</script>
</div>
</div>
<script type="text/javascript">
document.getElementById('LinkID').style.display = '';
</script>
<%~endif%>
<p>
Enter the new information (all of it, not just the changes) below:
</p>
<%~endif%>
<div class="dtable form addlink">
<%include include_form.html%>
<div class="drow actions">
<div class="dcell name"></div>
<div class="dcell value">
<input type="submit" name="modify_submit" value="Modify" class="btn" />
</div>
</div>
</div>
</form>
</div><%-- end content --%>
</div>
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
<%~include include_form.js%>
</html>

View File

@ -0,0 +1,46 @@
<%~ set title = "Modify a Link" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><%site_title%>: <%title%></title>
<%include include_common_head.html%>
</head>
<body id="modify_select">
<body id="modify">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<div class="breadcrumb">
<%Links::Utils::format_title($main_title_loop, separator => ' > ', no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%>
</div>
<div class="content"><%-- start content--%>
<h1><% title %></h1>
<p>
Please select which link you would like to modify:
</p>
<%if paging.num_hits%><div class="paging"><%Links::Utils::paging()%></div><%endif%>
<form action="<%config.db_cgi_url%>/modify.cgi" method="post">
<%~loop link_results_loop%>
<input type="radio" name="LinkID" value="<%escape_html ID%>" class="radio"<%if isValidated eq No or isExpired or isUnpaid%> disabled="disabled"<%endif%> />
<%include link.html%>
<%~endloop%>
<input type="submit" value="Modify Link" class="submit" />
</form>
<%if paging.num_hits%><div class="paging"><%Links::Utils::paging(button_id => 'paging_button2')%></div><%endif%>
</div><%-- end content --%>
</div>
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
</html>

View File

@ -0,0 +1,72 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%~Plugins::UI::update_featured_links('article', $ID, $in.featured_article)%>
<%~Plugins::UI::update_featured_links('photo', $ID, $in.featured_photo)%>
<html>
<head>
<title><%site_title%>: Link Modified</title>
<%include include_common_head.html%>
</head>
<body id="modify_success">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<div class="breadcrumb">
<%Links::Utils::format_title($main_title_loop, separator => ' > ', no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%>
</div>
<div class="content"><%-- start content--%>
<h1>Link Modified</h1>
<p>
<%~if payment_term eq free%>
Your link has been changed to a free link:
<%~else%>
We have received your request to modify the link as follows:
<%~endif%>
</p>
<div class="row clear">
<label class="name">Title:</label>
<div class="value wrappedtext"><%Title%></div>
</div>
<div class="row clear">
<label class="name">Category:</label>
<div class="value wrappedtext">
<%~if Category_loop.length > 1%>
<ul><%loop Category_loop%><li><%loop_value%></li><%endloop%></ul>
<%~else%>
<%Category%>
<%~endif%>
</div>
</div>
<div class="row clear">
<label class="name">Link Type:</label>
<div class="value wrappedtext"><%if Link_Type eq 'photo'%>Photo Gallery<%elseif Link_Type eq 'video'%>Video<%else%>Article<%endif%></div>
</div>
<div class="row clear">
<label class="name">Description:</label>
<div class="value wrappedtext"><%escape_html Description%></div>
</div>
<div class="row clear">
<label class="name">Contact Name:</label>
<div class="value wrappedtext"><%escape_html Contact_Name%></div>
</div>
<div class="row clear">
<label class="name">Contact E-mail:</label>
<div class="value wrappedtext"><%escape_html Contact_Email%></div>
</div>
<%if not config.user_direct_mod and payment_term ne free%><p>Thank you! We will send you an e-mail once your link has been validated.</p><%endif%>
</div><%-- end content --%>
</div>
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
</html>

97
site/articles/photos.html Normal file
View File

@ -0,0 +1,97 @@
<!DOCTYPE html >
<%convert_nl_br%>
<html lang="en">
<head>
<title><%site_title%></title>
<%include include_common_head.html%>
</head>
<body id="home">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<%~if in.video%>
<%~set media = Plugins::UI::fetch_links(link_type => 'video', max_hits => $config.search_maxhits)%>
<%~set title_loop = Links::Build::build('title', 'Videos')%>
<%~else%>
<%~set media = Plugins::UI::fetch_links(link_type => 'photo', max_hits => $config.search_maxhits)%>
<%~set title_loop = Links::Build::build('title', 'Photo Galleries')%>
<%~endif%>
<%include include_breadcrumb.html%>
<%~set paging = $media.paging%>
<%~set featured_articles_loop = $media.features%>
<%~if paging and paging.current_page == 1%>
<section class="section featured section-has-widgets fixed-height remove-sidebar">
<div class="sidebar-b hide-on-mobile">
<%~set adsize = '300x600'%>
<%include include_ad.html%>
</div><!-- end sidebar -->
<div class="content content-has-sidebar">
<div class="grid">
<div class="col-1-1">
<h1><%if in.video%>Videos<%else%>Photo Galleries<%endif%></h1>
</div>
<%~if featured_articles_loop.length%>
<!-- featured articles -->
<%~set show_ad = 3%><%~set show_category = 1%>
<%include include_featured_articles.html%>
<%~set show_category = 0%>
<%~endif%>
</div>
</div><!-- end content -->
</section><!-- end section -->
<div class="section-divider"></div>
<%~endif%>
<%~set list_view = ''%>
<section class="section section-has-widgets section-reverse">
<div class="sidebar-b">
<%~set widgets_loop = Plugins::UI::fetch_widgets('category', $ID)%>
<%~set widget_end = $widgets_loop.length%>
<%include include_widgets.html%>
</div>
<div class="content content-has-widgets">
<div class="grid">
<div class="col-1-1<%if paging.current_page > 1%> relative<%endif%>">
<%~if paging.current_page > 1%>
<h1><%if in.video%>Videos<%else%>Photos<%endif%></h1>
<div class="col-1-1 absolute-top right">
<%include include_paging.html%>
</div>
<%~endif%>
<%~set show_category = 1%>
<%~loop media.loop%>
<%include link.html%>
<%~if row_num == $num_page_break%><%lastloop%><%endif%>
<%~endloop%>
<%~if paging.max_hits < $paging.num_hits%>
<div class="col-1-1 right">
<%~set page_button = 'page_button2'%>
<%include include_paging.html%>
</div>
<%~endif%>
</div>
</div>
<div class="section-divider mobile"></div>
</div><!-- end content -->
</section><!-- end section -->
<div class="section-spacer"></div>
</div><!-- End contentwrapper -->
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>

63
site/articles/races.html Normal file
View File

@ -0,0 +1,63 @@
<!DOCTYPE html >
<html lang="en">
<head>
<title><%site_title%></title>
<%include include_common_head.html%>
</head>
<body id="home">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<%set title_loop = Links::Build::build('title', 'Races')%>
<%include include_breadcrumb.html%>
<section class="section category-list section-has-widgets section-reverse">
<div class="sidebar-b">
<%~set adsize = '300x600'%>
<%include include_ad.html%>
<%~set widgets_loop = Plugins::UI::fetch_widgets('races')%>
<%~set widget_end = $widgets_loop.length%>
<%include include_widgets.html%>
</div>
<div class="content content-has-widgets">
<div class="grid">
<div class="col-1-1">
<h1>Races</h1>
<div class="cat-view grid">
<div class="thumb col-1-2">
<img src="<%config.build_static_url%>/images/races_300x166.jpg" width="300" height="166" class="img-responsive" />
</div>
<div class="detail col-1-2">
<a class="label label-category" href="<%calendar_url%>">Race Calendar</a>
<div class="excerpts">
See Slowtwitch.com's North American Multisport Race Calendar along with features providing participants a greater sense of community.
</div>
</div>
<div class="more col-1-1 right">
<a href="<%calendar_url%>" class="btn btn-more">View Calendar</a>
</div>
</div>
<%~set category_loop = Plugins::UI::fetch_categories(2)%>
<%~loop category_loop%>
<%include include_category.html%>
<%~endloop%>
</div>
</div>
<div class="section-divider mobile"></div>
</div><!-- end content -->
</section><!-- end section -->
<div class="section-spacer"></div>
</div><!-- End contentwrapper -->
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>

226
site/articles/search.html Normal file
View File

@ -0,0 +1,226 @@
<!DOCTYPE html >
<html lang="en">
<head>
<title><%site_title%>: Search Form</title>
<%include include_common_head.html%>
</head>
<body id="home">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<%include include_breadcrumb.html%>
<section class="section section-has-widgets">
<div class="sidebar-b">
<%~set adsize = '300x600'%>
<%include include_ad.html%>
</div>
<div class="content content-has-widgets">
<div lass="grid">
<div class="clearfix">
<h1 class="float-left">Search Form</h1>
</div>
<%~if error%><p class="error"><%error%><%endif%>
<h4>SEARCH SLOWTWITCH.COM KNOWLEDGE BASE</h4>
<form action="<%config.db_cgi_url%>/search.cgi">
<div class="dtable form">
<div class="drow">
<div class="dcell name">Search</div>
<div class="dcell divider"></div>
<div class="dcell value">
<input type="text" id="query" name="query" class="txt lngtext" />
</div>
</div>
<div class="drow">
<div class="dcell name">Search Options</div>
<div class="dcell divider"></div>
<div class="dcell value">
<input type="radio" id="bool-and" name="bool" value="and" <%if bool eq 'and' or not bool%>checked="checked" <%endif%>class="radio" /><label for="bool-and">Results must contain all words</label>
<input type="radio" id="bool-or" name="bool" value="or" <%if bool eq 'or'%>checked="checked" <%endif%>class="radio" /><label for="bool-or">Results can contain any of the words</label>
</div>
</div>
<div class="drow">
<div class="dcell name"></div>
<div class="dcell divider"></div>
<div class="dcell value">
<input type="radio" id="substring-1" name="substring" value="1" <%if substring%>checked="checked" <%endif%>class="radio" /><label for="substring-1">Find similar words</label>
<input type="radio" id="substring-0" name="substring" value="0" <%unless substring%>checked="checked" <%endif%>class="radio" /><label for="substring-0">Find exact words</label>
</div>
</div>
<div class="drow">
<div class="dcell name">Links per page</div>
<div class="dcell divider"></div>
<div class="dcell value">
<select id="mh" name="mh">
<option<%if mh == 10%> selected="selected"<%endif%>>10</option>
<option<%if mh == 25 or not mh%> selected="selected"<%endif%>>25</option>
<option<%if mh == 50%> selected="selected"<%endif%>>50</option>
<option<%if mh == 100%> selected="selected"<%endif%>>100</option>
</select>
</div>
</div>
<div class="drow actions">
<div class="dcell name"></div>
<div class="dcell divider"></div>
<div class="dcell value">
<input type="submit" value="Search" class="btn default" />
</div>
</div>
</div>
</form>
</div>
<h4>Search Forums</h4>
<form action="<%forum_url%>/forum/">
<%hidden_form || ''%>
<input type="hidden" name="do" value="search_results" />
<div class="dtable form">
<div class="drow">
<div class="dcell name">Search</div>
<div class="dcell divider"></div>
<div class="dcell value">
<select id="search_forum" name="search_forum">
<option value="all"<%if not search_forum_type or search_forum_type eq all%> selected="selected"<%endif%>>All forums</option>
<%~set indent = '&nbsp;&nbsp;&nbsp;&nbsp;'%>
<%~loop everything%>
<%~unless forum_id%><%-- A category --%>
<option value="cat_<%cat_id%>"<%if search_forum_type eq cat and search_forum_id = $cat_id%> selected="selected"<%endif%>>
<%indent x $cat_depth%><%cat_name%> (All forums)
</option>
<%~else%>
<option value="forum_<%forum_id%>"<%if search_forum_type eq forum and search_forum_id = $forum_id%> selected="selected"<%endif%>>
<%indent x $cat_depth%>&nbsp;&nbsp;&nbsp;&nbsp;<%forum_name%>
</option>
<%~endunless%>
<%~endloop%>
</select>
</div>
</div>
<div class="drow">
<div class="dcell name">Search String</div>
<div class="dcell divider"></div>
<div class="dcell value">
<input type="text" id="search_string" name="search_string" <%if not num_results and search_string%> value="<%search_string%>"<%endif%> class="txt midtext" />
</div>
</div>
<div class="drow">
<div class="dcell name">Type of search</div>
<div class="dcell divider"></div>
<div class="dcell value">
<select id="search_type" name="search_type">
<option value="AND"<%if search_type eq AND%> selected="selected"<%endif%>>All words</option>
<option value="OR"<%if search_type eq OR%> selected="selected"<%endif%>>Any words</option>
<option value="PHRASE"<%if search_type eq PHRASE%> selected="selected"<%endif%>>Whole Phrase</option>
</select>
</div>
</div>
<div class="drow">
<div class="dcell name">Fields to search</div>
<div class="dcell divider"></div>
<div class="dcell value">
<select name="search_fields" size="1" class="button">
<option value="sb"<%if not search_fields or search_fields eq 'sb'%> selected<%endif%>>
Subject and Body
</option>
<option value="s"<%if search_fields eq 's'%> selected<%endif%>>
Subject
</option>
<option value="b"<%if search_fields eq 'b'%> selected<%endif%>>
Body
</option>
<option value="u"<%if search_fields eq 'u'%> selected<%endif%>>
Username
</option>
</select>
</div>
</div>
<div class="drow">
<div class="dcell name">Show posts from the last</div>
<div class="dcell divider"></div>
<div class="dcell value">
<select name="search_time" size="1" class="button">
<option value=""<%ifnot search_time%> selected<%endif%>>Show all posts</option>
<%if show_last%>
<option value="last"<%if search_time eq last%> selected<%endif%>>Since last visit</option>
<%endif%>
<option value="8h"<%if search_time eq 8h%> selected<%endif%>>8 hours</option>
<option value="24h"<%if search_time eq 24h%> selected<%endif%>>24 hours</option>
<option value="3d"<%if search_time eq 3d%> selected<%endif%>>3 days</option>
<option value="1w"<%if search_time eq 1w%> selected<%endif%>>1 week</option>
<option value="2w"<%if search_time eq 2w%> selected<%endif%>>2 weeks</option>
<option value="3w"<%if search_time eq 3w%> selected<%endif%>>3 weeks</option>
<option value="1m"<%if search_time eq 1m%> selected<%endif%>>1 month</option>
<option value="3m"<%if search_time eq 3m%> selected<%endif%>>3 months</option>
<option value="6m"<%if search_time eq 6m%> selected<%endif%>>6 months</option>
<option value="1y"<%if search_time eq 1y%> selected<%endif%>>1 year</option>
<option value="2y"<%if search_time eq 2y%> selected<%endif%>>2 years</option>
</select>
</div>
</div>
<div class="drow">
<div class="dcell name">Only show posts made by</div>
<div class="dcell divider"></div>
<div class="dcell value">
<input type="text" name="search_user_username"<%if search_user_username%> value="<%search_user_username%>"<%endif%> class="txt shotext" />
</div>
</div>
<div class="drow">
<div class="dcell name">Only show</div>
<div class="dcell divider"></div>
<div class="dcell value">
<select name="group" size="1" class="button">
<option value="no"<%if lc group eq 'no'%> selected<%endif%>>Posts</option>
<option value="yes"<%if not group or lc group eq 'yes'%> selected<%endif%>>Threads</option>
</select>
</div>
</div>
<div class="drow">
<div class="dcell name">Sort posts by</div>
<div class="dcell divider"></div>
<div class="dcell value">
<select name="sb" size="1" class="button">
<option value="post_time"<%if not sb or sb eq 'post_time'%> selected<%endif%>>Post date</option>
<option value="score"<%if sb eq 'score'%> selected<%endif%>>Relevance</option>
</select>
</div>
</div>
<div class="drow">
<div class="dcell name">Number of results per page</div>
<div class="dcell divider"></div>
<div class="dcell value">
<select id="mh" name="mh">
<option<%if mh == 10%> selected="selected"<%endif%>>10</option>
<option<%if mh == 25 or not mh%> selected="selected"<%endif%>>25</option>
<option<%if mh == 50%> selected="selected"<%endif%>>50</option>
<option<%if mh == 100%> selected="selected"<%endif%>>100</option>
</select>
</div>
</div>
<div class="drow actions">
<div class="dcell name"></div>
<div class="dcell divider"></div>
<div class="dcell value">
<input type="submit" value="Search" class="btn default" />
</div>
</div>
</div>
</form>
</div><!-- end content -->
</section><!-- end section -->
<div class="section-spacer"></div>
</div><!-- End contentwrapper -->
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>

View File

@ -0,0 +1,78 @@
<!DOCTYPE html >
<html lang="en">
<head>
<title><%site_title%>: Search Results</title>
<%include include_common_head.html%>
</head>
<body id="home">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<%include include_breadcrumb.html%>
<section class="section category-list section-has-widgets remove-sidebar">
<div class="sidebar-b">
<%~set adsize = '300x600'%>
<%include include_ad.html%>
<%~set widgets_loop = Plugins::UI::fetch_widgets('search_results')%>
<%~set widget_end = $widgets_loop.length%>
<%include include_widgets.html%>
</div>
<div class="content search-results content-has-widgets">
<div lass="grid">
<div class="clearfix">
<h1 class="float-left">Search Results</h1>
<a href="<%config.db_cgi_url%>/search.cgi" class="btn btn-white float-right">Advanced Search</a>
</div>
<p>Your search<%if query%> for <%if highlight%><%set equery = escape_html $query%><%Links::Tools::highlight($equery, $equery)%><%else%><strong><%escape_html query%></strong><%endif%><%endif%> returned <strong><%cat_hits%></strong> categor<%if cat_hits != 1%>ies<%else%>y<%endif%> and <strong><%link_hits%></strong> link<%if link_hits != 1%>s<%endif%></p>
<%if category_results_loop.length~%>
<h3 class="section-title">Categories</h3>
<ul>
<%~loop category_results_loop%>
<%~set formatted_title = Links::Utils::format_title($title_loop, separator => ' > ', no_escape_separator => $no_escape_category_separator, include_home => 0, link_type => 1)%>
<li><%if highlight and query%><%Links::Tools::highlight($formatted_title, $query)%><%else%><%formatted_title%><%endif%></li>
<%~endloop%>
</ul>
<%~endif%>
<%~if link_results_loop.length~%>
<%~if paging.num_hits > $paging.max_hits%>
<div class="toolbar-b">
<h3 class="section-title">Links</h3>
<%~set page_button = 'page_button2'%>
<%include include_paging.html%>
</div>
<%~endif%>
<%~set search_results_categories = get_links_categories($link_results_loop) %>
<%loop link_results_loop~%>
<%if title_loop.length%>
<%~set formatted_title = Links::Utils::format_title($title_loop, separator => $category_separator, no_escape_separator => $no_escape_category_separator, include_home => 0, link_type => 1)%>
<p class="category"><%if highlight and query%><%Links::Tools::highlight($formatted_title, $query)%><%else%><%formatted_title%><%endif%></p>
<%~endif%>
<%~rewrite_detail_url%>
<%~set thumbnail_url = Plugins::UI::fetch_thumbnail($loop_value)%>
<%include link.html%>
<%~endloop%>
<%~if paging.num_hits > $paging.max_hits%>
<div class="toolbar right">
<%~set page_button = 'page_button2'%>
<%include include_paging.html%>
</div>
<%~endif%>
<%~endif%>
</div>
</div><!-- end content -->
</section><!-- end section -->
<div class="section-spacer"></div>
</div><!-- End contentwrapper -->
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>

View File

@ -0,0 +1,54 @@
<!DOCTYPE html >
<html lang="en">
<head>
<title><%site_title%>: Stack &amp; Reach Database</title>
<%include include_common_head.html%>
</head>
<body id="home">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<%~set title_loop = Links::Build::build('title', 'Slowtwitch Stack &amp; Reach')%>
<%include include_breadcrumb.html%>
<section class="section section-has-widgets remove-sidebar">
<div class="sidebar-b">
<%~set adsize = '300x600'%>
<%include include_ad.html%>
<div class="widget-spacer"></div>
<%~set Title = 'Local Listing'%>
<%~set Widget = 'local_listings'%>
<%include _widget_automated.html%>
<div class="widget-divider"></div>
<%~set Title = 'Poll'%>
<%~set Widget = 'poll'%>
<%include _widget_automated.html%>
</div>
<div class="content content-has-widgets">
<div class="grid">
<div class="col-1-1">
<h1>Stack &amp; Reach Database</h1>
<%include include_stackreach_content.html%>
</div><!-- end col-2/3 -->
</div><!-- end grid -->
<div class="section-divider mobile"></div>
</div><!-- end content -->
</section>
</div>
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
</html>

View File

@ -0,0 +1,120 @@
<%~set widgets_loop = Plugins::UI::fetch_widgets('subcategory', $ID)%>
<%~set widget_start = 1%>
<%~set widget_end = 3%>
<%~if paging.current_page == 1 or not $paging%>
<section class="section featured section-has-widgets remove-sidebar clearfix">
<div class="sidebar-b">
<%~set adsize = '300x600'%>
<%include include_ad.html%>
</div><!-- end sidebar -->
<div class="content content-has-sidebar">
<div class="grid">
<div class="col-1-1">
<h1><%Name%></h1>
</div>
<%~if $category_loop.length%>
<%~set split = Links::Utils::column_split($category_loop.length, 2)%>
<div class="subcategory">
<h3>Sections</h3>
<div class="clearfix">
<%~loop category_loop%>
<%~if Number_of_Links%>
<%~set splitmod = $row_num % $split%>
<%~if row_num == 1 or splitmod == 1 or split == 1%><dl><%endif%>
<li><a href="<%URL%>"><%Name%></a></li>
<%~if row_num == $category_loop.length or splitmod == 0%></dl><%endif%>
<%~endif%>
<%~endloop%>
</div>
</div>
<div class="widget-divider"></div>
<%~endif%>
<%~set max_hits = 3%>
<%~if category_loop.length > 4%><%set max_hits = 1%><%endif%>
<%~set featured_articles_loop = Plugins::UI::fetch_links(ids => $Featured_Links, max_hits => $max_hits)%>
<%~if not featured_articles_loop.length%>
<%~init array featured_articles_loop%>
<%~set index = 0%>
<%~loop links_loop%>
<%if row_num > $max_hits%><%lastloop%><%endif%>
<%~set featured_articles_loop.$index = $loop_value%>
<%~set index += 1%>
<%~endloop%>
<%~endif%>
<%~if featured_articles_loop.length%>
<%~if not Featured_Links%><%set skip_top_three = 1%><%endif%>
<%~if max_hits == 1%><%~set show_ad = 1%><%else%><%set show_ad = 3%><%endif%>
<%~set get_thumbnail_url = 1%>
<%include include_featured_articles.html%>
<%~endif%>
</div>
</div><!-- end content -->
</section><!-- end section -->
<div class="section-divider"></div>
<%~endif%>
<%~set list_view = ''%>
<%~set num_links = $links_loop.length%>
<%~set num_page_break = 9%>
<section class="section archive section-has-widgets section-reverse">
<div class="sidebar-b">
<%include include_widgets.html%>
</div>
<div class="content content-has-widgets">
<div class="grid">
<div class="clearfix<%if paging.current_page > 1%> relative<%endif%>">
<%~if paging.current_page > 1%>
<div class="col-1-1 toolbar-b">
<h1><%Name%></h1>
<%include include_paging.html%>
</div>
<%~endif%>
<%~loop links_loop%>
<%if skip_top_three and $row_num <= $max_hits%><%nextloop%><%endif%>
<%~rewrite_detail_url%>
<%~set thumbnail_url = Plugins::UI::fetch_thumbnail($loop_value)%>
<%include link.html%>
<%~if row_num == $num_page_break%><%lastloop%><%endif%>
<%~endloop%>
</div>
</div>
<div class="section-divider mobile"></div>
</div><!-- end content -->
</section><!-- end section -->
<div class="clearall"></div>
<div class="section-divider"></div>
<%~include include_featured_photo_video.html%>
<%~if num_links > $num_page_break%>
<section class="section archive section-has-widgets section-reverse">
<div class="sidebar-b">
<%~set widget_start = 4%>
<%~set widget_end = 5%>
<%include include_widgets.html%>
</div>
<div class="content content-has-widgets">
<div class="grid">
<div class="clearfix">
<%~loop links_loop%>
<%~if row_num <= $num_page_break%><%nextloop%><%endif%>
<%~rewrite_detail_url%>
<%~set thumbnail_url = Plugins::UI::fetch_thumbnail($loop_value)%>
<%include link.html%>
<%~endloop%>
<div class="toolbar right">
<%~set page_button = 'page_button2'%>
<hr class="line">
<%include include_paging.html%>
</div>
</div><!-- end column -->
</div>
<div class="section-divider mobile"></div>
</div><!-- end content -->
</section><!-- end section -->
<%~endif%>

103
site/articles/tag.html Normal file
View File

@ -0,0 +1,103 @@
<!DOCTYPE html >
<%convert_nl_br%>
<html lang="en">
<head>
<title><%site_title%></title>
<%include include_common_head.html%>
</head>
<body id="home">
<%~if ad_wallpaper%>
<%ad_wallpaper%>
<%~endif%>
<div class="container">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<%~set tag = $in.tag%>
<%~if tag ieq 'swim'%><%set tag_title = 'Swim'%>
<%~elsif tag ieq 'bike'%><%set tag_title = 'Bike'%>
<%~else%><%set tag_title = 'Run'%><%endif%>
<%~set res = Plugins::UI::fetch_links(tag => $tag, max_hits => $config.search_maxhits, url => "$tag_title/" )%>
<%~set title_loop = Links::Build::build('title', $tag_title)%>
<%include include_breadcrumb.html%>
<%~set paging = $res.paging%>
<%~set featured_articles_loop = $res.features%>
<%unless featured_articles_loop%>
<p>No article found</p>
<%endif%>
<%~if paging and paging.current_page == 1%>
<section class="section featured section-has-widgets fixed-height remove-sidebar">
<div class="sidebar-b hide-on-mobile">
<%~set adsize = '300x600'%>
<%include include_ad.html%>
</div><!-- end sidebar -->
<div class="content content-has-sidebar">
<div class="grid">
<div class="col-1-1">
<h1><%tag_title%></h1>
</div>
<%~if featured_articles_loop.length%>
<!-- featured articles -->
<%~set show_ad = 3%><%~set show_category = 1%>
<%include include_featured_articles.html%>
<%~set show_category = 0%>
<%~endif%>
</div>
</div><!-- end content -->
</section><!-- end section -->
<%~endif%>
<%~if paging.num_hits > 3%>
<%if paging.current_page == 1%><div class="section-divider"></div><%endif%>
<%~set list_view = ''%>
<section class="section section-has-widgets section-reverse">
<div class="sidebar-b">
<%~set widgets_loop = Plugins::UI::fetch_widgets('category', $ID)%>
<%~set widget_end = $widgets_loop.length%>
<%include include_widgets.html%>
</div>
<div class="content content-has-widgets">
<div class="grid">
<div class="col-1-1<%if paging.current_page > 1%> relative<%endif%>">
<%~if paging.current_page > 1%>
<h1><%tag_title%></h1>
<div class="col-1-1 absolute-top right">
<%include include_paging.html%>
</div>
<%~endif%>
<%~set show_category = 1%>
<%~loop res.loop%>
<%include link.html%>
<%~if row_num == $num_page_break%><%lastloop%><%endif%>
<%~endloop%>
<%~if paging.max_hits < $paging.num_hits%>
<div class="col-1-1 right">
<%~set page_button = 'page_button2'%>
<%include include_paging.html%>
</div>
<%~endif%>
</div>
</div>
<div class="section-divider mobile"></div>
</div><!-- end content -->
</section><!-- end section -->
<%~endif%>
<div class="section-spacer"></div>
</div><!-- End contentwrapper -->
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>

View File

@ -0,0 +1,102 @@
/* star rating code - use lists because its more semantic */
/* No javascript required */
/* all the stars are contained in one matrix to solve rollover problems with delay */
/* the background position is just shifted to reveal the correct image. */
/* the images are 16px by 16px and the background position will be shifted in negative 16px increments */
/* key: B=Blank : O=Orange : G = Green * /
/*..... The Matrix ....... */
/* colours ....Background position */
/* B B B B B - (0 0)*/
/* G B B B B - (0 -16px)*/
/* G G B B B - (0 -32px)*/
/* G G G B B - (0 -48px)*/
/* G G G G B - (0 -64px)*/
/* G G G G G - (0 -80px)*/
/* O B B B B - (0 -96px)*/
/* O O B B B - (0 -112px)*/
/* O O O B B - (0 -128px)*/
/* O O O O B - (0 -144px)*/
/* O O O O O - (0 -160px)*/
/* the default rating is placed as a background image in the ul */
/* use the background position according to the table above to display the required images*/
.rating{
width:80px;
height:16px;
margin:0px 0px 20px 0px;
padding:0;
list-style:none;
float: left;
position:relative;
background: url(../images/star-matrix.gif) no-repeat 0 0;
}
ul.rating li {
cursor: pointer;
/*ie5 mac doesn't like it if the list is floated\*/
float:left;
/* end hide*/
text-indent:-999em;
}
ul.rating li a {
position:absolute;
left:0;
top:0;
width:16px;
height:16px;
text-decoration:none;
z-index: 200;
}
ul.rating li.one a {left:0}
ul.rating li.two a {left:16px;}
ul.rating li.three a {left:32px;}
ul.rating li.four a {left:48px;}
ul.rating li.five a {left:64px;}
ul.rating li a:hover {
z-index:2;
width:80px;
height:16px;
overflow:hidden;
left:0;
background: url(../images/star-matrix.gif) no-repeat 0 0
}
ul.rating li.one a:hover {background-position:0 -96px;}
ul.rating li.two a:hover {background-position:0 -112px;}
ul.rating li.three a:hover {background-position:0 -128px}
ul.rating li.four a:hover {background-position:0 -144px}
ul.rating li.five a:hover {background-position:0 -160px}
/* this is used to remove the hover affect */
/* use the background position according to the table above to display the required images*/
.rated{
width:80px;
height:16px;
margin:0px 0px 20px 0px;
padding:0;
list-style:none;
float: left;
position:relative;
background: url(../images/star-matrix.gif) no-repeat 0 0;
}
ul.rated li {
cursor: pointer;
/*ie5 mac doesn't like it if the list is floated\*/
float:left;
/* end hide*/
text-indent:-999em;
}
ul.rated li.one a {left:0}
ul.rated li.two a {left:16px;}
ul.rated li.three a {left:32px;}
ul.rated li.four a {left:48px;}
ul.rated li.five a {left:64px;}
/* add these classes to the ul to effect the change to the correct number of stars */
.nostar {background-position:0 0}
.onestar {background-position:0 -16px}
.twostar {background-position:0 -32px}
.threestar {background-position:0 -48px}
.fourstar {background-position:0 -64px}
.fivestar {background-position:0 -80px}
/* end rating code */
h3{margin:0 0 2px 0;font-size:110%}

545
site/coaches/styles.css Normal file
View File

@ -0,0 +1,545 @@
/* Defaults */
body {
font-family: verdana, arial, tahoma, sans-serif;
font-size: 11px;
color: #000;
padding: 0;
margin: 15px 0 5px;
}
.indent {
margin-left: 10px;
}
.indentlarge {
margin-left: 30px;
}
.indenthuge {
margin-left: 50px;
}
.rightside {
text-align: right;
}
form {
margin: 0;
padding: 0;
}
/* Links
a:link {
color: #000099;
text-decoration : none;
padding : 0;
margin : 0;
}
a:visited {
color: #000099;
text-decoration : none;
}
a:hover {
color: #000000;
text-decoration : underline;
}
a:active {
color: #999999;
text-decoration : none;
}*/
.modify{
text-decoration: none;
color: #FFFFFF;
font-weight: bold;
font-size: 14pt;
}
.modify:hover{
text-decoration: underline;
}
/* Outer layer */
#outer {
text-align: left;
background: #ffffff;
color: inherit;
/**border: 1px solid #000000;**/
margin: 0 auto;
padding: 0;
}
/* Header */
.header {
background: #fcce32;
}
.logolink {
padding: 6px 3px;
}
.logolink a {
background: inherit;
}
.hdr-links {
width: 230px;
text-align: center;
font-size : 10px;
padding : 0;
margin: 0;
}
a.hdrnav:link {
color: #000099;
background: inherit;
text-decoration : none;
font-size : 10px;
padding : 0;
margin : 0;
}
a.hdrnav:visited {
color: #000099;
background : inherit;
text-decoration : none;
}
a.hdrnav:hover {
color: #000;
background : #fff;
text-decoration : underline;
}
a.hdrnav:active {
color: #999;
background : inherit;
text-decoration : none;
}
.hdr-links .access {
text-decoration : underline;
color : #000;
background : inherit;
}
/* Top Nav Bar */
.top-nav {
height: 25px;
background: #c5c6ac;
color: inherit;
border: solid #000000;
border-width: 1px 0;
}
.top-nav-inner {
padding: 5px 10px;
}
.top-nav-inner a:link {
color: #000000;
background: inherit;
font-weight: bold;
text-decoration: none;
}
.top-nav-inner a:visited {
color: #000000;
background: inherit;
font-weight: bold;
text-decoration: none;
}
.top-nav-inner a:hover {
background: inherit;
color: #555555;
font-weight: bold;
text-decoration: underline;
}
.top-nav-inner a:active {
color: #000000;
background: inherit;
font-weight: bold;
text-decoration: underline;
}
/* Image Bar */
.image-bar {
clear:both;
}
.title-img {
border: 1px solid #000;
color: #ffffff;
background: #343234;
padding: 0 0 0 10px;
}
.section-title {
font-size: 16px;
font-weight: bold;
font-family: verdana, arial, tahoma, sans-serif;
}
.graphic-img {
border: 1px solid #000000;
}
.blank-img {
border: 1px solid #000000;
background: #fcce32;
}
.blank-img-ads {
border: 1px solid #000000;
background: #fcce32;
}
/* Content Section */
/*.content {
padding: 0 4px 4px 4px;
margin: 0;
}*/
.left-col {
border: 1px solid #000000;
background: #fcce32;
width: 145px;
}
.left-nav {
margin: 3px;
}
.statenav {
margin: 4px;
}
.lnav-hdr {
background: #c5c6ac;
color: #000000;
font-family: verdana, tahoma, arial, sans-serif;
font-size: 11px;
font-weight: bold;
border: 1px solid #000000;
margin-top: 16px;
padding: 2px 5px;
}
.left-nav p {
font-family: verdana, arial, tahoma, sans-serif;
font-size: 11px;
line-height: 14px;
margin:5px;
}
.left-nav .access {
text-decoration : underline;
color : #000000;
background : inherit;
}
a.lhdr:link {
color: #000000;
background: inherit;
text-decoration : none;
font-size : 10px;
padding : 0;
margin : 0;
font-weight: bold;
}
a.lhdr:visited {
color: #000000;
background : inherit;
text-decoration : none;
font-size: 10px;
font-weight: bold;
}
a.lhdr:hover {
color: #000;
background : #fcfefc;
text-decoration : underline;
}
a.lhdr:active {
color: #555;
background : inherit;
text-decoration : none;
}
input.nobutton {
background-color: #0A50A1;
font-weight: bold;
font-size: 9px;
color: white;
}
input.nobutton:visited {
background-color: #fcce32;
font-weight: bold;
font-size: 9px;
color: white;
}
input.nobutton:active {
background-color: #fcce32
color: white;
font-weight: bold;
font-size: 9px;
}
a.nav:link {
color: #000099;
background: inherit;
text-decoration : none;
font-size : 10px;
padding : 0;
margin : 0;
}
a.nav:visited {
color: #000099;
background : inherit;
text-decoration : none;
}
a.nav:hover {
color: #000;
background : #fcfefc;
text-decoration : underline;
}
a.nav:active {
color: #999;
background : inherit;
text-decoration : none;
}
/* Main content box */
.content-box {
padding: 0;
margin: 0;
}
/* right content box */
.rhcol {
float: right;
width: 160px;
margin: 0 0 10px 15px;
background: #fcfefc;
color: #000000;
}
.rhcont {
border-left: 1px solid #000000;
border-bottom:3px solid #000000;
}
.rnav-hdr {
background: #c5c6ac;
color: #000000;
font-family: verdana, tahoma, arial, sans-serif;
font-size: 12px;
font-weight:bold;
border-bottom: 1px solid #000;
border-left: 2px solid #000000;
margin: 3px 0;
padding: 2px;
}
/* main content area */
.content-title {
margin: 5px 0px 15px;
font-size: 14px;
text-decoration: underline;
}
.bottomindent {
margin-bottom: 5px;
}
.content-title-blog {
margin: 5px 0px 2px;
margin-left: 8px;
font-size: 16px;
text-decoration: none;
}
.content-title-no1 {
margin: 5px 0px 15px;
font-size: 14px;
text-decoration: none;
}
.content-title-mod {
margin: 5px 10px 15px;
font-size: 14px;
text-decoration: underline;
}
.content-title-no {
margin: 0px 0px 0px;
font-size: 12px;
text-decoration: none;
}
.content-box .cont {
margin: 10px 10px 15px 10px;
font-size: 11px;
line-height: 15px;
}
.content-box .cont-list {
margin: 2px 10px 5px 10px;
}
.content-box .sub-hdr {
margin: 2px 10px 10px;
font-size: 12px;
text-decoration: underline;
}
.content-box .sub-hdr-mod {
margin: 2px 10px 10px;
font-size: 11px;
text-decoration: none;
}
/* Bottom footer box */
.footer-col {
margin: 0 0 0 4px;
}
.footer-box {
border: 1px solid #000000;
background:#343234;
font-family: verdana, arial, tahoma, sans-serif;
font-size: 11px;
color:#ffffff;
padding: 0 0 0 15px;
}
.footer-box .cont1 {
margin: 8px 10px 5px 5px;
font-size: 11px;
line-height: 15px;
}
.footer-box .cont2 {
margin: 2px 10px 15px 5px;
font-size: 11px;
line-height: 15px;
}
.footer-box input {
font-family: verdana, arial, tahoma, sans-serif;
font-size: 11px;
}
/* Copyright layer */
.copyright {
background: #c5c6ac;
font-family: verdana, arial, tahoma, sans-serif;
font-size: 10px;
font-weight: bold;
padding: 6px;
border: solid #000000;
border-width: 1px 0 0;
}
.rh-ad {
padding: 10px 0;
}
/* Terms of use on front page */
.tou {
margin: 0 0 0 10px;
}
/* for templates info */
.temp-lh {
float : left;
width : 100px;
margin : 0;
padding : 2px 10px 2px 0;
text-align : left;
}
.temp-rh {
margin : 0;
padding : 2px 0;
text-align : left;
}
.date {
font-size : 10px;
color : #787d63;
background : inherit;
}
.temp-list ul {
font-size : 11px;
margin : 0;
padding : 0;
list-style-type : none;
}
.temp-list {
padding : 0 0 0 15px;
}
/* small*/
small.fsize {
font-size : 9px;
color : #999999;
background : inherit;
}
.code {
color : #663300;
background : #eeeeee;
font-family : verdana, arial, sans-serif;
font-size : 11px;
line-height : 20px;
padding : 4px 10px;
margin : 10px 20px;
border : 1px dashed #999999;
}
/* Search form on front page */
.search-form {
color: #000;
background: #c5c6ac;
padding: 5px;
margin: 0px 0 10px 30px;
border: 1px solid #333333;
width:465px;
text-align: center;
white-space: nowrap;
}
/* Search forms on Search page */
.adv-search {
margin: 0 0 0 15px;
}
/* Tool Tip */
.tip {
cursor : help;
border-bottom : 1px dashed #555555;
}
/* ADVERTISEMENTS */
/* container div is 'id=adspace' */
#adspace {
background: inherit;
}
.ads {
background: inherit;
margin: 5px 0 15px 4px;
font-size: 11px;
padding: 5px;
border: solid #555;
border-width: 1px 0 0 1px;
}
.ads a:link { font-size: 11px; }

View File

@ -0,0 +1,18 @@
<!-- BEGIN ADVERTPRO CODE BLOCK -->
<!-- Zone ID: 21 -->
<!-- Size Width: 120 -->
<!-- Size Height: 240 -->
<SCRIPT language="JavaScript" type="text/javascript">
<!--
document.write('<SCR'+'IPT src="https://reach.slowtwitch.com/servlet/view/banner/javascript/zone?zid=21&pid=0&random='+Math.floor(89999999*Math.random()+10000000)+'&millis='+new Date().getTime()+'&referrer='+escape(document.location)+'" language="JavaScript" type="text/javascript"></SCR'+'IPT>');
//-->
</SCRIPT>
<NOSCRIPT>
<A href="https://reach.slowtwitch.com/servlet/click/zone?zid=21&pid=0&lookup=true&position=1" target="_top">
<IMG src="https://reach.slowtwitch.com/servlet/view/banner/image/zone?zid=21&pid=0&position=1" height="240" width="120" hspace="0" vspace="0" border="0" alt="Click Here!">
</A>
</NOSCRIPT>
<!-- END ADVERTPRO CODE BLOCK -->

View File

@ -0,0 +1,21 @@
<!-- BEGIN ADVERTPRO CODE BLOCK -->
<!-- Zone ID: 50 -->
<!-- Zone Name: Slowtwitch - 160x600 - No Roadblocks Allowed -->
<!-- Size ID: 14 -->
<!-- Size Name: Skyscraper -->
<!-- Size Width: 160 -->
<!-- Size Height: 600 -->
<SCRIPT language="JavaScript" type="text/javascript">
<!--
document.write('<SCR'+'IPT src="https://reach.slowtwitch.com/servlet/view/banner/javascript/zone?zid=50&pid=0&random='+Math.floor(89999999*Math.random()+10000000)+'&millis='+new Date().getTime()+'&referrer='+escape(document.location)+'" language="JavaScript" type="text/javascript"></SCR'+'IPT>');
//-->
</SCRIPT>
<NOSCRIPT>
<A href="https://reach.slowtwitch.com/servlet/click/zone?zid=50&pid=0&lookup=true&position=1" target="_top">
<IMG src="https://reach.slowtwitch.com/servlet/view/banner/image/zone?zid=50&pid=0&position=1" height="600" width="160" hspace="0" vspace="0" border="0" alt="Click Here!">
</A>
</NOSCRIPT>
<!-- END ADVERTPRO CODE BLOCK -->

View File

@ -0,0 +1,21 @@
<!-- BEGIN ADVERTPRO CODE BLOCK -->
<!-- Zone ID: 49 -->
<!-- Zone Name: Slowtwitch - 160x600 - Roadblocks Allowed -->
<!-- Size ID: 14 -->
<!-- Size Name: Skyscraper -->
<!-- Size Width: 160 -->
<!-- Size Height: 600 -->
<SCRIPT language="JavaScript" type="text/javascript">
<!--
document.write('<SCR'+'IPT src="https://reach.slowtwitch.com/servlet/view/banner/javascript/zone?zid=49&pid=0&random='+Math.floor(89999999*Math.random()+10000000)+'&millis='+new Date().getTime()+'&referrer='+escape(document.location)+'" language="JavaScript" type="text/javascript"></SCR'+'IPT>');
//-->
</SCRIPT>
<NOSCRIPT>
<A href="https://reach.slowtwitch.com/servlet/click/zone?zid=49&pid=0&lookup=true&position=1" target="_top">
<IMG src="https://reach.slowtwitch.com/servlet/view/banner/image/zone?zid=49&pid=0&position=1" height="600" width="160" hspace="0" vspace="0" border="0" alt="Click Here!">
</A>
</NOSCRIPT>
<!-- END ADVERTPRO CODE BLOCK -->

View File

@ -0,0 +1,15 @@
<!-- BEGIN ADVERTSERVE CODE -->
<!--
Zone #108: 2023 - 300x250
Size #8: Medium Rectangle [300x250]
Automatic Refresh: 30 seconds
Secure (HTTPS): enabled
-->
<div data-tagid="avp_zid_108">
<br />
<script type="text/javascript">
var _avp = _avp || [];
_avp.push({ tagid: 'avp_zid_108', alias: '/', type: 'banner', zid: 108, pid: 0, iframe: true, width: 300, height: 250, refresh: 30, refresh_limit: 60, inview: true, secure: true });
</script>
</div>
<!-- END ADVERTSERVE CODE -->

View File

@ -0,0 +1,15 @@
<!-- BEGIN ADVERTSERVE CODE -->
<!--
Zone #107: 2023 - 300x250 - Roadblock
Size #8: Medium Rectangle [300x250]
Automatic Refresh: 30 seconds
Secure (HTTPS): enabled
-->
<div data-tagid="avp_zid_107">
<br />
<script type="text/javascript">
var _avp = _avp || [];
_avp.push({ tagid: 'avp_zid_107', alias: '/', type: 'banner', zid: 107, pid: 0, iframe: true, width: 300, height: 250, refresh: 30, refresh_limit: 60, inview: true, secure: true });
</script>
</div>
<!-- END ADVERTSERVE CODE -->

View File

@ -0,0 +1,14 @@
<!-- BEGIN ADVERTSERVE CODE -->
<!--
Zone #111: 2023 - 300x600 - Roadblock
Size #27: Filmstrip (Half Page Ad) [300x600]
Automatic Refresh: 30 seconds
Secure (HTTPS): enabled
-->
<div data-tagid="avp_zid_111">
<script type="text/javascript">
var _avp = _avp || [];
_avp.push({ tagid: 'avp_zid_111', alias: '/', type: 'banner', zid: 111, pid: 0, iframe: true, width: 300, height: 600, refresh: 30, refresh_limit: 60, inview: true, secure: true });
</script>
</div>
<!-- END ADVERTSERVE CODE -->

View File

@ -0,0 +1,14 @@
<!-- BEGIN ADVERTSERVE CODE -->
<!--
Zone #110: 2023 - 728x90
Size #19: Jumbo Banner [728x90]
Automatic Refresh: 30 seconds
Secure (HTTPS): enabled
-->
<div data-tagid="avp_zid_110">
<script type="text/javascript">
var _avp = _avp || [];
_avp.push({ tagid: 'avp_zid_110', alias: '/', type: 'banner', zid: 110, pid: 0, iframe: true, width: 728, height: 90, refresh: 30, refresh_limit: 60, inview: true, secure: true });
</script>
</div>
<!-- END ADVERTSERVE CODE -->

View File

@ -0,0 +1,10 @@
<!-- BEGIN ADVERTSERVE CODE -->
<!--
Zone #106: 2023 - Wallpaper
Secure (HTTPS): enabled
-->
<script type="text/javascript">
var _avp = _avp || [];
_avp.push({ alias: '/', type: 'wallpaper', zid: 106, pid: 0, secure: 'true' });
</script>
<!-- END ADVERTSERVE CODE -->

Binary file not shown.

View File

@ -0,0 +1,39 @@
@import url(core.css);
.headbox .botbox {
border-right: 0;
height: 15px;
}
.line {
margin: 20px 0;
}
/* privacy */
.headbox .published-date {
float: right;
color: #adadad;
}
.headbox .author {
padding-left: 20px;
}
.headbox .author,
.headbox .author a {
overflow: hidden;
text-transform: uppercase;
font-size: 15px;
color: #adadad;
}
/* about us */
.bio {
margin: 20px 0;
}
.bio .bio-photo {
float: left;
padding-right: 10px;
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Some files were not shown because too many files have changed in this diff Show More