|
1 |
| -<%@ page contentType="text/html;charset=utf-8" %> |
2 |
| -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| 1 | +<%@ page contentType="text/html;charset=utf-8" %> |
| 2 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
3 | 3 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
4 | 4 |
|
5 | 5 | <%@ page contentType="text/html;charset=utf-8" %>
|
|
31 | 31 | </head>
|
32 | 32 |
|
33 | 33 | <body>
|
34 |
| - |
35 |
| -<jsp:include page="top.jsp" > |
36 |
| - <jsp:param name="level1" value="long"/> |
37 |
| -</jsp:include> |
38 |
| - |
39 |
| -<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
40 |
| -<tbody> |
41 |
| - <tr valign="top"> |
42 |
| -<%-- Left Column Begins--%> |
43 |
| - <td width="180"> |
44 |
| - <jsp:include page="includes/global_left.jsp"> |
45 |
| - <jsp:param name="node" value="long_compete"/> |
46 |
| - </jsp:include> |
47 |
| - </td> |
48 |
| -<%-- Left Column Ends --%> |
49 |
| - |
50 |
| -<%-- Center Column Begins --%> |
51 |
| - <td width="100%" align="left" class="bodyColumn"> |
52 |
| - |
53 |
| - <jsp:include page="page_title.jsp"> |
54 |
| - <jsp:param name="image" value="long_comps_topcoder"/> |
55 |
| - <jsp:param name="title" value="Active Contests"/> |
56 |
| - </jsp:include> |
57 |
| - |
58 |
| - <div align="right" style="margin: 6px 0px;"> |
59 |
| - <a href="/longcontest/?module=Static&d1=instructions"><img src="/i/interface/getStarted.png" alt="Need help? Learn how to get started" /></a><br /><br /> |
60 |
| - <br /> |
61 |
| - </div> |
62 |
| - |
63 |
| - <%-- MM Promo On/Off--%> |
64 |
| - <div align="right" style="margin: 6px 0px;"> |
65 |
| - |
66 |
| - |
67 |
| - </div> |
68 |
| - |
69 |
| - |
70 |
| - <table cellpadding="0" cellspacing="0" border="0" width="100%" class="stat"> |
71 |
| - |
72 |
| - <tr> |
73 |
| - <td class="title" colspan="8">Active Contests</td> |
74 |
| - </tr> |
75 |
| - <tr> |
76 |
| - <td class="header">Contest</td> |
77 |
| - <td class="header" colspan="2">Problem</td> |
78 |
| - <td class="headerC">Registrants</td> |
79 |
| - <td class="headerC">Competitors</td> |
80 |
| - <td class="headerC">Submissions</td> |
81 |
| - <td class="headerC" nowrap="nowrap">Start Time</td> |
82 |
| - <td class="headerC" nowrap="nowrap">End Time</td> |
83 |
| - </tr> |
84 |
| - |
85 |
| - <c:set value="<%=RoundType.MARATHON%>" var="mmRoundType"/> |
86 |
| - <c:set value="<%=RoundType.MARATHON_QA%>" var="mmQARoundType"/> |
87 |
| - <%boolean even = true;%> |
88 |
| - <logic:iterate name="<%=Constants.CONTEST_LIST_KEY%>" id="contest"> |
89 |
| - |
90 |
| -<!-- EXCLUDE LEGACY CMAP MATCH --> |
91 |
| -<logic:notEqual name="contest" property="roundID" value="17391"> |
92 |
| - |
93 |
| - <tr class="<%=even?"light":"dark"%>"> |
94 |
| - <td class="value"> |
95 |
| - <% pageContext.setAttribute("sponsorImage", ((LongContest) contest).getSponsorImage());%> |
96 |
| - <div style="float: right; margin-left: 4px;"> |
97 |
| - <ci:sponsorImage image="sponsorImage" alt="Sponsor" border="0" ifNull=""/></div> |
98 |
| - <c:choose> |
99 |
| - <c:when test="${mmRoundType==contest.roundTypeId || mmQARoundType==contest.roundTypeId}"> |
100 |
| - <a href="/tc?module=MatchDetails&<%=Constants.ROUND_ID%>=${contest.roundID}" > |
101 |
| - <mm:contest roundTypeId="${contest.roundTypeId}" contestName="${contest.contestName}" roundName="${contest.contestName} - ${contest.roundName}" /> |
102 |
| - </a> |
103 |
| - </c:when> |
104 |
| - <c:otherwise> |
105 |
| - <mm:contest roundTypeId="${contest.roundTypeId}" contestName="${contest.contestName}" roundName="${contest.roundName}" /> |
106 |
| - </c:otherwise> |
107 |
| - </c:choose> |
108 |
| - <div style="margin: 6px 10px;"> |
109 |
| - <logic:notEqual name="contest" property="forumId" value="0"> |
110 |
| - <tc-webtag:forumLink forumID="<%=((LongContest)contest).getForumId()%>" message="discuss"/> | |
111 |
| - </logic:notEqual> |
112 |
| - <a href="<jsp:getProperty name="sessionInfo" property="servletPath"/>?module=ViewStandings&<%=Constants.ROUND_ID%>=<tc-webtag:beanWrite name="contest" property="roundID"/>">standings</a> |
113 |
| - </div> |
114 |
| - </td> |
115 |
| - <td class="value"> |
116 |
| - <a href="<jsp:getProperty name="sessionInfo" property="servletPath"/>?module=ViewProblemStatement&<%=Constants.COMPONENT_ID%>=<tc-webtag:beanWrite name="contest" property="componentID"/>&<%=Constants.ROUND_ID%>=<tc-webtag:beanWrite name="contest" property="roundID"/>" > |
117 |
| - <tc-webtag:beanWrite name="contest" property="problemName"/> |
118 |
| - </a> |
119 |
| - </td> |
120 |
| - <td class="valueC"> |
121 |
| - <c:choose> |
122 |
| - <c:when test="${isAnonymous}"> |
123 |
| - <a href="<jsp:getProperty name="sessionInfo" property="servletPath"/>?module=ViewReg&<%=Constants.ROUND_ID%>=<tc-webtag:beanWrite name="contest" property="roundID"/>" |
124 |
| - >Register/Submit</a> |
125 |
| - </c:when> |
126 |
| - <c:otherwise> |
127 |
| - <logic:equal name="contest" property="passed" value="false"> |
128 |
| - <logic:equal name="contest" property="coderRegistered" value="false"> |
129 |
| - <a href="<jsp:getProperty name="sessionInfo" property="servletPath"/>?module=ViewReg&<%=Constants.ROUND_ID%>=<tc-webtag:beanWrite name="contest" property="roundID"/>" |
130 |
| - >Register</a> |
131 |
| - </logic:equal> |
132 |
| - <logic:notEqual name="contest" property="coderRegistered" value="false"> |
133 |
| - <a href="<jsp:getProperty name="sessionInfo" property="servletPath"/>?module=Submit&<%=Constants.COMPONENT_ID%>=<tc-webtag:beanWrite name="contest" property="componentID"/>&<%=Constants.ROUND_ID%>=<tc-webtag:beanWrite name="contest" property="roundID"/>&<%=Constants.CONTEST_ID%>=<tc-webtag:beanWrite name="contest" property="contestID"/>" |
134 |
| - >Submit</a> |
135 |
| - </logic:notEqual> |
136 |
| - </logic:equal> |
137 |
| - </c:otherwise> |
138 |
| - </c:choose> |
139 |
| - </td> |
140 |
| - <td class="valueC" align="center"> |
141 |
| - <a href="<jsp:getProperty name="sessionInfo" property="servletPath"/>?module=ViewRegistrants&<%=Constants.ROUND_ID%>=<tc-webtag:beanWrite name="contest" property="roundID"/>" > |
142 |
| - <tc-webtag:beanWrite name="contest" property="numRegistrants"/></a></td> |
143 |
| - <td class="valueC" align="center"> |
144 |
| - <tc-webtag:beanWrite name="contest" property="numCompetitors"/></td> |
145 |
| - <td class="valueC" align="center"> |
146 |
| - <tc-webtag:beanWrite name="contest" property="submissionCount"/></td> |
147 |
| - <td class="valueC" align="center" nowrap="nowrap"> |
148 |
| - <tc-webtag:beanWrite name="contest" property="startTime" |
149 |
| - format="'<strong>'MM.dd.yyyy'</strong><br />'HH:mm z"/></td> |
150 |
| - <td class="valueC" align="center" nowrap="nowrap"> |
151 |
| - <tc-webtag:beanWrite name="contest" property="endTime" |
152 |
| - format="'<strong>'MM.dd.yyyy'</strong><br />'HH:mm z"/></td> |
153 |
| - |
154 |
| - </tr> |
155 |
| - <%even = !even;%> |
156 |
| - |
157 |
| -<!-- ADDED TO EXCLUDE ROUNDS --> |
158 |
| -</logic:notEqual> |
159 |
| - |
160 |
| - </logic:iterate> |
161 |
| - |
162 |
| -<!-- ADDED TO SHOW NEW MATCH ON THE LEGACY PAGE --> |
163 |
| -<tr class="dark"> |
164 |
| -<td class="value"> |
165 |
| -<div style="float: right; margin-left: 4px;"> |
166 |
| -</div> |
167 |
| -<a href="https://www.topcoder.com/challenges/30076905">CMap: DPeak Challenge</a> |
168 |
| - <div style="margin: 6px 10px;"> |
169 |
| - <a href="https://www.topcoder.com/challenges/30076905?tab=submissions">standings</a> |
170 |
| - </div> |
171 |
| - </td> |
172 |
| - <td class="value"> |
173 |
| - <a href="https://www.topcoder.com/challenges/30076905?tab=registrants">CMap: DPeak Challenge</a> |
174 |
| - </td> |
175 |
| - <td class="valueC"> |
176 |
| -<a href="https://www.topcoder.com/challenges/30076905">Register</a> |
177 |
| -</td> |
178 |
| - <td class="valueC" align="center"> |
179 |
| - <a href=""></a> |
180 |
| - </td> |
181 |
| - <td class="valueC" align="center"></td> |
182 |
| -<td class="valueC" align="center"></td> |
183 |
| - <td class="valueC" align="center" nowrap="nowrap"><strong>12.14.2018</strong><br>11:03 EST</td> |
184 |
| - <td class="valueC" align="center" nowrap="nowrap"><strong>01.04.2019</strong><br>08:58 EST</td> |
185 |
| -</tr> |
186 |
| - |
187 |
| - |
188 |
| - <logic:empty name="<%=Constants.CONTEST_LIST_KEY%>"> |
189 |
| - <tr class="light"> |
190 |
| - <td class="valueC" colspan="8"> |
191 |
| - <div align="center" style="margin: 40px 0px 40px 0px;"> |
192 |
| - There are currently no active contests, but check back soon. |
193 |
| - </div> |
194 |
| - </td> |
195 |
| - </tr> |
196 |
| - </logic:empty> |
197 |
| - </table> |
198 |
| - |
199 |
| -<!-- <div align="center" style="margin:10px;"> |
200 |
| - <a href="javascript:arena();"><img src="/i/longcontest/launchArena.png" alt="Launch Arena" /></a> |
201 |
| - </div> --> |
202 |
| - |
203 |
| - </td> |
204 |
| -<%-- Center Column Ends --%> |
205 |
| - |
206 |
| -<%-- Right Column Begins --%> |
207 |
| - <td width="170"> |
208 |
| - <jsp:include page="public_right.jsp"> |
209 |
| - <jsp:param name="level1" value="branded"/> |
210 |
| - </jsp:include> |
211 |
| - </td> |
212 |
| -<%-- Right Column Ends --%> |
213 |
| - |
214 |
| - </tr> |
215 |
| -</tbody> |
216 |
| -</table> |
217 |
| - |
218 |
| -<jsp:include page="foot.jsp" /> |
| 34 | + <% |
| 35 | + // New location to be redirected |
| 36 | + String site = new String("https://www.topcoder.com/challenges/?filter[tracks][data_science]=true"); |
| 37 | + response.setStatus(response.SC_MOVED_PERMANENTLY); |
| 38 | + response.setHeader("Location", site); |
| 39 | + %> |
219 | 40 |
|
220 | 41 | </body>
|
221 | 42 |
|
|
0 commit comments