set_template(__DIR__.'/templates/forum_mods.html'); if (!empty($info['admin']['item'])) { $html->set_tag('adm_openside', fusion_get_function('openside', $info['admin']['openside'])); $html->set_tag('adm_closeside', fusion_get_function('closeside')); foreach ($info['admin']['item'] as $cdatm) { $html->set_block('forum_admin', [ 'user_title' => $cdatm['user_title'], 'user_avatar' => $cdatm['user_avatar'], 'user_profil' => $cdatm['user_profil'], ]); } } if (!empty($info['member']['item'])) { $html->set_tag('memb_openside', fusion_get_function('openside', $info['member']['openside'])); $html->set_tag('memb_closeside', fusion_get_function('closeside')); foreach ($info['member']['item'] as $cdatm) { $html->set_block('forum_member', [ 'user_title' => $cdatm['user_title'], 'user_avatar' => $cdatm['user_avatar'], 'user_profil' => $cdatm['user_profil'], ]); } } echo $html->get_output(); } }