카테고리를 생성할때 두줄로 넘어가면 겹쳐져요. 정보
카테고리를 생성할때 두줄로 넘어가면 겹쳐져요.본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 : http://kmt.kpopzoa.com/bbs/board.php?bo_table=z4_03&sca=Nong%20Shim-fly%20you%20to%20Korea%3CP%3E
아래는 자료실에서 다운받은 스킨인데..잘모르겠어요..
css가 문제인지….고수님들의 답변 부탁드립니다.
<table cellpadding=0 cellspacing=10 width=100% style="position:relative; border:1px solid #e4e4e4">
<tr>
<td>
<link rel="stylesheet" type="text/css" href="../include/cate_tab.css" />
<div id="navcontainer" align=center><ul id="navlist">
<li><? if (!$sca){?><a id=current href='./board.php?bo_table=<?=$bo_table?>&page=<?=$page?>'><b><font color=#ffffff>ALL</font></b>
<font color=#dddddd>(<?
$total=sql_fetch("select sum(bo_count_write ) as cnt from $g4[board_table] where bo_table IN('$bo_table')");
echo "$total[cnt]";
?>)</font>
<?}else{?>
<a href='./board.php?bo_table=<?=$bo_table?>&page=<?=$page?>'>All view
<font color=#888888>(<?
$total=sql_fetch("select sum(bo_count_write ) as cnt from $g4[board_table] where bo_table IN('$bo_table')");
echo "$total[cnt]";
?>)</font>
<?}?>
</a></li><? if ($is_category) { ?>
<?
$cnt = 1;
$cnt0 = 0;
$bb_s=""; $bb_e="";
$arr = explode("|", $board[bo_category_list]); // 구분자가 , 로 되어 있음
$str = "";
$str .= "";
$f_open="id=current";
$f_close="";
for ($i=0; $i<count($arr); $i++)
if (trim($arr[$i])) {
$sql1 = " SELECT count(*) as cCount FROM $write_table WHERE ca_name = '$arr[$i]' and wr_is_comment = 0 ";
$row1 = sql_fetch($sql1);
if ($sca == $arr[$i]) { $cnt0++; $b_s="<b style='color: white;'>";$cc=$f_open; $b_e="</b>"; } else {$b_s=""; $cc=$f_close; $b_e="";}
if ($sca == $arr[$i]) {
$str .= "<li><a $cc href='./board.php?bo_table=$bo_table&sca=" . rawurlencode($arr[$i]) . "'>$b_s$arr[$i]$b_e</a></li>"; }
else {
$str .= "<li><a $cc href='./board.php?bo_table=$bo_table&sca=" . rawurlencode($arr[$i]) . "'>$b_s$arr[$i]$b_e</a></li>"; }
$cnt++;
}
if ($cnt0 == 0 ) { $bb_s="<b>"; $bb_e="</b>"; }
?>
<?=$str?>
<? } ?>
</ul></div>
</td>
</tr>
</table>
오류 주소 : http://kmt.kpopzoa.com/bbs/board.php?bo_table=z4_03&sca=Nong%20Shim-fly%20you%20to%20Korea%3CP%3E
아래는 자료실에서 다운받은 스킨인데..잘모르겠어요..
css가 문제인지….고수님들의 답변 부탁드립니다.
<table cellpadding=0 cellspacing=10 width=100% style="position:relative; border:1px solid #e4e4e4">
<tr>
<td>
<link rel="stylesheet" type="text/css" href="../include/cate_tab.css" />
<div id="navcontainer" align=center><ul id="navlist">
<li><? if (!$sca){?><a id=current href='./board.php?bo_table=<?=$bo_table?>&page=<?=$page?>'><b><font color=#ffffff>ALL</font></b>
<font color=#dddddd>(<?
$total=sql_fetch("select sum(bo_count_write ) as cnt from $g4[board_table] where bo_table IN('$bo_table')");
echo "$total[cnt]";
?>)</font>
<?}else{?>
<a href='./board.php?bo_table=<?=$bo_table?>&page=<?=$page?>'>All view
<font color=#888888>(<?
$total=sql_fetch("select sum(bo_count_write ) as cnt from $g4[board_table] where bo_table IN('$bo_table')");
echo "$total[cnt]";
?>)</font>
<?}?>
</a></li><? if ($is_category) { ?>
<?
$cnt = 1;
$cnt0 = 0;
$bb_s=""; $bb_e="";
$arr = explode("|", $board[bo_category_list]); // 구분자가 , 로 되어 있음
$str = "";
$str .= "";
$f_open="id=current";
$f_close="";
for ($i=0; $i<count($arr); $i++)
if (trim($arr[$i])) {
$sql1 = " SELECT count(*) as cCount FROM $write_table WHERE ca_name = '$arr[$i]' and wr_is_comment = 0 ";
$row1 = sql_fetch($sql1);
if ($sca == $arr[$i]) { $cnt0++; $b_s="<b style='color: white;'>";$cc=$f_open; $b_e="</b>"; } else {$b_s=""; $cc=$f_close; $b_e="";}
if ($sca == $arr[$i]) {
$str .= "<li><a $cc href='./board.php?bo_table=$bo_table&sca=" . rawurlencode($arr[$i]) . "'>$b_s$arr[$i]$b_e</a></li>"; }
else {
$str .= "<li><a $cc href='./board.php?bo_table=$bo_table&sca=" . rawurlencode($arr[$i]) . "'>$b_s$arr[$i]$b_e</a></li>"; }
$cnt++;
}
if ($cnt0 == 0 ) { $bb_s="<b>"; $bb_e="</b>"; }
?>
<?=$str?>
<? } ?>
</ul></div>
</td>
</tr>
</table>
댓글 전체