포인트 스킨 적용이 잘 안됩니다..ㅜㅜ

head.php에 맨 윗부분에 삽입을 하면 제대로 되는데

예를들어서 테이블을 하나 만들어서 그 안에다가 소스를 넣으면 안나오더라구요..
아예 화면이 백지상태로 나옵니다..
<table width="430" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="150" height="30">&nbsp;</td>
<td width="350">
<?
tmp_table = "cm_line_ad";
$sql = " select wr_id, wr_subject, wr_1 from {$g4[write_prefix]}{$tmp_table}
where wr_is_comment = '0'
and substring(wr_datetime,1,10) = date_sub(curdate(), interval 1 day) ";
$sql .= " order by rand() limit 1 ";
$row = sql_fetch($sql);
if ($row[wr_id])
{
$href = "$g4[bbs_path]/link.php?bo_table={$tmp_table}&wr_id={$row[wr_id]}&no=1";
echo "<a href='$href' target=_blank><b><font color='$row[wr_1]'><span id='line_ad'>".conv_subject($row[wr_subject],40,"")."</span></font></b></a>";
echo "
<script language='JavaScript'>
function Blink(visible)
{
if (visible == 1)
{
document.getElementById('line_ad').style.textDecoration = 'underline';
setTimeout('Blink(0)', 2000);
}
else
{
document.getElementById('line_ad').style.textDecoration = 'none';
setTimeout('Blink(1)', 500);
}
}
Blink(1);
</script>";

// View
sql_query(" update {$g4[write_prefix]}{$tmp_table} set wr_2 = wr_2 + 1 where wr_id = '$row[wr_id]' ");
}
else
{
$href = "$g4[bbs_path]/board.php?bo_table={$tmp_table}";
echo "<a href='$href'><font color=crimson><b>보유하신 포인트로 무료 광고하세요 ^___^</b></font></a>";
}

echo "<span class=small><a href='{$g4[bbs_path]}/board.php?bo_table=cm_line_ad'> <font color=silver>포인트광고</font></a></span>";
?>
</td>
</tr>
</table>

이렇게 삽입했는데 공백으로 나오네요..
따로 수정을 더 해야하나요?
|

댓글 2개

왼쪽의 자주하시는 질문의 10, 11, 12번 중에 하나를 선택해서 적용해 보시면 해결될듯 합니다.
해결 됐습니다.
감사합니다.^^
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
19년 전 조회 1,505
19년 전 조회 1,520
19년 전 조회 1,576
19년 전 조회 1,382
19년 전 조회 1,421
19년 전 조회 1,513
19년 전 조회 1,531
19년 전 조회 1,411
19년 전 조회 2,575
19년 전 조회 1,400
19년 전 조회 1,512
19년 전 조회 1,687
19년 전 조회 1,622
19년 전 조회 1,518
19년 전 조회 1,104
19년 전 조회 1,743
19년 전 조회 1,683
19년 전 조회 1,449
19년 전 조회 1,746
19년 전 조회 1,708
🐛 버그신고