$PDOdb = new TPDOdb();
/*
 * View
 */
$page_name = "dolidacticielSetup";
llxHeader('', $langs->trans($page_name));
// Subheader
$linkback = '<a href="' . DOL_URL_ROOT . '/admin/modules.php">' . $langs->trans("BackToModuleList") . '</a>';
print_fiche_titre($langs->trans($page_name), $linkback);
// Configuration header
$head = dolidacticielAdminPrepareHead();
dol_fiche_head($head, 'otherstests', $langs->trans("Module104640Name"), 0, "dolidacticiel@dolidacticiel");
// Setup page goes here
$form = new Form($db);
$var = false;
$TDolidacticielByATM = TDolidacticiel::getAllByATM($PDOdb, $conf);
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre">';
print '<td>' . $langs->trans("DolidacticielListOfModuleByATMTitle") . '</td>';
print '<td>' . $langs->trans("DolidacticielListOfModuleByATMDescription") . '</td>';
print '<td>' . $langs->trans("DolidacticielListOfModuleByATMDolistore") . '</td>';
print '</tr>';
foreach ($TDolidacticielByATM as $test) {
    if (!empty($test->module_name) && $conf->{$test->module_name}->enabled) {
        $alt = $langs->transnoentitiesnoconv('DolidacticielTestAvailable');
        $picto = 'statut4';
        $showLink = false;
    } else {
        $alt = $langs->transnoentitiesnoconv('DolidacticielTestUnavailable');
        $picto = 'statut5';
        $showLink = true;