<?php defined('ABSPATH') or die("No script kiddies please!"); ?>
<div class="egpr_main_settings egpr_manager_wrapper">
<table>
    <tbody>
           <tr>
            <td class="egpr-name">
                <label for="check_cache">
                    <h4><?php _e('Enable Cache','everest-google-places-reviews');?></h4>
                </label>
            </td>
            <td class="egpr-value">
                <label class="egpr-switch">
                 <input type="checkbox" name="egp_reviews[check_cache]" value="true" id="check_cache" class="check_cache-field" <?php
                    if ( isset($cache_check) ) {
                        checked($cache_check, 'true');
                    }
                ?>/>
                 <div class="egpr-slider round"></div>
                </label>
                
                 <div class="egpr-tooltip-description">
	                 <div class="egpr-description">
	                   <?php _e('Please check to enable the cache options.', 'everest-google-places-reviews'); ?>
	                </div>
                </div>
            </td>
        </tr> 
         <tr>
            <td class="egpr-name">
                <label for="cache_period">
                    <h4><?php _e('Cache Period','everest-google-places-reviews');?></h4>
                </label>
            </td>
            <td class="egpr-value">
                 <input type="text" name="egp_reviews[cache_period]" value="<?php echo intval($cache_period); ?>" id="cache_period" class="cache_period-field">
            </td>
        </tr> 
    </tbody>
</table>
  <p class="description"><?php _e('Please enter the time in hours in which the google places reviews should be updated. Default is 24 hours. The minimum cache period you can setup is 1 hour.', 'everest-google-places-reviews'); ?>
</p>
 </div>