//---評論---// $modversion['hasComments'] = 1; $modversion['comments']['pageName'] = 'view.php'; $modversion['comments']['itemName'] = 'honor_sn';
include_once XOOPS_ROOT_PATH.'/include/comment_view.php'; include_once XOOPS_ROOT_PATH.'/footer.php'; ?>
<div style="text-align: center; padding: 3px; margin: 3px;"> <{$commentsnav}> <{$lang_notice}> </div> <div style="margin: 3px; padding: 3px;"> <!-- start comments loop --> <{if $comment_mode == "flat"}> <{include file="db:system_comments_flat.html"}> <{elseif $comment_mode == "thread"}> <{include file="db:system_comments_thread.html"}> <{elseif $comment_mode == "nest"}> <{include file="db:system_comments_nest.html"}> <{/if}> <!-- end comments loop --> </div>
<?php include '../../mainfile.php'; $com_itemid = isset($_GET['com_itemid']) ? intval($_GET['com_itemid']) : 0; if ($com_itemid > 0) { $sql="select `honor_students` , `honor_descript` from ".$xoopsDB->prefix("tad_honor")." where honor_sn='{$com_itemid}'"; $result=$xoopsDB->query($sql); list($honor_students , $honor_descript) = $xoopsDB->fetchRow($result); } $com_replytitle = "RE:{$honor_students}榮獲{$honor_descript}"; $com_replytext = ""; include XOOPS_ROOT_PATH.'/include/comment_new.php'; ?>