adding all of botlist, initial add
[botlist.git] / openbotlist / WEB-INF / jsps / search / global_results.jsp
blobfadde63b9a98939cd0ebb4b2808a146726b0ae03
1 <%@ page contentType="text/html"%>
2 <%@include file="/WEB-INF/jsps/general/default_includes.jsp" %>
3 <%@include file="/WEB-INF/jsps/general/default_doc_type.jsp" %>
4 <html xmlns="http://www.w3.org/1999/xhtml">
5 <head>
6 <title><c:out value="${command.searchTerm}" /> (Botverse - Search Results)</title>
8 <META NAME="DESCRIPTION" CONTENT="BotList - Search Results">
9 <META NAME="keywords" CONTENT="listing, bot, botlist, botlisting, bot's list, list, ads, advertising">
11 <link type="application/rss+xml" rel="alternate" title="Botverse - Link Listings" href="<c:url value="/spring/botverse/rss/botverse_rss.html" />">
13 <link href="<c:url value="/company/stylesheets/scaffold.css" />" media="screen" rel="Stylesheet" type="text/css" />
14 <link href="<c:url value="/company/stylesheets/newspirit.css" />" media="screen" rel="Stylesheet" type="text/css" />
15 <link href="<c:url value="/company/stylesheets/botlist.css" />" media="screen" rel="Stylesheet" type="text/css" />
17 <style type="text/css">
18 <%@include file="/WEB-INF/jsps/general/botverse_link_css.jsp" %>
19 </style>
21 <script type="text/javascript">
23 function submitForm(operation, linkid) {
24 var theForm = document.forms[0];
25 theForm.ratingId.value = linkid;
26 theForm.operation.value = operation;
27 theForm.submit();
30 </script>
33 </head>
34 <body>
36 <div id="body_content_center">
38 <div style="border-bottom: 1px solid #816943;">
39 <img src="<c:url value="/company/images/building_orange_roof.jpg" />">
40 </div>
41 <h1 class="bot_titlelogo">Botverse - Interesting things online | Post Popular Links, it is ok!</h1>
43 <%-- Navigation Header --%>
44 <%@include file="/WEB-INF/jsps/general/default_navigation.jsp" %>
45 <%-- End of Navigation Header --%>
47 <div style="margin: 10px;">
49 <%-- Add Welcome user message and login content (above content border line) --%>
50 <%@include file="/WEB-INF/jsps/general/botverse_profile_nav.jsp" %>
51 <%-- End of Welcome Header --%>
53 <div style="border: 1px solid #DDD; padding: 10px; margin-right: 10px;">
54 <!-- Display the error message -->
55 <div class="bot_profile_sect_add_link ">
57 <form:form method="post">
58 <form:errors path="*" cssClass="general_field_error" />
59 <p>
60 <table class="linklist_data" cellspacing="2" cellpadding="0">
61 <c:forEach items="${command.listings}" var="listing" varStatus="status">
62 <tr>
63 <td colspan="3">
64 <span class="rating_area">
65 <c:out value="${listing.rating}" /> pts
66 </span>
67 <a class="linklist_objlinks" href="<c:url value="${listing.mainUrl}" />" >
68 <c:out value="${listing.urlTitle}" />
69 </a>
70 <%-- Add custom tag here, find hostname --%>
71 <span class="linklist_comments_host">
72 &nbsp;(<botlistutil:hostname value="${listing.mainUrl}" />)
73 </span>
74 </td>
75 </tr>
76 <tr>
77 <td>
78 <!-- Inner table for data/status information -->
79 <table>
80 <tr>
81 <td>
82 <div style="margin-left: 10px;" class="linklist_comments_txt">
83 <c:set var="curStatusCount" value="${status.count}" />
84 <c:set var="curPageOffset" value="${command.pagingform.pageOffset}" />
85 <c:out value="${curStatusCount + curPageOffset}" />)
86 </div>
87 </td>
88 <td>
89 <div class="linklist_comments_txt">
90 <span class="linklist_comments_date">
91 <botlistutil:timePast dateValue="${listing.createdOn.time}" />
92 on <fmt:formatDate pattern="EE MMM, dd" value="${listing.createdOn.time}" />
93 </span>
94 </div>
95 </td>
96 <td>
97 <span class="linklist_comments">
98 <a class="linklist_comments" href="<c:url value="/spring/botverse/linkviewcomments.html?viewid=${listing.id}" />">details / comments (<c:out value="${listing.commentsCount}" />)</a>
99 </span>
100 | <span class="linklist_comments"><a class="linklist_comments" href="<c:url value="/spring/botverse/linkaddcomment.html?viewid=${listing.id}" />">add comment</a></span>
101 </td>
102 </tr>
103 <tr>
104 <td colspan="3">
105 <!-- == Keywords == -->
106 <span class="linklist_keywords">
108 <c:set var="keywordValue" value="${listing.keywords}" />
109 <b>relevancy</b>=<c:out value="${listing.searchScore}" />
110 &nbsp;&nbsp;&nbsp;
111 tags / <c:out value="${botlistutil:tagViewKeywords(listing.keywords, 'linklist_keywords_lnk', '/botlist/spring/botverse/botverse.html?filterset=defkeytag&defkeytagid=', ' ')}" escapeXml="false" />
112 </span>
113 <%-- Print the UserName --%>
114 <span style="margin-left: 2px; font-size: 10px">
115 <span class="linklist_comments_date"><strong>by
116 <c:out value="${listing.fullName}" /></strong>
117 </span>
118 </span>
119 </td>
120 </tr>
121 </table>
122 <!-- End of inner table (loop) -->
123 </td>
124 </tr>
125 </c:forEach>
126 </table>
128 <form:hidden path="operation" />
129 <form:hidden path="ratingId" />
131 </form:form>
132 </div>
134 </div>
136 </div>
138 <%@include file="/WEB-INF/jsps/general/default_footer.jsp"%>
139 </div>
141 <%-- Debug, how long to process page --%>
142 <div style="font-size: 10px; color: #888;text-align: right">
143 <i>(process in <c:out value="${processingtime}" />s)</i>
144 </div>
146 </body>
147 </html>