diff --git a/gnukebox/activate.php b/gnukebox/activate.php new file mode 100644 index 0000000000000000000000000000000000000000..8e67db212431eb27c2c8f5c0b73ab1d4705d5ce9 --- /dev/null +++ b/gnukebox/activate.php @@ -0,0 +1,62 @@ +. + +*/ + +header('Content-type: text/html; charset=utf-8'); +require_once('database.php'); +require_once('utils/human-time.php'); +require_once('temp-utils.php'); +require_once('version.php'); + +?> + + + + GNUkebox + + +

Recent tracks

+ + SetFetchMode(ADODB_FETCH_ASSOC); + + try { + + $res = $adodb->CacheGetAll(300, 'UPDATE users SET active = 1 WHERE active = 0'); + + } catch (Exception $e) { + die($e->getMessage()); + } + + echo " + +

This server is powered by GNU FM version

+ + +