Easy Poll - Manual

Copyright Notice
This script is a freeware. You may distribute it by any way BUT you may not modify it!

Installation
Upload all files onto your server.
Set permission 777 for your data directory
Run setup.php. It installs the table we will need and creates some files.
Go to the admin area (both username and password are 'admin') and set rest of variables.
Now you can create a poll and check if all works fine. The poll may be added to any page by inserting
'
<script language=javascript src="http://www.yourdomain.com/folder_where_the_script_live/poll.php"></script>' to the place where the poll should be viewable.

Each visitor voting in the poll gets a cookie so nobody will be able to vote again in the same poll.

Customization
The poll table is based on file 'template.txt' which may be found in the data directory. This is a file with common HTML tags and may be edited in your favorite text editor. If you will edit it, make sure to don't remove special tags which are used to insert variables. These tags look like #%someword%#. Below is a list of those variables which may be used.

#%question%#

The question of the poll

#%a1%#
#%a2%#
#%a3%#
#%a4%#
#%a5%# 

Clickable answers 1-5

#%votes%#

Total votes in the poll