Star Rating System into your site! - We have found that a lot of users, even if they know some PHP programming, are stuck in some steps when integrating Star Rating System. Therefore, now we have a special person for you, who can easily do the job for you and integrate our program into your site. All this will take maximum 1 hour and your site will have a rating system. The FEE? it is a very small one, 15USD, satisfaction guaranteed. If you are interested, please fill out the contact form with the URL where Star Rating System is installed (or want to be installed), FTP account details, URL where the software will be, ex. http://www.yourdomain.com/yourfile.php, and we will investigate in no time if it can be done and we will let you know about it. You will receive the payment link and afterwards we will add the software to your site. If we do not succeed, you are entitled in all amount refund.
Anyway, now a very easy way is to use JavaScript version.

How to install:
Unzip this file into your directory. Edit config.inc.php and setup database URL, and path informations.
Create/Setup database using database.sql file. You need to use phpMyAdmin for dumping SQL file in database, most of control panels have this.

EXAMPLES


JavaScript Method

TEST 1 HTML
Now will work in HTML files.
<script type="text/javascript" language="javascript" src="jsrate.php?file=test1.html&file_real=test1.html"></script>

TEST 2 HTML
Same HTML just inside is changed the file name.
so for this 2 example use ex:
<script type="text/javascript" language="javascript" src="jsrate.php?file=test2.html&file_real=test2.html"></script>

JS-TEST

TESTALL HTML
In one page, multiple rating method.


PHP Method

TEST.PHP
A Fast Template working example. Not very easy to integrate, but more efficient then JavaScript version

TEST_HTML.PHP
This version is when you have mixed HTML and PHP in one file.

TEST_HTML_JAVASCRIPT.PHP
Same as above, just is called in JavaScript, instead of echo.


NEW: Ajax Method

TEST_AJAX.PHP | TEST_AJAX.PHP1 | TEST_AJAX.PHP2
Not very easy to integrate, but more efficient then JavaScript or only php version, and has a great design. Same examples, different ID.
(based on ideea from http://www.nofunc.com/AJAX_Star_Rating/)


Any question ... go on our forum.



Gregory Boshoff originally wrote this PHP script some time ago specifically for Developers Resources.
We have since updated and adapted it for more general usage based on "Fast Template".
It should work with both static and dynamic database driven Web sites. If you do anything to
improve apon the scripts performance, or find any bugs please feel free to contact us.

Copyright (c) 2002 Developers Resources
original script web site: http://www.developers-resources.net

Copyright (c) 2002-2005 GraFX Software Solutions
Modified to Fast Template web site: http://www.grafxsoftware.com