Location: PHPKode > projects > Rilke CMS > rilkecms_095b_release/install_rilkecms/comments.php
<?php 
// parent document must :
// include("bbbook/comments_class_two.php");
function getcomments($id,$header)
{
       //pass parameters
       $postid = $id;
       $postdesc = urlencode(trim($header));
       
       //import global variables from prefs.php
       global $server, $username, $password, $database, $commentstable, $pagename, $entryname, $entrynames, $uniqueblogid, $titleurl, $title, $logopath, $directory, $entrygif;
      
        $guestbook = new guestbook("check", $server, $username, $password, $database, $commentstable, $pagename, $entryname, $entrynames, $uniqueblogid, $titleurl, $title, $logopath, $directory, $entrygif);
	
	$guestbook->return_comment_link($postid, $postdesc);
	return $guestbook->commentlink; 
}	
?>

<br />
<br />
Return current item: Rilke CMS