';
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()
{
global $ALLOWED_LANGUAGES; global $html_lang;
$str = '';
foreach ($ALLOWED_LANGUAGES as $k => $v ) {
if (substr($k,0,2)==$html_lang) {
$str .= '' . "\n" ;
} else {
$str .= '' . "\n" ;
}
}
return $str;
}
function bandeau_pied()
{
echo '