I have just solved the problem.
When there is get_footer(); , wp poll is not working i.e you can not vote.
To solve it add wp_footer() instead of get_footer(). Now the voting system will work, but you can not see any footer.
To solve this problem, just add include('footr.php'); below wp_footer();.
So the final solution is to keep
instead of <?php get_footer(); ?>
Hope this will help you.