Issue resolved

resolved all curly brashes issues in both php files