<%-- any content can be specified here e.g.: --%>
<%@ page pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

<script type="text/javascript" src="<c:url value="/js/core/privates.js" />"></script>

<div style="display:none">
    <div id="privados">
                        <div style="font-size: 20px; color:#2E2E2E; text-shadow: 0.1em 0.1em 0.2em black; margin:0 0 10px 12px;"><b>Mensajes Privados</b></div>
                        
        <c:forEach var="priv" items="${person.privados}">
            <div style="margin-top: 10px; border-radius: 4px;">
                <input type="button" class="reply" value="contestar" style="float:right; margin-right: 10px;" onclick="sendPrivate(${priv.from.user_id}, ${person.user_id})"/>
                
                <div style="background: #${i.count%2 == 0?"E6E6E6":"D8D8D8"}; width:655px;">
                    <span style="margin-left: 20px;">Mensaje de: <b>${priv.from.nombre}</b> a las: <em>${priv.hora}</em></span>
                    <br style="margin-bottom: 10px;"/>
                    <span style="margin-left: 20px;">${priv.descripcion}</span>
                    <br style="margin-bottom: 5px;"/>
                </div>
            </div>
        </c:forEach>
    </div>
</div>