PHP Classes

File: example.view.rank

Recommend this page to a friend!
  Classes of Botnari Constantin   Page Rating Class   example.view.rank   Download  
File: example.view.rank
Role: Example script
Content type: text/plain
Description: Example of view an page ranks
Class: Page Rating Class
Collect ratings given to pages by site users
Author: By
Last change:
Date: 17 years ago
Size: 572 bytes
 

Contents

Class file image Download
<?
include 'rating.class.php';
include
'database.class.php';

extract($_GET);
extract($_POST);

  
$db = new myDB('root','q1w2e3r4','temp','localhost');
  
$db->connect();
  
$rate = new Rating('','','');


?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<? $rate->showAdminStat()?>
</body>
</html>