PHP Classes

Draw stars for polls system: Draw graphical percentage bars made of star icons

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2005-06-15 (11 years ago) RSS 2.0 feedStarStar 35%Total: 857 All time: 3,910 This week: 1,112Up
Version License Categories
drawstars 1.0GNU Lesser Genera...Graphics
Description Author

This class is meant to generate graphic percentage bars made with start icons.

It can be used to present the results of poll systems on which the generated percentage bars represent relative values of each poll choice.

The class comes in two versions: one for drawing large stars and another for small stars.

Several presentation details may be configured like the star colors the number of starts to present for 100% bars.

The class generates the star bars images in PNG format.

Picture of Nguyen Duy Quang
  Performance   Level  
Name: Nguyen Duy Quang <contact>
Classes: 3 packages by
Country: Australia Australia
Age: 35
All time rank: 6377 in Australia Australia
Week rank: 1580 Down16 in Australia Australia Down

  Files folder image Files  
File Role Description
Plain text file cls.drawstars.php Class Draw large stars
Plain text file cls.drawstars2.php Class Draw small stars
Accessible without login Plain text file polls.php Example Example with large stars
Accessible without login Plain text file polls2.php Example Example with large stars

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,910
This week:1,112Up
User Ratings User Comments (1)
 All time
Many errors in this script
6 years ago (julien)