@@ -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); |
@@ -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"); |
@@ -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')) { |