session_begin(); $auth->acl($user->data); $user->setup(); // Initialisation des fichiers de langue $user->add_lang('df/df_commons'); // Destruction de la session en cas de nouvelle demande if (isset($_GET['logout'])) { $user->session_kill(); $user->session_begin(); } // Vrification de la prsence de variables if (isset($_POST['login'])) { $username = request_var('username', '', true); $password = request_var('password', '', true); $autologin = (!empty($_POST['autologin'])) ? true : false; $viewonline = (!empty($_POST['viewonline'])) ? 0 : 1; $admin = 0; $result = $auth->login($username, $password, $autologin, $viewonline, $admin); if ($result['status'] != LOGIN_SUCCESS) { $err = $user->lang[$result['error_msg']]; if ($result['error_msg'] == 'LOGIN_ERROR_USERNAME' || $result['error_msg'] == 'LOGIN_ERROR_PASSWORD') { $err = (!$config['board_contact']) ? sprintf($user->lang[$result['error_msg']], '', '') : sprintf($user->lang[$result['error_msg']], '', ''); } } else { $auth->acl($user->data); } } if(is_numeric($_GET['id'])) { // Onglets switch($_GET['onglet']) { case asso : $onglet = "asso"; break; case cours : $onglet = "cours"; break; default: $onglet = "asso"; break; } // Connexion la base de donnes $base = 5; //djembefola5 include ($df_root_path.'includes/mysql-connect.php'); $retour = mysql_query("SELECT * FROM cours_associations WHERE id=".mysql_real_escape_string($_GET['id'])); $asso = mysql_fetch_array($retour) or die (''); $liste_cours = mysql_query("SELECT * FROM cours_djembe WHERE cours_asso_id=".$asso['id']." ORDER BY cours_year DESC, cours_last_edit_date DESC"); mysql_close(); } else { ?>
Notice: Undefined variable: df_root_path in /public_html/cours_djembe/cours_asso.php on line 116

Warning: include(includes/charset.php): failed to open stream: No such file or directory in /public_html/cours_djembe/cours_asso.php on line 116

Warning: include(includes/charset.php): failed to open stream: No such file or directory in /public_html/cours_djembe/cours_asso.php on line 116

Warning: include(): Failed opening 'includes/charset.php' for inclusion (include_path='.:/opt/php56/lib/php') in /public_html/cours_djembe/cours_asso.php on line 116
<? echo $asso_titre; ?> - www.djembefola.fr
Navigation rapide : www.djembefola.fr'; ?> Associations de djemb et danse';?> ' . $asso_titre . '';?>