= $maxChilds; $disableEmergencyBtn = count($emergencies) >= $maxEmergency; ?> = $this->extend('layout/main_layout') ?> = $this->section('content') ?>
Please complete their enrollment using the button below to ensure they are able to attend classes.
Enroll in Classes| School ID | First Name | Last Name | DOB | Grade | Medical Conditions | Allergies | Action |
|---|---|---|---|---|---|---|---|
| = esc($kid['school_id']) ?> | = esc($kid['firstname']) ?> | = esc($kid['lastname']) ?> | = esc((new DateTime($kid['dob']))->format('m-d-Y')) ?> | = esc($kid['registration_grade']) ?> |
0
? array_map('trim', explode(',', $kid['medical_conditions']))
: ['N/A']);
// Escape each item, then join with real (not escaped) echo implode(' ', array_map('esc', $mc)); ?> |
0
? array_map('trim', explode(',', $kid['allergies']))
: ['N/A']);
echo implode(' ', array_map('esc', $al)); ?> |
| First Name | Last Name | Phone | Relation |
|---|---|---|---|
| = esc($firstName) ?> | = esc($lastName) ?> | = esc($contact['cellphone']) ?> | = esc($contact['relation']) ?> |