<tiles:insert template="/WEB-INF/view/common/admin/layout.jsp" flush="true">
	<tiles:put name="title"><bean:message key="labels.crawling_session_configuration" /></tiles:put>
	<tiles:put name="header" value="/WEB-INF/view/common/admin/header.jsp" />
	<tiles:put name="footer" value="/WEB-INF/view/common/admin/footer.jsp" />
	<tiles:put name="menu" value="/WEB-INF/view/common/admin/menu.jsp" />
	<tiles:put name="menuType" value="crawlingSession" />
	<tiles:put name="headerScript" type="string"></tiles:put>
	<tiles:put name="body" type="string">

      <div id="main">

<!-- Message: BEGIN -->
<div><html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages><html:errors/></div>
<!-- Message: END -->

<!-- Confirm Form: BEGIN -->
	<s:form>
		<html:hidden property="crudMode"/>
		<div class="form-table">
<html:hidden property="id"/>
		<table>
			<caption><bean:message key="labels.crawling_session_title_confirm"/></caption>
			<tbody>
                <tr>
                    <th><bean:message key="labels.crawling_session_session_id"/></th>
                    <td><html:link href="${f:url('/admin/searchList/search')}?query=segment:${f:u(sessionId)}">${f:h(sessionId)}</html:link><html:hidden property="sessionId"/></td>
                </tr>
<c:forEach var="info" items="${crawlingSessionInfoItems}">
                <tr>
                    <th>${f:h(info.key)}</th>
                    <td align="right">${f:h(info.value)}</td>
                </tr>
</c:forEach>
			</tbody>
			<tfoot>
				<tr>
					<td colspan="2">
        <c:if test="${crudMode == 1}">
            <input type="submit" name="back" value="<bean:message key="labels.crawling_session_button_back"/>"/>
        </c:if>
        <c:if test="${crudMode == 2}">
            <input type="submit" name="back" value="<bean:message key="labels.crawling_session_button_back"/>"/>
        </c:if>
        <c:if test="${crudMode == 3}">
            <input type="submit" name="delete" value="<bean:message key="labels.crawling_session_button_delete"/>"/>
            <input type="submit" name="back" value="<bean:message key="labels.crawling_session_button_back"/>"/>
        </c:if>
        <c:if test="${crudMode == 4}">
            <input type="submit" name="back" value="<bean:message key="labels.crawling_session_button_back"/>"/>
            <input type="submit" name="deletefromconfirm" value="<bean:message key="labels.crawling_session_button_delete"/>"/>
        </c:if>
					</td>
				</tr>
			</tfoot>
		</table>
		</div>
	</s:form>
<!-- Confirm Form: BEGIN -->

      </div>

	</tiles:put>
</tiles:insert>
