You start by asking a real question, but only after you read the question posting guidelines.
Do step 1 and google what you need: Website Voting System
]. There are 50.5 million results for you to peruse on the topic. I'm pretty sure you will find one that suits your purpose and for which source is provided.
1) Have you searched or Googled for a solution?