Login   Register  
PHP Classes
elePHPant
Icontem

Image Banner Class: Display rotating banners from a MySQL database

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-08-14 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 714 All time: 4,256 This week: 1,343Up
Version License PHP version Categories  
imagebannerclass 1.0GNU General Public Lice...3.0HTML, Databases, Content management
Description Author  

This class can be used to display rotating banners from a MySQL database.

It queries a MySQL database table to retrieve the details of random banner of a given category.

The class generates HTML to display the a link with the banner image.

It also handles requests that redirect to the banner URL when the user clicks on the banner. It records information about the users that clicked in the banners, except for those from users of banned IP addresses.

Picture of Usman Didi Khamdani
Name: Usman Didi Khamdani is available for providing paid consulting. Contact Usman Didi Khamdani .
Classes: 8 packages by
Country: Indonesia Indonesia
Age: 34
All time rank: 3826 in Indonesia Indonesia
Week rank: 357 Up6 in Indonesia Indonesia Equal
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Files folder imagecss (1 file)
Files folder imageimages (1 directory)
Files folder imagesql (1 file)
Accessible without login Plain text file banner.php Example banner page
Accessible without login Plain text file conn.inc.php Conf. db connection
Accessible without login Plain text file content.php Example display image banner on the page
Plain text file image_banner.class.php Class main class source

  Files folder image Files  /  css  
File Role Description
  Accessible without login Plain text file css.css Example css file

  Files folder image Files  /  images  
File Role Description
Files folder imagebanner (6 files)

  Files folder image Files  /  images  /  banner  
File Role Description
  Accessible without login Image file bg.png Photo example background image
  Accessible without login Image file edelweis-art1.jpg Photo example banner image
  Accessible without login Image file edelweis-art2.jpg Photo example banner image
  Accessible without login Image file not_found1.jpg Photo example banner image
  Accessible without login Image file not_found2.jpg Photo example banner image
  Accessible without login Image file not_found3.jpg Photo example banner image

  Files folder image Files  /  sql  
File Role Description
  Accessible without login Plain text file image_banner.sql Data image banner db

 Version Control Unique User Downloads Download Rankings  
 0%Total:714All time:4,256
 This week:0This week:1,343Up