library/competitions.php