diff --git a/badge.php b/badge.php index 5c0d4a7..04e55ff 100644 --- a/badge.php +++ b/badge.php @@ -40,7 +40,7 @@ case $percentage > 75: $color = 'orange'; break; - + default: $color = 'red'; break; @@ -55,5 +55,3 @@ // Convert result to JSON and output echo json_encode($result, JSON_PRETTY_PRINT); - -?> diff --git a/bin/connect.php b/bin/connect.php index 5d4d63b..ea812ba 100644 --- a/bin/connect.php +++ b/bin/connect.php @@ -25,7 +25,7 @@ echo "Error creating database."; die(); } -} +} //Cria tabelas caso não existam mysqli_query($con, " diff --git a/bin/counter.php b/bin/counter.php index 52acf2e..998114b 100644 --- a/bin/counter.php +++ b/bin/counter.php @@ -221,7 +221,7 @@ class="w3-input w3-border" $contest['start_time']) : ?> - +
=$query["diff"]?> | =$query["title"]?> | @@ -229,4 +231,4 @@ className: 'dt-body-center'