@section('title', __('radio.menu_item_5_sub_4')) @section('head') @endsection @php $breadcrumb = [ ['label' => __('general.header_nav_radio')], ['label' => __('radio.menu_item_5_sub_4')], ]; $base = rtrim(config('app.url'), '/'); $hash = str_replace('/', 'brascsep', EncryptBras($siteData->stream_port)); $tabs = [ '1' => ['fa-square-caret-right', __('radio.players_tab_bar')], '2' => ['fa-layer-group', __('radio.players_tab_mini')], '3' => ['fa-clone', __('radio.players_tab_popup')], '4' => ['fa-tv', __('radio.players_tab_box')], ]; $current = isset($tabs[$type]) ? (string) $type : '1'; /* todo modelo le o fim da URL como iniciar-volume, entao todos oferecem as duas opcoes */ $catalog = [ '1' => [ ['id' => '01', 'shot' => 'style01.png', 'w' => '100%', 'h' => 61], ['id' => '02', 'shot' => 'style02.png', 'w' => '100%', 'h' => 61], ['id' => '03', 'shot' => 'style03.png', 'w' => '100%', 'h' => 100], ['id' => '04', 'shot' => 'style04.png', 'w' => '100%', 'h' => 61], ['id' => '05', 'shot' => 'style05.png', 'w' => '100%', 'h' => 61], ], '2' => [ ['id' => '01', 'shot' => 'style-mini01.png', 'w' => 450, 'h' => 90], ['id' => '02', 'shot' => 'style-mini02.png', 'w' => 380, 'h' => 60], ['id' => '03', 'shot' => 'style-mini03.png', 'w' => 250, 'h' => 165, 'radius' => 5], ], '3' => [ ['id' => '01', 'shot' => 'style-pop01.png', 'w' => 600, 'h' => 230], ['id' => '02', 'shot' => 'style-pop02.png', 'w' => 500, 'h' => 170], ], '4' => [ ['id' => 'box', 'shot' => 'stylebox.png', 'w' => '100%', 'h' => 420], ], ]; $paths = ['1' => '/player/', '2' => '/player-mini/', '3' => '/player-pop/', '4' => '/player/box']; $models = $catalog[$current]; @endphp @include('includes/header-novo')
@include('includes.breadcrumb') @include('includes.flash')

{{ __('radio.menu_item_5_sub_4') }}

{{ __('radio.players_page_sub') }}

{{ $tabs[$current][1] }}

{{ trans_choice('radio.players_count', count($models), ['count' => count($models)]) }}
    @foreach($models as $model) @php $name = $model['id'] === 'box' ? $tabs['4'][1] : __('radio.players_model', ['number' => $model['id']]); $url = $current === '4' ? $base . $paths['4'] . '/' . $hash : $base . $paths[$current] . $model['id'] . '/' . $hash; $size = $model['w'] === '100%' ? __('radio.players_size_responsive') : $model['w'] . ' x ' . $model['h'] . 'px'; @endphp
  • @endforeach
@include('includes.player-code-modal')
@section('scripts') @endsection @include('includes/footer-novo')