{include 'inc_meta'} {include 'inc_header'}
{include 'inc_slider'}
{include 'inc_sidebar'}

{$_modx->resource.pagetitle}

{$_modx->resource.content} {ignore} {/ignore} {set $emergency = $_modx->runSnippet('!pdoResources', [ 'class' => 'UserFile', 'loadModels' => 'UserFiles', 'sortby' => 'rank', 'sortdir' => 'ASC', 'where' => [ 'UserFile.active' => 1, 'UserFile.parent' => $_modx->resource.id, 'UserFile.list' => 'emergency' ], 'leftJoin' => [ "Thumbs" => [ "class" => "UserFile", "on" => "Thumbs.parent = UserFile.id AND Thumbs.class = 'UserFile' AND Thumbs.properties LIKE '%\"w\":420,\"h\":596%'" ] ], 'select' => [ "UserFile" => "*", "Thumbs" => "Thumbs.url as thumb", ], 'tpl' => 'gallery__item', 'showLog' => 0, 'limit' => 0 ])}
    {$emergency?:'К сожалению лицензий МЧС на сайте не найдено. Мы добавим их в ближайшее время.'}
{set $sro1 = $_modx->runSnippet('!pdoResources', [ 'class' => 'UserFile', 'loadModels' => 'UserFiles', 'sortby' => 'rank', 'sortdir' => 'ASC', 'where' => [ 'UserFile.active' => 1, 'UserFile.parent' => $_modx->resource.id, 'UserFile.list' => 'sro' ], 'leftJoin' => [ "Thumbs" => [ "class" => "UserFile", "on" => "Thumbs.parent = UserFile.id AND Thumbs.class = 'UserFile' AND Thumbs.properties LIKE '%\"w\":210,\"h\":298%'" ] ], 'select' => [ "UserFile" => "*", "Thumbs" => "Thumbs.url as thumb", ], 'tpl' => 'gallery__item', 'showLog' => 0, 'limit' => 0 ])} {if $sro1?}
    {$sro1}
{/if} {set $sro2 = $_modx->runSnippet('!pdoResources', [ 'class' => 'UserFile', 'loadModels' => 'UserFiles', 'sortby' => 'rank', 'sortdir' => 'ASC', 'where' => [ 'UserFile.active' => 1, 'UserFile.parent' => $_modx->resource.id, 'UserFile.list' => 'sro2' ], 'leftJoin' => [ "Thumbs" => [ "class" => "UserFile", "on" => "Thumbs.parent = UserFile.id AND Thumbs.class = 'UserFile' AND Thumbs.properties LIKE '%\"w\":210,\"h\":298%'" ] ], 'select' => [ "UserFile" => "*", "Thumbs" => "Thumbs.url as thumb", ], 'tpl' => 'gallery__item', 'showLog' => 0, 'limit' => 0 ])} {if $sro2?}
    {$sro2}
{/if} {if $_modx->resource.formActive == 1} {include 'orderForm' title=$_modx->resource.formTitle subtitle=$_modx->resource.formSubtitle} {/if}
{include 'catergoryMaterials.fenom'}
{include 'partners.fenom'}
{include 'inc_footer'}