{@ $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'; $dmb_srl = $oDocument->get('member_srl'); $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; $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; } {@ $is_voted = $grant->write_comment && $oDocument->isEnableComment() && $oDocument->allowComment(); $is_voted ? $is_voted = $oThis->isVoted($doc_srl, false) : 0; } {@ $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, Facebook, Delicious
{$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}