@@ -45,14 +45,14 @@ discard block |
||
| 45 | 45 | if ($action == 'log_search') { |
| 46 | 46 | $log_timestamp = date_to_timestamp($Date_Year, $Date_Month, $Date_Day); |
| 47 | 47 | $sql_log = $mysqli->query("SELECT * FROM change_log WHERE timestamp < '$log_timestamp' |
| 48 | - ORDER BY change_log_id DESC LIMIT " . $v_counter . ", 25"); |
|
| 48 | + ORDER BY change_log_id DESC LIMIT ".$v_counter.", 25"); |
|
| 49 | 49 | |
| 50 | 50 | $v_number = $sql_log->num_rows; |
| 51 | 51 | $smarty->assign('rec_nr', $v_number); |
| 52 | 52 | } else { |
| 53 | 53 | $sql_log = $mysqli->query("SELECT * |
| 54 | 54 | FROM change_log |
| 55 | - ORDER BY change_log_id DESC LIMIT " . $v_counter . ", 25"); |
|
| 55 | + ORDER BY change_log_id DESC LIMIT " . $v_counter.", 25"); |
|
| 56 | 56 | |
| 57 | 57 | $v_number = $sql_log->num_rows; |
| 58 | 58 | $smarty->assign('rec_nr', $v_number); |
@@ -65,12 +65,12 @@ discard block |
||
| 65 | 65 | // create the section link and the subsection link |
| 66 | 66 | // the GAMES SECTION |
| 67 | 67 | if ($log['section'] == 'Games') { |
| 68 | - $section_link = ("../games/games_detail.php" . '?game_id=' . $log['section_id']); |
|
| 68 | + $section_link = ("../games/games_detail.php".'?game_id='.$log['section_id']); |
|
| 69 | 69 | |
| 70 | 70 | if ($log['sub_section'] == 'Game' or $log['sub_section'] == 'AKA' or $log['sub_section'] == 'Year' |
| 71 | 71 | or $log['sub_section'] == 'Submission' or $log['sub_section'] == 'Sound hardware' |
| 72 | 72 | or $log['sub_section'] == 'Box back' or $log['sub_section'] == 'Box front') { |
| 73 | - $subsection_link = ("../games/games_detail.php" . '?game_id=' . $log['sub_section_id']); |
|
| 73 | + $subsection_link = ("../games/games_detail.php".'?game_id='.$log['sub_section_id']); |
|
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | if ($log['sub_section'] == 'Release') { |
@@ -78,34 +78,34 @@ discard block |
||
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | if ($log['sub_section'] == 'Creator') { |
| 81 | - $subsection_link = ("../individuals/individuals_edit.php" . '?ind_id=' . $log['sub_section_id']); |
|
| 81 | + $subsection_link = ("../individuals/individuals_edit.php".'?ind_id='.$log['sub_section_id']); |
|
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | if ($log['sub_section'] == 'Publisher' or $log['sub_section'] == 'Developer') { |
| 85 | - $subsection_link = ("../company/company_edit.php" . '?comp_id=' . $log['sub_section_id']); |
|
| 85 | + $subsection_link = ("../company/company_edit.php".'?comp_id='.$log['sub_section_id']); |
|
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | if ($log['sub_section'] == 'File') { |
| 89 | - $subsection_link = ("../downloads/downloads_game_detail.php" . '?game_id=' . $log['sub_section_id']); |
|
| 89 | + $subsection_link = ("../downloads/downloads_game_detail.php".'?game_id='.$log['sub_section_id']); |
|
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | if ($log['sub_section'] == 'Fact') { |
| 93 | - $subsection_link = ("../games/games_facts.php" . '?game_id=' . $log['sub_section_id'] |
|
| 94 | - . '&game_name=' . $log['section_name']); |
|
| 93 | + $subsection_link = ("../games/games_facts.php".'?game_id='.$log['sub_section_id'] |
|
| 94 | + . '&game_name='.$log['section_name']); |
|
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 | if ($log['sub_section'] == 'Screenshot') { |
| 98 | - $subsection_link = ("../games/games_screenshot_add.php" . '?game_id=' . $log['sub_section_id'] |
|
| 99 | - . '&game_name=' . $log['section_name']); |
|
| 98 | + $subsection_link = ("../games/games_screenshot_add.php".'?game_id='.$log['sub_section_id'] |
|
| 99 | + . '&game_name='.$log['section_name']); |
|
| 100 | 100 | } |
| 101 | 101 | |
| 102 | 102 | if ($log['sub_section'] == 'Mag score') { |
| 103 | - $subsection_link = ("../magazine/magazine_review_score.php" . '?game_id=' . $log['sub_section_id'] |
|
| 104 | - . '&game_name=' . $log['section_name']); |
|
| 103 | + $subsection_link = ("../magazine/magazine_review_score.php".'?game_id='.$log['sub_section_id'] |
|
| 104 | + . '&game_name='.$log['section_name']); |
|
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | if ($log['sub_section'] == 'Similar') { |
| 108 | - $subsection_link = ("../games/games_similar.php" . '?game_id=' . $log['sub_section_id'] . '&game_name=' |
|
| 108 | + $subsection_link = ("../games/games_similar.php".'?game_id='.$log['sub_section_id'].'&game_name=' |
|
| 109 | 109 | . $log['section_name']); |
| 110 | 110 | } |
| 111 | 111 | |
@@ -122,28 +122,28 @@ discard block |
||
| 122 | 122 | //$subsection_link = ("../games/games_review_add.php" . '?game_id=' . $log['section_id']); |
| 123 | 123 | $subsection_link = ("../games/games_review.php"); |
| 124 | 124 | } else { |
| 125 | - $subsection_link = ("../games/games_review_edit.php" . '?reviewid=' . $log['sub_section_id'] |
|
| 126 | - . '&game_id=' . $log['section_id']); |
|
| 125 | + $subsection_link = ("../games/games_review_edit.php".'?reviewid='.$log['sub_section_id'] |
|
| 126 | + . '&game_id='.$log['section_id']); |
|
| 127 | 127 | } |
| 128 | 128 | } |
| 129 | 129 | |
| 130 | 130 | if ($log['sub_section'] == 'Music') { |
| 131 | - $subsection_link = ("../games/games_music_detail.php" . '?game_id=' . $log['sub_section_id']); |
|
| 131 | + $subsection_link = ("../games/games_music_detail.php".'?game_id='.$log['sub_section_id']); |
|
| 132 | 132 | } |
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | // the GAMES SERIES SECTION |
| 136 | 136 | if ($log['section'] == 'Game series') { |
| 137 | - $section_link = ("../games/games_series_editor.php" . '?game_series_id=' . $log['section_id'] |
|
| 137 | + $section_link = ("../games/games_series_editor.php".'?game_series_id='.$log['section_id'] |
|
| 138 | 138 | . '&series_page=series_editor'); |
| 139 | 139 | |
| 140 | 140 | if ($log['sub_section'] == 'Series') { |
| 141 | - $subsection_link = ("../games/games_series_editor.php" . '?game_series_id=' . $log['section_id'] |
|
| 141 | + $subsection_link = ("../games/games_series_editor.php".'?game_series_id='.$log['section_id'] |
|
| 142 | 142 | . '&series_page=series_editor'); |
| 143 | 143 | } |
| 144 | 144 | |
| 145 | 145 | if ($log['sub_section'] == 'Game') { |
| 146 | - $subsection_link = ("../games/games_detail.php" . '?game_id=' . $log['sub_section_id']); |
|
| 146 | + $subsection_link = ("../games/games_detail.php".'?game_id='.$log['sub_section_id']); |
|
| 147 | 147 | } |
| 148 | 148 | } |
| 149 | 149 | |
@@ -174,8 +174,8 @@ discard block |
||
| 174 | 174 | $section_link = ''; |
| 175 | 175 | $subsection_link = ''; |
| 176 | 176 | } else { |
| 177 | - $section_link = ("../user/user_detail.php" . '?user_id_selected=' . $log['section_id']); |
|
| 178 | - $subsection_link = ("../user/user_detail.php" . '?user_id_selected=' . $log['sub_section_id']); |
|
| 177 | + $section_link = ("../user/user_detail.php".'?user_id_selected='.$log['section_id']); |
|
| 178 | + $subsection_link = ("../user/user_detail.php".'?user_id_selected='.$log['sub_section_id']); |
|
| 179 | 179 | } |
| 180 | 180 | } |
| 181 | 181 | |
@@ -190,10 +190,10 @@ discard block |
||
| 190 | 190 | |
| 191 | 191 | // the LINKS SECTION |
| 192 | 192 | if ($log['section'] == 'Links') { |
| 193 | - $section_link = ("../links/link_mod.php" . '?website_id=' . $log['section_id']); |
|
| 193 | + $section_link = ("../links/link_mod.php".'?website_id='.$log['section_id']); |
|
| 194 | 194 | |
| 195 | 195 | if ($log['sub_section'] == 'Link' or $log['sub_section'] == 'Category') { |
| 196 | - $subsection_link = ("../links/link_mod.php" . '?website_id=' . $log['section_id']); |
|
| 196 | + $subsection_link = ("../links/link_mod.php".'?website_id='.$log['section_id']); |
|
| 197 | 197 | } |
| 198 | 198 | |
| 199 | 199 | if ($log['sub_section'] == 'Link submit') { |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | |
| 215 | 215 | // the COMPANY SECTION |
| 216 | 216 | if ($log['section'] == 'Company') { |
| 217 | - $section_link = ("../company/company_edit.php" . '?comp_id=' . $log['section_id']); |
|
| 217 | + $section_link = ("../company/company_edit.php".'?comp_id='.$log['section_id']); |
|
| 218 | 218 | |
| 219 | 219 | if ($log['sub_section'] == 'Company' or $log['sub_section'] == 'Logo') { |
| 220 | 220 | $subsection_link = $section_link; |
@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | |
| 224 | 224 | // the INDIVIDUALS SECTION |
| 225 | 225 | if ($log['section'] == 'Individuals') { |
| 226 | - $section_link = ("../individuals/individuals_edit.php" . '?ind_id=' . $log['section_id']); |
|
| 226 | + $section_link = ("../individuals/individuals_edit.php".'?ind_id='.$log['section_id']); |
|
| 227 | 227 | |
| 228 | 228 | if ($log['sub_section'] == 'Individual' or $log['sub_section'] == 'Image' |
| 229 | 229 | or $log['sub_section'] == 'Nickname') { |
@@ -242,14 +242,14 @@ discard block |
||
| 242 | 242 | |
| 243 | 243 | // the INTERVIEW SECTION |
| 244 | 244 | if ($log['section'] == 'Interviews') { |
| 245 | - $section_link = ("../interviews/interviews_edit.php" . '?interview_id=' . $log['sub_section_id']); |
|
| 245 | + $section_link = ("../interviews/interviews_edit.php".'?interview_id='.$log['sub_section_id']); |
|
| 246 | 246 | |
| 247 | 247 | if ($log['sub_section'] == 'Interview' or $log['sub_section'] == 'Screenshots') { |
| 248 | 248 | $subsection_link = $section_link; |
| 249 | 249 | } |
| 250 | 250 | |
| 251 | 251 | if ($log['sub_section'] == 'Comment') { |
| 252 | - $section_link = ("../interviews/interviews_edit.php" . '?interview_id=' . $log['section_id']); |
|
| 252 | + $section_link = ("../interviews/interviews_edit.php".'?interview_id='.$log['section_id']); |
|
| 253 | 253 | if ($log['action'] == 'Delete') { |
| 254 | 254 | $subsection_link = ("../administration/change_log.php"); |
| 255 | 255 | } else { |
@@ -279,7 +279,7 @@ discard block |
||
| 279 | 279 | } |
| 280 | 280 | |
| 281 | 281 | if ($log['sub_section'] == 'News item') { |
| 282 | - $section_link = ("../news/news_edit.php" . '?news_id=' . $log['sub_section_id']); |
|
| 282 | + $section_link = ("../news/news_edit.php".'?news_id='.$log['sub_section_id']); |
|
| 283 | 283 | $subsection_link = $section_link; |
| 284 | 284 | } |
| 285 | 285 | |
@@ -291,7 +291,7 @@ discard block |
||
| 291 | 291 | |
| 292 | 292 | // the MENU SET SECTION |
| 293 | 293 | if ($log['section'] == 'Menu set') { |
| 294 | - $section_link = ("../menus/menus_disk_list.php" . '?menu_sets_id=' . $log['section_id']); |
|
| 294 | + $section_link = ("../menus/menus_disk_list.php".'?menu_sets_id='.$log['section_id']); |
|
| 295 | 295 | |
| 296 | 296 | if ($log['sub_section'] == 'Menu set' or $log['sub_section'] == 'Menu disk (multiple)' |
| 297 | 297 | or $log['sub_section'] == 'Menu type' or $log['sub_section'] == 'Menu disk') { |
@@ -299,30 +299,30 @@ discard block |
||
| 299 | 299 | } |
| 300 | 300 | |
| 301 | 301 | if ($log['sub_section'] == 'Crew') { |
| 302 | - $subsection_link = "../crew/crew_editor.php?crewbrowse=&crewsearch=&crew_select=" . $log['sub_section_id']; |
|
| 302 | + $subsection_link = "../crew/crew_editor.php?crewbrowse=&crewsearch=&crew_select=".$log['sub_section_id']; |
|
| 303 | 303 | } |
| 304 | 304 | |
| 305 | 305 | if ($log['sub_section'] == 'Individual') { |
| 306 | - $subsection_link = ("../individuals/individuals_edit.php" . '?ind_id=' . $log['sub_section_id']); |
|
| 306 | + $subsection_link = ("../individuals/individuals_edit.php".'?ind_id='.$log['sub_section_id']); |
|
| 307 | 307 | } |
| 308 | 308 | } |
| 309 | 309 | |
| 310 | 310 | // the CREW SECTION |
| 311 | 311 | if ($log['section'] == 'Crew') { |
| 312 | - $section_link = "../crew/crew_editor.php?crewbrowse=&crewsearch=&crew_select=" . $log['section_id']; |
|
| 312 | + $section_link = "../crew/crew_editor.php?crewbrowse=&crewsearch=&crew_select=".$log['section_id']; |
|
| 313 | 313 | |
| 314 | 314 | if ($log['sub_section'] == 'Crew' or $log['sub_section'] == 'Logo') { |
| 315 | - $subsection_link = "../crew/crew_editor.php?crewbrowse=&crewsearch=&crew_select=" . $log['sub_section_id']; |
|
| 315 | + $subsection_link = "../crew/crew_editor.php?crewbrowse=&crewsearch=&crew_select=".$log['sub_section_id']; |
|
| 316 | 316 | } |
| 317 | 317 | |
| 318 | 318 | if ($log['sub_section'] == 'Subcrew') { |
| 319 | - $subsection_link = "../crew/crew_editor.php?crewbrowse=&crewsearch=&crew_select=" . $log['sub_section_id']; |
|
| 319 | + $subsection_link = "../crew/crew_editor.php?crewbrowse=&crewsearch=&crew_select=".$log['sub_section_id']; |
|
| 320 | 320 | $section_link = "../crew/crew_genealogy.php?action=genealogy&crewbrowse=&crewsearch=&crew_select=" |
| 321 | 321 | . $log['section_id']; |
| 322 | 322 | } |
| 323 | 323 | |
| 324 | 324 | if ($log['sub_section'] == 'Member' or $log['sub_section'] == 'Nickname') { |
| 325 | - $subsection_link = ("../individuals/individuals_edit.php" . '?ind_id=' . $log['sub_section_id']); |
|
| 325 | + $subsection_link = ("../individuals/individuals_edit.php".'?ind_id='.$log['sub_section_id']); |
|
| 326 | 326 | $section_link = "../crew/crew_genealogy.php?action=genealogy&crewbrowse=&crewsearch=&crew_select=" |
| 327 | 327 | . $log['section_id']; |
| 328 | 328 | } |
@@ -330,24 +330,24 @@ discard block |
||
| 330 | 330 | |
| 331 | 331 | // the MENU TYPE SECTION |
| 332 | 332 | if ($log['section'] == 'Menu type') { |
| 333 | - $section_link = ("../menus/menus_type_edit.php" . '?menu_type_id=' . $log['section_id']); |
|
| 333 | + $section_link = ("../menus/menus_type_edit.php".'?menu_type_id='.$log['section_id']); |
|
| 334 | 334 | |
| 335 | 335 | if ($log['sub_section'] == 'Menu type') { |
| 336 | - $subsection_link = ("../menus/menus_type_edit.php" . '?menu_type_id=' . $log['section_id']); |
|
| 336 | + $subsection_link = ("../menus/menus_type_edit.php".'?menu_type_id='.$log['section_id']); |
|
| 337 | 337 | } |
| 338 | 338 | } |
| 339 | 339 | |
| 340 | 340 | // the MENU DISK SECTION |
| 341 | 341 | if ($log['section'] == 'Menu disk') { |
| 342 | - $section_link = ("../menus/menus_disk_list.php" . '?menu_sets_id=' . $log['section_id']); |
|
| 342 | + $section_link = ("../menus/menus_disk_list.php".'?menu_sets_id='.$log['section_id']); |
|
| 343 | 343 | $subsection_link = $section_link; |
| 344 | 344 | |
| 345 | 345 | if ($log['sub_section'] == 'Credits' or $log['sub_section'] == 'Nickname') { |
| 346 | - $subsection_link = ("../individuals/individuals_edit.php" . '?ind_id=' . $log['sub_section_id']); |
|
| 346 | + $subsection_link = ("../individuals/individuals_edit.php".'?ind_id='.$log['sub_section_id']); |
|
| 347 | 347 | } |
| 348 | 348 | |
| 349 | 349 | if ($log['sub_section'] == 'Game' or $log['sub_section'] == 'Game doc' or $log['sub_section'] == 'Authors') { |
| 350 | - $subsection_link = ("../games/games_detail.php" . '?game_id=' . $log['sub_section_id']); |
|
| 350 | + $subsection_link = ("../games/games_detail.php".'?game_id='.$log['sub_section_id']); |
|
| 351 | 351 | } |
| 352 | 352 | |
| 353 | 353 | if ($log['sub_section'] == 'Demo' or $log['sub_section'] == 'Tool' or $log['sub_section'] == 'Tool doc') { |
@@ -355,20 +355,20 @@ discard block |
||
| 355 | 355 | } |
| 356 | 356 | |
| 357 | 357 | if ($log['sub_section'] == 'Doc type') { |
| 358 | - $subsection_link = ("../docs/doc_type_edit.php" . '?doc_type_id=' . $log['sub_section_id']); |
|
| 358 | + $subsection_link = ("../docs/doc_type_edit.php".'?doc_type_id='.$log['sub_section_id']); |
|
| 359 | 359 | } |
| 360 | 360 | } |
| 361 | 361 | |
| 362 | 362 | // the ARTICLES SECTION |
| 363 | 363 | if ($log['section'] == 'Articles') { |
| 364 | - $section_link = ("../articles/articles_edit.php" . '?article_id=' . $log['sub_section_id']); |
|
| 364 | + $section_link = ("../articles/articles_edit.php".'?article_id='.$log['sub_section_id']); |
|
| 365 | 365 | |
| 366 | 366 | if ($log['sub_section'] == 'Article' or $log['sub_section'] == 'Screenshots') { |
| 367 | 367 | $subsection_link = $section_link; |
| 368 | 368 | } |
| 369 | 369 | |
| 370 | 370 | if ($log['sub_section'] == 'Comment') { |
| 371 | - $section_link = ("../articles/articles_edit.php" . '?article_id=' . $log['section_id']); |
|
| 371 | + $section_link = ("../articles/articles_edit.php".'?article_id='.$log['section_id']); |
|
| 372 | 372 | if ($log['action'] == 'Delete') { |
| 373 | 373 | $subsection_link = ("../administration/comments.php"); |
| 374 | 374 | } else { |
@@ -379,86 +379,86 @@ discard block |
||
| 379 | 379 | |
| 380 | 380 | // the ARTICLE TYPE SECTION |
| 381 | 381 | if ($log['section'] == 'Article type') { |
| 382 | - $section_link = ("../articles/article_type_edit.php" . '?article_type_id=' . $log['section_id']); |
|
| 382 | + $section_link = ("../articles/article_type_edit.php".'?article_type_id='.$log['section_id']); |
|
| 383 | 383 | |
| 384 | 384 | if ($log['sub_section'] == 'Article type') { |
| 385 | - $subsection_link = ("../articles/article_type_edit.php" . '?article_type_id=' . $log['section_id']); |
|
| 385 | + $subsection_link = ("../articles/article_type_edit.php".'?article_type_id='.$log['section_id']); |
|
| 386 | 386 | } |
| 387 | 387 | } |
| 388 | 388 | |
| 389 | 389 | // the DOC TYPE SECTION |
| 390 | 390 | if ($log['section'] == 'Doc type') { |
| 391 | - $section_link = ("../docs/doc_type_edit.php" . '?doc_type_id=' . $log['section_id']); |
|
| 391 | + $section_link = ("../docs/doc_type_edit.php".'?doc_type_id='.$log['section_id']); |
|
| 392 | 392 | |
| 393 | 393 | if ($log['sub_section'] == 'Doc type') { |
| 394 | - $subsection_link = ("../docs/doc_type_edit.php" . '?doc_type_id=' . $log['section_id']); |
|
| 394 | + $subsection_link = ("../docs/doc_type_edit.php".'?doc_type_id='.$log['section_id']); |
|
| 395 | 395 | } |
| 396 | 396 | } |
| 397 | 397 | |
| 398 | 398 | // the DOC CATEGORRY SECTION |
| 399 | 399 | if ($log['section'] == 'Doc category') { |
| 400 | - $section_link = ("../docs/doc_category_edit.php" . '?doc_category_id=' . $log['section_id']); |
|
| 400 | + $section_link = ("../docs/doc_category_edit.php".'?doc_category_id='.$log['section_id']); |
|
| 401 | 401 | |
| 402 | 402 | if ($log['sub_section'] == 'Doc category') { |
| 403 | - $subsection_link = ("../docs/doc_category_edit.php" . '?doc_category_id=' . $log['section_id']); |
|
| 403 | + $subsection_link = ("../docs/doc_category_edit.php".'?doc_category_id='.$log['section_id']); |
|
| 404 | 404 | } |
| 405 | 405 | } |
| 406 | 406 | |
| 407 | 407 | // the DOWNLOAD FORMAT SECTION |
| 408 | 408 | if ($log['section'] == 'Format') { |
| 409 | - $section_link = ("../downloads/download_format_edit.php" . '?format_id=' . $log['section_id']); |
|
| 409 | + $section_link = ("../downloads/download_format_edit.php".'?format_id='.$log['section_id']); |
|
| 410 | 410 | |
| 411 | 411 | if ($log['sub_section'] == 'Format') { |
| 412 | - $subsection_link = ("../downloads/download_format_edit.php" . '?format_id=' . $log['section_id']); |
|
| 412 | + $subsection_link = ("../downloads/download_format_edit.php".'?format_id='.$log['section_id']); |
|
| 413 | 413 | } |
| 414 | 414 | } |
| 415 | 415 | |
| 416 | 416 | // the DOWNLOAD LINGO SECTION |
| 417 | 417 | if ($log['section'] == 'Lingo') { |
| 418 | - $section_link = ("../downloads/download_lingo_edit.php" . '?lingo_id=' . $log['section_id']); |
|
| 418 | + $section_link = ("../downloads/download_lingo_edit.php".'?lingo_id='.$log['section_id']); |
|
| 419 | 419 | |
| 420 | 420 | if ($log['sub_section'] == 'Lingo') { |
| 421 | - $subsection_link = ("../downloads/download_lingo_edit.php" . '?lingo_id=' . $log['section_id']); |
|
| 421 | + $subsection_link = ("../downloads/download_lingo_edit.php".'?lingo_id='.$log['section_id']); |
|
| 422 | 422 | } |
| 423 | 423 | } |
| 424 | 424 | |
| 425 | 425 | // the DOWNLOAD OPTIONS SECTION |
| 426 | 426 | if ($log['section'] == 'Option') { |
| 427 | - $section_link = ("../downloads/download_options_edit.php" . '?option_id=' . $log['section_id']); |
|
| 427 | + $section_link = ("../downloads/download_options_edit.php".'?option_id='.$log['section_id']); |
|
| 428 | 428 | |
| 429 | 429 | if ($log['sub_section'] == 'Option') { |
| 430 | - $subsection_link = ("../downloads/download_options_edit.php" . '?option_id=' . $log['section_id']); |
|
| 430 | + $subsection_link = ("../downloads/download_options_edit.php".'?option_id='.$log['section_id']); |
|
| 431 | 431 | } |
| 432 | 432 | } |
| 433 | 433 | |
| 434 | 434 | // the TOS VERSION SECTION |
| 435 | 435 | if ($log['section'] == 'TOS') { |
| 436 | - $section_link = ("../downloads/download_tos_edit.php" . '?tos_id=' . $log['section_id']); |
|
| 436 | + $section_link = ("../downloads/download_tos_edit.php".'?tos_id='.$log['section_id']); |
|
| 437 | 437 | |
| 438 | 438 | if ($log['sub_section'] == 'TOS') { |
| 439 | - $subsection_link = ("../downloads/download_tos_edit.php" . '?tos_id=' . $log['section_id']); |
|
| 439 | + $subsection_link = ("../downloads/download_tos_edit.php".'?tos_id='.$log['section_id']); |
|
| 440 | 440 | } |
| 441 | 441 | } |
| 442 | 442 | |
| 443 | 443 | // the TRAINER OPTION SECTION |
| 444 | 444 | if ($log['section'] == 'Trainer') { |
| 445 | - $section_link = ("../downloads/download_trainer_edit.php" . '?trainer_id=' . $log['section_id']); |
|
| 445 | + $section_link = ("../downloads/download_trainer_edit.php".'?trainer_id='.$log['section_id']); |
|
| 446 | 446 | |
| 447 | 447 | if ($log['sub_section'] == 'Trainer') { |
| 448 | - $subsection_link = ("../downloads/download_trainer_edit.php" . '?trainer_id=' . $log['section_id']); |
|
| 448 | + $subsection_link = ("../downloads/download_trainer_edit.php".'?trainer_id='.$log['section_id']); |
|
| 449 | 449 | } |
| 450 | 450 | } |
| 451 | 451 | |
| 452 | 452 | // the DOWNLOAD EDIT SECTION |
| 453 | 453 | if ($log['section'] == 'Downloads') { |
| 454 | - $section_link = ("../downloads/downloads_game_detail.php" . '?game_id=' . $log['section_id']); |
|
| 454 | + $section_link = ("../downloads/downloads_game_detail.php".'?game_id='.$log['section_id']); |
|
| 455 | 455 | |
| 456 | 456 | if ($log['sub_section'] == 'Options') { |
| 457 | - $subsection_link = ("../downloads/download_options_edit.php" . '?option_id=' . $log['sub_section_id']); |
|
| 457 | + $subsection_link = ("../downloads/download_options_edit.php".'?option_id='.$log['sub_section_id']); |
|
| 458 | 458 | } |
| 459 | 459 | |
| 460 | 460 | if ($log['sub_section'] == 'TOS') { |
| 461 | - $subsection_link = ("../downloads/download_tos_edit.php" . '?tos_id=' . $log['sub_section_id']); |
|
| 461 | + $subsection_link = ("../downloads/download_tos_edit.php".'?tos_id='.$log['sub_section_id']); |
|
| 462 | 462 | } |
| 463 | 463 | |
| 464 | 464 | if ($log['sub_section'] == 'Details') { |
@@ -474,7 +474,7 @@ discard block |
||
| 474 | 474 | } |
| 475 | 475 | |
| 476 | 476 | if ($log['sub_section'] == 'Trainer') { |
| 477 | - $subsection_link = ("../downloads/download_trainer_edit.php" . '?trainer_id=' . $log['sub_section_id']); |
|
| 477 | + $subsection_link = ("../downloads/download_trainer_edit.php".'?trainer_id='.$log['sub_section_id']); |
|
| 478 | 478 | } |
| 479 | 479 | |
| 480 | 480 | if ($log['sub_section'] == 'Crew') { |
@@ -483,16 +483,16 @@ discard block |
||
| 483 | 483 | } |
| 484 | 484 | |
| 485 | 485 | if ($log['sub_section'] == 'Authors') { |
| 486 | - $subsection_link = ("../individuals/individuals_edit.php" . '?ind_id=' . $log['sub_section_id']); |
|
| 486 | + $subsection_link = ("../individuals/individuals_edit.php".'?ind_id='.$log['sub_section_id']); |
|
| 487 | 487 | } |
| 488 | 488 | } |
| 489 | 489 | |
| 490 | 490 | // the BUG REPORT TYPE SECTION |
| 491 | 491 | if ($log['section'] == 'Bug type') { |
| 492 | - $section_link = ("../administration/bug_report_type_edit.php" . '?type_id=' . $log['section_id']); |
|
| 492 | + $section_link = ("../administration/bug_report_type_edit.php".'?type_id='.$log['section_id']); |
|
| 493 | 493 | |
| 494 | 494 | if ($log['sub_section'] == 'Bug type') { |
| 495 | - $subsection_link = ("../administration/bug_report_type_edit.php" . '?type_id=' . $log['section_id']); |
|
| 495 | + $subsection_link = ("../administration/bug_report_type_edit.php".'?type_id='.$log['section_id']); |
|
| 496 | 496 | } |
| 497 | 497 | } |
| 498 | 498 | |
@@ -510,7 +510,7 @@ discard block |
||
| 510 | 510 | |
| 511 | 511 | // the GAMES RELEASE SECTION |
| 512 | 512 | if ($log['section'] == 'Game Release') { |
| 513 | - $section_link = ("../games/games_release_detail.php" . '?game_id=' . $log['section_id'] . '&release_id=' |
|
| 513 | + $section_link = ("../games/games_release_detail.php".'?game_id='.$log['section_id'].'&release_id=' |
|
| 514 | 514 | . $log['sub_section_id']); |
| 515 | 515 | if ($log['sub_section'] == 'Game Release' or $log['sub_section'] == 'Release Info' |
| 516 | 516 | or $log['sub_section'] == 'Release AKA' or $log['sub_section'] == 'Compatibility' |
@@ -524,8 +524,8 @@ discard block |
||
| 524 | 524 | or $log['sub_section'] == 'Media Scan Type' or $log['sub_section'] == 'Media' |
| 525 | 525 | or $log['sub_section'] == 'Crew' |
| 526 | 526 | or $log['sub_section'] == 'Dump' or $log['sub_section'] == 'Media Scan' or $log['sub_section'] == 'Scan') { |
| 527 | - $subsection_link = ("../games/games_release_detail.php" . '?game_id=' . $log['section_id'] |
|
| 528 | - . '&release_id=' . $log['sub_section_id']); |
|
| 527 | + $subsection_link = ("../games/games_release_detail.php".'?game_id='.$log['section_id'] |
|
| 528 | + . '&release_id='.$log['sub_section_id']); |
|
| 529 | 529 | } |
| 530 | 530 | } |
| 531 | 531 | |
@@ -547,10 +547,10 @@ discard block |
||
| 547 | 547 | if ($v_counter > 0) { |
| 548 | 548 | // Build the link |
| 549 | 549 | if ($action == 'log_search') { |
| 550 | - $v_linkback = ("change_log.php?action=log_search" . '&Date_Year=' . ($Date_Year) . '&Date_Month=' |
|
| 551 | - . ($Date_Month) . '&Date_Day=' . ($Date_Day) . '&v_counter=' . ($v_counter - 25)); |
|
| 550 | + $v_linkback = ("change_log.php?action=log_search".'&Date_Year='.($Date_Year).'&Date_Month=' |
|
| 551 | + . ($Date_Month).'&Date_Day='.($Date_Day).'&v_counter='.($v_counter - 25)); |
|
| 552 | 552 | } else { |
| 553 | - $v_linkback = ("change_log.php" . '?v_counter=' . ($v_counter - 25)); |
|
| 553 | + $v_linkback = ("change_log.php".'?v_counter='.($v_counter - 25)); |
|
| 554 | 554 | } |
| 555 | 555 | } |
| 556 | 556 | |
@@ -558,10 +558,10 @@ discard block |
||
| 558 | 558 | if ($v_log > ($v_counter + 25)) { |
| 559 | 559 | // Build the link |
| 560 | 560 | if ($action == 'log_search') { |
| 561 | - $v_linknext = ("change_log.php?action=log_search" . '&Date_Year=' . ($Date_Year) . '&Date_Month=' |
|
| 562 | - . ($Date_Month) . '&Date_Day=' . ($Date_Day) . '&v_counter=' . ($v_counter + 25)); |
|
| 561 | + $v_linknext = ("change_log.php?action=log_search".'&Date_Year='.($Date_Year).'&Date_Month=' |
|
| 562 | + . ($Date_Month).'&Date_Day='.($Date_Day).'&v_counter='.($v_counter + 25)); |
|
| 563 | 563 | } else { |
| 564 | - $v_linknext = ("change_log.php" . '?v_counter=' . ($v_counter + 25)); |
|
| 564 | + $v_linknext = ("change_log.php".'?v_counter='.($v_counter + 25)); |
|
| 565 | 565 | } |
| 566 | 566 | } |
| 567 | 567 | |
@@ -573,7 +573,7 @@ discard block |
||
| 573 | 573 | $smarty->assign("user_id", $_SESSION['user_id']); |
| 574 | 574 | |
| 575 | 575 | //Send all smarty variables to the templates |
| 576 | -$smarty->display("file:" . $cpanel_template_folder . "administration/change_log.html"); |
|
| 576 | +$smarty->display("file:".$cpanel_template_folder."administration/change_log.html"); |
|
| 577 | 577 | |
| 578 | 578 | //close the connection |
| 579 | 579 | mysqli_close($mysqli); |
@@ -46,4 +46,4 @@ |
||
| 46 | 46 | )); |
| 47 | 47 | |
| 48 | 48 | //Send all smarty variables to the templates |
| 49 | -$smarty->display("file:" . $cpanel_template_folder . "administration/ajax_comments_search.html"); |
|
| 49 | +$smarty->display("file:".$cpanel_template_folder."administration/ajax_comments_search.html"); |
|
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | AND table_name = 'game_release_system_enhanced' LIMIT 1"; |
| 20 | 20 | |
| 21 | 21 | // Database change |
| 22 | -$database_update_sql ="../../admin/administration/database_scripts/legacy/2018-06-11_populate_release_enhan_falcon_addition.php"; |
|
| 22 | +$database_update_sql = "../../admin/administration/database_scripts/legacy/2018-06-11_populate_release_enhan_falcon_addition.php"; |
|
| 23 | 23 | |
| 24 | 24 | /*"INSERT INTO game_release_system_enhanced(`system_id`, `game_release_id`) |
| 25 | 25 | SELECT |
@@ -8,7 +8,7 @@ discard block |
||
| 8 | 8 | ) ENGINE=InnoDB |
| 9 | 9 | CHARSET=utf8 |
| 10 | 10 | COMMENT 'Laravel DB migrations'") |
| 11 | - or die("Unable to create migrations table: " . $mysqli->error); |
|
| 11 | + or die("Unable to create migrations table: ".$mysqli->error); |
|
| 12 | 12 | |
| 13 | 13 | $mysqli->query("INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES |
| 14 | 14 | (1, '2020_10_17_161643_create_andreas_table', 1), |
@@ -221,4 +221,4 @@ discard block |
||
| 221 | 221 | (208, '2020_10_17_161644_add_foreign_keys_to_game_table', 1), |
| 222 | 222 | (209, '2020_10_17_161644_add_foreign_keys_to_media_scan_table', 1), |
| 223 | 223 | (210, '2020_10_17_161644_add_foreign_keys_to_media_table', 1);") |
| 224 | - or die("Unable to insert migrations: " . $mysqli->error); |
|
| 224 | + or die("Unable to insert migrations: ".$mysqli->error); |
|
@@ -247,4 +247,4 @@ |
||
| 247 | 247 | mysqli_commit($mysqli) or die("Unable to commit transaction: ".$mysqli->error); |
| 248 | 248 | |
| 249 | 249 | //Send all smarty variables to the templates |
| 250 | -$smarty->display("file:" . $cpanel_template_folder . "administration/database_update.html"); |
|
| 250 | +$smarty->display("file:".$cpanel_template_folder."administration/database_update.html"); |
|
@@ -42,4 +42,4 @@ |
||
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | //Send all smarty variables to the templates |
| 45 | -$smarty->display("file:" . $cpanel_template_folder . "administration/bug_report.html"); |
|
| 45 | +$smarty->display("file:".$cpanel_template_folder."administration/bug_report.html"); |
|
@@ -53,4 +53,4 @@ |
||
| 53 | 53 | )); |
| 54 | 54 | |
| 55 | 55 | //Send all smarty variables to the templates |
| 56 | -$smarty->display("file:" . $cpanel_template_folder . "administration/ajax_comments.html"); |
|
| 56 | +$smarty->display("file:".$cpanel_template_folder."administration/ajax_comments.html"); |
|
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | LEFT JOIN users on (interview_main.user_id = users.user_id) |
| 63 | 63 | LEFT JOIN individuals on (interview_main.ind_id = individuals.ind_id) |
| 64 | 64 | LEFT JOIN individual_text on (interview_main.ind_id = individual_text.ind_id) |
| 65 | - ORDER BY interview_text.interview_date DESC LIMIT " . $v_counter . ", 5") |
|
| 65 | + ORDER BY interview_text.interview_date DESC LIMIT " . $v_counter.", 5") |
|
| 66 | 66 | or die("Error - Couldn't query interview data"); |
| 67 | 67 | |
| 68 | 68 | while ($query_interview = $sql_interview->fetch_array(MYSQLI_BOTH)) { |
@@ -112,13 +112,13 @@ discard block |
||
| 112 | 112 | //Check if back arrow is needed |
| 113 | 113 | if ($v_counter > 0) { |
| 114 | 114 | // Build the link |
| 115 | - $v_linkback = ('?v_counter=' . ($v_counter - 5)); |
|
| 115 | + $v_linkback = ('?v_counter='.($v_counter - 5)); |
|
| 116 | 116 | } |
| 117 | 117 | |
| 118 | 118 | //Check if we need to place a next arrow |
| 119 | 119 | if ($v_rows > ($v_counter + 5)) { |
| 120 | 120 | //Build the link |
| 121 | - $v_linknext = ('?v_counter=' . ($v_counter + 5)); |
|
| 121 | + $v_linknext = ('?v_counter='.($v_counter + 5)); |
|
| 122 | 122 | } |
| 123 | 123 | |
| 124 | 124 | if (empty($c_counter)) { |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | $smarty->assign("user_id", $_SESSION['user_id']); |
| 142 | 142 | |
| 143 | 143 | //Send all smarty variables to the templates |
| 144 | -$smarty->display("file:" . $cpanel_template_folder . "interviews/interviews_main.html"); |
|
| 144 | +$smarty->display("file:".$cpanel_template_folder."interviews/interviews_main.html"); |
|
| 145 | 145 | |
| 146 | 146 | //close the connection |
| 147 | 147 | mysqli_close($mysqli); |
@@ -37,4 +37,4 @@ |
||
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | //Send all smarty variables to the templates |
| 40 | -$smarty->display("file:" . $cpanel_template_folder . "trivia/did_you_know.html"); |
|
| 40 | +$smarty->display("file:".$cpanel_template_folder."trivia/did_you_know.html"); |
|