배너창을 만드는데요.. list.skin을 수정했어요.. 정보
배너창을 만드는데요.. list.skin을 수정했어요..본문
스킨자료실의 배너 소스를 참고하여 list.skin을 수정햇거든요..
배너를 클릭하면 wr_link1_hit의 카운터를 올리기를 원하고 있습니다.
그러기 위해서는 commmon.lib 파일의 함수를 거쳐 link.php로 넘어가서 카운트 찍고 해당 링크로 가는 걸로 알고 있거든요..
view.skin이 아닌 list.skin에서 그런 식으로 넘겨줄려면 어케 해야하는지요?
그래서 아래와 같은 소스를 넣었습니다.
echo "<tr><td align=center width='{$thum_width}' height='{$thum_height}'><div align=center><a href='{$list[link_href][$i]}' target=\"blank\">$img</a></div></td></tr>";
wr_link1에 주소를 넣고 이미지를 링크걸었거든요..
근데 안되네요..ㅠㅠㅠ
답변좀 부탁드릴께요..
배너를 클릭하면 wr_link1_hit의 카운터를 올리기를 원하고 있습니다.
그러기 위해서는 commmon.lib 파일의 함수를 거쳐 link.php로 넘어가서 카운트 찍고 해당 링크로 가는 걸로 알고 있거든요..
view.skin이 아닌 list.skin에서 그런 식으로 넘겨줄려면 어케 해야하는지요?
그래서 아래와 같은 소스를 넣었습니다.
echo "<tr><td align=center width='{$thum_width}' height='{$thum_height}'><div align=center><a href='{$list[link_href][$i]}' target=\"blank\">$img</a></div></td></tr>";
wr_link1에 주소를 넣고 이미지를 링크걸었거든요..
근데 안되네요..ㅠㅠㅠ
답변좀 부탁드릴께요..
( 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 = '282845' 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