} } if (file_exists('../modules/reminder/class.reminder.php')) { include '../modules/reminder/class.reminder.php'; $reminder = new reminder; if (!$module->activated('reminder') && $initmod) { $reminder->init_sql(); $reminder->init_menu(); $reminder->init_deps(); $reminder->init_lang(); $reminder->init_help(); } } if (file_exists('../modules/sanitation/class.sanitation.php')) { include '../modules/sanitation/class.sanitation.php'; $sanitation = new sanitation; if (!$module->activated('sanitation') && $initmod) { $sanitation->init_sql(); $sanitation->init_menu(); $sanitation->init_deps(); $sanitation->init_lang(); $sanitation->init_help(); } } if (file_exists('../modules/smoking/class.smoking.php')) { include '../modules/smoking/class.smoking.php'; $smoking = new smoking; if (!$module->activated('smoking') && $initmod) { $smoking->init_sql(); $smoking->init_menu(); $smoking->init_deps();
function _consult_sanitation() { print "<form name='form_sanitation' action='$_POST[PHP_SELF]' method='POST'>"; $sanitation = new sanitation; $sanitation->init_primary_keys(); $sanitation->switch_template_clicked(); $sanitation->show_switch_template(); print " "; $sanitation->init_template(); print "</form>"; }