<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/WEB-INF/jspf/include/taglibs.jsp" %>



<tiles:insert definition="layout.main">
	<tiles:put name="body" type="String">		
		<table align="center" width="100%" height="100%" border=0>
			<tr valign="middle">
				<td align="center" valign="middle"> 
					<table border = 1>					
						<tr>
							<td>						
								Вы авторизованы	
							</td>
						<tr>
						
						<tr>
							<td>						
								Ваш баланс: <fmt:formatNumber value="${balance}" pattern="###0.##"/>  
							</td>
						<tr>
					
					<c:if test="${not empty securityLink}">
						<tr>
							<td colspan="1">
														
								<a href="${securityLink}">Безопасное соединение</a>
							</td>
						</tr>
					</c:if>

															
					<c:if test="${showStatistics}">						
						<tr valign="middle" align="left">
							<td valign="middle" align="left">
								<a href="/statistics.do">Статистика</a>
							</td>
						</tr>
					</c:if>
									
									


						
						<tr>
							<td>																					
								<form action="/logout.do">	
									<input type="submit" value="Выйти">								
								</form>								
							</td>
						<tr>
						</form>
						
					</tr>
					</table>
									
				</td>
			</tr>

		</table>

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