'; echo ''; echo ''; echo 'Api Sub'; echo ''; echo ''; echo ''; echo '

Inscriptions Api

'; } public static function printUser(string $utclogin, string $surname, string $firstname) : void { echo '

'.$firstname.' '. $surname.' ('.$utclogin.')

'; } public static function printSubList(array $list, string $utclogin) : void { if ($list) { echo '

Vos inscriptions

'; foreach ($list as $row) { echo '

'; echo ' [désinscription] '; echo $row['code'].'-'.$row['name'].' ('.$row['semester'].$row['year'].', du '.$row['dbegin'].' au '.$row['dend'].') [inscrit le '.$row['subdate'].']'; echo '

'; } } else { echo '

Aucune inscription

'; } } public static function printApiList(array $list, string $utclogin) : void { if ($list) { echo '

Liste des Api '.$semester.$year.'

'; foreach ($list as $row) { echo '

'; echo '[inscription] '; echo $row['code'].'-'.$row['name']; echo '

'; } } else { echo '

Aucune Api

'; } } }