최신글 소스입니다. 조금 봐주세요. 정보
최신글 소스입니다. 조금 봐주세요.본문
아래는 최신글 소스인데요...
이상한것 제목앞에 "1"자가 나타납니다.
//{$list[$i][ca_name]}"; <== 요부분의 문제인것 같아서 이것을 삭제했는데 에러가 나네요.
온저녁 수정해봤는데 어디 문제인지 모르겠네요.ㅠㅜ
고수님들 소스 조금 봐주세요!!
감사합니다.
좋은 하루 되시구요!!
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<style>
.title a:link {font-family:돋움; font-size:9pt; color:#0053E9; text-decoration:none;}
.title a:visited {font-family:돋움; font-size:9pt; color:#0053E9; text-decoration:none;}
.title a:active {font-family:돋움; font-size:9pt; color:#0053E9; text-decoration:none;}
.title a:hover {font-family:돋움; font-size:9pt; color:#6098FD; text-decoration:none;}
</style>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TR>
<TD width=6></TD>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<? for ($i=0; $i<count($list); $i++) { ?>
<TR>
<TD colspan="2"></TD></TR>
<TR>
<TD width="3%" height=22 align="center" vAlign=center style="PADDING-LEFT: 3px"><img src="<?=$latest_skin_path?>/img/sup_cm_14.gif" width="3" height="5" ></TD>
<TD width="97%" vAlign=center style="PADDING-LEFT: 3px"><?
echo "<img src=<?=$latest_skin_path?>/img/sup_cm_14.gif">";
//{$list[$i][ca_name]}";
echo "<a href='{$list[$i][href]}'>";
if ($list[$i][is_notice])
echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i][subject]}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$list[$i][subject]}</font>";
echo "</a>";
if ($list[$i][comment_cnt])
echo " <a href=\"{$list[$i][comment_href]}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i][comment_cnt]}</span></a>";
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
echo " " . $list[$i][icon_new];
//echo " " . $list[$i][icon_file];
//echo " " . $list[$i][icon_link];
echo " " . $list[$i][icon_hot];
echo " " . $list[$i][icon_secret];
?></TD>
</TR>
<TR>
<TD height=1 colspan="2" background=<?=$latest_skin_path?>/img/line.gif></TD></TR>
<? } ?>
<? if (count($list) == 0) { ?>
<tr><td height=30 colspan="2" align=center background="<?=$latest_skin_path?>/img/board_bg_line.gif">게시물이 없습니다.</td></tr>
<? } ?>
<TR>
<TD colspan="2"></TD></TR>
</TABLE></TD>
<TD width=6></TD>
</TR></TABLE>
이상한것 제목앞에 "1"자가 나타납니다.
//{$list[$i][ca_name]}"; <== 요부분의 문제인것 같아서 이것을 삭제했는데 에러가 나네요.
온저녁 수정해봤는데 어디 문제인지 모르겠네요.ㅠㅜ
고수님들 소스 조금 봐주세요!!
감사합니다.
좋은 하루 되시구요!!
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<style>
.title a:link {font-family:돋움; font-size:9pt; color:#0053E9; text-decoration:none;}
.title a:visited {font-family:돋움; font-size:9pt; color:#0053E9; text-decoration:none;}
.title a:active {font-family:돋움; font-size:9pt; color:#0053E9; text-decoration:none;}
.title a:hover {font-family:돋움; font-size:9pt; color:#6098FD; text-decoration:none;}
</style>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TR>
<TD width=6></TD>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<? for ($i=0; $i<count($list); $i++) { ?>
<TR>
<TD colspan="2"></TD></TR>
<TR>
<TD width="3%" height=22 align="center" vAlign=center style="PADDING-LEFT: 3px"><img src="<?=$latest_skin_path?>/img/sup_cm_14.gif" width="3" height="5" ></TD>
<TD width="97%" vAlign=center style="PADDING-LEFT: 3px"><?
echo "<img src=<?=$latest_skin_path?>/img/sup_cm_14.gif">";
//{$list[$i][ca_name]}";
echo "<a href='{$list[$i][href]}'>";
if ($list[$i][is_notice])
echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i][subject]}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$list[$i][subject]}</font>";
echo "</a>";
if ($list[$i][comment_cnt])
echo " <a href=\"{$list[$i][comment_href]}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i][comment_cnt]}</span></a>";
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
echo " " . $list[$i][icon_new];
//echo " " . $list[$i][icon_file];
//echo " " . $list[$i][icon_link];
echo " " . $list[$i][icon_hot];
echo " " . $list[$i][icon_secret];
?></TD>
</TR>
<TR>
<TD height=1 colspan="2" background=<?=$latest_skin_path?>/img/line.gif></TD></TR>
<? } ?>
<? if (count($list) == 0) { ?>
<tr><td height=30 colspan="2" align=center background="<?=$latest_skin_path?>/img/board_bg_line.gif">게시물이 없습니다.</td></tr>
<? } ?>
<TR>
<TD colspan="2"></TD></TR>
</TABLE></TD>
<TD width=6></TD>
</TR></TABLE>
댓글 전체
에러가 나시면 에러내용을 써주시면 쉽게 알수 있습니다...
그냥 보니까 구문이 틀린곳이 보이네요..
echo "<img src=<?=$latest_skin_path?>/img/sup_cm_14.gif">";
여기에서 마지막부분에서 "이 두개가 존재하네요..
아래와 같이 수정해보세요
echo "<img src='<?=$latest_skin_path?>/img/sup_cm_14.gif'>";
그냥 보니까 구문이 틀린곳이 보이네요..
echo "<img src=<?=$latest_skin_path?>/img/sup_cm_14.gif">";
여기에서 마지막부분에서 "이 두개가 존재하네요..
아래와 같이 수정해보세요
echo "<img src='<?=$latest_skin_path?>/img/sup_cm_14.gif'>";
해결 되였습니다.
감사합니다^^
감사합니다^^