@extends('admin.layouts.master') @section('title', 'Your Zoom Meetings') @section('maincontent') @component('components.breadcumb',['secondactive' => 'active']) @slot('heading') {{ __('Your Zoom Meetings') }} @endslot @slot('menu1') {{ __('Zoom Meetings') }} @endslot @slot('button')
{{ __("Add")}} {{-- Delete Select --}}
@endslot @endcomponent
@if ($errors->any()) @endif
{{ __('adminstaticword.AllMeetings') }} ({{ count($meetings) }})
{{ __('adminstaticword.ZoomProfile') }}
your_profile_picture

{{ __('adminstaticword.FirstName') }}: {{ $profile['first_name'] }}

{{ __('adminstaticword.LastName') }}: {{ $profile['last_name'] }}

{{ __('adminstaticword.Timezone') }}: {{ $profile['timezone'] }}

{{ __('adminstaticword.Status') }}: {{ $profile['status'] }}

Zoom ID: {{ $profile['id'] }}

{{ __('adminstaticword.Language') }}: {{ $profile['language'] }}

@php $i = 0; @endphp @foreach($meetings as $key => $meeting) @php $i++; @endphp @endforeach
# {{ __('adminstaticword.MeetingID') }} {{ __('adminstaticword.Meeting') }} {{ __('adminstaticword.URL') }} {{ __('adminstaticword.Action') }}
{{ $i }}

{{ __('adminstaticword.MeetingID') }}: {{ $meeting['id'] }}

{{ __('adminstaticword.MeetingTopic') }}: {{ $meeting['topic'] }}

{{ __('adminstaticword.Agenda') }}: {{ isset($meeting['agenda']) ? str_limit($meeting['agenda'], $limit = 10, $end = '...') : "" }}

{{ __('adminstaticword.Duration') }}: {{ isset($meeting['duration']) ? $meeting['duration'] : "" }} min

{{ __('adminstaticword.StartTime') }}:{{ isset($meeting['start_time']) ? date('d-m-Y | h:i:s A',strtotime($meeting['start_time'])) : "" }}

Meeting Type: @if($meeting['type'] == '2') Scheduled Meeting @elseif($meeting['type'] == '3') Recurring Meeting with no fixed time @else Recurring Meeting with fixed time @endif

{{ $meeting['join_url'] }} @php $curl = curl_init(); $token = Auth::user()->jwt_token; $meetingID = $meeting['id']; curl_setopt_array($curl, array( CURLOPT_URL => "https://api.zoom.us/v2/meetings/$meetingID", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => array( "authorization: Bearer $token" ), )); $url = curl_exec($curl); $err = curl_error($curl); $url = json_decode($url,true); curl_close($curl); @endphp
@endsection @section('scripts') @endsection