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

89 lines
4.0 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%Links::Utils::load_reviews($ID, $detailed_max_reviews)~%>
<html>
<head>
<title><%site_title%>: <%Title%></title>
<%include include_common_head.html%>
</head>
<body id="detailed">
<%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%>
<div class="crumb"><%Links::Utils::format_title($title_loop, separator => $crumb_separator, no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%></div>
<%if next_url or prev_url%><p class="linknav"><%if prev_url%><a href="<%prev_url%>"><img src="<%Links::Utils::image_url('paging-prev.gif')%>" alt="&lt;" /> Previous</a><%endif%><%if next_url and prev_url%> | <%endif%><%if next_url%><a href="<%next_url%>">Next <img src="<%Links::Utils::image_url('paging-next.gif')%>" alt="&gt;" /></a><%endif%></p><%endif%>
<h2>
<%Title%><%if URL and URL ne 'http://'%> <span class="hsmall">(<a href="<%config.db_cgi_url%>/jump.cgi?ID=<%ID%>">Visit this link</a>)</span><%endif%>
<%if isNew%><span class="new-item"><span>new</span></span><%endif%>
<%if isChanged%><span class="updated-item"><span>updated</span></span><%endif%>
<%if isPopular%><span class="popular-item"><span>popular</span></span><%endif%>
<%~if paymentsEnabled%>
<%if isUnpaid%><span class="unpaid-item"><span>unpaid</span></span><%endif%>
<%if isExpired%><span class="expired-item"><span>expired</span></span><%endif%>
<%if isFree%><span class="free-item"><span>free</span></span><%endif%>
<%~endif%>
</h2>
<%if Votes~%>
<p class="rating">
<%~set intRating = $Rating i/ 1%>
<img src="<%Links::Utils::image_url("stars-10-${intRating}.gif")%>" alt="<%intRating%> out of 10 stars" /> (<%Votes%> vote<%if Votes != 1%>s<%endif%>)
</p>
<%~endif%>
<%if Description%><p class="description"><%Description%></p><%endif%>
<p class="info">
Submitted by: <%escape_html LinkOwner%><br />
Hits: <%Hits%><br />
Added: <%Add_Date%><br />
<%if Add_Date ne $Mod_Date%>Last Modified: <%Mod_Date%><br /><%endif%>
</p>
<p class="actions">
<a href="<%config.db_cgi_url%>/review.cgi?ID=<%ID%>;add_review=1">Review It</a>
<a href="<%config.db_cgi_url%>/rate.cgi?ID=<%ID%>">Rate It</a>
<%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%>
</p>
<%if Review_Loop.length~%>
<h3>Reviews</h3>
<p class="reviewsheader"><a href="<%config.db_cgi_url%>/review.cgi?ID=<%ID%>;add_review=1">Add your own review</a></p>
<%loop Review_Loop~%>
<%include review_include.html%>
<%~endloop%>
<%if Review_Total > $Review_Loop.length%><p class="reviewsfooter"><a href="<%config.db_cgi_url%>/review.cgi?ID=<%ID%>">Read all <%Review_Total%> review<%if Review_Total != 1%>s<%endif%></a></p><%endif%>
<%~endif%>
<%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>