This usage of millis() should use millis() with parentheses so you get the result of the call to the function, not the boring, constant, machine address of the name of the function:
It looks like there are other issues, but it is hard to read from your code formatting. Maybe try some of these: