1 ) ? ($page-1)*$limit : 0; if( is_object($EM_Ticket) ){ $EM_Bookings = $EM_Ticket->get_bookings()->get_bookings(); }else{ if( is_object($EM_Event) ){ $EM_Bookings = $EM_Event->get_bookings()->get_bookings(); }else{ return false; } } $bookings_count = (is_array($EM_Bookings->bookings)) ? count($EM_Bookings->bookings):0; ?>