Version 0.9.9

- Code cleaning
This commit is contained in:
football
2021-04-06 23:39:05 +02:00
parent 80e99f7a11
commit 75c02e1eb8
42 changed files with 165 additions and 164 deletions

View File

@@ -9,6 +9,11 @@
*
*/
if (!defined('IN_PHPBB'))
{
exit;
}
$values1 = ( isset($_GET['v1']) ) ? $_GET['v1'] : 0;
$graphvalues1 = explode(",",$values1);
$matchdays = sizeof($graphvalues1);
@@ -63,4 +68,3 @@ for ($i = 0; $i < $count_values; $i++)
// Output graph and clear image from memory
imagepng($image);
imagedestroy($image);
?>

View File

@@ -8,6 +8,11 @@
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
if (!defined('IN_PHPBB'))
{
exit;
}
$matchdays = ( isset($_GET['m']) ) ? intval($_GET['m']) : 0;
$values1 = ( isset($_GET['v1']) ) ? $_GET['v1'] : 0;
@@ -123,4 +128,3 @@ for ($i = 1; $i < $count_values; $i++)
// Output graph and clear image from memory
imagepng($image);
imagedestroy($image);
?>

View File

@@ -8,6 +8,11 @@
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
if (!defined('IN_PHPBB'))
{
exit;
}
$numb_users = ( isset($_GET['t']) ) ? intval($_GET['t']) : 0;
$matchdays = ( isset($_GET['m']) ) ? intval($_GET['m']) : 0;
@@ -94,4 +99,3 @@ for ($i = 1; $i < $count_values; $i++)
// Output graph and clear image from memory
imagepng($image);
imagedestroy($image);
?>

View File

@@ -42,4 +42,3 @@ define('UP_WINS', 1);
define('UP_POINTS', 2);
define('LEAGUE_CHAMP', 1);
define('LEAGUE_KO', 2);
?>