Location: PHPKode > scripts > Star Rating System class > star-rating-system-class/rate.php
<?php
/*
#################    STAR RATING SYSTEM   ##################
############################################################
CWB PRO			$Name:  $
Revision		$Revision: 1.4 $
Author			$Author: zelteto $
Created 03/01/02        $Date: 2004/01/09 16:07:15 $
Writed by               GraFX (hide@address.com)
Scripts Home:           http://www.grafxsoftware.com
############################################################
File purpose            RATE FILE
############################################################
*/

include_once("config.inc.php");
include_once("cls_fast_template.php");
include_once($RATE_PATH."cls_rate.php");
include_once("$LANG.inc.php");


// register_globals = off;


$go=$_POST['go'];
$file=$_POST['file'];
$file_real=$_POST['file_real'];


if(empty($go))
{
global $HTTP_POST_VARS;
// the old vars
$go=$HTTP_POST_VARS['go'];
$file=$HTTP_POST_VARS['file'];
$file_real=$HTTP_POST_VARS['file_real'];

}




// end register_globals = off;

$rate=new Rating($go,$file,$file_real);

//respons

$ft = new FastTemplate($TEMPLATE_PATH);
$ft->define(array(main=>"template_confirmare.html"));
$ft->assign("TEXT",$rate->getResult());
$ft->parse(mainContent, main);
$ft->FastPrint(mainContent);

?>
Return current item: Star Rating System class