70 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			70 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!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%>: Search Results</title>
 | 
						|
<%include include_common_head.html%>
 | 
						|
</head>
 | 
						|
<body id="search_results">
 | 
						|
<%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($main_title_loop, separator => $crumb_separator, no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%></div>
 | 
						|
<h2>Search Results</h2>
 | 
						|
 | 
						|
<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>Categories</h3>
 | 
						|
 | 
						|
<ul>
 | 
						|
<%~loop category_results_loop%>
 | 
						|
  <%~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)%>
 | 
						|
  <li><%if highlight and query%><%Links::Tools::highlight($formatted_title, $query)%><%else%><%formatted_title%><%endif%></li>
 | 
						|
<%~endloop%>
 | 
						|
</ul>
 | 
						|
<%~endif%>
 | 
						|
 | 
						|
<%if link_results_loop.length~%>
 | 
						|
<h3>Links</h3>
 | 
						|
 | 
						|
<%if paging.num_hits%><div class="paging"><%Links::Utils::paging()%></div><%endif%>
 | 
						|
 | 
						|
<%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%>
 | 
						|
<%include link.html%>
 | 
						|
<%~endloop%>
 | 
						|
<%~endif%>
 | 
						|
 | 
						|
<%if paging.num_hits%><div class="paging"><%Links::Utils::paging(button_id => 'paging_button2')%></div><%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>
 |