adding all of botlist, initial add
[botlist.git] / openbotlist / WEB-INF / jsps / index.jsp
blob8540aad99ade2c69c1e5f897acc9f67d7d03ea06
1 <%@include file="/WEB-INF/jsps/general/default_doc_type.jsp" %>
2 <%@ page contentType="text/html" %>
3 <%@include file="/WEB-INF/jsps/general/default_includes.jsp" %>
4 <html xmlns="http://www.w3.org/1999/xhtml">
5 <head>
6 <title><spring:message code="system.html.title"/></title>
8 <meta name="verify-v1" content="5vYTM0GqfzX+H+qkXwFSztV8Y7vHygc6kxtGldxcc+8=" ></meta>
9 <meta name="DESCRIPTION" content="Botlist - Promote yourself or something else interesting. Like Reddit or Digg but for adults. New and exciting article web submissions with user ratings. (built with Scala, JRuby, Spring, Liftweb, Haskell technology)"></meta>
10 <meta name="keywords" content="articles, wikileaks, secret information, dune, obama 2008, ron paul 2008, article, submissions, web submit, user ratings, listing, bot, botlist, botlisting, bot's list, list, ads, advertising, social bookmarking, networking, social networking, reddit, digg, scala, jruby, liftweb"></meta>
12 <link type="application/rss+xml" rel="alternate" title="Botverse - Link Listings" href="<c:url value="/spring/rss/listings_rss.html" />"></link>
13 <link href="<c:url value="/company/stylesheets/scaffold.css" />" media="screen" rel="Stylesheet" type="text/css" ></link>
14 <link href="<c:url value="/company/stylesheets/newspirit.css" />" media="screen" rel="Stylesheet" type="text/css" ></link>
15 <link href="<c:url value="/company/stylesheets/botlist.css" />" media="screen" rel="Stylesheet" type="text/css" ></link>
16 <link href="<c:url value="/company/stylesheets/botlist_general2.css" />" media="screen" rel="Stylesheet" type="text/css" ></link>
18 <style type="text/css">
19 <%@include file="/WEB-INF/jsps/general/botverse_link_stat.jsp" %>
20 </style>
21 </head>
22 <body>
23 <div id="body_content_center">
24 <div style="border-bottom: 1px solid #816943;">
25 <img src="<c:url value="/company/images/building_orange_roof.jpg" />" alt="Botlist header logo" />
26 </div>
27 <h1 class="bot_titlelogo">
28 [ Botlist Home ] (thenetwork at ghostbots.com)
29 </h1>
30 <%-- Navigation Header --%>
31 <%@include file="/WEB-INF/jsps/general/default_navigation.jsp" %>
32 <%-- End of Navigation Header --%>
34 <div style="margin: 8px;">
35 <h3 class="bot_headerinfo">
36 All your favorite links in one place. Bookmark popular items for you and friends. Check out what other people are interested in.
37 </h3>
38 </div>
39 <!-- Section with City Listing -->
40 <div style="margin: 8px;">
42 <%-- Add Welcome user message and login content (above content border line) --%>
43 <%@include file="/WEB-INF/jsps/general/default_profile_nav.jsp" %>
44 <%-- End of Welcome Header --%>
46 <div id="link_content_group">
48 <!-- Table of Data Grid and Image -->
49 <table width="100%" >
50 <tr>
51 <td valign="top" align="left">
52 <%-- ==== Next Set of Data, Recent Links ==== --%>
53 <div style="margin-left: 4px;">
54 <table width="100%">
55 <tr>
56 <td>
57 <span style="background-color: #e8e8e8; padding: 4px; text-align: left;">&nbsp;most recent updates:</span>
58 &nbsp;/ <a href="<c:url value="/spring/botverse/botverse.html?filterset=mostrecent" />" class="linklist_botnav">view more</a>
59 / <a href="<c:url value="/spring/botverse/botverse_submit.html" />" class="linklist_botnav">submit</a>
60 &nbsp;&nbsp;<span style="color: #555;"><i>(<c:out value="${linkCount}" /> entries)</i></span>
61 <%-- Banner Section --%>
62 <c:choose>
63 <c:when test="${headline != null}" >
64 <div style="width: 80%;">
65 <div style="color: #444; font-size: 14pt; background-color: #e7f0f1; padding: 6px;">
66 <c:out value="${headline}" />
67 </div>
68 </div>
69 </c:when>
70 </c:choose>
71 <%-- End of Banner Section --%>
72 </td>
73 </tr>
74 <tr>
75 <td valign="top">
76 <%-- ================= --%>
77 <%-- == 2/2/2008; Two column system, first set of links on left == --%>
78 <%-- == TODO: figure out cleaner approach with jsp/struts includes --%>
79 <%-- ================= --%>
80 <div id="two_col_left_links">
81 <%@include file="/WEB-INF/jsps/general/botverse_incl/botverse_index_sect.jsp" %>
82 </div>
83 <div id="two_col_right_links">
84 <%@include file="/WEB-INF/jsps/general/botverse_incl/botverse_index_sect_right.jsp" %>
85 </div>
86 <%-- (end) ================= --%>
87 </td>
88 </tr>
89 <%-- ==== Print Map Reduce Top Terms ==== --%>
90 <%--
91 <tr>
92 <td>
93 <c:forEach items="${popularwordmap}" var="curWord" varStatus="status">
94 <c:out value="${curWord}" />
95 </c:forEach>
96 </td>
97 </tr>
98 --%>
99 <%-- ==== End of Top Terms ==== ---%>
100 </table>
101 </div>
102 <%-- ==== End Next Set of Data, Recent Links ==== --%>
103 </td>
104 <td valign="top" align="right">
105 <!-- table just for search -->
106 <div class="home_search_wrapper">
107 <table class="sample" cellspacing="0" cellpadding="0">
108 <tr>
109 <th>
110 &nbsp;Search
111 </th>
112 </tr>
113 <tr>
114 <td>
115 <!-- Begin Search Form -->
116 <form method="get" action="<c:url value="/spring/search/search.html" />">
117 <table>
118 <tbody>
119 <tr>
120 <td>
121 <input name="query" size="16" value="" />
122 </td>
123 <td>
124 <input type="submit" value=" Search " />
125 </td>
126 </tr>
127 </tbody>
128 </table>
129 <input type="hidden" name="querymode" value="enabled" />
130 </form>
131 <!-- End of Form -->
132 <div style="text-align: right; margin-top: 4px;">
133 <a href="<c:url value="/spring/botverse/rss/botverse_rss.html" />" class="index_img">
134 <img style="border: 0px solid #FFF;" src="<c:url value="/company/images/rss.gif" />" width="36" height="15" alt="rss link" />
135 </a>
136 </div>
137 </td>
138 </tr>
139 </table>
140 </div>
141 <!-- End of Table for search -->
142 <%-- ============================== --%>
143 <%-- New table for botverse image / media feeds / hot topics --%>
144 <%-- ============================== --%>
145 <table border="0">
146 <tr>
147 <td style="width: 100%" rowspan="2" valign="top">
148 <%-- ============================== --%>
149 <%-- Hot Topic Section (deprecated) --%>
150 <%-- ============================== --%>
151 </td>
152 <td align="right">
153 <%-- == Botlist Logo Image == --%>
154 <a href="<c:url value="/spring/botverse/botverse.html" />" class="index_img">
155 <img src="<c:url value="/company/images/BoxLogoVertical3.jpg" />" border="0" alt="Logo Vertical" width="130" height="104" />
156 </a>
157 </td>
158 </tr>
159 <tr>
160 <td valign="top">
161 <%-- ============================== --%>
162 <%-- Display Media Table if enabled --%>
163 <%-- ============================== --%>
164 <c:if test="${mediaListEnabled}">
165 <div style="margin-top: 8px;">
166 <table cellspacing="0" cellpadding="0">
167 <tr>
168 <td style="background-color: #e8e8e8; padding: 4px; width: 100%;" valign="top">
169 <span style="background-color: #e8e8e8; padding: 4px; width: 100%;">
170 <b>related media feeds</b>
171 </span>
172 </td>
173 </tr>
174 <c:forEach items="${mediaList}" var="curmedia" varStatus="status">
175 <tr>
176 <td valign="top">
177 <%-- Media Section is made up table (image, title) --%>
178 <table cellspacing="0" cellpadding="12" width="100%">
179 <tr><td style="background-color: #e7f0f1;">
180 <a href="<c:out value="${curmedia.media.mediaUrl}" />"
181 class="index_img">
182 <img src="<c:out value="${curmedia.media.imageThumbnail}" />" border="0" width="130" />
183 </a>
184 </td></tr>
185 <tr><td style="background-color: #f1f1f1; width: 100%;">
186 <b><c:out value='${botlistutil:getMaxWord(curmedia.media.mediaTitle, 22)}' /></b>
187 </td></tr>
188 </table>
189 <%-- End of Media Table --%>
190 </td>
191 </tr>
192 </c:forEach>
193 </table> <%-- End of Table media feeds --%>
194 </div>
195 </c:if>
196 <%-- ============================== --%>
197 <%-- End of Display Media table --%>
198 <%-- ============================== --%>
199 </td>
200 </tr>
201 <%-- Table containg media feeds / botlist image --%>
202 </table>
203 <%-- Right Section for media feeds / rss link, etc --%>
204 </td>
205 </tr>
206 <%-- Header Content --%>
207 <tr>
208 <td colspan="2" align="right">
209 <div style="text-align: right">
210 <h2 class="bot_splashinfo">
211 Botlist contains fresh, user driven content.
212 </h2>
213 </div>
214 </td>
215 </tr>
216 </table> <%-- End of Header Content --%>
217 <!-- End Data/Image Table -->
218 </div>
219 </div>
220 <%@include file="/WEB-INF/jsps/general/default_footer.jsp" %>
221 </div>
222 <div>
223 <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
224 <script type="text/javascript">
225 _uacct = "UA-286501-2";
226 urchinTracker();
227 </script>
228 </div>
230 </body>
231 </html>