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

{$_modx->resource.pagetitle}

{$_modx->resource.content} {set $resources = $_modx->runSnippet('!pdoResources', [ 'loadModels' => 'UserFiles', 'parents' => $_modx->resource.id, 'where' => [ 'template' => 9, 'parent' => 55 ], 'leftJoin' => [ "Image" => [ "class" => "UserFile", "on" => "Image.parent = modResource.id AND Image.class = 'modDocument' AND Image.rank=0" ], "Thumbs" => [ "class" => "UserFile", "on" => "Thumbs.parent = Image.id AND Thumbs.class = 'UserFile' AND Thumbs.properties LIKE '%\"w\":320,\"h\":300%'" ] ], 'select' => [ "modResource" => "*", "Image" => "Image.url as image", "Thumbs" => "Thumbs.url as thumb", ], 'tpl' => 'ourworks__item' ])}
    {$resources?:'К сожалению работ не найдено'}
{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'}