묻고답하기

view_document 소스입니다. list1이라는 확장변수를 관리자만 보이게 하고 싶은데 어딜 수정해야 하나요?

 

 

<div class="boardRead">

    <div class="boardReadHeader">
        
        <div class="titleArea">
            <h3 class="title">
                <a href="{$oDocument->getPermanentUrl()}" style="font-size:{$module_info->title_font_size}px;padding-top:{$module_info->title_font_size/4}px;padding-bottom:{$module_info->title_font_size/4}px;">{$oDocument->getTitle()}</a>
                <!--@if($oDocument->get('category_srl'))-->
                <a href="{getUrl('category',$oDocument->get('category_srl'), 'document_srl', '')}" class="category" style="line-height:{$module_info->title_font_size}px;padding-top:{$module_info->title_font_size/4}px;padding-bottom:{$module_info->title_font_size/4}px;">{$category_list[$oDocument->get('category_srl')]->title}</a><!--@end-->
            </h3>
            <div class="buttonRight">
                <!--<a href="{$oDocument->getPermanentUrl()}" class="permaLink">{$oDocument->getPermanentUrl()}</a>-->
                <a href="{getUrl('document_srl','')}" class="buttonSmall"><span>{$lang->cmd_list}</span></a>
                <!--@if($oDocument->isEditable())-->
                    <a href="{getUrl('act','dispBoardWrite','document_srl',$oDocument->document_srl,'comment_srl','')}" class="buttonSmall"><span>{$lang->cmd_modify}</span></a>
                    <a href="{getUrl('act','dispBoardDelete','document_srl',$oDocument->document_srl,'comment_srl','')}" class="buttonSmall"><span>{$lang->cmd_delete}</span></a>
                <!--@end-->
            </div>
        </div>
        
        <div class="authorArea">
        <!--@if($module_info->display_author!='N')-->
            <!--@if(!$oDocument->getMemberSrl())-->
                <!--@if($oDocument->isExistsHomepage())-->
                    <a href="{$oDocument->getHomepageUrl()}" onclick="window.open(this.href);return false;" class="author">{$oDocument->getNickName()}</a>
                <!--@else-->
                    <span class="author">{$oDocument->getNickName()}</span>
                <!--@end-->
            <!--@else-->
                <a href="#popup_menu_area" class="member_{$oDocument->get('member_srl')} author" onclick="return false">{$oDocument->getNickName()}</a>
            <!--@end-->
            <!--@if($module_info->display_ip_address == "Y" || $grant->manager)-->
                <span class="ipAddress"> ({$oDocument->getIpaddress()})</span>
            <!--@end-->
        <!--@end-->
            <span class="sum" style="margin-left:-10px;"|cond="$module_info->display_author=='N'">
                <span class="date">{$oDocument->getRegdate('Y-m-d H:i')}</span>
                <!--@if(array_key_exists('readed_count', $list_config))-->
                <span class="read">{$lang->readed_count} <span class="num">{$oDocument->get('readed_count')}</span></span>
                <!--@end-->
                <span class="vote">{$lang->comment_count} <span class="num">{$oDocument->get('comment_count')}</span></span>
                <!--@if(array_key_exists('voted_count', $list_config))-->
                    <span class="vote">{$lang->voted_count} <span class="num">{$oDocument->get('voted_count')}</span></span>
                <!--@end-->
            </span>
        <!--@if($module_info->display_rating != "N")-->
            {@$max_count=(int)$oDocument->get('voted_count')-(int)$oDocument->get('blamed_count')}
            <!--@if($max_count!=0)-->
            {@$voted_percent=(int)(($oDocument->get('voted_count')*100/$max_count))}
            {@$blamed_percent = 100 - $voted_percent}
            <div class="ratingBox <!--@if($module_info->display_rating == "bar")-->typeBar<!--@elseif($module_info->display_rating == "star")-->typeStar<!--@end-->">
            <table class="<!--@if($module_info->display_rating == "bar")-->emtpyBar<!--@elseif($module_info->display_rating == "star")-->emtpyStar<!--@end-->" title="추천수 {$oDocument->get('voted_count')} / 비추천수 {$oDocument->get('blamed_count')*-1}">
                <tr>
                    <!--@if($voted_percent>0)--><td width="{$voted_percent}%" class="rating"></td><!--@endif-->
                    <!--@if($blamed_percent>0)--><td width="{$blamed_percent}%"></td><!--@endif-->
                </tr>
            </table>
            </div>
            <!--@endif-->
        <!--@end-->
        </div>
    </div>
    {@ $temp = null;}
    <!--@foreach($oDocument->getExtraVars() as $key => $val)-->
        {@ $temp.= $val->getValueHTML();}
    <!--@end-->

    <!--@if($oDocument->isExtraVarsExists() && (!$oDocument->isSecret() || $oDocument->isGranted()) && $module_info->display_extravars == "top" )-->
    <div class="extraVars" cond="$temp">
        <table border="1" cellspacing="0" summary="Extra Form" class="extraVarsList">
        <!--@foreach($oDocument->getExtraVars() as $key => $val)-->
        <tr cond="$val->getValueHTML()">
            <th>{$val->name}</th>
            <td>{$val->getValueHTML()}</td>
        </tr>

        <!--@end-->
        </table>
    </div>
    <!--@end-->

    <div class="boardReadBody">
        <!--@if($oDocument->isSecret() && !$oDocument->isGranted())-->
            <div class="secretMessage">
                <form action="./" method="get" onsubmit="return procFilter(this, input_password)">
                <input type="hidden" name="mid" value="{$mid}" />
                <input type="hidden" name="page" value="{$page}" />
                <input type="hidden" name="document_srl" value="{$oDocument->document_srl}" />

                    <p class="isSecret">{$lang->msg_is_secret}</p>
                    <dl>
                        <dt><label for="cpw">{$lang->password}</label></dt>
                        <dd><input type="password" name="password" id="cpw" class="inputText" /><span class="buttonOfficial"><input type="submit" value="{$lang->cmd_input}" /></span></dd>
                    </dl>

                </form>
            </div>
        <!--@else-->
            <!--@if($module_info->display_reaction=='text_style')-->
                {$oDocument->getContent()}
            <!--@else-->
                {$oDocument->getContent(false)}
            <!--@end-->
        <!--@end-->

    </div>

    <!--@if($oDocument->isExtraVarsExists() && (!$oDocument->isSecret() || $oDocument->isGranted()) && $module_info->display_extravars == "bottom" )-->
    <div class="extraVars" cond="$temp">
        <table border="1" cellspacing="0" summary="Extra Form" class="extraVarsList">
        <!--@foreach($oDocument->getExtraVars() as $key => $val)-->
        <tr cond="$val->getValueHTML()">
            <th>{$val->name}</th>
            <td>{$val->getValueHTML()}</td>
        </tr>
        <!--@end-->
        </table>
    </div>
    <!--@end-->

    <div class="boardReadFooter">
    
        <!--@if($module_info->display_sign != 'N' && ($oDocument->getProfileImage() || $oDocument->getSignature()))-->
            <div class="memberSignature">
            <!--@if($oDocument->getProfileImage())-->
                <img src="{$oDocument->getProfileImage()}" alt="profile" class="profile"<!--@if($module_info->profile_width)--> width="{$module_info->profile_width}" height="{$module_info->profile_width}"<!--@else--> width="50" height="50"<!--@end--> align="left" />
            <!--@end-->
            <!--@if($oDocument->getSignature())-->
                {$oDocument->getSignature()}
            <!--@end-->
            </div>
        <!--@end-->
        
        {@ $tag_list = $oDocument->get('tag_list') }
        <!--@if(count($tag_list))-->
        <dl class="tag">
            <dt><img src="./img/{$module_info->colorset}/iconTag.gif" width="29" height="29" alt="{$lang->tag}" title="{$lang->tag}" /></dt>
            <!--@for($i=0,$c=count($tag_list);$i<$c;$i++)-->
                {@ $tag = $tag_list[$i]; }
                <dd><a href="{getUrl('search_target','tag','search_keyword',$tag,'document_srl','')}" rel="tag">{htmlspecialchars($tag)}</a><!--@if($i<$c-1)-->, <!--@end--></dd>
            <!--@end-->
        </dl>
        <!--@end-->
        
        <!--@if(!$oDocument->getTrackbackCount()&&$module_info->display_trackback=='Y')-->
        <dl class="trackbackURL">
            <dt><img src="./img/{$module_info->colorset}/iconTrackback.gif" width="29" height="29" alt="{$lang->trackback}" title="{$lang->trackback}" /></dt>
            <dd><a href="{$oDocument->getTrackbackUrl()}" onclick="return false;">{$oDocument->getTrackbackUrl()}</a></dd>
        </dl>
        <!--@end-->
        <!--@if($oDocument->hasUploadedFiles()&&$module_info->display_files=='Y')-->
        <dl class="attachedFile">
            <dt><img src="./img/{$module_info->colorset}/iconFiles.gif" width="29" height="29" alt="{$lang->uploaded_file}({$oDocument->get('uploaded_count')})" title="{$lang->uploaded_file}({$oDocument->get('uploaded_count')})" /></dt>
            <dd>
                <ul class="files">
                    {@ $uploaded_list = $oDocument->getUploadedFiles() }
                    <!--@foreach($uploaded_list as $key => $file)-->
                    <li><a href="{getUrl('')}{$file->download_url}">{$file->source_filename} <span class="bubble">[File Size:{FileHandler::filesize($file->file_size)}/Download:{number_format($file->download_count)}]</span></a></li>
                    <!--@end-->
                </ul>
            </dd>
        </dl>
        <!--@end-->
        
    </div>

    <div class="boardNavigation">
        <!--@if($module_info->default_style != 'blog')-->
        <ul class="reaction">
            <!--@if($module_info->display_reaction=='button_style')-->
                <li><a href="#" onclick="doCallModuleAction('document','procDocumentVoteUp','{$document_srl}');return false;" title="{$lang->cmd_vote}" class="vote" cond="$is_logged&&(!$oDocument->isEditable()||$grant->manager)"><span>{$menu_str = Context::getLang('cmd_vote')}</span></a></li>
                <li><a href="#" onclick="doCallModuleAction('document','procDocumentVoteDown','{$document_srl}');return false;" title="{$lang->cmd_vote_down}" class="hate" cond="$is_logged&&(!$oDocument->isEditable()||$grant->manager)"><span>{$menu_str = Context::getLang('cmd_vote_down')}</span></a></li>
                <li><a href="#" onclick="doCallModuleAction('document','procDocumentDeclare','{$document_srl}');return false;" title="{$lang->cmd_declare}" class="declare" cond="$is_logged"><span>{$menu_str = Context::getLang('cmd_declare')}</span></a></li>
                <li><a href="#" onclick="doCallModuleAction('member','procMemberScrapDocument','{$document_srl}'); return false;" title="{$lang->cmd_scrap}" class="scrap"><span>{$menu_str = Context::getLang('cmd_scrap')}</span></a></li>
                <li><a href="{getUrl('act','dispDocumentPrint')}" onclick="window.open(this.href);return false;" title="{$lang->cmd_print}" class="print"><span>{$menu_str = Context::getLang('cmd_print')}</span></a></li>
            <!--@end-->
        </ul>
        <!--@end-->
        <div class="buttonRight">
            <a href="{getUrl('document_srl','')}" class="buttonOfficial"><span>{$lang->cmd_list}</span></a>
            <!--@if($oDocument->isEditable())-->
                <a href="{getUrl('act','dispBoardWrite','document_srl',$oDocument->document_srl,'comment_srl','')}" class="buttonOfficial"><span>{$lang->cmd_modify}</span></a>
                <a href="{getUrl('act','dispBoardDelete','document_srl',$oDocument->document_srl,'comment_srl','')}" class="buttonOfficial"><span>{$lang->cmd_delete}</span></a>
            <!--@end-->
        </div>
    </div>

</div>

<!--@if($oDocument->allowTrackback())-->
    <!--#include("./trackback.html")-->
<!--@end-->

<!--@if($oDocument->allowComment())-->
<div class="boardComment">
    <a name="comment"></a>
    <!--@if($module_info->socialxe_comment !== "Y")-->
        <!--#include("./comment.html")-->
        <!--@if($grant->write_comment && $oDocument->isEnableComment())-->
            <form action="./" method="post" onsubmit="jQuery(this).find('input').each(function(){if(this.title==this.value)this.value='';});return procFilter(this, insert_comment)" class="boardEditor" >
            <input type="hidden" name="mid" value="{$mid}" />
            <input type="hidden" name="document_srl" value="{$oDocument->document_srl}" />
            <input type="hidden" name="comment_srl" value="" />
            <input type="hidden" name="content" value="" />
                <div class="boardWrite commentEditor">
                    <div class="editor">{$oDocument->getCommentEditor()}</div>
                    <div class="editorOption">
                    <!--@if(!$is_logged)-->
                       <input type="text" name="nick_name" class="inputText userName" value="{$lang->writer}"  title="{$lang->writer}" onfocus="if(this.value==this.title)this.value='';return false;" />
                       <input type="password" name="password" class="inputText userPw" value="{$lang->password}" title="{$lang->password}" onfocus="if(this.value==this.title)this.value='';return false;" />
                       <input type="text" name="email_address" class="inputText emailAddress" value="{$lang->email_address}" title="{$lang->email_address}" onfocus="if(this.value==this.title)this.value='';return false;" />
                       <input type="text" name="homepage" class="inputText homePage" value="{$lang->homepage}" title="{$lang->homepage}" onfocus="if(this.value==this.title)this.value='';return false;" />
                    <!--@end-->

                    <!--@if($is_logged)-->
                        <input type="checkbox" name="notify_message" value="Y" id="notify_message" class="inputCheck" />
                        <label for="notify_message">{$lang->notify}</label>
                    <!--@end-->
                        <input type="checkbox" name="is_secret" value="Y" id="is_secret" class="inputCheck" />
                        <label for="is_secret">{$lang->secret}</label>
                    </div>
            
                    <div class="boardNavigation">
                        <span class="buttonOfficial"><input type="submit" value="{$lang->cmd_comment_registration}" accesskey="s" /></span>
                    </div>
                </div>
            </form>
        <!--@end-->
    <!--@else-->
        <div class="socialComment">
            <img class="zbxe_widget_output" widget="socialxe_comment" skin="<!--@if($module_info->socialxe_comment == 'cimple')-->ppAward<!--@else-->default<!--@end-->" colorset="white" document_srl="{$oDocument->document_srl}" content_link="{getFullUrl('', 'document_srl', $oDocument->document_srl, 'dummy', '1')}" content_title="{htmlspecialchars($oDocument->getTitleText())}" enter_send="N"  auto_view_sub="Y" />
        </div>
    <!--@end-->
</div>

<!--@end-->

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
이원희884 누리고의 콘텐츠몰 모듈과 애드온 등은 어떤종류입니까? file  
네모세상 버튼 소스좀 짜주시길 부탁드립니다 [6] file 2017.07.21 by 네모세상
Xe쫑 모바일 페이지 이상  
zartin 아이콘샵 겟수 정하기 [2] 2017.07.20 by zartin
케이비씨 Elkha-Gray Steyle 스킨 2단 레이아웃 만드는법을 모르겠어요.ㅠ [1] file 2017.07.20 by 이온디
꽁꽁 모듈스킨 사용법 [1] file 2017.07.20 by 이온디
슈뉴형 댓글을 삭제중인데 딱 그단어만 찾는방법이있을까요? [2] 2017.07.20 by 이온디
울랄라개굴 나야나 복구후.. admin 페이지가 이상합니다 [1] file 2017.07.20 by 이온디
네모세상 사이트 이사/합치기 방법 이건 어떨까요? [1] 2017.07.20 by 이온디
노루 이거 로그인 대문? 어떻게 하나요ㅜㅜ 봐도 모르겠어요ㅜㅜ [1] 2017.07.20 by 이온디
GHIMAYAN 메뉴 링크 이미지를 서브메뉴에서만 사용하고싶습니다. [1] 2017.07.20 by DoorWeb
허허허 한줄메모장 글 출력 오류 도와주세요 file  
lun**** fontawsome, XEicon 함께 사용 가능한 방법 없을까요? [2] 2017.07.19 by lun****
쿠에 sketchbook5 게시판에서 분류를 이미지로 대체가능할까요? [2] 2017.07.18 by 쿠에
JunWooNam 홈페이지 수정 하는 방법좀 알려주세요 [3] 2017.07.18 by sejin7940
어른이빙구 첨부파일 다운로드시 권한없음(모든글 읽어봤는데..도와주세요)  
박성혁 wix에 XE 게시판 연결시 로그인 문제 ㅠ [1] 2017.07.18 by sheis****
sheis**** 게시판 공개 권한 질문 드려요 도와 주세요ㅠㅠ [2] file 2017.07.18 by sheis****
ksm**** sns 미리보기 썸네일 오류  
adachi XE content 위젯, 푸터 겹침 [7] file 2017.07.18 by adachi
키드344 어도비 뮤즈로 홈페이지 제작 중입니다.  
튜닝셀프 포인트 관리에서 게시글조회가 어떤 의미인가요? [2] 2017.07.18 by 튜닝셀프
하얀양말 아이콘샵 모듈 - 아이콘 이미지 관련 질문 file  
홍수영 xe 이미지 엑박현상... (도와주십시오..)  
vvccvv2 XE content 위젯 문제 (제발 도와주세요 ㅠㅠ) [6] 2017.07.17 by vvccvv2
이원희884 누리고의 콘텐츠몰에서 고객의 다운로드에 대해 질문합니다. [3] 2017.07.17 by 이원희884
윤여 누리고 컨텐트몰 사용하시는 분 도움 좀 부탁드려요 [1] file 2017.07.17 by 이원희884
튜닝셀프 혹시 이 모듈 어디서 다운받을 수 있는지 알 수 있을까요? [2] file 2017.07.17 by 튜닝셀프
마키1 구매한 쇼핑몰 스킨에 누리고등의 국내결제 모듈연결시 [1] 2017.07.17 by HowtoXE
알비노 사이트 접속불가 [1] file 2017.07.17 by 임재영