';
global $connect;
$tables = $connect->allTables();
$diff = array_diff([Utils::table('comment'), Utils::table('poll'), Utils::table('slot'), Utils::table('vote')], $tables);
if (0 !== count($diff)) {
echo '' . __('Error', 'Framadate is not properly installed, please check the "INSTALL" to setup the database before continuing.') . '
';
bandeau_pied();
die();
}
}
function liste_lang(): string
{
global $ALLOWED_LANGUAGES; global $locale;
$str = '';
foreach ($ALLOWED_LANGUAGES as $k => $v ) {
if (strpos($k, $locale) === 0) {
$str .= '' . "\n" ;
} else {
$str .= '' . "\n" ;
}
}
return $str;
}
function bandeau_pied()
{
echo '