<?php
/*you must type this lines in all pages you want comments*/
include_once("class.display.php");
$start = new showSomething;
$start -> start();
/*-------------------------------------------------------*/
?>
<html>
<head>
<title>This is my page!</title>
</head>
<body>
<h2>form</h2>
<?php
$form = new showSomething;
$form -> showForm("yes"); // type "yes" or "no" to anable or disable the form displaying
?>
<h2>Comment list</h2>
<?php
$comments = new showSomething;
$comments -> showComments(0); // type 0 if you want to show all the comment list, or a specific number to show just that number of comments
?>
</body>
</html>
|