discourse-legacysite-perl/site/slowtwitch.com/cgi-bin/articles/admin/templates/luna/local/home.html.bak2
2024-06-17 21:49:12 +10:00

149 lines
5.2 KiB
Plaintext

<!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">
<div class="clear"><!--#include virtual="/photos/include_photos_snippet.html" --></div>
<br />
<%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">
<%if Image1_thumbnail_path%><div style="float: right; width:100px; padding-right: 10px;">
<img src="<%Image1_thumbnail_path%>" style="padding-left: 10px"/>
</div><%endif%>
<div>
<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 = 5%>
<div style="padding-bottom: 5px; margin-bottom: 5px; padding-left: 0px;">
<%adzone_300x250_1%>
</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',18)%>
<%set i=1%>
<%loop editorial_links_loop%>
<%Plugins::SlideShow::generate_paths($ID)%><%rewrite_detail_url%>
<div class="clear" style="padding-bottom: 10px">
<%if Image1_thumbnail_path%><div style="float: right; width:100px; padding-right: 10px;">
<img src="<%Image1_thumbnail_path%>" style="padding-left: 10px;"/>
</div><%endif%>
<div>
<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 = 2%>
<div style="padding-bottom: 5px; margin-bottom: 5px; padding-left: 0px;">
<%adzone_300x250_1%>
</div>
<%endif%>
<%if i = 6%>
<div style="padding-bottom: 5px; margin-bottom: 5px; padding-left: 0px;">
<%adzone_300x250_1%>
</div>
<%endif%>
<%if i = 11%>
<div style="padding-bottom: 5px; margin-bottom: 5px; padding-left: 0px;">
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 3,
interval: 5000,
width: 300,
height: 250,
theme: {
shell: {
background: '#0a51a1',
color: '#ffffff'
},
tweets: {
background: '#fcfcfc',
color: '#000000',
links: '#0a51a1'
}
},
features: {
scrollbar: false,
loop: false,
live: false,
hashtags: true,
timestamp: true,
avatars: false,
behavior: 'all'
}
}).render().setUser('slowtwitch').start();
</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>