Please read Writeup Formatting Tips and follow the advice in there when you next post a node here.
Just posting the same code again and again doesn't help us. What would help us would be if you answered some of the questions that we are asking.
We are trying to help you. But you aren't making it very easy. And the people who get the most help from this site are the people who make it as easy as possible to help them.