<!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>
<%include include_common_head.html%>
</head>
<body id="home">
<%include include_accessibility.html%>
  <div id="wrapper">
<%include include_header.html%>
<%include include_contentheader.html%>
    <div id="ocwrapper" class="clear">
      <div id="icwrapper" class="clear">
<%include include_leftsidebar.html%>
        <div id="contentwrapper" class="shadowleft">
<%include include_contentwrapper_top.html%>
          <div class="shadowtop"><div class="shadowtopleft"></div><div class="shadowtopright"></div></div>
          <div class="shadowright">
            <div id="content">

<%include include_content_top.html%>

<%--set split = Links::Utils::column_split($category_loop.length, $home_category_cols)~%>
<div class="clear">
<%loop category_loop%>
  <%~set splitmod = $row_num % $split%>
  <%~if row_num == 1 or splitmod == 1 or split == 1%><dl><%endif%>
<%~include subcategory.html%>
  <%~if row_num == $category_loop.length or splitmod == 0%></dl><%endif%>
<%~endloop%>
</div--%>

<%-- latest articles --%>
<div class="clear">
<dl style="width: 300px; float: left; margin-left: 0px; margin-top: 0px; padding-top: 0px; padding-right: 15px; border-right: 1px dotted dimgray; text-align: justify;">
<img src="http://www.slowtwitch.com/new_site_mock_images/home10.jpg" /><br /><br />
<%get_links('news','Add_Date DESC, Timestmp','DESC',20)%>
<%set i=1%>
<%loop news_links_loop%>
<%Plugins::SlideShow::generate_paths($ID)%><%rewrite_detail_url%>
    <div class="clear" style="padding-bottom: 10px">
        <% set tb = thumbnail($loop_value, $Image1_thumbnail_path) %>
        <%if tb %><div style="float: right; width:100px; padding-right: 10px;">
          <img src="<%tb%>" style="padding-left: 10px; max-width: 100px;" />
      </div><%endif%>
        <div>
<%if Link_Type eq "photo" and showLargePic eq "no" %><img src="http://www.slowtwitch.com/images/glinks/photo.gif" />&nbsp;<%endif%><%if Link_Type eq "video" OR hasVideo eq "Yes" %><img src="http://www.slowtwitch.com/images/glinks/video.gif" />&nbsp;<%endif%><a href="<%detailed_url%>" class="headline"><%Title%></a><br />
<%--a href="<%detailed_url%>" class="headline"><%Title%></a><%if Link_Type eq "photo" and showLargePic eq "no" %>&nbsp;<img src="http://www.slowtwitch.com/images/glinks/photo.gif" /><%endif%><%if Link_Type eq "video" %>&nbsp;<img src="http://www.slowtwitch.com/images/glinks/video.gif" /><%endif%><br /--%>

             <%Description%>  <span style="font-style: italic;"><%GT::Date::date_transform($Add_Date,$config.date_user_format, '%m%.%dd%.%yy%')%></span>
        </div>
    </div>
    <%if i = 5%>
     <div style="padding-bottom: 5px; margin-bottom: 5px; padding-left: 0px;">
      <%ad_300x250_noroadblocks%>
     </div>
    <%endif%>
    <%if i = 9%%>
     <div style="padding-bottom: 5px; margin-bottom: 5px; padding-left: 0px;">
       <iframe src="http://www.facebook.com/plugins/likebox.php?id=218142676048&amp;width=300&amp;connections=10&amp;stream=false&amp;header=true&amp;height=287" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px; height:287px;" allowTransparency="true"></iframe>
       </div>
<%endif%>
<%set i=i+1%>
<%endloop%>
</dl>


<dl style="width: 300px; float: right; margin-top: 0px; margin-right: 0px; padding-top: 0px; padding-left: 5px; text-align: justify;">
<img src="http://www.slowtwitch.com/new_site_mock_images/home9.jpg" /><br /><br />
<%get_links('editorial','Add_Date DESC, Timestmp','DESC',16)%>
<%set i=1%>
<%loop editorial_links_loop%>
<%Plugins::SlideShow::generate_paths($ID)%><%rewrite_detail_url%>
    <div class="clear" style="padding-bottom: 10px">
        <% set tb = thumbnail($loop_value, $Image1_thumbnail_path) %>
        <%if tb%><div style="float: right; width:100px; padding-right: 10px;">
          <img src="<%tb%>" style="padding-left: 10px; max-width: 100px;" />
      </div><%endif%>
        <div>
          <%if Link_Type eq "photo" and showLargePic eq "no" %><img src="http://www.slowtwitch.com/images/glinks/photo.gif" />&nbsp;<%endif%><%if Link_Type eq "video" OR hasVideo eq "Yes" %><img src="http://www.slowtwitch.com/images/glinks/video.gif" />&nbsp;<%endif%><a href="<%detailed_url%>" class="headline"><%Title%></a><br />
          <%Description%>  <span style="font-style: italic;"><%GT::Date::date_transform($Add_Date,$config.date_user_format, '%m%.%dd%.%yy%')%></span>
        </div>
    </div>
    <%if i = 3%>
     <div style="padding-bottom: 5px; margin-bottom: 5px; padding-left: 0px;">
      <%ad_300x250_roadblocks%>
     </div>
    <%endif%>
    <%if i = 7%>
            <div style="padding-bottom: 5px; margin-bottom: 5px; padding-left: 0px;">
      <%ad_300x250_noroadblocks%>
     </div>
    <%endif%>
     <%if i = 11%>
<div style="padding-bottom: 5px; margin-bottom: 5px; padding-left: 0px;">
<a class="twitter-timeline" href="https://twitter.com/slowtwitch" data-widget-id="347821823934738432">Tweets by @slowtwitch</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
	<%endif%>

<%set i=i+1%>
<%endloop%>
</dl>
</div>
<%--h4>There <%if grand_total != 1%>are<%else%>is<%endif%> <strong><%grand_total%></strong> link<%if grand_total != 1%>s<%endif%> for you to choose from!</h4--%>

<%include include_content_bottom.html%>
            </div>
          </div>
          <div class="shadowbottom"><div class="shadowbottomleft"></div><div class="shadowbottomright"></div></div>
<%include include_contentwrapper_bottom.html%>
        </div>
<%include include_rightsidebar.html%>
      </div>
    </div>
<%include include_contentfooter.html%>
<%include include_footer.html%>
  </div>
</body>
</html>