2020-06-07 19:04:43 +03:00
|
|
|
{extends "@layout.xml"}
|
|
|
|
|
|
|
|
{block wrap}
|
2022-02-19 01:03:27 +03:00
|
|
|
<div class="wrap2">
|
|
|
|
<div class="wrap1">
|
|
|
|
<div class="page_wrap padding_top">
|
2022-05-31 17:39:52 +03:00
|
|
|
<div n:ifset="tabs" n:ifcontent class="tabs stupid-fix">
|
2022-02-19 01:03:27 +03:00
|
|
|
{include tabs}
|
|
|
|
</div>
|
2022-01-31 02:30:15 +03:00
|
|
|
|
2022-02-19 01:03:27 +03:00
|
|
|
{ifset size}
|
|
|
|
{include size, x => $dat}
|
|
|
|
{/ifset}
|
2022-01-31 02:30:15 +03:00
|
|
|
|
2023-08-11 16:50:19 +03:00
|
|
|
{ifset before_content}
|
|
|
|
{include before_content, x => $dat}
|
|
|
|
{/ifset}
|
|
|
|
|
2022-02-19 01:03:27 +03:00
|
|
|
{ifset specpage}
|
|
|
|
{include specpage, x => $dat}
|
|
|
|
{else}
|
2024-11-02 11:16:25 +03:00
|
|
|
<div class="container_gray {ifset noscroll}no_scroll_container{else}scroll_container{/ifset}">
|
2022-04-24 08:06:45 +03:00
|
|
|
{var $data = is_array($iterator) ? $iterator : iterator_to_array($iterator)}
|
2022-01-31 04:45:12 +03:00
|
|
|
|
2023-08-11 16:50:19 +03:00
|
|
|
{ifset top}
|
|
|
|
{include top, x => $dat}
|
|
|
|
{/ifset}
|
|
|
|
|
2022-02-19 01:03:27 +03:00
|
|
|
{if sizeof($data) > 0}
|
2024-11-02 11:16:25 +03:00
|
|
|
<div class="scroll_node content" n:foreach="$data as $dat">
|
2022-02-19 01:03:27 +03:00
|
|
|
<table>
|
2023-08-11 16:50:19 +03:00
|
|
|
<tbody n:attr="id => is_null($table_body_id) ? NULL : $table_body_id">
|
2022-02-19 01:03:27 +03:00
|
|
|
<tr>
|
|
|
|
<td valign="top">
|
|
|
|
<a href="{include link, x => $dat}">
|
|
|
|
{include preview, x => $dat}
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
<td valign="top" style="width: 100%">
|
|
|
|
{ifset infotable}
|
|
|
|
{include infotable, x => $dat}
|
|
|
|
{else}
|
|
|
|
<a href="{include link, x => $dat}">
|
|
|
|
<b>
|
|
|
|
{include name, x => $dat}
|
|
|
|
</b>
|
|
|
|
</a>
|
|
|
|
<br/>
|
|
|
|
{include description, x => $dat}
|
|
|
|
{/ifset}
|
|
|
|
</td>
|
2024-09-18 01:02:56 +03:00
|
|
|
<td n:ifset="actions" valign="top" class="action_links" style="min-width: 150px;">
|
2022-02-19 01:03:27 +03:00
|
|
|
{include actions, x => $dat}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{include "components/paginator.xml", conf => (object) [
|
|
|
|
"page" => $page,
|
|
|
|
"count" => $count,
|
|
|
|
"amount" => sizeof($data),
|
|
|
|
"perPage" => $perPage ?? OPENVK_DEFAULT_PER_PAGE,
|
|
|
|
"atBottom" => true,
|
|
|
|
]}
|
2022-02-01 19:50:53 +03:00
|
|
|
{else}
|
2022-02-19 01:03:27 +03:00
|
|
|
{ifset customErrorMessage}
|
|
|
|
{include customErrorMessage}
|
|
|
|
{else}
|
|
|
|
{include "components/nothing.xml"}
|
|
|
|
{/ifset}
|
|
|
|
{/if}
|
|
|
|
</div>
|
|
|
|
{/ifset}
|
2022-01-31 02:30:15 +03:00
|
|
|
|
2022-02-19 01:03:27 +03:00
|
|
|
{ifset bottom}
|
|
|
|
{include bottom}
|
|
|
|
{/ifset}
|
|
|
|
</div>
|
2020-06-07 19:04:43 +03:00
|
|
|
</div>
|
2022-02-19 01:03:27 +03:00
|
|
|
</div>
|
2020-06-07 19:04:43 +03:00
|
|
|
{/block}
|