adding all of botlist, initial add
[botlist.git] / openbotlist / WEB-INF / jsps / create_listing.jsp
blob617a6fb8ac82b79e1ebc8fb319a37a5ec9431abb
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>Botlist - Create Listing</title>
8 <META NAME="DESCRIPTION" CONTENT="BotList - Promote yourself or something else interesting">
9 <META NAME="keywords" CONTENT="listing, bot, botlist, botlisting, bot's list, list, ads, advertising">
11 <link href="<c:url value="/company/stylesheets/scaffold.css" />" media="screen" rel="Stylesheet" type="text/css" />
12 <link href="<c:url value="/company/stylesheets/newspirit.css" />" media="screen" rel="Stylesheet" type="text/css" />
13 <link href="<c:url value="/company/stylesheets/botlist.css" />" media="screen" rel="Stylesheet" type="text/css" />
15 </head>
16 <body>
18 <div id="body_content_center">
20 <div style="border-bottom: 1px solid #816943;">
21 <img src="<c:url value="/company/images/building_orange_roof.jpg" />">
22 </div>
23 <h1 class="bot_titlelogo">BotList - Create Listing | Home</h1>
24 <%-- Navigation Header --%>
25 <%@include file="/WEB-INF/jsps/general/default_navigation.jsp" %>
26 <%-- End of Navigation Header --%>
29 <br>
30 <div style="color: #777; font-size: 12pt;">
31 Area: <c:out value="${command.cityListing.cityName}" />
32 | <c:out value="${command.postSection.sectionName}" />
33 </div>
36 <div style="margin: 20px;">
38 <div style="border: 1px solid #DDD; padding: 10px;">
39 <!-- Display the error message -->
40 <div class="bot_profile_sect_add_link ">
42 <!-- Build the table for entering the new department information -->
43 <a href="<c:url value="/spring/citylist.html" />" class="linklist_botnav">/ Home</a>
45 <form:form method="post" enctype="multipart/form-data">
46 <form:errors path="*" cssClass="general_field_error" />
47 <table>
49 <%-- First Name --%>
50 <tr>
51 <td valign="top"><b>Title:</b></td>
52 </tr>
53 <tr>
54 <td>
55 <form:input path="title" size="40" />
56 </td>
57 <td>
58 <form:errors path="title" cssClass="general_field_error" />
59 </td>
60 </tr>
62 <!-- First Name -->
63 <tr>
64 <td valign="top"><b>Topic Listing:</b></td>
65 </tr>
66 <tr>
67 <td valign="top">
68 <form:textarea rows="12" cols="60" path="message" />
69 </td>
70 <td valign="top">
71 <form:errors path="message" cssClass="general_field_error" />
72 </td>
73 </tr>
75 <%-- Email --%>
76 <tr>
77 <td valign="top"><b>Email (will not be displayed):</b></td>
78 </tr>
79 <tr>
80 <td>
81 <form:input path="email" size="40" />
82 </td>
83 <td valign="top">
84 <form:errors path="email" cssClass="general_field_error" />
85 </td>
86 </tr>
88 <tr><td valign="top"><b>Listing URL:</b></td></tr>
89 <tr>
90 <td>
91 <form:input path="mainUrl" size="40" />
92 </td>
93 </tr>
95 <tr><td valign="top"><b>Keywords (space separated):</b></td></tr>
96 <tr>
97 <td>
98 <form:input path="keywords" size="40" />
99 </td>
100 </tr>
103 <tr>
104 <td>
105 <input type="submit" id="save" value=" Save Topic " />
106 <input type="submit" id="preview" value=" Preview " />
107 </td>
108 </tr>
110 <tr>
111 <td valign="top">
112 <!-- Additional Section for Spam Prevition Simple Addition -->
113 <div style="margin-left: 24px; margin-top: 10px;">
114 <div class="info_spam_addition" id="info_spam_addition">
115 <h2>Please add the following values in order to submit</h2>
117 <!-- table for spam verify -->
118 <table>
119 <tr>
120 <td>
121 <c:out value="${command.firstInput}" />
122 </td>
123 <td>+</td>
124 <td><c:out value="${command.secondInput}" /></td>
125 <td>=</td>
126 <td>
127 <form:input size="6" path="userSolution" />
128 </td>
129 </tr>
130 </table>
131 <!-- End of Table for spam verify -->
132 </div>
133 <!-- End of Addition for Spam Check -->
134 </div>
135 </td>
136 <td valign="top">
137 <div style="margin-top: 10px;">
138 <form:errors path="userSolution" cssClass="general_field_error" />
139 </div>
140 </td>
141 </tr>
142 <%-- Next Row for adding images --%>
143 <tr>
144 <td>
145 <div style="margin-left: 24px;">
146 <fieldset>
147 <legend align="left">&nbsp;<b>Select image(s) for upload (optional, jpeg only)</b>&nbsp;</legend>
148 <%-- Div to add padding and background --%>
149 <div style="padding: 4px;">
150 <table cellpadding="4" cellspacing="4" border="0">
151 <tr>
152 <td>
153 <nobr>Image 1:</nobr>
154 </td>
155 <td>
156 <spring:bind path="command.uploadFilenameFirst">
157 <input type="file" name="<c:out value="${status.expression}" />" size="35">
158 </spring:bind>
159 </td>
160 </tr>
161 <tr>
162 <td>
163 <nobr>Image 2:</nobr>
164 </td>
165 <td>
166 <spring:bind path="command.uploadFilenameSecond">
167 <input type="file" name="<c:out value="${status.expression}" />" size="35">
168 </spring:bind>
169 </td>
170 </tr>
171 </table>
172 </div>
173 </fieldset>
174 </div>
175 <!-- End of Div around field set -->
176 </td>
177 </tr>
178 <!-- End of Row -->
180 </table>
181 <!-- End of the table -->
182 </form:form>
184 </div>
186 </div>
188 </div>
190 <%@include file="/WEB-INF/jsps/general/default_footer.jsp"%>
191 </div>
193 </body>
194 </html>