This repository was archived by the owner on Feb 28, 2024. It is now read-only.
File tree 14 files changed +30
-5
lines changed
14 files changed +30
-5
lines changed Original file line number Diff line number Diff line change 5
5
6
6
/* Database Config */
7
7
8
- $ db_host = 'your_database_host ' ; // DB Hostame
9
- $ db_port = 3306 ; // DB Port (Default: 3306)
10
- $ db_username = 'your_database_username ' ; // DB Username
11
- $ db_password = 'your_database_password ' ; // DB Password
12
- $ db_database = 'your_database_name ' ; // DB Database
8
+ $ db_host = 'localhost ' ; // DB Hostame
9
+ $ db_port = ' 3306 ' ; // DB Port (Default: 3306)
10
+ $ db_username = 'surfcen2_timer1 ' ; // DB Username
11
+ $ db_password = 'surfcen2_timer1 ' ; // DB Password
12
+ $ db_database = 'surfcen2_timer1 ' ; // DB Database
13
13
14
14
/* End of Database Config */
15
15
38
38
$ settings_player_profile_icon = TRUE ; // TRUE or FALSE # FALSE will disable player profile icons
39
39
$ settings_map_link_icon = TRUE ; // TRUE or FALSE # FALSE will disable link icon after map name
40
40
$ settings_map_image_preview = TRUE ; // TRUE or FALSE # FALSE will disable map images preview
41
+ $ settings_map_mapper = TRUE ; // TRUE or FALSE # FALSE will disable map mapper name
41
42
42
43
43
44
/* End of Design Settings */
Original file line number Diff line number Diff line change @@ -219,3 +219,12 @@ function MapPreviewImage($map_name): string
219
219
return '' ;
220
220
endif ;
221
221
}
222
+
223
+ function MapMapper ($ map_mapper ): string
224
+ {
225
+ global $ settings_map_mapper ;
226
+ if ($ settings_map_mapper === TRUE )
227
+ return '<div class="text-center"> ' .MAPS_MAP_CREATED_BY .': <strong> ' .$ map_mapper .'</strong></div> ' ;
228
+ else
229
+ return '' ;
230
+ }
Original file line number Diff line number Diff line change 74
74
const MAPS_MAP_COMPLETIONS = 'Dokončení mapy ' ;
75
75
const MAPS_STAGE_COMPLETIONS = 'Dokončení etap ' ;
76
76
const MAPS_BONUSES_COMPLETIONS = 'Dokončení bonusů ' ;
77
+ const MAPS_MAP_CREATED_BY = 'Mapu vytvořil ' ;
77
78
78
79
const PROFILE_PLAYER_PROFILE = 'Profil hráče ' ;
79
80
const PROFILE_TOP = 'TOP ' ;
Original file line number Diff line number Diff line change 74
74
const MAPS_MAP_COMPLETIONS = 'Map Completions ' ;
75
75
const MAPS_STAGE_COMPLETIONS = 'Stage Completions ' ;
76
76
const MAPS_BONUSES_COMPLETIONS = 'Bonuses Completions ' ;
77
+ const MAPS_MAP_CREATED_BY = 'Kort lavet af ' ;
77
78
78
79
const PROFILE_PLAYER_PROFILE = 'Spiller Profil ' ;
79
80
const PROFILE_TOP = 'TOP ' ;
Original file line number Diff line number Diff line change 74
74
const MAPS_MAP_COMPLETIONS = 'Map Completions ' ;
75
75
const MAPS_STAGE_COMPLETIONS = 'Stage Completions ' ;
76
76
const MAPS_BONUSES_COMPLETIONS = 'Bonuses Completions ' ;
77
+ const MAPS_MAP_CREATED_BY = 'Map created by ' ;
77
78
78
79
const PROFILE_PLAYER_PROFILE = 'Player Profile ' ;
79
80
const PROFILE_TOP = 'TOP ' ;
Original file line number Diff line number Diff line change 74
74
const MAPS_MAP_COMPLETIONS = 'Nombre total de completions de maps ' ;
75
75
const MAPS_STAGE_COMPLETIONS = 'Nombre total de completions de niveaux ' ;
76
76
const MAPS_BONUSES_COMPLETIONS = 'Nombre total de completions de bonus ' ;
77
+ const MAPS_MAP_CREATED_BY = 'Carte créée par ' ;
77
78
78
79
const PROFILE_PLAYER_PROFILE = 'Profile du joueur ' ;
79
80
const PROFILE_TOP = 'TOP ' ;
Original file line number Diff line number Diff line change 74
74
const MAPS_MAP_COMPLETIONS = 'Karten Läufe ' ;
75
75
const MAPS_STAGE_COMPLETIONS = 'Stage Läufe ' ;
76
76
const MAPS_BONUSES_COMPLETIONS = 'Bonus Läufe ' ;
77
+ const MAPS_MAP_CREATED_BY = 'Karte erstellt von ' ;
78
+
77
79
const PROFILE_PLAYER_PROFILE = 'Spielerprofil ' ;
78
80
const PROFILE_TOP = 'TOP ' ;
79
81
const PROFILE_USER_TOTAL_COMPLETION_PROGRESS = 'Fortschritt Spieler Läufe ' ;
Original file line number Diff line number Diff line change 74
74
const MAPS_MAP_COMPLETIONS = '맵 완주 횟수 ' ;
75
75
const MAPS_STAGE_COMPLETIONS = '스테이지 완주 횟수 ' ;
76
76
const MAPS_BONUSES_COMPLETIONS = '보너스 완주 횟수 ' ;
77
+ const MAPS_MAP_CREATED_BY = '만든 지도 ' ;
77
78
78
79
const PROFILE_PLAYER_PROFILE = '플레이어 프로필 ' ;
79
80
const PROFILE_TOP = 'Top ' ;
Original file line number Diff line number Diff line change 74
74
const MAPS_MAP_COMPLETIONS = 'Finalizações do Mapa ' ;
75
75
const MAPS_STAGE_COMPLETIONS = 'Finalizações da Etapa ' ;
76
76
const MAPS_BONUSES_COMPLETIONS = 'Finalizações do Bónus ' ;
77
+ const MAPS_MAP_CREATED_BY = 'Mapa criado por ' ;
77
78
78
79
const PROFILE_PLAYER_PROFILE = 'Perfil do Jogador ' ;
79
80
const PROFILE_TOP = 'TOP ' ;
Original file line number Diff line number Diff line change 74
74
const MAPS_MAP_COMPLETIONS = 'Dokončenia mapy ' ;
75
75
const MAPS_STAGE_COMPLETIONS = 'Dokončenia etapy ' ;
76
76
const MAPS_BONUSES_COMPLETIONS = 'Dokončenia bonusu ' ;
77
+ const MAPS_MAP_CREATED_BY = 'Mapu vytvoril ' ;
77
78
78
79
const PROFILE_PLAYER_PROFILE = 'Profil hráča ' ;
79
80
const PROFILE_TOP = 'TOP ' ;
Original file line number Diff line number Diff line change 74
74
const MAPS_MAP_COMPLETIONS = 'Finalizaciones de Mapa ' ;
75
75
const MAPS_STAGE_COMPLETIONS = 'Finalizaciones Stage ' ;
76
76
const MAPS_BONUSES_COMPLETIONS = 'Finalizaciones Bonus ' ;
77
+ const MAPS_MAP_CREATED_BY = 'Mapa creado por ' ;
77
78
78
79
const PROFILE_PLAYER_PROFILE = 'Perfil del Jugador ' ;
79
80
const PROFILE_TOP = 'TOP ' ;
Original file line number Diff line number Diff line change 74
74
const MAPS_MAP_COMPLETIONS = 'Map Utförda ' ;
75
75
const MAPS_STAGE_COMPLETIONS = 'Stage Utförda ' ;
76
76
const MAPS_BONUSES_COMPLETIONS = 'Bonus Utförda ' ;
77
+ const MAPS_MAP_CREATED_BY = 'Karta skapad av ' ;
78
+
77
79
const PROFILE_PLAYER_PROFILE = 'Spelare Profil ' ;
78
80
const PROFILE_TOP = 'TOP ' ;
79
81
const PROFILE_USER_TOTAL_COMPLETION_PROGRESS = 'Användarens totala slutförande ' ;
Original file line number Diff line number Diff line change 74
74
const MAPS_MAP_COMPLETIONS = 'Harita Rekorları ' ;
75
75
const MAPS_STAGE_COMPLETIONS = 'Stage Rekorları ' ;
76
76
const MAPS_BONUSES_COMPLETIONS = 'Bonus Rekorları ' ;
77
+ const MAPS_MAP_CREATED_BY = 'Oluşturan harita ' ;
77
78
78
79
const PROFILE_PLAYER_PROFILE = 'Oyuncu Profili ' ;
79
80
const PROFILE_TOP = 'Sıralama ' ;
Original file line number Diff line number Diff line change 29
29
30
30
$ map_name = $ row_map ['mapname ' ];
31
31
$ map_tier = $ row_map ['tier ' ];
32
+ $ map_mapper = $ row_map ['mapper ' ];
32
33
$ map_dateadded = $ row_map ['date ' ];
33
34
$ map_maxvelocity = $ row_map ['maxvelocity ' ];
34
35
423
424
<?php if (isset ($ row_map ['date ' ])): ?>
424
425
<div class="my-4">
425
426
<h3 class="text-center"><?php echo $ mapname ; ?> </h3>
427
+ <?php echo MapMapper ($ map_mapper ); ?>
426
428
<div class="row justify-content-md-center">
427
429
<div class="col-12 col-md-auto text-center">
428
430
<?php echo TABLE_TYPE ; ?> : <b><?php echo $ map_stages_info ;?> </b>
You can’t perform that action at this time.
0 commit comments