{@ $lg = $logged_info ? $logged_info : array(); $doc_srl = $oDocument->document_srl; $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; $dmb_srl = $oDocument->get('member_srl'); $is_granted = $oDocument->isGranted(); $is_secret = $grant->view && $oDocument->isSecret(); $is_locked = $is_cklok?$oThis->isLocked($doc_srl):0; $is_blind = $us_blind?$oThis->isBlind($doc_srl):0; $is_scrap = $ds_scrap?$oThis->isScrap($doc_srl):0; } {@ $is_voted = $grant->write_comment && $oDocument->isEnableComment() && $oDocument->allowComment(); $is_voted ? $is_voted = $oThis->isVoted($doc_srl, false) : 0; }

{$oDocument->getTitle()}

Scrap {cut_str((!$dmb_srl||$ds_nick||!$ds_user)?$oDocument->getNickName():$oDocument->getUserName(), $mi->nickname_length)}
{@ $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 && (int)$un_extra->beluxe->use_point; }
{$val->name}
{$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)}
{@ $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->cmd_document_do} Twitter Me2day Facebook Delicious
{$mi->document_bottom_text}
{@ $nav_ifo = array(); $nav_list = $oThis->getNavigationList($oDocument, (int)$mi->navigation_bottom_list_count, $nav_ifo); $t_pagec = (int)$nav_ifo->current_key; $t_pagep = $t_pagec - 1; $t_pagen = $t_pagec + 1; } {@ $mi->display_attached_files?0:$mi->display_attached_files='Y'; $ds_flsgn = $mi->display_attached_files=='Y'||$mi->display_attached_files=='G'; $ds_flsmd = $mi->display_attached_files=='Y'||$mi->display_attached_files=='M'; }
{$lang->cmd_write} {$lang->cmd_list} {$lang->cmd_modify} {$lang->cmd_delete}