<?php 
/**
 *
 * @link       https://advancedplugins.com
 * @since      1.1.2
 * @author     Your Name office@advancedplugins.com
 */
	/* Get the neccesary data */


	$aso_enable_deflate = (int)get_option('aso_enable_deflate', 0);
	$aso_enable_gzip = (int)get_option('aso_enable_gzip', 0);
?>

<div id="ap-image-convert" class="ap_wrapper bootstrap  ">
   <div class="tab-content ">
      <div id="regenerate" class="tab-pane active">

	<div class="panel">
		   <div class="panel-heading"><?php esc_html_e('Optimizations', Advanced_Speed_Optimizer::$plugin_name ) ?></div>
		   		<div class="clear"></div>
				<table class="table">
			    	<tbody>
			    		<tr>
				    		<td>
				    			<label class="labelbutton"><?php esc_html_e('Enable mod gzip', Advanced_Speed_Optimizer::$plugin_name ) ?></label>
				    		</td>
				    		<td>
								<label class="switch">
								  <input type="checkbox" class="update_option_switch" name="aso_enable_gzip" value="1" <?php if($aso_enable_gzip == 1): ?> checked<?php endif; ?>>
								  <span class="slider round "></span>
								</label>
				    		</td>
				    		<td><small><?php esc_html_e('Enable mod gzip for your files (only works if you have .htaccess mod rewrite)', Advanced_Speed_Optimizer::$plugin_name ) ?></small></td>
			    		</tr>
			    		<tr>
				    		<td>
				    			<label class="labelbutton"><?php esc_html_e('Enable mod deflate', Advanced_Speed_Optimizer::$plugin_name ) ?></label>
				    		</td>
				    		<td>
								<label class="switch">
								  <input type="checkbox" class="update_option_switch" name="aso_enable_deflate" value="1" <?php if($aso_enable_deflate == 1): ?> checked<?php endif; ?>>
								  <span class="slider round "></span>
								</label>
				    		</td>
				    		<td><small><?php esc_html_e('Enable mod deflate for your files (only works if you have .htaccess mod rewrite)', Advanced_Speed_Optimizer::$plugin_name ) ?></small></td>
			    		</tr>
			    	</tbody>
				</table>
   			</div>

    
      <div class="clear" style="clear:both"></div>
   </div>
   <div class="clear" style="clear:both"></div>
</div>