<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ include file="../language.jsp" %>

<div style="border:#99bbe8 1px solid; margin:3px;padding-top:10px">
	


<div style="border-top:#99bbe8 1px solid;border-bottom:#99bbe8 1px solid;background-color:#e4edfe;margin:0px;padding:10px;font-size:24px;text-align:center">
${knowledgeDto.title}
<div style="color:#AAA;font-size:12px;padding:8px"><fmt:message key="knowledge.label.loginTime" />：<fmt:formatDate type="date" value="${knowledgeDto.addTime}"  pattern="yyyy-MM-dd HH:mm:ss" />  <fmt:message key="knowledge.click" />：${knowledgeDto.clickRate}</div>
</div>


<div style="line-height:20px;padding:20px">

${knowledgeDto.content}

</div>


<c:if test="${not empty knowledgeDto.attachments}">

<div style="margin:10px;border:#FFD2D2 1px dashed;padding:5px;line-height:22px">
<div style="font-size:14px;font-weight:bold;font-style:italic;color:#FF2D2D"><fmt:message key="knowledge.relatedAttachmentOfKnowledgeAs" />：</div>
<c:forEach items="${knowledgeDto.attachments}" varStatus="i" var="attachment">

${i.count}、<a href="attachment!download.action?downloadAttachmentId=${attachment.aid}" target="_blank" >${attachment.attachmentName}</a><br/>

</c:forEach>

</div>

</c:if>

</div>

