From d2647c12ca85221415af21aaf1dd553e7ae2aeb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien?= <44590042+Athar42@users.noreply.github.com> Date: Sat, 10 Nov 2018 17:07:36 +0100 Subject: [PATCH 1/9] Typo fix --- pages/admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/admin.php b/pages/admin.php index 9cd5e6f..f102f2a 100644 --- a/pages/admin.php +++ b/pages/admin.php @@ -115,7 +115,7 @@ -   +   From 87a3c6dba16470dc84fb659f82cf9e024b856af9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien?= <44590042+Athar42@users.noreply.github.com> Date: Sat, 10 Nov 2018 17:08:16 +0100 Subject: [PATCH 2/9] Typo fix --- pages/config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/config.php b/pages/config.php index 2b6db57..130dfb9 100644 --- a/pages/config.php +++ b/pages/config.php @@ -40,13 +40,13 @@ echo"\t"; } }else{ - echo"\t\n\t\t".$config['titre']."\n\t\t \n\t\n"; + echo"\t\n\t\t".$config['titre']."\n\t\t \n\t\n"; } } ?>
-'/>  +'/>  '/>
From 42cdcba13e3124116f33741c20799c6d73cafcef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien?= <44590042+Athar42@users.noreply.github.com> Date: Sat, 10 Nov 2018 17:10:57 +0100 Subject: [PATCH 3/9] Typo fix --- pages/spy_list.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/spy_list.php b/pages/spy_list.php index f4c4052..808d963 100644 --- a/pages/spy_list.php +++ b/pages/spy_list.php @@ -112,8 +112,8 @@ if($stop>$max_spy) $stop=$max_spy; // 1ere ligne - $entete_tableau = Array ( Array ( 'class'=>'d', 'sort' => '', 'label' => ' ', 'width' => '20' ), - Array ( 'class'=>'d', 'sort' => '', 'label' => ' ', 'width' => '10' ), + $entete_tableau = Array ( Array ( 'class'=>'d', 'sort' => '', 'label' => ' ', 'width' => '20' ), + Array ( 'class'=>'d', 'sort' => '', 'label' => ' ', 'width' => '10' ), Array ( 'class'=>'c', 'sort' => 'datadate', 'label' => $lang['qms_date'], 'width' => '140' ), Array ( 'class'=>'c', 'sort' => 'position', 'label' => $lang['qms_depart'], 'width' => '80' ), Array ( 'class'=>'c', 'sort' => 'joueur', 'label' => $lang['qms_joueur'], 'width' => '180' ), @@ -208,9 +208,9 @@ $out_modify = "$img"; } else // Pas d'icone pour modifier - $out_modify = " "; + $out_modify = " "; if($private||($user_data['user_id']==$table_spy['sender_id'][$j])/*||IsUserAdmin()*/) - $out_checkbox=""; + $out_checkbox=""; else $out_checkbox=""; //-------------INFO @@ -245,14 +245,14 @@ } ?> -   +   / / / / -   +   From 56c9e399bee9d30eb831d19a4d03fb8edbcdc126 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien?= <44590042+Athar42@users.noreply.github.com> Date: Sat, 10 Nov 2018 17:11:50 +0100 Subject: [PATCH 4/9] Typo fix --- pages/own_details.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/own_details.php b/pages/own_details.php index 0ef148f..8315829 100644 --- a/pages/own_details.php +++ b/pages/own_details.php @@ -504,7 +504,7 @@ function draw_tooltip_for_bbcode_global($id_list,$titre_list){ $code .= "
"; $code .= "

"; $code .= ""; - $code .= "
 
"; + $code .= "
 
"; $code .= ""; $code .= ""; $code .= ""; @@ -800,4 +800,4 @@ function bb2html(vari) } return vari; } - \ No newline at end of file + From 3dfeeff2bf4dc2a3088c2b4aa7c2c4570b5a2606 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien?= <44590042+Athar42@users.noreply.github.com> Date: Sat, 10 Nov 2018 17:34:38 +0100 Subject: [PATCH 5/9] Correctif #4 --- pages/popup.php | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/pages/popup.php b/pages/popup.php index f5e00d1..f4b763e 100644 --- a/pages/popup.php +++ b/pages/popup.php @@ -103,9 +103,9 @@ // On affiche les cibles // On recupére les favorites $cible_most=get_most('cible',$table_spy); -$cible_str1=isset($cible_most['data'][0])?"".$cible_most['data'][0]." ".$cible_most['cnt'][0]."":" "; -$cible_str2=isset($cible_most['data'][1])?"".$cible_most['data'][1]." ".$cible_most['cnt'][1]."":" "; -$cible_str3=isset($cible_most['data'][2])?"".$cible_most['data'][2]." ".$cible_most['cnt'][2]."":" "; +$cible_str1=isset($cible_most['data'][0])?"".$cible_most['data'][0]." ".$cible_most['cnt'][0]."":" "; +$cible_str2=isset($cible_most['data'][1])?"".$cible_most['data'][1]." ".$cible_most['cnt'][1]."":" "; +$cible_str3=isset($cible_most['data'][2])?"".$cible_most['data'][2]." ".$cible_most['cnt'][2]."":" "; $nb_cible_lst = get_list("cible",$private,"`joueur` = '".$table_spy['joueur'][0]."'"); $nb_cible = count($nb_cible_lst); @@ -131,9 +131,9 @@ // On affiche les positions // On recupére les favorites $cible_most=get_most('position',$table_spy); -$pos_str1=isset($cible_most['data'][0])?"".$cible_most['data'][0]." ".$cible_most['cnt'][0]."":" "; -$pos_str2=isset($cible_most['data'][1])?"".$cible_most['data'][1]." ".$cible_most['cnt'][1]."":" "; -$pos_str3=isset($cible_most['data'][2])?"".$cible_most['data'][2]." ".$cible_most['cnt'][2]."":" "; +$pos_str1=isset($cible_most['data'][0])?"".$cible_most['data'][0]." ".$cible_most['cnt'][0]."":" "; +$pos_str2=isset($cible_most['data'][1])?"".$cible_most['data'][1]." ".$cible_most['cnt'][1]."":" "; +$pos_str3=isset($cible_most['data'][2])?"".$cible_most['data'][2]." ".$cible_most['cnt'][2]."":" "; $nb_pos_lst = get_list("position",$private,"`joueur` = '".$table_spy['joueur'][0]."'"); $nb_pos = count($nb_pos_lst); @@ -276,8 +276,8 @@ function get_top_hour($tableau,$titre=""){ // Création de la table for($i=0;$i<24;$i++){ - for($j=0;$j<7;$j++) ${'case'.$j} = " "; - $case7 = " "; + for($j=0;$j<7;$j++) ${'case'.$j} = " "; + $case7 = " "; $total=0; if(isset($tab[$i])){ foreach($tab[$i] as $k_day => $t_day){ @@ -295,14 +295,15 @@ function get_top_hour($tableau,$titre=""){ ${'case'.$k_day} .= "".$t_day['cnt'].""; } } - if(isset($total_hour_[$i])&&$total_hour_[$i]>0) - $case7="".$total_hour_[$i].""; + if(isset($total_hour_[$i])&&$total_hour_[$i]>0) { + $case7="".$total_hour_[$i].""; + } for($j=0;$j<8;$j++) ${'ligne'.$j} .= ${'case'.$j}; } // Finalisation : affichage de la derniere colonne. for($j=0;$j<7;$j++) - ${'ligne'.$j} = "".$day_array[$j]."".${'ligne'.$j}."".(isset($total_jour_[$j])?"".$total_jour_[$j]."":" ").""; + ${'ligne'.$j} = "".$day_array[$j]."".${'ligne'.$j}."".(isset($total_jour_[$j])?"".$total_jour_[$j]."":" ").""; // Retour du code de la table $retour = "$ligne"; From abe24399357066d2968c524f773be6d2ae89543d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien?= <44590042+Athar42@users.noreply.github.com> Date: Sat, 10 Nov 2018 17:38:46 +0100 Subject: [PATCH 6/9] Correctif #6 --- lang/lang_french.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lang/lang_french.php b/lang/lang_french.php index 3581a6a..aaa9a06 100644 --- a/lang/lang_french.php +++ b/lang/lang_french.php @@ -14,7 +14,7 @@ if (!defined('IN_SPYOGAME')) die("Hacking attempt"); // Jours de la semaine -$day_array = Array ('1'=>'Lundi','2'=>'Mardi','3'=>'Mercredi','4'=>'Jeudi','5'=>'Vendredi','6'=>'Samedi','0'=>'Dimanche'); +$day_array = Array ('1'=>'Lundi','2'=>'Mardi','3'=>'Mercredi','4'=>'Jeudi','5'=>'Vendredi','6'=>'Samedi','7'=>'Total','0'=>'Dimanche'); // Variable (pour les helps) $h_rapport = isset($pub_nb_rapport)?$pub_nb_rapport:0; @@ -339,7 +339,7 @@ $lang['qms_spylist_check_inverser'] = "Inverser"; $lang['qms_spylist_check_modifies'] = "Les modifiés"; $lang['qms_spylist_check_inconnus'] = "les "?""; -$lang['qms_spylist_check_on_selection'] = "sur la sélection... "; +$lang['qms_spylist_check_on_selection'] = "sur la sélection... "; $lang['qms_spylist_check_on_selection_suppr'] = "Supprimer"; $lang['qms_spylist_check_on_selection_update'] = "Mettre à jour"; $lang['qms_spylist_page_on_page'] = "Page %d sur %d"; @@ -593,6 +593,6 @@ "
%1\$s v%2\$s by Sylar © 2008
\n". "Mod de Gestion des Espionnages subits
". "ChangeLog / ". - "plus d'infos

\n"; + "plus d'infos
\n"; -?> \ No newline at end of file +?> From 22a2c469a7157517294d9b3f70b19cabd8a2dbed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien?= <44590042+Athar42@users.noreply.github.com> Date: Sat, 10 Nov 2018 17:42:10 +0100 Subject: [PATCH 7/9] Correctif #6 --- includes/qms_html.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/qms_html.php b/includes/qms_html.php index ea7b63a..cbac2b6 100644 --- a/includes/qms_html.php +++ b/includes/qms_html.php @@ -285,7 +285,7 @@ function make_spy_OGameStyle($table_spy,$j,$from_popup=0){ // Affiche l'espion } } else - */ $s_action = " "; + */ $s_action = " "; // Texte de l'espionnage $retour = ""; $retour.=""; @@ -297,8 +297,8 @@ function make_spy_OGameStyle($table_spy,$j,$from_popup=0){ // Affiche l'espion $retour.="\n"; // Ligne vide pour aérer - echo"\n\n"; + echo"\n\n"; return $retour; } -?> \ No newline at end of file +?> From c660fb0677985b3eee02b4870fb705e2f5346418 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien?= <44590042+Athar42@users.noreply.github.com> Date: Sat, 10 Nov 2018 17:43:24 +0100 Subject: [PATCH 8/9] Correctif #6 --- includes/qms_sql.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/qms_sql.php b/includes/qms_sql.php index 0c91cf5..c57a890 100644 --- a/includes/qms_sql.php +++ b/includes/qms_sql.php @@ -461,7 +461,7 @@ function analyse_globale($periodes,$nb_rapport,$JorA){ // Analyse des esp $tooltip="";//get_tooltip_spy($name,$sender_list[$j],$datadate,$JorA); $retour .= "\n"; }else - $retour .= "\n"; + $retour .= "\n"; } $retour .= "\n"; }else @@ -478,7 +478,7 @@ function analyse_globale($periodes,$nb_rapport,$JorA){ // Analyse des esp $tooltip="";//get_tooltip_spy("?",$sender_list[$j],$datadate,$JorA); $retour .= "\n"; }else - $retour .= "\n"; + $retour .= "\n"; } $retour .= "\n"; } @@ -540,4 +540,4 @@ function delete_qms_config($userid){ $query = "DELETE FROM ".TABLE_QMS_config." WHERE `user_id`=".$userid." AND `config`!='search'"; $db->sql_query($query); } -?> \ No newline at end of file +?> From 9508d19d5503fe8b48a42e758ae15e068765383a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien?= <44590042+Athar42@users.noreply.github.com> Date: Sat, 10 Nov 2018 18:06:42 +0100 Subject: [PATCH 9/9] Correctif #6 --- pages/popup.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/popup.php b/pages/popup.php index f4b763e..d4e2156 100644 --- a/pages/popup.php +++ b/pages/popup.php @@ -7,8 +7,8 @@ * @package QuiMSonde * @author Sylar * @link http://ogsteam.fr - * @version : 1.5.1 - * dernière modification : 11.08.08 + * @version : 1.5.2 + * dernière modification : 10.11.2018 */ // On récupére les données
$titre
$s_action$s_date
 
 
".$count_spy[$name][$s_id]."  
".$count_spy[$lastone][$s_id]."