{extends 'template:Base_big_header'} {block 'header'} {if $.get.type} {set $typeid = $.get.type|idByAlias} {else} {set $typeid = null} {/if}
{include 'header'} {if $typeid} {include 'hero_dynamic' id=$typeid} {else} {include 'hero' heroId='tarifContent-hero'} {/if}
{/block} {block 'introtext'}
{if $typeid} {include 'introtext.inner' id=$typeid} {else} {if $_modx->resource.introtext}

{$_modx->resource.pagetitle}

{$_modx->resource.introtext}
{else}

{$_modx->resource.pagetitle}

{/if} {/if}
{/block} {block 'content'}
{$_modx->runSnippet('!pdoResources', [ 'depth'=>0, 'showUnpublished'=>1, 'showHidden'=>0, 'sortby'=>'menuindex', 'sortdir'=>'asc', 'select'=>'id,pagetitle,introtext,description,template,parent', 'includeTVs'=>'price', 'tvPrefix'=>'', 'limit'=>1, 'tpl'=>'hosting.mob-tab.tpl', ])}
{$_modx->runSnippet('!pdoResources', [ 'depth'=>0, 'showUnpublished'=>1, 'showHidden'=>0, 'sortby'=>'menuindex', 'sortdir'=>'asc', 'select'=>'id,pagetitle,introtext,description,link_attributes,parent,alias', 'includeTVs'=>'price,img,badges', 'tvPrefix'=>'', 'tpl'=>'hosting.tab.tpl', ])}
{if $typeid} {else} {/if}
{$_modx->runSnippet('!pdoResources', [ 'depth'=>0, 'limit'=>1, 'showUnpublished'=>1, 'showHidden'=>1, 'includeTVs'=>'oses', 'tvPrefix'=>'', 'tpl'=>'tarifTplVpsCustom', ])}
{if $_modx->resource.bonuslist}
{if $_modx->resource.bonuslist_title}

{$_modx->resource.bonuslist_title}

{/if}
{/if}

{$_modx->resource.dop_title}

{$_modx->resource.dop_subtitle}
{set $dops = 'getDopsVps'|snippet:['ids'=>[ $_modx->resource.dop_os, $_modx->resource.dop_channel, $_modx->resource.dop_ip, $_modx->resource.dop_panel, $_modx->resource.dop_licence, ]]}
{$_modx->resource.dop_os_title}
    {foreach explode(',',$_modx->resource.dop_os) as $dop_id}
  • icon
    {$dops[$dop_id].pagetitle} {$dops[$dop_id].longtitle}{$dops[$dop_id].price|getPrice}{$dops[$dop_id].description}
  • {/foreach}
{$_modx->resource.dop_channel_title}
    {foreach explode(',',$_modx->resource.dop_channel) as $dop_id}
  • icon
    {$dops[$dop_id].pagetitle} {$dops[$dop_id].longtitle}{$dops[$dop_id].price|getPrice}{$dops[$dop_id].description}
  • {/foreach}
{$_modx->resource.dop_ip_title}
    {foreach explode(',',$_modx->resource.dop_ip) as $dop_id}
  • icon
    {$dops[$dop_id].pagetitle} {$dops[$dop_id].longtitle}{$dops[$dop_id].price|getPrice}{$dops[$dop_id].description}
  • {/foreach}
{$_modx->resource.dop_panel_title}
    {foreach explode(',',$_modx->resource.dop_panel) as $dop_id}
  • icon
    {$dops[$dop_id].pagetitle} {$dops[$dop_id].longtitle}{$dops[$dop_id].price|getPrice}{$dops[$dop_id].description}
  • {/foreach}
{$_modx->resource.dop_licence_title}
    {foreach explode(',',$_modx->resource.dop_licence) as $dop_id}
  • icon
    {$dops[$dop_id].pagetitle} {$dops[$dop_id].longtitle}{$dops[$dop_id].price|getPrice}{$dops[$dop_id].description}
  • {/foreach}
{include 'serviceFeatures'} {include 'paritals.faq'} {$_modx->resource.content} {/block} {block 'js'} {/block}