In the future, please attach the page directly rather than cutting and pasting its content since I have to recreate the page anyway in order to view it in Dreamweaver.
Do you have a live URL where I can see the problem?
One thing that stands out is that your links look like:
onclick="document.location.href='plugins/<?php printf("%s?pageNum_WADAproducts=%d%s", $currentPage, max(0, $pageNum_WADAproducts - 1), $queryString_WADAproducts); ?>';"
I think the 'plugins/' was added when you did a save as and probably shouldn't be there. However that doesn't really answer the question of the error you are getting. I'd like to look at the page live.