{{-- 單人講者、多人多主題 --}} @if(in_array($type_of_speech,['single','multiple_different_topics'])) @foreach ($speakers_info as $speaker)

{{-- 講座主題 --}} @if( !empty($speaker->lecture_type)) 【 {{ $speaker->lecture_type }} 】
@endif {{-- icon --}} @if($speaker->can_playback=='V')@endif @if($speaker->talkfile_link=='V')@endif @if($speaker->talkfile_link=='' & $speaker->can_playback=='')@endif {{--one-track-keynote--}} @if($speaker->talk_lang!='中文')@endif @if($speaker->name=='Thomas Scialom')@endif {{-- photo --}} {{ $speaker->name }} @if(!empty($speaker->talk_title)||!empty($speaker->talk_title2)) @if ($speaker->talk_title2) ▌{{ $speaker->talk_title2 }}
@endif @if ($speaker->talk_title) ▌{{ $speaker->talk_title}}
@endif @endif
{{-- 講者姓名、職稱 --}} {{ $speaker->name }} {{ $speaker->position_for_agenda??$speaker->position }} @if(!empty( $speaker->company_for_agenda ?? $speaker->company)) ({{ $speaker->company_for_agenda??$speaker->company }}) @if($speaker->name=='程登湖') 、{{ $speaker->position2 }} ({{ $speaker->company2 }}) @endif @endif

{{-- 分隔線 --}} @if (!$loop->last)
@endif @endforeach {{-- 多人單主題 --}} @elseif(in_array($type_of_speech,['multiple_same_topic','panel']))

{{-- 講座主題 --}} @if( !empty($speakers_info[0]->lecture_type)) 【 {{ $speakers_info[0]->lecture_type }} 】
@endif @if(strpos($speakers_info[0]->talk_title2,"主題論壇")!== false) 【 {{ $speakers_info[0]->talk_title2 }} 】
【 {{ $speakers_info[0]->talk_title}} 】 @endif {{-- icon --}} @if($speakers_info[0]->can_playback=='V')@endif @if($speakers_info[0]->talkfile_link=='V')@endif @if($speakers_info[0]->talkfile_link=='' & $speakers_info[0]->can_playback=='')@endif {{--one-track-keynote--}} @if($speakers_info[0]->talk_lang!='中文')@endif @if($speakers_info[0]->name=='Thomas Scialom')@endif {{-- 照片 --}} @if(!empty($chair_info)){{-- 主持人 --}} {{ $chair_info->name }} @endif @foreach ($speakers_info as $speaker) {{ $speaker->name }} @endforeach {{-- topic 主題 --}} @if(!empty($speaker->talk_title)) @endif {{-- 主持人 --}} @if(!empty($chair_info)) Moderator: {{ $chair_info->name }} {{ $chair_info->position??$chair_info->position }} ({{ $chair_info->company??$chair_info->company }})
@endif {{-- 引言人 --}} @if($speakers_info[0]->id =='22') @endif {{-- 講者姓名、職稱 --}} @if($type_of_speech=='panel') Panelist: @endif @foreach ($speakers_info as $key => $speaker) {{ $speaker->name }} {{ $speaker->position_for_agenda??$speaker->position }} @if( $speakers_info[$key+1]->company_for_agenda != $speakers_info[$key]->company_for_agenda ) ({{ $speaker->company_for_agenda??$speakers_info[$key]->company }}) @endif @if(!$loop->last)、@endif @endforeach

{{-- Opening --}} @elseif(in_array($type_of_speech,['opening']))

{{-- 講座主題 --}} @if( !empty($speakers_info[0]->lecture_type)) 【 {{ $speakers_info[0]->lecture_type }} 】
@endif {{-- 照片 --}} @foreach ($speakers_info as $speaker) {{ $speaker->name }} @endforeach {{-- 講者姓名、職稱 --}} @if($type_of_speech=='panel') Panelist: @endif @foreach ($speakers_info as $key => $speaker) {{ $speaker->name }} {{ $speaker->position_for_agenda??$speaker->position }} @if( $speakers_info[$key+1]->company_for_agenda != $speakers_info[$key]->company_for_agenda ) ({{ $speaker->company_for_agenda??$speakers_info[$key]->company }}) @endif @if(!$loop->last)、@endif @endforeach

{{-- special_panel --}} @elseif(in_array($type_of_speech,['special_panel']))

{{-- 講座主題 --}} @if( !empty($speakers_info[0]->lecture_type)) 【 {{ $speakers_info[0]->lecture_type }} 】
@endif {{-- icon --}} @if($speakers_info[0]->can_playback=='V')@endif @if($speakers_info[0]->talkfile_link=='V')@endif @if($speakers_info[0]->talkfile_link=='' & $speakers_info[0]->can_playback=='')@endif {{-- 照片 --}} @if(!empty($chair_info)){{-- 主持人 --}} {{ $chair_info->name }} @endif @foreach ($speakers_info as $speaker) {{ $speaker->name }} @endforeach {{-- topic 主題 --}} @if(!empty($speaker->talk_title)) @endif {{-- 主持人 --}} @if(!empty($chair_info)) Moderator: {{ $chair_info->name }} {{ $chair_info->position??$chair_info->position }} ({{ $chair_info->company??$chair_info->company }})
@endif {{-- 講者姓名、職稱 --}} @if($type_of_speech=='panel') Panelist: @endif @foreach ($speakers_info as $key => $speaker) {{-- 講者姓名、職稱 --}} {{ $speaker->name }} {{ $speaker->position_for_agenda??$speaker->position }} ({{ $speaker->company_for_agenda??$speaker->company }}) @if(!empty($speaker->talk_title)||!empty($speaker->talk_title2)) ▌{{ $speaker->talk_title?? $speaker->talk_title2 }} @endif @if(!$loop->last)
@endif @endforeach

{{-- Workshop --}} @elseif(in_array($type_of_speech,['workshop']))

{{-- icon --}} @if($speakers_info[0]->can_playback=='V')@endif @if($speakers_info[0]->talkfile_link=='V')@endif @if($speakers_info[0]->talkfile_link=='' & $speakers_info[0]->can_playback=='')@endif {{-- 講座主題 --}} @if( !empty($speakers_info[0]->lecture_type)) 【 {{ $speakers_info[0]->lecture_type }} 】
@endif @foreach ($speakers_info as $key => $speaker) {{-- 照片 --}} {{ $speaker->name }} {{-- 講者姓名、職稱 --}} @if(!empty($speaker->talk_title)||!empty($speaker->talk_title2)) ▌{{ $speaker->talk_title?? $speaker->talk_title2 }}
@endif
{{ $speaker->name }} {{ $speaker->position_for_agenda??$speaker->position }} ({{ $speaker->company_for_agenda??$speaker->company }}) @if(!$loop->last)

@endif @endforeach {{-- 分隔線 --}} {{-- 其他主題 --}} 【 討論 】

{{-- Flash Talk --}} @elseif(in_array($type_of_speech,['flash_talk'])) @foreach ($speakers_info as $speaker)

{{-- 講座主題 --}} @if( !empty($speaker->lecture_type)) 【 {{ $speaker->lecture_type }} 】
{{ $speaker->name }} @if(!empty($speaker->talk_title)||!empty($speaker->talk_title2)) ▌{{ $speaker->talk_title?? $speaker->talk_title2 }}
@endif
@endif {{-- icon --}} @if($speaker->can_playback=='V')@endif @if($speaker->talkfile_link=='V')@endif @if($speaker->talkfile_link=='' & $speaker->can_playback=='')@endif {{--one-track-keynote--}} @if($speaker->talk_lang!='中文')@endif @if($speaker->name=='Thomas Scialom')@endif {{-- photo --}} {{-- {{ $speaker->name }} @if(!empty($speaker->talk_title)||!empty($speaker->talk_title2)) ▌{{ $speaker->talk_title?? $speaker->talk_title2 }}
@endif
--}} {{-- 講者姓名、職稱 --}} {{ $speaker->name }} {{ $speaker->position_for_agenda??$speaker->position }} @if( !empty($speaker->company_for_agenda??$speaker->company) ) ({{ $speaker->company_for_agenda??$speaker->company }}) @endif

{{-- 分隔線 --}} @if (!$loop->last)
@endif @endforeach @endif {{-- {{ $type_of_speech }} --}}