Welcome to CodeRanch!
ItDoesntWorkIsUseless. Please tell us what happened and what you expected to happen instead.
Also, please don't link to pictures of your source code. Few people will be inclined to browse to a different site to look at code that they can't even copy.
Copy the code, paste it here, and enclose it in code tags like [code]this[/code]. An easy way to do that is select all your code after you have pasted it, and then press the "Code" button above the editing window.
Finally, use the "Preview" button to see if your code looks good before you submit your post.