@php $casperPlusBrochureDataUri = function ($path) { if (!is_file($path)) { return ''; } $ext = strtolower(pathinfo($path, PATHINFO_EXTENSION)); $mime = $ext === 'jpg' ? 'jpeg' : $ext; return 'data:image/' . $mime . ';base64,' . base64_encode(file_get_contents($path)); }; $page3TopPath = public_path('/casper_plus/brochure/page3bg-top.png'); if (!is_file($page3TopPath)) { $page3TopPath = public_path('/casper_plus/brochure/page3bg.png'); } $casperPlusBrochureAssets = [ 'page1' => $casperPlusBrochureDataUri(public_path('/casper_plus/brochure/page1bg.jpg')), 'page2' => $casperPlusBrochureDataUri(public_path('/casper_plus/brochure/page2bg.png')), 'page3top' => $casperPlusBrochureDataUri($page3TopPath), 'page3bottom' => $casperPlusBrochureDataUri(public_path('/casper_plus/brochure/page3bg-bottom.png')), 'page4bg' => $casperPlusBrochureDataUri(public_path('/casper_plus/brochure/page4bg.png')), 'blueBtn' => $casperPlusBrochureDataUri(public_path('/casper_plus/brochure/blue-btn.png')), 'tableBg2' => $casperPlusBrochureDataUri(public_path('/casper_plus/brochure/table-bg2.png')), 'facultyImage' => $casperPlusBrochureDataUri(public_path('/casper_plus/brochure/faculty-image.png')), ]; @endphp Cipla Casper Clinic @php $briefOverviewAsset = public_path('/casper_plus/brochure/page-brief-overview.jpg'); if (!is_file($briefOverviewAsset)) { $briefOverviewAsset = public_path('/casper_plus/brochure/page6bg.png'); } @endphp
casper REGISTER HERE

{{date("jS", strtotime($session->dates->date[0]) )}} {{date("F Y", strtotime($session->dates->date[0]) )}}

{{date("h:i", strtotime($session->dates->start[0]) )}} {{date("A", strtotime($session->dates->start[0]) )}} to {{date("h:i", strtotime($session->dates->end[0]) )}}{{date("A", strtotime($session->dates->end[0]) )}}

{{$session->venue}}

casper
@php $agendaDate = strtotime($session->dates->date[0]); $agendaStart = strtotime($session->dates->start[0]); $agendaEnd = strtotime($session->dates->end[0]); $agendaStartTime = date('i', $agendaStart) === '00' ? date('g A', $agendaStart) : date('g:i A', $agendaStart); $agendaEndTime = date('i', $agendaEnd) === '00' ? date('g A', $agendaEnd) : date('g:i A', $agendaEnd); @endphp
@if(!empty($casperPlusBrochureAssets['page3top']))
casper
Time: {{ $agendaStartTime }} to {{ $agendaEndTime }} Date: {{ date('l, jS F Y', $agendaDate) }} Venue: {{ $session->venue }}
@endif
@foreach($session->dates->date as $i => $date) @foreach($agendas as $agenda) @if($agenda->date == date("Y-m-d 00:00:00", strtotime($date)) && $agenda->status !== 'disabled')

{{$agenda->time}}@if(!empty($agenda->duration)) ({{$agenda->duration}})@endif

{{$agenda->title}}@if(!empty($agenda->theme)) — {{$agenda->theme}}@endif

{{$agenda->speaker}}

@endif @endforeach @endforeach
@if(!empty($casperPlusBrochureAssets['page3bottom'])) casper @endif

@if(!empty($casperPlusBrochureAssets['facultyImage'])) Faculty @endif
@foreach($faculties as $faculty) @if(!$loop->first) @endif @endforeach
{{ $faculty->name }}
    @foreach(array_filter(array_map('trim', preg_split('/\r\n|\r|\n/', $faculty->description))) as $bioLine)
  • {{ preg_replace('/^[\-\*\u2022]\s*/', '', $bioLine) }}
  • @endforeach
@if(!empty($casperPlusBrochureAssets['page3bottom'])) casper @endif
@if(!empty($casperPlusBrochureAssets['page4bg']))
casper REGISTER HERE
@endif @if(false) {{-- legacy agenda pages disabled while building brochure page by page --}}

CASPER PLUS ENCOMPASSES

Case-based approach to real-life challenges in practice

Live discussion with expert faculty during every session

Registration-based customized programme for you if you are facing above challenges and more

Certificate from CREST

SCIENTIFIC PROGRAMME

casper

Pre Course Videos

Pre Course Videos
Topic

VIDEO 01

Risk factors for development of Asthma: Genetic factors and environmental exposures responsible for development of Asthma

VIDEO 02

Pathophysiology of Asthma and basis of pharmacotherapy

VIDEO 03

Role of Peak Expiratory Flow Meter in Pediatric Asthma

VIDEO 04

Role of Spirometry in Pediatric practice

VIDEO 05

Understanding Inhalation Therapy for effective communication with parents

casper
@foreach($session->dates->date as $i => $date)

{{date("d M, Y", strtotime($date) )}} ({{date("h:iA", strtotime($session->dates->start[$i]) )}}-{{date("h:iA", strtotime($session->dates->end[$i]) )}})

@endforeach
@foreach($session->dates->date as $i => $date)

Day {{$i+1}}: {{date("l, d M, Y", strtotime($date) )}} ({{date("h:iA", strtotime($session->dates->start[$i]) )}}-{{date("h:iA", strtotime($session->dates->end[$i]) )}})

Topic
Cases
Duration
Faculty for live sessions
@foreach($agendas as $agenda) @if($agenda->date == date("Y-m-d 00:00:00", strtotime($date) ))

{{$agenda->title}}

{{isset($agenda->theme)?$agenda->theme:'-'}}

{{$agenda->time}} ({{$agenda->duration}})

{{$agenda->speaker}}

@endif @endforeach
@endforeach
@endif @if(false) {{-- legacy pages disabled --}}
@if(is_file($briefOverviewAsset)) casper @endif
casper Register Here
@endif