<?php
 
add_filter( 'ppt_admin_layouts',  array('jan2022a',  'data') );
add_filter( 'jan2022a',  array('jan2022a',  'load') );
 
class jan2022a {

	function __construct(){}		

	public static function data($a){ 
	
		global $CORE;
  
		$a['jan2022a'] = array(
		
			"key" => "jan2022a",
			"name" 	=> "Jan 2022 a", 
			"theme"	=> array("framework_jan"), 			
			"order" => 0.1
 	 		
		);		
		
		
		switch(THEME_KEY){
			case "sp":
			case "at":
			case "dl":
			case "cp":
			case "so":
			case "rt":
			case "mj":
			case "at":
			case "jb":	
			case "ll":	 
		 	case "vt":
			case "ct":
			case "dt":
			case "da": 
			case "es": {
			$a['jan2022a']["image"] = DEMO_IMG_PATH."/framework/layouts/jan2022/".THEME_KEY."/1.jpg";
			} break;
			default: {
				$a['jan2022a']["image"] = DEMO_IMG_PATH."/framework/layouts/jan2022/d/1.jpg";	
			} break; 
		}  
		
		return $a;
	
	} 
	
	
	
	public static  function load($core){ global $CORE; 
	
	 

/* colors */ 
$imgKey = "d";
switch(THEME_KEY){
	case "dl": { 
		$imgKey = THEME_KEY;
		$core['design']['color_primary'] = "#3b5998";
		$core['design']['color_secondary'] = "#1a1a1a";
		$core['design']['color_primary_soft'] = "#e7efff";		
	} break;
	case "cp": { 
		$imgKey = THEME_KEY;
		$core['design']['color_primary'] = "#3b5998";
		$core['design']['color_secondary'] = "#1a1a1a";
		$core['design']['color_primary_soft'] = "#e7efff";		
	} break;
	case "so": { 
		$imgKey = THEME_KEY;
		$core['design']['color_primary'] = "#3b5998";
		$core['design']['color_secondary'] = "#1a1a1a";
		$core['design']['color_primary_soft'] = "#e7efff";		
	} break;
	case "rt": { 
		$imgKey = THEME_KEY;
		$core['design']['color_primary'] = "#3b5998";
		$core['design']['color_secondary'] = "#1a1a1a";
		$core['design']['color_primary_soft'] = "#e7efff";		
	} break;
	case "mj": { 
		$imgKey = THEME_KEY;
		$core['design']['color_primary'] = "#3b5998";
		$core['design']['color_secondary'] = "#1a1a1a";
		$core['design']['color_primary_soft'] = "#e7efff";		
	} break;
	case "at": { 
		$imgKey = THEME_KEY;
		$core['design']['color_primary'] = "#3b5998";
		$core['design']['color_secondary'] = "#1a1a1a";
		$core['design']['color_primary_soft'] = "#e7efff";		
	} break;
	case "jb": { 
		$imgKey = THEME_KEY;
		$core['design']['color_primary'] = "#3b5998";
		$core['design']['color_secondary'] = "#1a1a1a";
		$core['design']['color_primary_soft'] = "#e7efff";		
	} break;
	case "ll": { 
		$imgKey = THEME_KEY;
		$core['design']['color_primary'] = "#3b5998";
		$core['design']['color_secondary'] = "#1a1a1a";
		$core['design']['color_primary_soft'] = "#e7efff";		
	} break;
	case "vt": { 
		$imgKey = THEME_KEY;
		$core['design']['color_primary'] = "#3b5998";
		$core['design']['color_secondary'] = "#1a1a1a";
		$core['design']['color_primary_soft'] = "#e7efff";		
	} break;
	case "da": { 
		$imgKey = THEME_KEY;
		$core['design']['color_primary'] = "#3b5998";
		$core['design']['color_secondary'] = "#1a1a1a";
		$core['design']['color_primary_soft'] = "#e7efff";		
	} break;
	
	case "es": {
		$imgKey = THEME_KEY;
			$core['design']['color_primary'] = "#c71c5b";
		$core['design']['color_secondary'] = "#1a1a1a";
		$core['design']['color_primary_soft'] = "#fff0f5";		
	} break;
	
	case "dt": { 
		$imgKey = THEME_KEY;
		$core['design']['color_primary'] = "#3b5998";
		$core['design']['color_secondary'] = "#1a1a1a";
		$core['design']['color_primary_soft'] = "#e7efff";		
	} break;
	
	default: { 
		$core['design']['color_primary'] = "#3b5998";
		$core['design']['color_secondary'] = "#1a1a1a";
		$core['design']['color_primary_soft'] = "#e7efff";		
	} break;

}

 
/* fonts */
$core['design']['color_bg'] = "";
$core['design']['font_logo'] = "";
 
/* logo */
$core['design']['logo_url_aid'] = "";
$core['design']['light_logo_url_aid'] = "1";
$core['design']['textlogo'] = "Simply<span class='text-primary'>".__($CORE->LAYOUT("captions","2"),"premiumpress")."</span>";    
 
$core['design']['header_style'] = "header102";
$core['design']['footer_style'] = "footer7";

/*layout data */
$core['design']['slot1_style'] = "hero2";
$core['design']['slot2_style'] = "text123";
if(!in_array(THEME_KEY,array("da","es"))){
$core['design']['slot3_style'] = "listings100";
}else{
$core['design']['slot3_style'] = "";
}
$core['design']['slot4_style'] = "";
$core['design']['slot5_style'] = "";
$core['design']['slot6_style'] = '';
$core['design']['slot7_style'] = '';
$core['design']['slot8_style'] = '';
$core['design']['slot9_style'] = '';

/*listings*/
$core["home"]["listings100"]["section_padding"] = "section-none"; 

/*hero*/
$core["home"]["hero2"]["section_bg"] = "bg-light";   
$core["home"]["hero2"]["image"] = DEMO_IMG_PATH."/framework/layouts/jan2022/".$imgKey."/hero1.jpg";   

/* colors */ 
switch(THEME_KEY){
	case "pj": {
		$imgKey = THEME_KEY;
		$core["home"]["hero1"]["title_color"] = "text-dark";  		
		$core["home"]["hero1"]["subtitle_color"] = "text-dark"; 
	} break;
	default: {
		$core["home"]["hero1"]["title_color"] = "text-light";  		
		$core["home"]["hero1"]["subtitle_color"] = "text-light"; 
	} break;
}
 
/* text1 */    
$core["home"]["text123"]["image"] = DEMO_IMG_PATH."/framework/layouts/jan2022/".$imgKey."/image1.jpg";   	

/* footer1 */    
$core["footer"]["footer7"]["section_padding"] = "section-60";     
$core["footer"]["footer7"]["section_bg"] = "bg-black";     

return $core;

}
	
	
}

?>