30 lines
1.3 KiB
Smarty
30 lines
1.3 KiB
Smarty
<div class="tresc">
|
|
<h1 class="title">{$objElement->GetName()}</h1>
|
|
{if $objElement->GetSubname()}
|
|
<div class="subTitle">{$objElement->GetSubname()}</div>
|
|
{/if}
|
|
<div>
|
|
<h2>{$objArticle->GetTitle()}</h2>
|
|
|
|
{*if $objArticle->GetPicture()}
|
|
<div class="newsImg"><img src="{$objArticle->GetPictureUrl()}" alt="{$objArticle->GetTitle()}" title="{$objArticle->GetTitle()}" style="border: 2px solid #76632d;" /></div>
|
|
{/if*}
|
|
|
|
{$objArticle->getDescription()}
|
|
|
|
<div >
|
|
{foreach from=$arrayImage item=image}
|
|
<div class="imgGallery" style="float: left; margin-right: 10px;">
|
|
<a class="gallery" href="{$image->GetFullUrlId($objArticle->GetId())}" title="{$image->GetDescription()|escape}" >
|
|
{assign var=imageGallery value=$image->GetFullPathOrgId($objArticle->GetId())}
|
|
{assign var=titleImg value=$image->GetDescription()|escape}
|
|
<figure class="itemImageGalleryDetail">{thumb file=$imageGallery longside=false shortside=false width="250" height="160" link='false' crop=true title=$titleImg }</figure>
|
|
{* <img src="{$image->GetFullUrlMiniId($objArticle->GetId())}" alt="{$image->GetDescription()}" title="{$image->GetDescription()}" /><br />*}
|
|
</a>
|
|
</div>
|
|
{/foreach}
|
|
</div>
|
|
<div class="cb"> </div>
|
|
<a href="{url label=$objElement->GetUrlLabel()}">{translate word='back'}</a>
|
|
</div>
|
|
</div> |