@extends('admin.layouts.master') @section('title', 'Your Zoom Meetings') @section('maincontent') @include('admin.layouts.topbar',$data)
@if ($errors->any()) @endif
{{ __('All Meetings') }} ({{ count($meetings) }})
{{ __("Add")}} {{-- Delete Select --}}
{{ __('ZoomProfile') }}
your_profile_picture

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

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

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

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

{{ __('Zoom ID:') }} {{ $profile['id'] }}

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

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

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

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

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

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

{{ __('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