mod libs/func.php