d
Size: a a a
d
AG
AG
d
d
DK
SB
A
SB
A
A
A
<?php
if (!function_exists('show_latest')) {
function show_latest() {
global $modx;
$output = '';
$table = $modx->getFullTableName('site_content');
$result = $modx->db->select('id, parent', $table, '(parent=61 OR parent=63 OR parent=64) AND deleted=0 AND published=1', 'pub_date ASC, createdon ASC', '');
$members = $modx->db->makeArray( $result );
$struct = [];
foreach( $members as $p_val ) {
$struct[$p_val['parent']] = $p_val['id'];
}
return implode(',', $struct);
}
}
return show_latest();
[[DocLister?
&sortType=`doclist`
&documents=`[[oneLatestResByParent]]`
&tvPrefix=``
...
A
A
АЛ
A
A
AG
SB
A