@@ -88,7 +88,7 @@ |
||
88 | 88 | } |
89 | 89 | |
90 | 90 | //Send all smarty variables to the templates |
91 | -$smarty->display("file:" . $cpanel_template_folder . "games/submission_games.html"); |
|
91 | +$smarty->display("file:".$cpanel_template_folder."games/submission_games.html"); |
|
92 | 92 | |
93 | 93 | //close the connection |
94 | 94 | mysqli_close($mysqli); |
@@ -31,7 +31,7 @@ |
||
31 | 31 | $smarty->assign("message", $_SESSION['edit_message']); |
32 | 32 | } |
33 | 33 | |
34 | -$smarty->display("file:" . $cpanel_template_folder . "games/games_main.html"); |
|
34 | +$smarty->display("file:".$cpanel_template_folder."games/games_main.html"); |
|
35 | 35 | |
36 | 36 | //close the connection |
37 | 37 | mysqli_close($mysqli); |
@@ -46,8 +46,8 @@ |
||
46 | 46 | $smarty->append( |
47 | 47 | 'facts_screenshots', |
48 | 48 | array('game_fact_id' => $sql_games_facts['game_fact_id'], |
49 | - 'screenshot_id' => $sql_screenshots_facts['screenshot_id'], |
|
50 | - 'game_fact_screenshot' => $new_path) |
|
49 | + 'screenshot_id' => $sql_screenshots_facts['screenshot_id'], |
|
50 | + 'game_fact_screenshot' => $new_path) |
|
51 | 51 | ); |
52 | 52 | } |
53 | 53 |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | $gameDao = new \AL\Common\DAO\GameDAO($mysqli); |
22 | 22 | $smarty->assign('game', $gameDao->getGame($game_id)); |
23 | 23 | |
24 | -$i=0; |
|
24 | +$i = 0; |
|
25 | 25 | |
26 | 26 | //load the fact for this games |
27 | 27 | $query_games_facts = $mysqli->query("SELECT * from game_fact |
@@ -71,4 +71,4 @@ discard block |
||
71 | 71 | $smarty->assign('game_id', $game_id); |
72 | 72 | |
73 | 73 | //Send all smarty variables to the templates |
74 | -$smarty->display("file:" . $cpanel_template_folder . "games/games_facts.html"); |
|
74 | +$smarty->display("file:".$cpanel_template_folder."games/games_facts.html"); |
@@ -287,7 +287,7 @@ |
||
287 | 287 | //*********************************************************************************** |
288 | 288 | if (isset($action) && ($action == 'add_memory_enhancement')) { |
289 | 289 | if ($memory_enhancement == '') { |
290 | - $memory_enhancement=null; |
|
290 | + $memory_enhancement = null; |
|
291 | 291 | } |
292 | 292 | |
293 | 293 | $memoryDao->setMemoryForRelease($release_id, $memory_id, $memory_enhancement); |
@@ -23,4 +23,4 @@ |
||
23 | 23 | $smarty->assign('changelog', $changeLogDao->getChangeLogForSection('Games')); |
24 | 24 | |
25 | 25 | //Send all smarty variables to the templates |
26 | -$smarty->display("file:" . $cpanel_template_folder . "tiles/ajax_shortlog.html"); |
|
26 | +$smarty->display("file:".$cpanel_template_folder."tiles/ajax_shortlog.html"); |
@@ -41,7 +41,7 @@ |
||
41 | 41 | $smarty->assign("user_id", $_SESSION['user_id']); |
42 | 42 | |
43 | 43 | //Send all smarty variables to the templates |
44 | -$smarty->display("file:" . $cpanel_template_folder . "individuals/individuals_main.html"); |
|
44 | +$smarty->display("file:".$cpanel_template_folder."individuals/individuals_main.html"); |
|
45 | 45 | |
46 | 46 | //close the connection |
47 | 47 | mysqli_close($mysqli); |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | $smarty->assign("user_id", $_SESSION['user_id']); |
44 | 44 | |
45 | 45 | //Send all smarty variables to the templates |
46 | - $smarty->display("file:" . $cpanel_template_folder . "individuals/individuals_main.html"); |
|
46 | + $smarty->display("file:".$cpanel_template_folder."individuals/individuals_main.html"); |
|
47 | 47 | } else { |
48 | 48 | //Let's see if we have selected a nickname |
49 | 49 | $sql_nick = $mysqli->query("SELECT * FROM individual_nicks WHERE nick_id=$ind_id") |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | $smarty->assign("user_id", $_SESSION['user_id']); |
99 | 99 | |
100 | 100 | //Send all smarty variables to the templates |
101 | - $smarty->display("file:" . $cpanel_template_folder . "individuals/individuals_edit.html"); |
|
101 | + $smarty->display("file:".$cpanel_template_folder."individuals/individuals_edit.html"); |
|
102 | 102 | } |
103 | 103 | |
104 | 104 | //close the connection |
@@ -61,7 +61,7 @@ |
||
61 | 61 | } |
62 | 62 | |
63 | 63 | //Send all smarty variables to the templates |
64 | -$smarty->display("file:" . $cpanel_template_folder . "news/news_edit_images.html"); |
|
64 | +$smarty->display("file:".$cpanel_template_folder."news/news_edit_images.html"); |
|
65 | 65 | |
66 | 66 | //close the connection |
67 | 67 | 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 . "news/ajax_news_approve_edit.html"); |
|
49 | +$smarty->display("file:".$cpanel_template_folder."news/ajax_news_approve_edit.html"); |