Wow that's a lot of code to be asking for help with.
You need to read up on some articles. Those tables and tds will need to be rewritten to divs as well.
Can you help me ? Or please send to me articles link ? And also before I ask 1 code but nobody help me also Only said "look at articles" If I know reading articles I never ask about this.