@@ -26,17 +26,17 @@ discard block |
||
26 | 26 | if (isset($crewsearch)) { |
27 | 27 | $crewsearch = $mysqli->real_escape_string($crewsearch); |
28 | 28 | } else { |
29 | - $crewsearch='-'; |
|
29 | + $crewsearch = '-'; |
|
30 | 30 | } |
31 | 31 | |
32 | 32 | if (isset($crewbrowse)) { |
33 | 33 | } else { |
34 | - $crewbrowse='-'; |
|
34 | + $crewbrowse = '-'; |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | if (isset($message)) { |
38 | 38 | } else { |
39 | - $message=''; |
|
39 | + $message = ''; |
|
40 | 40 | } |
41 | 41 | |
42 | 42 | if (isset($new_crew)) { |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | $smarty->assign('az_output', $az_output); |
62 | 62 | |
63 | 63 | //Send all smarty variables to the templates |
64 | -$smarty->display("file:" . $cpanel_template_folder . "crew/crew_main.html"); |
|
64 | +$smarty->display("file:".$cpanel_template_folder."crew/crew_main.html"); |
|
65 | 65 | |
66 | 66 | //close the connection |
67 | 67 | mysqli_close($mysqli); |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | 'crew_name' => $query_crew['crew_name'] |
45 | 45 | )); |
46 | 46 | } |
47 | - $smarty->display("file:" . $cpanel_template_folder . "crew/ajax_crew_editor.html"); |
|
47 | + $smarty->display("file:".$cpanel_template_folder."crew/ajax_crew_editor.html"); |
|
48 | 48 | } |
49 | 49 | |
50 | 50 | if (isset($action) and $action == "crew_search") { |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | )); |
65 | 65 | } |
66 | 66 | |
67 | - $smarty->display("file:" . $cpanel_template_folder . "crew/ajax_crew_editor.html"); |
|
67 | + $smarty->display("file:".$cpanel_template_folder."crew/ajax_crew_editor.html"); |
|
68 | 68 | } |
69 | 69 | |
70 | 70 | if (isset($action) and $action == "crew_gen_browse") { |
@@ -118,7 +118,7 @@ |
||
118 | 118 | header("Location: ../crew/crew_main.php"); |
119 | 119 | } else { |
120 | 120 | //Send all smarty variables to the templates |
121 | - $smarty->display("file:" . $cpanel_template_folder . "crew/crew_editor.html"); |
|
121 | + $smarty->display("file:".$cpanel_template_folder."crew/crew_editor.html"); |
|
122 | 122 | } |
123 | 123 | |
124 | 124 | //close the connection |
@@ -25,17 +25,17 @@ discard block |
||
25 | 25 | |
26 | 26 | if (isset($crewsearch)) { |
27 | 27 | } else { |
28 | - $crewsearch=''; |
|
28 | + $crewsearch = ''; |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | if (isset($crewbrowse)) { |
32 | 32 | } else { |
33 | - $crewbrowse=''; |
|
33 | + $crewbrowse = ''; |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | if (isset($message)) { |
37 | 37 | } else { |
38 | - $message=''; |
|
38 | + $message = ''; |
|
39 | 39 | } |
40 | 40 | |
41 | 41 | if (isset($new_crew)) { |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | $smarty->assign('az_output', $az_output); |
207 | 207 | |
208 | 208 | //Send all smarty variables to the templates |
209 | -$smarty->display("file:" . $cpanel_template_folder . "crew/crew_genealogy.html"); |
|
209 | +$smarty->display("file:".$cpanel_template_folder."crew/crew_genealogy.html"); |
|
210 | 210 | |
211 | 211 | //close the connection |
212 | 212 | mysqli_close($mysqli); |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | $fp = fopen($filename, "rb"); |
37 | 37 | |
38 | 38 | header("Content-Type: $sql_music[mime_type]"); |
39 | - header("Content-Length: " . filesize($filename)); |
|
39 | + header("Content-Length: ".filesize($filename)); |
|
40 | 40 | |
41 | 41 | if ($sql_music['imgext'] == 'mod') { |
42 | 42 | header('Content-Disposition: attachment; filename="music.mod"'); |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | LEFT JOIN music_types ON (music.music_id = music_types.music_id) |
97 | 97 | LEFT JOIN music_types_main ON (music_types.music_types_main_id = music_types_main.music_types_main_id) |
98 | 98 | WHERE game_music.game_id='$game_id'"); |
99 | -$i = 0; |
|
99 | +$i = 0; |
|
100 | 100 | while ($MUSIC = $sql_music->fetch_array(MYSQLI_BOTH)) { |
101 | 101 | $i++; |
102 | 102 | |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | $smarty->assign("user_id", $_SESSION['user_id']); |
140 | 140 | |
141 | 141 | //Send all smarty variables to the templates |
142 | -$smarty->display("file:" . $cpanel_template_folder . "games/games_music_detail.html"); |
|
142 | +$smarty->display("file:".$cpanel_template_folder."games/games_music_detail.html"); |
|
143 | 143 | |
144 | 144 | //close the connection |
145 | 145 | mysqli_close($mysqli); |
@@ -62,7 +62,7 @@ |
||
62 | 62 | $smarty->assign("user_id", $_SESSION['user_id']); |
63 | 63 | |
64 | 64 | //Send all smarty variables to the templates |
65 | -$smarty->display("file:" . $cpanel_template_folder . "games/games_similar.html"); |
|
65 | +$smarty->display("file:".$cpanel_template_folder."games/games_similar.html"); |
|
66 | 66 | |
67 | 67 | //close the connection |
68 | 68 | mysqli_close($mysqli); |
@@ -94,7 +94,7 @@ |
||
94 | 94 | $smarty->assign("last_timestamp", $date); |
95 | 95 | |
96 | 96 | //Send all smarty variables to the templates |
97 | -$smarty->display("file:" . $cpanel_template_folder . "games/ajax_submission_games_search.html"); |
|
97 | +$smarty->display("file:".$cpanel_template_folder."games/ajax_submission_games_search.html"); |
|
98 | 98 | |
99 | 99 | //close the connection |
100 | 100 | mysqli_close($mysqli); |
@@ -100,7 +100,7 @@ |
||
100 | 100 | $smarty->assign('nr_of_entries', $i); |
101 | 101 | |
102 | 102 | //Send all smarty variables to the templates |
103 | - $smarty->display("file:" . $cpanel_template_folder . "games/games_music_list.html"); |
|
103 | + $smarty->display("file:".$cpanel_template_folder."games/games_music_list.html"); |
|
104 | 104 | |
105 | 105 | //close the connection |
106 | 106 | mysqli_free_result($numberzaks); |
@@ -40,4 +40,4 @@ |
||
40 | 40 | } |
41 | 41 | |
42 | 42 | //Send all smarty variables to the templates |
43 | -$smarty->display("file:" . $cpanel_template_folder . "games/ajax_games_detail.html"); |
|
43 | +$smarty->display("file:".$cpanel_template_folder."games/ajax_games_detail.html"); |