<#if entries?has_content>
	<div style="padding-right: 15px;">
		<#list entries as entry>
			<#assign
				assetRenderer = entry.getAssetRenderer()
				viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, entry, true)
				entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale))
			/>
			<#assign docXml = saxReaderUtil.read(entry.getAssetRenderer().getArticle().getContent()) />
			<#assign ddmimage = docXml.valueOf("//dynamic-element[@name='ddmimage']/dynamic-content/text()") />
			<#assign infoContact = docXml.valueOf("//dynamic-element[@name='infoContact']/dynamic-content/text()") />
				<div style="padding-bottom: 10px; margin-bottom: 15px; border-bottom: 1px; border-bottom-style: solid;">
					<div>
						<span><@getEditIcon /></span>
						<a href="${viewURL}">
							<span class="cis-text-color">${entry.getTitle(locale)}</span>
						</a>
					</div>
					<div class="row">
						<div class="col-md-4">
							<img width="200" src="<#if ddmimage ??>${ddmimage}&imagePreview=1</#if>" />
						</div>
						<div class="col-md-1">
						
						</div>
						<div class="col-md-7">
							<#if infoContact ??>${infoContact}</#if>
							<p>
								<font>
									<u>
										<font>
											<a href="${viewURL}">Биографическая справка</a>&nbsp;
										</font>
									</u>
									<img src="http://www.cisstat.com/rus/linkredarr.gif" />
								</font>
							</p>
						</div>
					</div>
				</div>
		</#list>
	</div>
</#if>





<#macro getEditIcon>
	<#if assetRenderer.hasEditPermission(themeDisplay.getPermissionChecker())>
		<#assign redirectURL = renderResponse.createRenderURL() />
		${redirectURL.setParameter("mvcPath", "/add_asset_redirect.jsp")}
		${redirectURL.setWindowState("pop_up")}
		<#assign editPortletURL = assetRenderer.getURLEdit(renderRequest, renderResponse, windowStateFactory.getWindowState("pop_up"), redirectURL)!"" />
		<#if validator.isNotNull(editPortletURL)>
			<#assign title = languageUtil.format(locale, "edit-x", entryTitle, false) />
			<@liferay_ui["icon"]
				iconCssClass="icon-edit-sign"
				message=title
				url="javascript:Liferay.Util.openWindow({id:'" + renderResponse.getNamespace() + "editAsset', title: '" + title + "', uri:'" + htmlUtil.escapeURL(editPortletURL.toString()) + "'});"
			/>
		</#if>
	</#if>
</#macro>