<?php
/* 
* Theme: PREMIUMPRESS CORE FRAMEWORK FILE
* Url: www.premiumpress.com
* Author: Mark Fail
*
* THIS FILE WILL BE UPDATED WITH EVERY UPDATE
* IF YOU WANT TO MODIFY THIS FILE, CREATE A CHILD THEME
*
* http://codex.wordpress.org/Child_Themes
*/
if (!defined('THEME_VERSION')) {	header('HTTP/1.0 403 Forbidden'); exit; }

global $CORE, $userdata, $post, $settings; 

 
?>

<div class="ends">
<?php	
$ratings = array(

	0 => array(
		"name" => __("Expires Anytime","premiumpress"), 
	),
	1 => array(
		"name" => __("Within 24 Hours","premiumpress"), 
	),
	2 => array(
		"name" => __("Within 48 Hours","premiumpress"), 
	),
	3 => array(
		"name" => __("This Week","premiumpress"), 
	),
	4 => array(
		"name" => __("This Month","premiumpress"), 
	),
 
); 

foreach($ratings as $s => $r){
?>
<div class="tax-div "> 


<label class="custom-control custom-checkbox ">
	
    <input 
    type="radio"  
    value="<?php echo $s; ?>" 
    name="ends" 
    class="custom-control-input customfilter" 
    data-type="checkbox" 
    onclick="_filter_update()" 
    data-key="dateends" 
    data-value="<?php echo $s; ?>"
        <?php if($s == 0){ echo "checked=checked"; } ?>
    >

    <div class="custom-control-label text-600">
      
	<?php echo $r['name']; ?>
      
    </div>

</label> 

</div>
<?php } ?>
</div>  