<?php
include("../../../wp-load.php");
include("../../../wp-config.php");

global $k_radio ;

$logo_w = (int)$k_radio['logo']['width'];
$logo_h = (int)$k_radio['logo']['height'];


$array = [

'url' 					=> $k_radio['stream_url'],
'song_url' 				=> $k_radio['stream_url_song'],
'gsm' 					=> $k_radio['gsm'],
'gsm_sade' 				=> $k_radio['gsm_sade'],
'frekans' 				=> $k_radio['frekans'],
'frekans_color'			=> $k_radio['frekans_color'],
'logo' 					=> $k_radio['logo']['url'],
'logo_w' 				=> $logo_w,
'logo_h' 				=> $logo_h,
'no_image'				=> $k_radio['no_image']['url'],
'adi' 					=> $k_radio['adi'],
'bg_color' 				=> $k_radio['bg_color'],
'bg_color_trans' 		=> $k_radio['play_bg_color'],
'volume_circle' 		=> $k_radio['volume_circle'],
'volume_acilan_cizgi' 	=> $k_radio['volume_acilan_cizgi'],
'volume_kalan_cizgi' 	=> $k_radio['volume_kalan_cizgi'],
'song_on_off' 			=> $k_radio['song_on_off'],
'program_id' 			=> $k_radio['program_id'],
'hakkimizda_id'			=> $k_radio['hakkimizda_id'],
'iletisim_id'			=> $k_radio['iletisim_id'],
'haber_id' 				=> $k_radio['haber_id'],
'acilir_bar_ikon_rengi'	=> $k_radio['acilir_bar_ikon_rengi'],
'acilir_menu_logo_alti_bg'		=> $k_radio['acilir_menu_logo_alti_bg'],
'acilir_menu_bg'				=> $k_radio['acilir_menu_bg'],
'acilir_menu_link_color'		=> $k_radio['acilir_menu_link_color'],
'acilir_menu_link_icon_color'	=> $k_radio['acilir_menu_link_icon_color'],
'acilir_menu_link_border_color'	=> $k_radio['acilir_menu_link_border_color'],
'acilir_menu_sosyalmedya_ust_border_color'	=> $k_radio['acilir_menu_sosyalmedya_ust_border_color'],
'acilir_menu_sosyalmedya_bg_color'			=> $k_radio['acilir_menu_sosyalmedya_bg_color'],
'sidebar_link_sorter'	=> $k_radio['sidebar_link_sorter'],
'facebook'	=> $k_radio['facebook'],
'twitter'	=> $k_radio['twitter'],
'instagram'	=> $k_radio['instagram'],
'youtube'	=> $k_radio['youtube'],

] ;

echo json_encode($array);

?>