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