First off '=' assigns a variable to the right operand of the equal sign, it does not test for equality. Use the equality operator == in your if statements.
Second, you don't need two if-statements....