
<center><h2><strong>Ubuntu</strong></h2>
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
<!DOCTYPE html>
<html>
<?php

// Meta Boxes fields

if (! defined('ABSPATH') ) {
	exit;
}

?>
<div class="advanced-qty">
	<table class="afadv-table-optoin">
		<tr class="afadv-option-field">
			<th>
				<div class="afadv-option-head">
					<h3>
						<?php echo esc_html__('Select User Role', 'addify-product-qty'); ?>
					</h3>
				</div>
			</th>
			<td>
				<?php

				foreach ( get_editable_roles() as $afadv_bulk_rest_role_name => $afadv_bulk_rest_role_info ) {

					?>
					<input name="afadv_bulk_rest_role_fld[]" type="checkbox" id="afadv_bulk_rest_role_fld" value='<?php echo esc_html( $afadv_bulk_rest_role_name ); ?>'
					<?php
					if (in_array($afadv_bulk_rest_role_name, $bulk_rol, true) ) {
						echo 'checked';
					}
					?>
					> <?php echo esc_html(str_replace('_', ' ', ucfirst($afadv_bulk_rest_role_name))); ?>
					<br>
					<?php
				}
				?>
				<input type="checkbox" name="afadv_bulk_rest_role_fld[]" id="afadv_bulk_rest_role_fld" value="guest"
				<?php
				if (in_array('guest', $bulk_rol, true) ) {
					echo 'checked'; 
				}
				?>
				> <?php echo esc_html__('Guest', 'addify-product-qty'); ?>
				<p class="afadv_description"><?php echo esc_html__('If no user role is selected then it will be applied on all user roles.', 'addify-product-qty'); ?></p>
			</td>
		</tr>
	</table>
</div>
