<?php
include("header.php");
include_once(XOOPS_ROOT_PATH."/class/xoopscomments.php");
include(XOOPS_ROOT_PATH."/header.php");
$pollcomment = new XoopsComments($db->prefix("myalbum_comments"),$comment_id);
$r_date = formatTimestamp($pollcomment->getVar("date"));
$r_name = XoopsUser::getUnameFromId($pollcomment->getVar("user_id"));
$r_content = _PL_POSTERC."".$r_name."&nbsp;"._PL_DATEC."".$r_date."<br /><br />";
$r_content .= $pollcomment->getVar("comment");
$r_subject=$pollcomment->getVar("subject");
$subject=$pollcomment->getVar("subject", "E");
themecenterposts($r_subject,$r_content);
$pid=$comment_id;
unset($comment_id);
$item_id=$pollcomment->getVar("item_id");
OpenTable();
include(XOOPS_ROOT_PATH."/include/commentform.inc.php");
CloseTable();
include(XOOPS_ROOT_PATH."/footer.php");
?>
