<?php if (!defined('ABSPATH')) die('No direct access allowed'); ?>

<!--
<a href="#app_mail_subscriber_groups_<?php echo $user_id ?>" class="app_mail_subscriber_groups"><?php _e('Subscribe', THEMEMAKERS_THEME_FOLDER_NAME) ?></a><br />
<div style="display: none;">
    <div id="app_mail_subscriber_groups_<?php echo $user_id ?>">
<!-------------- ->
</div>
</div>
-->

<?php if (!empty($groups)) : ?>
    <?php foreach ($groups as $key => $group) : ?>
        <input <?php if (!empty($users_groups)): ?><?php if (in_array($group, $users_groups)): ?>checked=""<?php endif; ?><?php endif; ?> type="checkbox" class="app_mail_subscriber_groups_save" user-id="<?php echo $user_id ?>" value="<?php echo $group ?>">&nbsp;<?php echo $group ?><br />
    <?php endforeach; ?>
<?php endif; ?>

