Syntax of nested if

welcome to shbcf.ru