/*
* brisk - placing.phh
*
- * Copyright (C) 2009-2011 Matteo Nastasi
+ * Copyright (C) 2009-2012 Matteo Nastasi
* mailto: nastasi@alternativeoutput.it
* matteo.nastasi@milug.org
* web: http://www.alternativeoutput.it
*/
-define(TOP_NUM, 10);
-define(TRI_LIMIT, (90 * 24 * 60 * 60));
-define(TRI_MIN_GAMES, 70);
-define(TRI_MAX_GAMES, 140);
+define('TOP_NUM', 10);
+define('TRI_LIMIT', (90 * 24 * 60 * 60));
+define('TRI_MIN_GAMES', 70);
+define('TRI_MAX_GAMES', 140);
-define(MON_LIMIT, (30 * 24 * 60 * 60));
-define(MON_MIN_GAMES, 35);
-define(MON_MAX_GAMES, 70);
+define('MON_LIMIT', (30 * 24 * 60 * 60));
+define('MON_MIN_GAMES', 35);
+define('MON_MAX_GAMES', 70);
-define(WEE_LIMIT, (7 * 24 * 60 * 60));
-define(WEE_MIN_GAMES, 10);
-define(WEE_MAX_GAMES, 35);
+define('WEE_LIMIT', (7 * 24 * 60 * 60));
+define('WEE_MIN_GAMES', 10);
+define('WEE_MAX_GAMES', 35);
class Ptsgam {
define(SUBTY_FREQ_HI, 1);
-function placings_show(&$user)
+function placings_show($user)
{
$mtime = placing_time();
$tm = placing_date($mtime);
//
//
-function placing_show_pgsql(&$user, $ty, $subty)
+function placing_show_pgsql($user, $ty, $subty)
{
GLOBAL $G_dbpfx;
return ($ret);
}
-function placing_show(&$user, $ty, $subty)
+function placing_show($user, $ty, $subty)
{
GLOBAL $G_dbasetype;