PHP Classes

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (10 years ago) RSS 2.0 feedStarStar 35%Total: 856 All time: 3,840 This week: 1,134Up
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: 34
All time rank: 6227 in Australia Australia
Week rank: 1643 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  
 0%Total:856All time:3,840
 This week:0This week:1,134Up
User Ratings User Comments (1)  
 All time
Many errors in this script
5 years ago (julien)