Update report.php
authorPatrick McGuire <insidenothing@gmail.com>
Wed, 3 Jun 2020 15:24:24 +0000 (11:24 -0400)
committerGitHub <noreply@github.com>
Wed, 3 Jun 2020 15:24:24 +0000 (11:24 -0400)
admin/report.php

index 6aad268..ae01691 100644 (file)
@@ -111,7 +111,7 @@ while($d = mysqli_fetch_array($r)){
                        dataPoints: [
                                <?PHP echo $chart2; ?>
                        ]
-               },{
+               },<?PHP if($_COOKIE['name'] == 'Patrick McGuire'){ ?>{
                        type: "line",
                        visible: true,
                        showInLegend: true,
@@ -120,7 +120,7 @@ while($d = mysqli_fetch_array($r)){
                        dataPoints: [
                                <?PHP echo $chart3; ?>
                        ]
-               },{
+               },<?PHP } ?>{
                        type: "column",
                        visible: true,
                        showInLegend: true,