Custom Page Visits Counter with MYSQL

IN PROGRESS
Bids
9
Avg Bid (USD)
N/A
Project Budget (USD)
$30 - $250

Project Description:
Hi,
I'm after a customized php page visits counter that stores all information in a mysql database. The script needs to be able to:

1- Work from ONE central location and serves pages located in different folders.

2-I want to be able to show the number of page visits using one line of code that i put on my pages. and be able to customized using css.

3-I want to use the command <include...etc> NOT frame, or iframe...etc
i want the backend to look like:
You are visitor number <include...etc> to this page
and the front end to look like:
You are visitor number 156 to this page

So that i can put the whole sentence in a div tag and customize it or hide it when i want.

4-Does NOT require to manually enter the page names into the database, i want the script to record the name automatically to the db on the first time the page is visited.

5-i want the pages to be shown in the database by page name NOT by id number.
(e.g.: bible.php 234 hits, not id=23 234 hits)

example to the mysql table:

id page visits
1 bible.php 235
2 bible2.php 154
3 bible3.php 23

6-i need to be able to specify the duration that the script consider the visitor as "unique" (i.e. 2 minutes, 5 minutes...etc)
(i need a page views counter not a hit counter)

7- i need the script to be properly commented so that i can modify it if required.

8- i NOT want to redirect my pages paths to go through the counter php, i.e. to count the visits to "bible.php", i need to write my links like this:
<a href="http://coptic-treasures.com/arabic/bible.php"></a>

NOT <a href="http://coptic-treasures.com/counter/counter.php?page=http://coptic-treasures.com/arabic/bible.php></a>

9- i need a summary page that shows the pages and total number of hits.

10-The pages names will be in English, however, i want everything to work in UTF-8.

11-Any more beneficial options are welcome, as long as they do NOT require more coding time from my side as i have thousands of pages to be coded.

NOTE: i am developing in HTML5, so i do not want old techniques not supported by HTML5.

Thank you very much

Skills required:
Graphic Design, HTML, MySQL, PHP, Website Design
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.