최신글에서 이미지 아래에 제목이 나오게 하고 싶습니다. > 그누4 질문답변

그누4 질문답변

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

최신글에서 이미지 아래에 제목이 나오게 하고 싶습니다. 정보

최신글에서 이미지 아래에 제목이 나오게 하고 싶습니다.

본문

안녕하세요.
아래와 같은 소스를 사용하고 있습니다.
왼쪽에는 이미지와 제목,  오른쪽에는 리스트가 나오는방식입니다.
근데 이미지랑 리스트는 나오는데 이미지 아래부분에 제목 즉<?$subject?> 이부분이 안나오네요.
어떠한 방식으로 변수를 넣어야 할까요 알려주시면 감사드리겠습니다.


<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="160" align="center" valign="top">
<table width="160" border="0" cellpadding="0" cellspacing="0" valign="top">
<tr>
<? if ($is_img && $file[0]) { ?>
<td align=center><a href="<?=$file[0][href]?>"><img src="<?=$file[0][path]?>" class="file-img" ></a><br><?$subject?></td>
</tr>
</table>
</td>

<td valign="top">
<?  for ($i=0; $i<$rows; $i++) { ?>
<table width="431" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<a href="<?=$list[$i][href]?>"><span style="font-color:#ff9900; letter-spacing:-1;">[<?=$list[$i][bo_subject]?>]</span><?=$list[$i][subject]?></a>
</td>
<td width="100"align="right"><span style="color:#abb0b5; font-size:12px;  "><?=$list[$i][datetime]?></span></td>
</tr>
</table>
<? } ?>
</td>
<? } ?>
  </tr>
</table>

( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'g4_qa' ) as q_co_count from `g4_write_g4_qa` a where wr_parent = '175700' and wr_8 != '' and wr_is_comment = 1 and CONVERT(wr_7, UNSIGNED) >= 5 group by wr_content having max(wr_7) order by CONVERT(wr_7, UNSIGNED) desc limit 3 )

1055 : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sir.a.wr_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

error file : /15sir/bbs/board.php