';
$html .= '
Date de sortie
';
$html .= '';
$html .= '';
echo $html;
}
function features(array $featuresArray, array $featuresAdminArray) {
$userManager = UserManager::getInstance();
if(count($featuresArray) > 0) {
$html = '';
$html .= '
Évolutions
';
$html .= '
';
foreach($featuresArray as $feature) {
$html .= '- '.$feature.'
';
}
if($userManager->isCurrentAdmin()) {
foreach($featuresAdminArray as $feature) {
$html .= '- '.$feature.'
';
}
}
$html .= '
';
$html .= '
';
echo $html;
}
}
function maintenance(array $maintenanceArray, array $maintenanceAdminArray) {
$userManager = UserManager::getInstance();
if(count($maintenanceArray) > 0) {
$html = '';
$html .= '
Maintenance
';
$html .= '
';
foreach($maintenanceArray as $maintenance) {
$html .= '- '.$maintenance.'
';
}
if($userManager->isCurrentAdmin()) {
foreach ($maintenanceAdminArray as $maintenance) {
$html .= '- ' . $maintenance . '
';
}
}
$html .= '
';
$html .= '
';
echo $html;
}
}