i need a click tracking script that enabes me to display the counter on my site.
meaning everytime someone downloads a file, i want it to list besides it how many times its been downloaded so visitors to my site can see which file was downloaded most

see this for example :

see how under each image it lists how many times downloaded

i could only find php scripts that allow the webmaster to see that data on a control panel, but i couldnt figure out how to post those numbers on the html page itself

any ideas?