Create a table for it with a counter field then add 1 to the table counter field
every time they download, check the table counter value to see if they can download.
Once you have done that you can display or hide the icon using php in your controller.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )