PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of akash   Star rating package   test.php   Download  
File: test.php
Role: Example script
Content type: text/plain
Description: Example page, run this page to test the functionality
Class: Star rating package
Process and show rating stars given by the user
Author: By
Last change:
Date: 16 years ago
Size: 892 bytes
 

Contents

Class file image Download
<html><head><title>Multiple Star Rating System</title>

<body style="margin: 0px; font-family: Serif,Arial,Times,serif;">

<?php
require_once('RatingManager.php');
?>

New item ID 100: <?php RatingManager::drawItemRating(100); ?>
<br><br><br>
<b>Rate for this item: </b><?php RatingManager::drawRatingSelection(100); ?>

<br><br><br><br><br><br>
New item ID 200: <?php RatingManager::drawItemRating(200); ?>
<br><br><br>
<b>Rate for this item: </b><?php RatingManager::drawRatingSelection(200); ?>
<br><br><br><br><br><br>
New item ID 300: <?php RatingManager::drawItemRating(300); ?>
<br><br><br>
<b>Rate for this item: </b><?php RatingManager::drawRatingSelection(300); ?>
<br><br><br><br><br><br>
New item ID 400: <?php RatingManager::drawItemRating(400); ?>
<br><br><br>
<b>Rate for this item: </b><?php RatingManager::drawRatingSelection(400); ?>

</body></html>