묻고답하기
확장변수 폼 디자인??
2011.07.07 14:02
아래와 같이 확장변수 9개 추가해서 한줄에 2개씩 확장변수가 나오게 바꾸었는데...
확장변수를 1번씩만 보여주면 되는데...9번을 똑같이 반복하네요..뭐가 문제일까요?
<!--@if($oDocument->isExtraVarsExists() && (!$oDocument->isSecret() || $oDocument->isGranted()) )-->
<table border="1" cellspacing="0" summary="Extra Form" class="extraVarsList">
<!--@foreach($oDocument->getExtraVars() as $key => $val)-->
{@ $extravar_list = $oDocument->getExtraVars()}
<tr>
<th>{$extravar_list[1]->name} :</th>
<td>{$extravar_list[1]->getValueHTML()}</td>
<th>{$extravar_list[2]->name} :</th>
<td>{$extravar_list[2]->getValueHTML()}</td>
</tr>
<tr>
<th>{$extravar_list[3]->name} :</th>
<td>{$extravar_list[3]->getValueHTML()}</td>
<th>{$extravar_list[4]->name} :</th>
<td>{$extravar_list[4]->getValueHTML()}</td>
</tr>
<tr>
<th>{$extravar_list[5]->name} :</th>
<td>{$extravar_list[5]->getValueHTML()}</td>
<th>{$extravar_list[6]->name} :</th>
<td>{$extravar_list[6]->getValueHTML()}</td>
</tr>
<tr>
<th>{$extravar_list[7]->name} :</th>
<td>{$extravar_list[7]->getValueHTML()}</td>
<th>{$extravar_list[8]->name} :</th>
<td>{$extravar_list[8]->getValueHTML()}</td>
</tr>
<tr>
<th>{$extravar_list[9]->name} :</th>
<td>{$extravar_list[9]->getValueHTML()}</td>
<th>{$extravar_list[4]->name} :</th>
<td>{$extravar_list[4]->getValueHTML()}</td>
</tr>
글쓴이 | 제목 | 최종 글 |
---|---|---|
XE | 공지 글 쓰기,삭제 운영방식 변경 공지 [16] | 2019.03.05 by 남기남 |
김경훈229 | 댓글에 댓글을 달면 게시물이 사라지는 현상 발생 | |
엉엉ㅠ | 갤러리 게시판이 뜨질 않습니다. [19] | 2009.01.29 by Rally |
박토치 | 페이지에 대한 질문입니다.꼭좀 답변해주세요. [1] | 2009.01.29 by 백성찬 |
성훈 | 글들이 항상 가운데 정열입니다. [1] | 2009.01.29 by 우유가짱 |
막대사탕980 | 외부로그인 삽입 [1] | 2009.01.29 by 우유가짱 |
xfilechun | 페이징 속도 문제 --조언주세요 | |
토마토버터 | 갤러리 이미지가 사라지네요 ㅠㅠ. | |
parangjin | 파일 업로드에 대해서 [4] | 2009.01.29 by SMaker |
뮤랑이 | 특정 게시판에서 댓글을 달면 자동으로 추천이 되게 하고 싶습니다. [4] | 2009.01.29 by 뮤랑이 |
나긋나긋한씨 | 제로보드 오류 발견입니다. | |
pyjune.myid.net | 메뉴의 권한 관련...오류인가요? [2] | 2009.01.29 by 박영준 |
늘미소 | php 변수의 값에 ''&''가 포함되었을때 어떻게 전달하는가요? | |
이한백 | 에디터 높이 조절.. [2] | 2009.01.29 by 김찬 |
칼릴지브란 | 1.15 업데이트 이후 썬지오 ucc 동영상이 안나옵니다. [1] | 2009.01.29 by 닥터귀염 |
아드레날린 | 저작권? [2] | 2009.01.29 by Habile |
현영민 | 기본게시판삭제.. [6] | 2009.01.29 by 현영민 |
한승연♡ | 질문좀 하겠습니다(초짜에여) [4] | 2009.01.29 by 만쓰별(정만) |
한승연♡ | 제로보드 처음쓰는 초짜가 질문합니다. [3] | 2009.01.29 by Habile |
whitemind | 메인페이지에 사진을 넣구 싶습니다 ^^ [3] | 2009.01.29 by 만쓰별(정만) |
VICSTONE | 1.1.4 ==> 1.1.5 업그레이드해도 1.1.4 로 나와요 [2] | 2009.01.29 by VICSTONE |
이게 키값이 증가하는 만큼 반복하라는 소리입니다. 변수가 9개면 9번 반복하세요 하는 의미...