{if $_modx->resource.img?}
{/if}
{if $_modx->config.cultureKey != 'ua'}
{$_modx->resource.localizator_content}
{else}
{$_modx->resource.content}
{/if}
{if $_modx->resource.id == 282442}
-
{if $_modx->config.cultureKey != 'ua'}
{$_modx->runSnippet('!pdoPage',
[
'elementClass' => 'modSnippet',
'parents' => "{$_modx->resource.id}",
'tpl' => 'tplAuthor',
'depth' => 1,
'limit' => 8,
'includeTVs' => 'img',
'tvPrefix' => '',
'sortby' => 'publishedon',
'sortdir' => 'DESC',
'includeContent' => 1,
'tplPageWrapper' => '@INLINE
- {$pageNo} ', 'tplPageActive' => '@INLINE
- {$pageNo} ', 'tplPageFirst' => '@INLINE ', 'tplPageFirstEmpty' => '@INLINE ', 'tplPageLast' => '@INLINE ', 'tplPageLastEmpty' => '@INLINE ', 'tplPagePrev' => '@INLINE
- ', 'tplPageNext' => '@INLINE
- ' 'tplPagePrevEmpty' => '@INLINE
- ', 'tplPageNextEmpty' => '@INLINE
- ', 'leftJoin' => '{"localizator" : {"class" : "localizatorContent","alias" : "localizator","on" : "localizator.resource_id = modResource.id"}}', 'select' => '{"localizator" : "modResource.*, localizator.*, modResource.id"}', 'where' => '{"localizator.key" : "'~ ('localizator_key' | option) ~'"}', ] )} {else} {$_modx->runSnippet('!pdoPage', [ 'elementClass' => 'modSnippet', 'parents' => "{$_modx->resource.id}", 'tpl' => 'tplAuthor', 'depth' => 1, 'limit' => 8, 'includeTVs' => 'img', 'tvPrefix' => '', 'sortby' => 'publishedon', 'sortdir' => 'DESC', 'includeContent' => 1, 'tplPageWrapper' => '@INLINE
- {$pageNo} ', 'tplPageActive' => '@INLINE
- {$pageNo} ', 'tplPageFirst' => '@INLINE ', 'tplPageFirstEmpty' => '@INLINE ', 'tplPageLast' => '@INLINE ', 'tplPageLastEmpty' => '@INLINE ', 'tplPagePrev' => '@INLINE
- ', 'tplPageNext' => '@INLINE
- ' 'tplPagePrevEmpty' => '@INLINE
- ', 'tplPageNextEmpty' => '@INLINE
- ' ] )} {/if}
- {$prev}{$pages}{$next}
- {$prev}{$pages}{$next}
-
{if $_modx->config.cultureKey != 'ua'}
{$_modx->runSnippet('!pdoPage',
[
'elementClass' => 'modSnippet',
'parents' => '163,162',
'tpl' => 'tplAuthor',
'depth' => 1,
'limit' => 8,
'includeTVs' => 'img,author',
'tvPrefix' => '',
'sortby' => 'publishedon',
'sortdir' => 'DESC',
'includeContent' => 1,
'tplPageWrapper' => '@INLINE
- {$pageNo} ', 'tplPageActive' => '@INLINE
- {$pageNo} ', 'tplPageFirst' => '@INLINE ', 'tplPageFirstEmpty' => '@INLINE ', 'tplPageLast' => '@INLINE ', 'tplPageLastEmpty' => '@INLINE ', 'tplPagePrev' => '@INLINE
- ', 'tplPageNext' => '@INLINE
- ' 'tplPagePrevEmpty' => '@INLINE
- ', 'tplPageNextEmpty' => '@INLINE
- ', 'leftJoin' => '{"localizator" : {"class" : "localizatorContent","alias" : "localizator","on" : "localizator.resource_id = modResource.id"}}', 'select' => '{"localizator" : "modResource.*, localizator.*, modResource.id"}', 'where' => '{"localizator.key" : "'~ ('localizator_key' | option) ~'","author:LIKE":"%'~$_modx->resource.id~'%"}', ] )} {else} {$_modx->runSnippet('!pdoPage', [ 'elementClass' => 'modSnippet', 'parents' => '163,162', 'tpl' => 'tplAuthor', 'depth' => 1, 'limit' => 8, 'includeTVs' => 'img,author', 'tvPrefix' => '', 'sortby' => 'publishedon', 'sortdir' => 'DESC', 'includeContent' => 1, 'where' => '[{"author:LIKE":"%'~$_modx->resource.id~'%"}]', 'tplPageWrapper' => '@INLINE
- {$pageNo} ', 'tplPageActive' => '@INLINE
- {$pageNo} ', 'tplPageFirst' => '@INLINE ', 'tplPageFirstEmpty' => '@INLINE ', 'tplPageLast' => '@INLINE ', 'tplPageLastEmpty' => '@INLINE ', 'tplPagePrev' => '@INLINE
- ', 'tplPageNext' => '@INLINE
- ' 'tplPagePrevEmpty' => '@INLINE
- ', 'tplPageNextEmpty' => '@INLINE
- ' ] )} {/if}
- {$prev}{$pages}{$next}
- {$prev}{$pages}{$next}
{$_modx->getPlaceholder('page.nav')}