modified:   inc/functions.inc.php