1*dd6b2bfcSGreg Roach<h2 class="text-center"> 2*dd6b2bfcSGreg Roach <?= $title ?> 3*dd6b2bfcSGreg Roach</h2> 4*dd6b2bfcSGreg Roach 5*dd6b2bfcSGreg Roach<div class="row"> 6*dd6b2bfcSGreg Roach <?php if (empty($main_blocks) || empty($side_blocks)) : ?> 7*dd6b2bfcSGreg Roach <div class="col-md-12 wt-main-blocks"> 8*dd6b2bfcSGreg Roach <?php foreach ($main_blocks + $side_blocks as $block_id => $block) : ?> 9*dd6b2bfcSGreg Roach <?= view('user-page-block', ['block_id' => $block_id, 'block' => $block, 'tree' => $tree]) ?> 10*dd6b2bfcSGreg Roach <?php endforeach ?> 11*dd6b2bfcSGreg Roach </div> 12*dd6b2bfcSGreg Roach <?php else : ?> 13*dd6b2bfcSGreg Roach <div class="col-md-8 wt-main-blocks"> 14*dd6b2bfcSGreg Roach <?php foreach ($main_blocks as $block_id => $block) : ?> 15*dd6b2bfcSGreg Roach <?= view('user-page-block', ['block_id' => $block_id, 'block' => $block, 'tree' => $tree]) ?> 16*dd6b2bfcSGreg Roach <?php endforeach ?> 17*dd6b2bfcSGreg Roach </div> 18*dd6b2bfcSGreg Roach <div class="col-md-4 wt-side-blocks"> 19*dd6b2bfcSGreg Roach <?php foreach ($side_blocks as $block_id => $block) : ?> 20*dd6b2bfcSGreg Roach <?= view('user-page-block', ['block_id' => $block_id, 'block' => $block, 'tree' => $tree]) ?> 21*dd6b2bfcSGreg Roach <?php endforeach ?> 22*dd6b2bfcSGreg Roach </div> 23*dd6b2bfcSGreg Roach <?php endif ?> 24*dd6b2bfcSGreg Roach</div> 25