{assign var=Placeholder value=$Project->getMedia()->getPlaceholderImage()}
{assign var=counter value=1} {foreach from=$children item=Child} {assign var=_Child value=$Child->load()}
{assign var=counter value=$counter+1}
{assign var=noImageClass value=" qui-control-list-entry-short-noImage"} {assign var=noShortClass value=" qui-control-list-entry-image-noShort"} {if $this->getAttribute('showImages')} {assign var=noImageClass value=""} {/if} {if $this->getAttribute('showShort')} {assign var=noShortClass value=""} {/if} {if $this->getAttribute('showImages')} {assign var=bg value=""} {if $Child->getAttribute('image_site')} {image src=$Child->getAttribute('image_site') width="500" type="resize" onlysrc=1 assign=bg } {elseif $Placeholder} {image image=$Placeholder width="300" type="resize" onlysrc=1 assign=bg } {/if} {if $Site->getAttribute('type') != 'quiqqer/sitetypes:types/list-content'} {/if} {/if}
{if $this->getAttribute('showHeader')}

{$Child->getAttribute('title')}

{/if} {if $this->getAttribute('showShort')}
{$Child->getAttribute('short')|nl2br}
{/if}
{/foreach}
{if $this->getAttribute('showSheets')} {$Pagination->create()} {/if}