소스 문의 드립니다. > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

소스 문의 드립니다. 정보

소스 문의 드립니다.

본문

오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.

오류 주소 :



<?
			$image = $list[$i][file][0][file]; //원본
			$img=$data_path. "/".$image;  //썸네일이 없을경우 원본출력
				echo "JUMPOPREMIUM.item[$j] = JUMPOPREMIUM.item[$j] + \"<td width='$col_width%' height='110' align='center' valign='top'>".$list[$i][icon_reply]."<table width='130' cellpadding='0' cellspacing='0' border='0' style='background-repeat:no-repeat; background-image:url(./img/bg.gif);'><tr><td valign='top' align='center' height='100'><table width='100%' cellpadding='0' cellspacing='0' border='0'><tr><td valign='middle' align='center' height='36'><a href='{$list[$i]['href']}'><div style='font-size:11px; font-family:돋움, 굴림; letter-spacing:-0.1em; word-break:break-all; color:#000; width:118px; font-weight:bold;'><font color=000>{$list[$i]['wr_subject']}</font></a></div></td></tr><tr><td valign='middle' align='center' height='65'><div style='font-size:11px; width:110px; text-align:center; font-family:돋움, 굴림; color:#000; word-break:break-all; letter-spacing:-0.05em;'><a href='{$list[$i]['href']}'><font color=000>{$list[$i]['wr_10']} / {$list[$i]['wr_2']} / {$list[$i]['wr_1']} / ".intval($list[$i]['wr_13'])."㎡</font><여기요></a></div></td></tr></table></td></tr></table></td>\";";
			if($i+1 == count($list))
			echo "JUMPOPREMIUM.item[$j] = JUMPOPREMIUM.item[$j] + \"</tr></table>\";";
			
	 } 
	 
	 
	 
	 
	 ?>





위 소스에 <여기요> 부분에 아래 소스를 넣어야 하는데 에러가 납니다.
위 소스와 코드형식이 달라서 그런데 대충 넣으면 데이터는 나오는데 IF를 인식을 못합니다.


<? if ($list[$i]['wr_21'] != '') {	?>
            <?=$list[$i]['wr_21']?>
            <? } ?>
            <? if ($list[$i]['wr_22'] != '') {	?>
            <?=$list[$i]['wr_22']?>
            <? } ?>
            <? if ($list[$i]['wr_23'] != '') {	?>
            /
            <?=$list[$i]['wr_23']?>
            <? } ?>



댓글 전체

echo 문 전에

 if ($list[$i]['wr_21'] != '') $list[$i][wr_2_temp] = $list[$i]['wr_21'];
 else if ($list[$i]['wr_22'] != '') $list[$i][wr_2_temp] = $list[$i]['wr_22'];
 else if ($list[$i]['wr_23'] != '') $list[$i][wr_2_temp] = $list[$i]['wr_23'];


<여기요> 부분에 {$list[$i][wr_2_temp]}

이렇게 해보세요
전체 66,558 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT