Passed
Push — master ( d0aeb4...d92c88 )
by Nicolas
07:53
created
public/php/admin/magazine/magazine_add.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,4 +33,4 @@
 block discarded – undo
33 33
 $smarty->assign('magazine_add_tpl', '1');
34 34
 
35 35
 //Send all smarty variables to the templates
36
-$smarty->display("file:" . $cpanel_template_folder . "magazine/magazine_add.html");
36
+$smarty->display("file:".$cpanel_template_folder."magazine/magazine_add.html");
Please login to merge, or discard this patch.
public/php/admin/magazine/magazine_issue_edit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,4 +47,4 @@
 block discarded – undo
47 47
 ));
48 48
 
49 49
 //Send all smarty variables to the templates
50
-$smarty->display("file:" . $cpanel_template_folder . "magazine/magazine_issue_edit.html");
50
+$smarty->display("file:".$cpanel_template_folder."magazine/magazine_issue_edit.html");
Please login to merge, or discard this patch.
public/php/admin/magazine/magazine_review_score.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,4 +68,4 @@
 block discarded – undo
68 68
 }
69 69
 
70 70
 //Send all smarty variables to the templates
71
-$smarty->display("file:" . $cpanel_template_folder . "magazine/magazine_review_score.html");
71
+$smarty->display("file:".$cpanel_template_folder."magazine/magazine_review_score.html");
Please login to merge, or discard this patch.
public/php/admin/magazine/magazine_review_list.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,4 +41,4 @@
 block discarded – undo
41 41
 ));
42 42
 
43 43
 //Send all smarty variables to the templates
44
-$smarty->display("file:" . $cpanel_template_folder . "magazine/magazine_review_list.html");
44
+$smarty->display("file:".$cpanel_template_folder."magazine/magazine_review_list.html");
Please login to merge, or discard this patch.
public/php/admin/magazine/magazine_manage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,4 +31,4 @@
 block discarded – undo
31 31
 }
32 32
 
33 33
 //Send all smarty variables to the templates
34
-$smarty->display("file:" . $cpanel_template_folder . "magazine/magazine_manage.html");
34
+$smarty->display("file:".$cpanel_template_folder."magazine/magazine_manage.html");
Please login to merge, or discard this patch.
public/php/admin/magazine/magazine_setscore.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,4 +43,4 @@
 block discarded – undo
43 43
 ));
44 44
 
45 45
 //Send all smarty variables to the templates
46
-$smarty->display("file:" . $cpanel_template_folder . "magazine/magazine_setscore.html");
46
+$smarty->display("file:".$cpanel_template_folder."magazine/magazine_setscore.html");
Please login to merge, or discard this patch.
public/php/admin/magazine/magazine_edit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,4 +50,4 @@
 block discarded – undo
50 50
 }
51 51
 
52 52
 //Send all smarty variables to the templates
53
-$smarty->display("file:" . $cpanel_template_folder . "magazine/magazine_edit.html");
53
+$smarty->display("file:".$cpanel_template_folder."magazine/magazine_edit.html");
Please login to merge, or discard this patch.
public/php/admin/links/link_modlist.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 include("../../config/admin.php");
26 26
 
27 27
 if (empty($catpick)) {
28
-    $catpick=1;
28
+    $catpick = 1;
29 29
 }
30 30
 
31 31
 $SQL = "SELECT website_category_id, website_category_name FROM website_category ORDER BY website_category_name";
@@ -35,16 +35,16 @@  discard block
 block discarded – undo
35 35
 
36 36
 mysqli_data_seek($linkcategorysql, 0) or die("what happend?");
37 37
 while (list($category_id, $category_name) = $linkcategorysql->fetch_array(MYSQLI_BOTH)) {
38
-    if ($category_id==$website_category_id) {
39
-        $selected="SELECTED";
38
+    if ($category_id == $website_category_id) {
39
+        $selected = "SELECTED";
40 40
     } else {
41
-        $selected="";
41
+        $selected = "";
42 42
     }
43 43
 
44
-    if ($catpick==$category_id) {
45
-        $selected="SELECTED";
44
+    if ($catpick == $category_id) {
45
+        $selected = "SELECTED";
46 46
     } else {
47
-        $selected="";
47
+        $selected = "";
48 48
     }
49 49
 
50 50
     $smarty->append('category', array(
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 }
55 55
 
56 56
 if (isset($catpick)) {
57
-    $website_category_id=$catpick;
57
+    $website_category_id = $catpick;
58 58
 }
59 59
 
60 60
 $LINKSQL = $mysqli->query("SELECT * FROM website
Please login to merge, or discard this patch.
public/php/admin/links/link_mod.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -32,11 +32,11 @@
 block discarded – undo
32 32
 
33 33
 $rowlink= $LINKSQL->fetch_array(MYSQLI_BOTH);
34 34
 
35
-  $website_image = $website_image_path;
36
-  $website_image .= $rowlink['website_id'];
37
-  $website_image .= ".";
38
-  $website_image .= $rowlink['website_imgext'];
39
-  $website_description_text = trim($rowlink['description']);
35
+    $website_image = $website_image_path;
36
+    $website_image .= $rowlink['website_id'];
37
+    $website_image .= ".";
38
+    $website_image .= $rowlink['website_imgext'];
39
+    $website_description_text = trim($rowlink['description']);
40 40
 
41 41
 $smarty->assign('website', array(
42 42
     'website_name' => $rowlink['website_name'],
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
         WHERE website.website_id='$website_id'")
31 31
        or die("Error while querying the links database");
32 32
 
33
-$rowlink= $LINKSQL->fetch_array(MYSQLI_BOTH);
33
+$rowlink = $LINKSQL->fetch_array(MYSQLI_BOTH);
34 34
 
35 35
   $website_image = $website_image_path;
36 36
   $website_image .= $rowlink['website_id'];
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 $smarty->assign('nr_of_cats', $nr_of_cats);
68 68
 
69 69
 // Do the category selector
70
-$RESULT=$mysqli->query("SELECT * FROM website_category ORDER BY website_category_name");
70
+$RESULT = $mysqli->query("SELECT * FROM website_category ORDER BY website_category_name");
71 71
 
72 72
 while ($rowlinkcat = $RESULT->fetch_array(MYSQLI_BOTH)) {
73 73
     $smarty->append('category', array(
Please login to merge, or discard this patch.