// // ------------------------------------------------------------------------- // // Original Author: The Xoops Project // Author Website : http://www.xoops.org // License Type : GPL: See /manual/LICENSES/GPL.txt // ------------------------------------------------------------------------- // include_once("../../mainfile.php"); include_once(XOOPS_ROOT_PATH."/class/xoopscomments.php"); include_once(XOOPS_ROOT_PATH."/header.php"); if ( !empty($_GET['comment_id']) ) { $arccomment = new XoopsComments($db->prefix("arcade_comments"), $_GET['comment_id']); } else { $arccomment = new XoopsComments($db->prefix("arcade_comments")); } $allow_html = $arccomment->getVar("allow_html"); $allow_smileys = $arccomment->getVar("allow_smileys"); $icon = $arccomment->getVar("icon"); $item_id = $arccomment->getVar("item_id"); $subject = $arccomment->getVar("subject", "E"); $message = $arccomment->getVar("comment", "E"); OpenTable(); include_once(XOOPS_ROOT_PATH."/include/commentform.inc.php"); CloseTable(); include_once(XOOPS_ROOT_PATH."/footer.php"); ?>