{extends 'template:BaseTemplate'} {block 'body'}

{$_modx->resource.pagetitle}

{if $_modx->resource.location?}

{$_modx->resource.location}

{/if}
{if ($_modx->resource.client != 0)} {'!migxLoopCollection' | snippet : [ 'packageName' => 'customers', 'classname' => 'customer', 'tpl' => '@CODE: ', 'where' => '{"id":"51"}' ]} {'job_apply_now' | lexicon} {elseif $_modx->resource.company?}

{$_modx->resource.company}

{'job_apply_now' | lexicon} {else} {'job_apply_now' | lexicon} {/if}

{set $parameters = $_modx->resource.jobparam | fromJSON} {set $parameters = array_chunk($parameters, 3)} {if $parameters?}

{'job_param' | lexicon}

{foreach $parameters as $pGroup}
    {foreach $pGroup as $p}
  • {$p.title}: {$p.detail}
  • {/foreach}
{/foreach}

{/if} {if ($_modx->resource.tech | fromJSON) ?}

{'job_tech' | lexicon}

{foreach ($_modx->resource.tech | fromJSON) as $t} {$t} {/foreach}

{/if} {if $_modx->resource.content?}

{'job_desc' | lexicon}

{if $_modx->resource.introtext?}

{$_modx->resource.introtext}

{/if} {$_modx->resource.content | replace : "
    " : "
      "}
{/if}
{if ($_modx->resource.client)? || ($_modx->resource.client != 0)} {'!migxLoopCollection' | snippet : [ 'packageName' => 'customers', 'classname' => 'customer', 'where' => '{"id":"51"}', 'tpl' => '@CODE: {switch $_modx->context.key} {case default, "web"} {case "lv"} {case "ru"} {case "de"} {/switch} {switch $_modx->context.key} {case default, "web"} {case "lv"} {case "ru"} {case "de"} {/switch}' ]} {/if}
{/block}