diff --git a/2020/www/room.php b/2020/www/room.php index 6baa840..172e030 100644 --- a/2020/www/room.php +++ b/2020/www/room.php @@ -1,184 +1,190 @@ . // load all the stuff require 'load.php'; // load this conference $conference = ( new QueryConference() ) ->whereConferenceUID( THIS_CONFERENCE_UID ) ->queryRow(); // no conference no party if( !$conference ) { error_die( sprintf( "missing conference %s", THIS_CONFERENCE_UID ) ); } // room UID $room_uid = $_SERVER['PATH_INFO'] ?? null; if( !$room_uid ) { error_die( "missing room UID" ); } // remove unuseful slashes $room_uid = trim( $room_uid, _ ); // Room $room = ( new QueryRoom() ) ->whereRoomUID( $room_uid ) ->queryRow(); // no Room no party if( !$room ) { error_die( "missing room $room_uid" ); } // check if this is the correct permalink if( site_page( $_SERVER['REQUEST_URI'], true ) !== $room->getRoomURL( true ) ) { http_redirect( $room->getRoomURL( true ) ); } // another eve $events = ( new QueryEvent() ) + ->select( Event ::fields() ) + ->select( Conference::fields() ) + ->select( Track ::fields() ) + ->select( Chapter ::fields() ) + ->select( Room ::fields() ) + ->selectEventHasVideo() ->joinConference() ->joinTrackChapterRoom() ->whereRoom( $room ) ->orderBy( 'event_start' ) ->queryGenerator(); // print the website header template_2020( 'header', [ 'conference' => $conference, ] ); ?>

getRoomName() ) ?> – getConferenceAcronym() ) ?>

getRoomPlayerURL() ): ?>
getRoomMeetingURL() ): ?>


sentiment_very_satisfied

headset_mic

getRoomChatURL() ): ?>

chat_bubble getRoomName() ) ?>

getRoomName() ) ?>

getRoomName() ) ?>
chat_bubble

getEventStart( 'd' ) ?>

getRoomName() ), $event->getEventStart( __( 'd/m/Y' ) ) ) ?>

$event ] ) ?>

getRoomName() ) ) ?>
access_time

$conference, ] );