확장변수 숫자에 자릿수 콤머찍기

2010.02.15 17:01

파파민 조회 수:2312

BlueGate님 팁대로 하니 되는군요. 

http://www.bluegate.kr/?document_srl=119726&mid=zbxeqna&sort_index=readed_count&order_type=asc


확장변수 4번에 적용시 

사용하시는 스킨파일의 view_document.html 파일의 확장변수 출력부분을 아래 소스로 교체


<!--@if($oDocument->isExtraVarsExists() && (!$oDocument->isSecret() || $oDocument->isGranted()) )-->

    <table border="1" cellspacing="0" summary="Extra Form" class="extraVarsList">

{@ $extravar_list = $oDocument->getExtraVars()}

<tr>

<th>맨 :</th>

<td>{$oDocument->getTitle()}</td>

        <th>{$extravar_list[2]->name} :</th>

        <td>{$extravar_list[2]->getValueHTML()}</td> </tr>

    <tr>

        <th>{$extravar_list[4]->name} :</th>

        <td>{number_format($extravar_list[4]->getValueHTML())}</td>

<th>{$extravar_list[5]->name} :</th>

        <td>{$extravar_list[5]->getValueHTML()}</td>

    </tr>

</table>

<!--@end-->



적용 페이지 -->아래 직장명 항목 ^^

http://michin.pe.kr/xe/member/1124


위로