.rabidRating .ratingText.loading {
	background: url('<?php 
echo url::file("modules/ratings/vendor/img/ajax-loading.gif");
?>
') no-repeat;
	text-indent: -999em;
}
</style>

<?php 
require_once MODPATH . "ratings/vendor/ratings.php";
$rr = new RabidRatings();
?>

<script type="text/javascript">
<?php 
include_once MODPATH . "ratings/js/ratings.js";
?>
</script>

<div class="ratings-sb ">
<?php 
if (module::get_var("ratings", "regonly") == 1 && identity::active_user()->guest) {
} else {
    echo module::get_var("ratings", "castyourvotestring");
}
$ratingid = "rate" . $item->id;
$rr->showStars($ratingid);
?>
</div>
Esempio n. 2
0
<?php

error_reporting(0);
require_once "ratings.php";
$rr = new RabidRatings();
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html><head>
<meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
<meta http-equiv="Pragma" content="no-cache">
<script type="text/javascript" src="/cydia/js/mootools-1.2b1.js"></script>
<script type="text/javascript" src="/cydia/js/ratings.js"></script>
<link rel="stylesheet" type="text/css" href="/cydia/css/ratings.css" />
</head><body>

<?php 
$rr->showStars($_GET['pid']);
?>

</body></html>