@@ -52,4 +52,4 @@ |
||
52 | 52 | } |
53 | 53 | |
54 | 54 | //Send all smarty variables to the templates |
55 | -$smarty->display("file:" . $cpanel_template_folder . "games/games_series_editor.html"); |
|
55 | +$smarty->display("file:".$cpanel_template_folder."games/games_series_editor.html"); |
@@ -152,4 +152,4 @@ |
||
152 | 152 | $smarty->assign('game_series_id', $game_series_id); |
153 | 153 | |
154 | 154 | //Send all smarty variables to the templates |
155 | -$smarty->display("file:" . $cpanel_template_folder . "games/games_series_add_games.html"); |
|
155 | +$smarty->display("file:".$cpanel_template_folder."games/games_series_add_games.html"); |
@@ -59,7 +59,7 @@ |
||
59 | 59 | $smarty->assign("user_id", $_SESSION['user_id']); |
60 | 60 | |
61 | 61 | //Send all smarty variables to the templates |
62 | -$smarty->display("file:" . $cpanel_template_folder . "games/games_screenshot_add.html"); |
|
62 | +$smarty->display("file:".$cpanel_template_folder."games/games_screenshot_add.html"); |
|
63 | 63 | |
64 | 64 | //close the connection |
65 | 65 | mysqli_close($mysqli); |
@@ -53,4 +53,4 @@ |
||
53 | 53 | $smarty->assign("user_id", $_SESSION['user_id']); |
54 | 54 | |
55 | 55 | //Send all smarty variables to the templates |
56 | -$smarty->display("file:" . $cpanel_template_folder . "games/games_review_submitted.html"); |
|
56 | +$smarty->display("file:".$cpanel_template_folder."games/games_review_submitted.html"); |
@@ -24,5 +24,5 @@ |
||
24 | 24 | |
25 | 25 | $smarty->assign('smarty_action', 'game_fact_edit_view'); |
26 | 26 | //Send all smarty variables to the templates |
27 | - $smarty->display("file:" . $cpanel_template_folder . "games/ajax_game_facts_edit.html"); |
|
27 | + $smarty->display("file:".$cpanel_template_folder."games/ajax_game_facts_edit.html"); |
|
28 | 28 | } |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | //include("../../config/admin_rights.php"); |
30 | 30 | |
31 | 31 | if (isset($action) and $action == 'delete_comment') { |
32 | - if ($_SESSION['permission']==1 or $_SESSION['permission']=='1') { |
|
32 | + if ($_SESSION['permission'] == 1 or $_SESSION['permission'] == '1') { |
|
33 | 33 | $REVIEWSHOT = $mysqli->query("SELECT * FROM screenshot_review |
34 | 34 | WHERE review_id = $reviewid |
35 | 35 | AND screenshot_id = $screenshot_id") or die("Database error - selecting screenshots review"); |
@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | $smarty->assign('game_id', $game_id); |
145 | 145 | |
146 | 146 | //Send to smarty for return value |
147 | - $smarty->display("file:" . $cpanel_template_folder . "games/ajax_review_add_comment.html"); |
|
147 | + $smarty->display("file:".$cpanel_template_folder."games/ajax_review_add_comment.html"); |
|
148 | 148 | } |
149 | 149 | |
150 | 150 | if (isset($action) and ($action == 'delete_review' or $action == 'delete_submission')) { |
@@ -156,7 +156,7 @@ |
||
156 | 156 | $smarty->assign('progress_system', $gameProgressSystemDao->getAllProgressSystems()); |
157 | 157 | |
158 | 158 | //Send all smarty variables to the templates |
159 | -$smarty->display("file:" . $cpanel_template_folder . "games/games_config.html"); |
|
159 | +$smarty->display("file:".$cpanel_template_folder."games/games_config.html"); |
|
160 | 160 | |
161 | 161 | //close the connection |
162 | 162 | mysqli_close($mysqli); |
@@ -31,4 +31,4 @@ |
||
31 | 31 | $smarty->assign('game_series', $gameSeriesDao->getAllGameSeries()); |
32 | 32 | |
33 | 33 | //Send all smarty variables to the templates |
34 | -$smarty->display("file:" . $cpanel_template_folder . "games/games_series_main.html"); |
|
34 | +$smarty->display("file:".$cpanel_template_folder."games/games_series_main.html"); |
@@ -80,7 +80,7 @@ |
||
80 | 80 | $smarty->assign('game_id', $game_id); |
81 | 81 | |
82 | 82 | //Send all smarty variables to the templates |
83 | -$smarty->display("file:" . $cpanel_template_folder . "games/games_review_preview.html"); |
|
83 | +$smarty->display("file:".$cpanel_template_folder."games/games_review_preview.html"); |
|
84 | 84 | |
85 | 85 | //close the connection |
86 | 86 | mysqli_close($mysqli); |