Call get_uptime_sec from functions.inc.php

to avoid code duplication