{* *}{strip} {if !empty($item) && isset($type)} {$demo = !empty($config->demo)} {$demoCount = 2} {$static = $type == 'section'} {$class1 = ($static) ? 'no-image' : ''} {$class2 = (empty($fullview)) ? '' : 'full'} {$number = $number|default:1}
{* *} {if !$static} {if $demo} {else} {findImage type=$type view='*' def='no-photo-publication.png' assign=image} {$image['alt']} {/if} {/if} {* *}

{if empty($fullview)} {**} {else} {if !$static} {**} {else} {**} {/if} {/if} {name} {**} {* *} {if !$static} {echoVar from='item->date_date'} {/if}

{* *} {if $number == 1} {/if} {* *} {if empty($fullview)}
{annotation}
{else}
{body}
{* *} {if !$static} {section name=images loop=1000} {$number = $number + 1} {findImage type=$type view='*' num=$number def='no-photo-publication.png' assign=image} {if empty($image['found']) && (!$demo || $number > 4)} {break} {/if} {* *} {if $number == 2}

{**} Дополнительные фото

{/if} {* *} {if $demo} {else} {$image['alt']} {/if} {/section} {/if} {* *} {if !$static} {include 'common/share.htm'} {/if} {* *} {if !empty($item->seo_description)}
{$item->seo_description}
{/if} {* *} {if !$static} {if !empty($item->commented)} {include 'common/comments.htm' items=$item->comments|default:FALSE} {/if} {/if} {/if}
{/if} {/strip}