{@ $tmp_cpage = $q_cpage && $document_srl && $document_srl == $doc_srl ? $q_cpage : 0; $is_expand = $tmp_cpage || $mi->display_comment_expand === 'Y'; } {@ $ao_sxeop = $mi->addon_socialxe_option?$mi->addon_socialxe_option:'list_count="20"'}
{@ $is_wcmt = $grant->write_comment && $oDocument->isEnableComment() && $oDocument->allowComment(); $ds_nick = $ci['nick_name']->display == 'Y'; $ds_user = $ci['user_name']->display == 'Y'; $ds_cvoteup = $is_logged&&strpos($mi->use_c_vote, 'up')!==false; $ds_cvotedown = $is_logged&&strpos($mi->use_c_vote, 'down')!==false; $ds_cdeclare = $is_logged&&strpos($mi->use_c_vote, 'declare')!==false; $adm_id = $ds_cdeclare ? $oThis->getAdminId() : array(); $cmts = $comment_list?$comment_list:$oThis->getCommentList($doc_srl, $tmp_cpage, $cmt_lstcnt); $bscmts = $mi->use_c_best=='Y' ? $oThis->getBestCommentList($doc_srl) : array(); $a_clsttp = array('best'=>&$bscmts,''=>&$cmts->data); }