Passed
Push — master ( d0aeb4...d92c88 )
by Nicolas
07:53
created
public/php/admin/games/games_similar.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
public/php/admin/games/ajax_submission_games_search.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
public/php/admin/games/ajax_games_detail.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,4 +40,4 @@
 block discarded – undo
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");
Please login to merge, or discard this patch.
public/php/admin/games/games_series_editor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,4 +52,4 @@
 block discarded – undo
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");
Please login to merge, or discard this patch.
public/php/admin/games/games_series_add_games.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,4 +152,4 @@
 block discarded – undo
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");
Please login to merge, or discard this patch.
public/php/admin/games/games_screenshot_add.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
public/php/admin/games/games_review_submitted.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,4 +53,4 @@
 block discarded – undo
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");
Please login to merge, or discard this patch.
public/php/admin/games/ajax_game_facts.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,5 +24,5 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
public/php/admin/games/db_games_review.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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')) {
Please login to merge, or discard this patch.