{@ $lg = $logged_info ? $logged_info : array(); $doc_srl = $oDocument->document_srl; $ds_readed = $ci['readed_count']->display == 'Y'; $ds_nick = $ci['nick_name']->display == 'Y'; $ds_user = $ci['user_name']->display == 'Y'; $un_extra = ($pt_vtype!='N'||$pt_dtype!='N'||$ao_ppang||$ds_mtlng)?$oDocument->get('extra_vars'):null; $un_extra = is_string($un_extra)?unserialize($un_extra):$un_extra; $use_point = $un_extra?(int)$un_extra->beluxe->use_point:0; $dmb_srl = $oDocument->get('member_srl'); $is_granted = $grant->view && $oDocument->isGranted(); $is_secret = $oDocument->isSecret(); $is_locked = $is_cklok?$oThis->isLocked($doc_srl):0; $is_blind = $us_blind?$oThis->isBlind($doc_srl):0; $nick = (!$dmb_srl||$ds_nick||!$ds_user)?$oDocument->getNickName():$oDocument->getUserName(); $exks = ((!$is_secret || $is_granted) && $oDocument->isExtraVarsExists()) ? $oDocument->getExtraVars() : array(); $tags = (!$is_secret || $is_granted) ? $oDocument->get('tag_list') : array(); $ufls = ((!$is_secret || $is_granted) && $oDocument->hasUploadedFiles()) ? $oDocument->getUploadedFiles() : array(); $is_restrict = !$is_granted&&!$is_secret&&($pt_vtype=='Y'&&!$oThis->isWrote($doc_srl, true, 'cmt')||$pt_vtype=='P'&&!$oThis->isRead($doc_srl)); $is_restrict = $is_restrict && $use_point; }
{$val->name}
{@ $votedp = (int)$val->value; $totalp = $votedp?$votedp*10:0; }
{$val->getValueHTML()}
{$lang_supported[$vlnc]}
{sprintf(Context::getLang('msg_restricted_view'), 100)}
{Context::getLang($pt_vtype == 'P' ? 'msg_required_point' : 'msg_required_comment')}
{$oDocument->getSummary(100)}
{$oDocument->getContent(false)}
{@ $_tmp = $oThis->getDocumentCountByAdopt(true, $dmb_srl); $_tmp2 = $oThis->getDocumentCountByAdopt(false, $dmb_srl)-1; }
{sprintf($lang->about_author_adopt_info, $nick, ($_tmp2<1)?'100%':(round($_tmp/($_tmp+$_tmp2),2)*100).'%', round(($use_point * (int)$mi->use_point_percent) / 100))}
{@ $votedp = (int)$oDocument->get('voted_count'); $blamedp = (int)$oDocument->get('blamed_count'); $ds_voteup = strpos($mi->use_d_vote, 'up')!==false; $ds_votedown = strpos($mi->use_d_vote, 'down')!==false; } {@ $ds_declare = strpos($mi->use_d_vote, 'declare')!==false; $adm_id = $ds_declare ? $oThis->getAdminId() : array(); }
{@ $tag = $tags[$i]} ,
{$lang->voted_count}: {$votedp} / {$blamedp} 
{$mi->document_bottom_text}
{@ $nav_key = 'Prev'; $nav_list = $oThis->getNavigationList($oDocument, (int)$mi->navigation_bottom_list_count); } {@ $ft_cnt = 0; $ds_file = array(); $us_ahfile = strpos($mi->display_files, 'auto')!==false; } {@ $_tmp = $file->direct_download!='Y'?'general':'media'; $_tmp = $_tmp=='media'&&preg_match("/\.(?:(jpe?g|png|gif|bmp|ico))$/i", $file->source_filename)?'image':$_tmp; $ds_file[$_tmp][] = $file; } {@ $ft_cnt += count($ds_file[$_tmp2])}
{$lang->cmd_write} {$lang->cmd_list} {$lang->cmd_modify} {$lang->cmd_delete}