뉴버튼의 테두리를 없에주세요~~! 정보
뉴버튼의 테두리를 없에주세요~~!
본문
현제 이것저것 맘에 드는스킨을 가저다가 짜마추기 하고 있는데요...
이상하게 테두리가 그려지네요....
-------------------------------------------------------------------------------------------
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<? for ($i=0; $i<count($list); $i++) {
$date = explode("-", $list[$i][date]);
$month = $date[1];
$day = $date[2];
$latest_date = $month."/".$day;
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="29" height="38"><img src="<?=$latest_skin_path?>/img/board_title_left.gif" width="29" height="38"></td>
<td background="<?=$latest_skin_path?>/img/board_title_bg.gif"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><font style='font-family:돋움; font-size:9pt; color:#696969;'><strong><?=$board[bo_subject]?></strong></font></a> </td>
<td width="60" align="right" background="<?=$latest_skin_path?>/img/board_title_bg.gif"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src="<?=$latest_skin_path?>/img/board_more.gif" width="45" height="18" border="0"></a></td>
<td width="19"><img src="<?=$latest_skin_path?>/img/board_title_right.gif" width="19" height="38"></td>
</tr>
</table>
<table width=100% cellpadding=0 cellspacing=0 border=0>
<? for ($i=0; $i<count($list); $i++) { ?>
<? if ($i==0) { ?>
<tr><td valign=top>
<? //// 첫번째 글 (이미지 + 제목 + 쪽글)
echo "<table width=100% cellpadding=0 cellspacing=0 border=0><tr><td valign=top width=110>";
$image = urlencode($list[$i][file][0][file]);
echo "<img src='$g4[path]/data/file/$bo_table/$image' width=100 border=0>"; //이미지크기를 알아서 조절
echo "<td valign=top><a href='{$list[$i][href]}' style=font-family:돋움;font-size:10pt;>";
echo "<font style='font-family:돋움; font-size:9pt; color:#6a6a6a;'><strong>{$list[$i][subject]}</strong></font>";
echo $list[$i][icon_new];
if ($list[$i][comment_cnt])
echo " <a href=\"javascript:{$list[$i][comment_href]}\">{$list[$i][comment_cnt]}</a>";
echo "<br><font style=font-family:돋움;font-size:8pt;color:#9a9a9a;>".Shorten_String(strip_tags($list[$i][wr_content]), 140, '......')."</font></table>";
?>
<? } else if ($i==1) { ?>
<? //// 두번째 글 (제목 + 쪽글)
echo "<tr><td height=5><tr><td valign=top>";
echo "<a href='{$list[$i][href]}'>";
echo "<font style='font-family:돋움; font-size:9pt; color:#6a6a6a;'><strong>{$list[$i][subject]}</strong></font>";
echo "</a>";
echo $list[$i][icon_new];
if ($list[$i][comment_cnt])
echo " <a href=\"javascript:{$list[$i][comment_href]}\">{$list[$i][comment_cnt]}</a>";
echo "<br><font style=font-family:돋움;font-size:8pt;color:#9a9a9a;>".Shorten_String(strip_tags($list[$i][wr_content]), 100, '......')."</font>";
?>
<? } else { ?>
<? //// 세번째 글 이후 (제목만)
echo "<tr><td height=2>";
echo "<tr><td valign=top>";
echo "<img src={$latest_skin_path}/img/icon_li.gif> <a href='{$list[$i][href]}'>";
echo "<font style='font-family:돋움; font-size:9pt; color:#6a6a6a;'><strong>{$list[$i][subject]}</strong>";
echo "</a>";
echo $list[$i][icon_new];
if ($list[$i][comment_cnt])
echo " <a href=\"javascript:{$list[$i][comment_href]}\">{$list[$i][comment_cnt]}</a>";
echo "<tr><td height=2>";
echo "<tr><td height=1 background={$latest_skin_path}/img/board_bg_line.gif>";
?>
<? } ?>
<? } ?>
<? } ?>
<? if (count($list) == 0) { echo "<tr><td colspan=3 align=center height=25>자료가 없습니다.</td></tr>"; } ?>
</table>
-------------------------------------------------------------------------------------------------------------
최근게시물입니다..확인하시고 어디가 잘못되었는지 알려주세요~~!
이상하게 테두리가 그려지네요....
-------------------------------------------------------------------------------------------
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<? for ($i=0; $i<count($list); $i++) {
$date = explode("-", $list[$i][date]);
$month = $date[1];
$day = $date[2];
$latest_date = $month."/".$day;
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="29" height="38"><img src="<?=$latest_skin_path?>/img/board_title_left.gif" width="29" height="38"></td>
<td background="<?=$latest_skin_path?>/img/board_title_bg.gif"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><font style='font-family:돋움; font-size:9pt; color:#696969;'><strong><?=$board[bo_subject]?></strong></font></a> </td>
<td width="60" align="right" background="<?=$latest_skin_path?>/img/board_title_bg.gif"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src="<?=$latest_skin_path?>/img/board_more.gif" width="45" height="18" border="0"></a></td>
<td width="19"><img src="<?=$latest_skin_path?>/img/board_title_right.gif" width="19" height="38"></td>
</tr>
</table>
<table width=100% cellpadding=0 cellspacing=0 border=0>
<? for ($i=0; $i<count($list); $i++) { ?>
<? if ($i==0) { ?>
<tr><td valign=top>
<? //// 첫번째 글 (이미지 + 제목 + 쪽글)
echo "<table width=100% cellpadding=0 cellspacing=0 border=0><tr><td valign=top width=110>";
$image = urlencode($list[$i][file][0][file]);
echo "<img src='$g4[path]/data/file/$bo_table/$image' width=100 border=0>"; //이미지크기를 알아서 조절
echo "<td valign=top><a href='{$list[$i][href]}' style=font-family:돋움;font-size:10pt;>";
echo "<font style='font-family:돋움; font-size:9pt; color:#6a6a6a;'><strong>{$list[$i][subject]}</strong></font>";
echo $list[$i][icon_new];
if ($list[$i][comment_cnt])
echo " <a href=\"javascript:{$list[$i][comment_href]}\">{$list[$i][comment_cnt]}</a>";
echo "<br><font style=font-family:돋움;font-size:8pt;color:#9a9a9a;>".Shorten_String(strip_tags($list[$i][wr_content]), 140, '......')."</font></table>";
?>
<? } else if ($i==1) { ?>
<? //// 두번째 글 (제목 + 쪽글)
echo "<tr><td height=5><tr><td valign=top>";
echo "<a href='{$list[$i][href]}'>";
echo "<font style='font-family:돋움; font-size:9pt; color:#6a6a6a;'><strong>{$list[$i][subject]}</strong></font>";
echo "</a>";
echo $list[$i][icon_new];
if ($list[$i][comment_cnt])
echo " <a href=\"javascript:{$list[$i][comment_href]}\">{$list[$i][comment_cnt]}</a>";
echo "<br><font style=font-family:돋움;font-size:8pt;color:#9a9a9a;>".Shorten_String(strip_tags($list[$i][wr_content]), 100, '......')."</font>";
?>
<? } else { ?>
<? //// 세번째 글 이후 (제목만)
echo "<tr><td height=2>";
echo "<tr><td valign=top>";
echo "<img src={$latest_skin_path}/img/icon_li.gif> <a href='{$list[$i][href]}'>";
echo "<font style='font-family:돋움; font-size:9pt; color:#6a6a6a;'><strong>{$list[$i][subject]}</strong>";
echo "</a>";
echo $list[$i][icon_new];
if ($list[$i][comment_cnt])
echo " <a href=\"javascript:{$list[$i][comment_href]}\">{$list[$i][comment_cnt]}</a>";
echo "<tr><td height=2>";
echo "<tr><td height=1 background={$latest_skin_path}/img/board_bg_line.gif>";
?>
<? } ?>
<? } ?>
<? } ?>
<? if (count($list) == 0) { echo "<tr><td colspan=3 align=center height=25>자료가 없습니다.</td></tr>"; } ?>
</table>
-------------------------------------------------------------------------------------------------------------
최근게시물입니다..확인하시고 어디가 잘못되었는지 알려주세요~~!
댓글 전체

답변감사합니다

echo "<font style='font-family:돋움; font-size:9pt; color:#6a6a6a;'><strong>{$list[$i][subject]}</strong></font>";
echo $list[$i][icon_new];
if ($list[$i][comment_cnt])
을 아래 것으로
echo "<font style='font-family:돋움; font-size:9pt; color:#6a6a6a;'><strong>{$list[$i][subject]}</strong></font></a>";
echo $list[$i][icon_new];
if ($list[$i][comment_cnt])
바꿉니다.
echo $list[$i][icon_new];
if ($list[$i][comment_cnt])
을 아래 것으로
echo "<font style='font-family:돋움; font-size:9pt; color:#6a6a6a;'><strong>{$list[$i][subject]}</strong></font></a>";
echo $list[$i][icon_new];
if ($list[$i][comment_cnt])
바꿉니다.
'';