@extends('admin/layouts.master') @section('title', 'Your Zoom Meetings') @section('body')
@include('admin.message')
All Meetings ({{ count($meetings) }})
Create a new meeting
Your Zoom Profile
your_profile_picture

First Name: {{ $profile['first_name'] }}

Last Name: {{ $profile['last_name'] }}

Timezone: {{ $profile['timezone'] }}

Status: {{ $profile['status'] }}

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

Langauge: {{ $profile['language'] }}

@foreach($meetings as $key => $meeting) @endforeach
# Meeting ID Meeting URL Action
{{ $key+1 }}

Meeting ID: {{ $meeting['id'] }}

Meeting Topic: {{ $meeting['topic'] }}

Agenda: {{ isset($meeting['agenda']) ? $meeting['agenda'] : "" }}

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

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

{{ $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
{!! $meetings->links() !!}
@endsection