$highscore = ''; $datehigh = ''; } if ($liste_jeux[$i]['game_highuser'] != 0) { $highuser = '******' . areabb_profile($liste_jeux[$i]['user_id'], $liste_jeux[$i]['username']) . ')'; } $gameid = $liste_jeux[$i]['game_id']; if ($liste_jeux[$i]['game_highdate'] != 0) { $datehigh = create_date($board_config['default_dateformat'], $liste_jeux[$i]['game_highdate'], $userdata['user_timezone']); } if ($liste_jeux[$row['arcade_catid']][$i]['score_date'] != 0) { $yourdatehigh = create_date($board_config['default_dateformat'], $liste_jeux[$row['arcade_catid']][$i]['score_date'], $userdata['user_timezone']); } if ($liste_jeux[$i]['game_highuser'] == $userdata['user_id']) { $imgfirst = ' <img src="areabb/images/couronne.gif" align="absmiddle">'; } $gamedesc = stripslashes($liste_jeux[$i]['game_desc']); $note = $liste_jeux[$i]['note'] . '/5'; $template->assign_block_vars('game.gamerow', array('NOTE' => $note, 'GAMENAME' => $gamename, 'GAMELINK' => $gamelink, 'GAMEPIC' => $gamepic, 'GAMESET' => $gameset, 'HIGHSCORE' => $highscore, 'YOURHIGHSCORE' => $yourhighscore, 'NORECORD' => $norecord, 'HIGHUSER' => $highuser, 'GAMEID' => $gameid, 'DATEHIGH' => $datehigh, 'YOURDATEHIGH' => $yourdatehigh, 'IMGFIRST' => $imgfirst, 'GAMEDESC' => $gamedesc)); } } // On veut paginer nos pages ? $jeux->pagination_jeux($start); //On choisit l'apparance de la pagination //il faut choisir entre les 3 // je me suis éclaté sur ces petites fonctions.. lol //$jeux->pagination_classique(); //$jeux->pagination_google(); //$jeux->pagination_phpbb(); $template->assign_vars(array('PAGINATION' => $jeux->pagination_classique(), 'NO_GAME' => $lang['NO_GAME'], 'CATTITLE' => stripslashes($jeux->titre_page), 'L_GAME' => $lang['games'], 'L_HIGHSCORE' => $lang['highscore'], 'L_NOTE' => $lang['L_NOTE'], 'L_YOURSCORE' => $lang['yourbestscore'], 'L_DESC' => $lang['desc_game'], 'L_ARCADE' => $lang['lib_arcade'], 'L_ALLER_A' => $lang['L_ALLER_A'], 'L_PARTIES' => $lang['game_actual_nbset'])); $template->assign_var_from_handle('liste_jeux_SP1', 'arcade_liste_jeux_SP1');