{@ $ao_sxeop = $mi->addon_socialxe_option?$mi->addon_socialxe_option:'list_count="20"'}
{@ $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, $cpage, $cmt_lstcnt); $voted_list = $oThis->getDocumentVotedLogs($doc_srl); $is_wcmt = $grant->write_comment && $oDocument->isEnableComment() && $oDocument->allowComment(); $is_voted = $is_wcmt && $lg->member_srl ? $voted_list[$lg->member_srl]->point : 0; $agree_list = $disagree_list = array(); $agree_cnt = $disagree_cnt = 0; $is_chk = false; } {@ reset($cmts->data); $_tmp = current($cmts->data); } {@ $_tmp2 = new stdClass(); $_tmp2->comment_srl = $_tmp->comment_srl; $_tmp = executeQuery('comment.getCommentListItem', $_tmp2, array('head')); $_tmp2->comment_srl = count($_tmp->data) ? $_tmp->data->head : 0; $_tmp = executeQuery('comment.getComment', $_tmp2, array('member_srl','ipaddress')); $_tmp = count($_tmp->data) ? ($_tmp->data->member_srl?$_tmp->data->member_srl:$_tmp->data->ipaddress) : 0; $is_chk = (int) $voted_list[$_tmp]->point > -1; } {@ $_tmp = $comment->get('member_srl')?$comment->get('member_srl'):$comment->get('ipaddress'); $is_chk = $comment->get('depth') ? $is_chk : (int) $voted_list[$_tmp]->point > -1; $is_chk ? $agree_list[] = $comment : $disagree_list[] = $comment; $comment->get('depth') ? 0 : ($is_chk ? $agree_cnt++ : $disagree_cnt++); } {@ $a_clsttp = array('fl'=>$agree_list,'fr'=>$disagree_list)}

{$lang->cmd_agree} {$agree_cnt}/{count($agree_list)} {$lang->cmd_disagree} {$disagree_cnt}/{count($disagree_list)}

    {@ $cmt_srl = $comment->comment_srl; $cmb_srl = $comment->get('member_srl'); $depth = $comment->get('depth'); $depth = $depth > 10 ? 10 : $depth; }
  • {@ $isc_locked = $is_ckclok?$oThis->isLocked($cmt_srl, 'cmt'):0; $isc_granted = $grant->view && $comment->isGranted(); $isc_secret = $comment->isSecret(); $isc_blind = $mi->use_c_blind=='Y'?$oThis->isBlind($cmt_srl, 'cmt'):0; }

    {@ $home = $comment->get('homepage'); $nick = cut_str((!$cmb_srl||$ds_nick||!$ds_user)?$comment->getNickName():$comment->getUserName(), $mi->nickname_length); } {$nick} {$nick} {$nick} (IP: {$comment->getIpaddress()}) {$comment->getRegdate('Y.m.d H:i')}

    {$isc_blind&&!$grant->manager?$lang->msg_is_blind:$comment->getContent(false)}
    {@ $votedp = (int)$comment->get('voted_count'); $blamedp = (int)$comment->get('blamed_count'); }
    {$lang->cmd_vote}: {$votedp} / {$blamedp}
    {@$ao_pppt = sprintf($lang->bonus_pang_pang, $un_extra->ppang->c[$cmt_srl]->p)} {$ao_pppt}
{@ $t_dstus = explode(',', $mi->use_c_status); $status = 'PUBLIC'; }
{$lang->use_wysiwyg}
{@ $is_guestinfo = $mi->use_input_guest_info == 'N' ? $oThis->getIpaddress(1) : ''}
{$oDocument->getPermanentUrl()}