글자색이 검정이 아니고. ㅠ.ㅠ

아래 소스로 코멘트를 추출했는데 추출된 글자색이 검정색이 아니고 연한 하늘색으로 추출되는데 검정색으로 추출하려면 어떻게 해야할지 ㅠ.ㅠ

== 소스--

<?
$gr_id = "ebs";

$sql = " select a.wr_id, a.wr_parent, a.bo_table, b.bo_subject from $g4[board_new_table] a, $g4[board_table] b, $g4[group_table] c where a.bo_table = b.bo_table and b.gr_id = c.gr_id and b.bo_use_search = '1' and a.wr_id != a.wr_parent and c.gr_id = '$gr_id' order by a.bn_datetime desc limit 0, 15 ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {

$sql = " select * from {$g4['write_prefix']}{$row['bo_table']} where wr_id = '{$row['wr_id']}' ";
$data = sql_fetch($sql);

$data['wr_content'] = str_replace(" ", " ", $data['wr_content']);
$data['wr_content'] = str_replace(" ", " ", $data['wr_content']);
$data['wr_content'] = str_replace("\n", " ", $data['wr_content']);

echo "<a href='".$g4['bbs_path']."/board.php?bo_table=".$row['bo_table']."&wr_id=".$row['wr_parent']."#c_".$row['wr_id']."'>".cut_str(strip_tags($data['wr_content']), 20, "...")."</a><br>";

}
?>
|

댓글 2개

링크가 걸려서 연한하늘색으로 보일껍니다.

스타일시트를 조절하셔야합니다
echo "<a href='".$g4['bbs_path']."/board.php?bo_table=".$row['bo_table']."&wr_id=".$row['wr_parent']."#c_".$row['wr_id']."'>".cut_str(strip_tags($data['wr_content']), 20, "...")."</a><br>";

>>>
echo "<a href='".$g4['bbs_path']."/board.php?bo_table=".$row['bo_table']."&wr_id=".$row['wr_parent']."#c_".$row['wr_id']."'>

<font color='#000000'>

".cut_str(strip_tags($data['wr_content']), 20, "...")."

</font>

</a><br>";
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
15년 전 조회 1,522
15년 전 조회 1,257
15년 전 조회 1,008
15년 전 조회 2,107
15년 전 조회 1,525
15년 전 조회 973
15년 전 조회 1,527
15년 전 조회 1,742
15년 전 조회 1,516
15년 전 조회 1,041
15년 전 조회 944
15년 전 조회 2,712
15년 전 조회 965
15년 전 조회 1,526
15년 전 조회 1,165
15년 전 조회 1,003
15년 전 조회 1,258
15년 전 조회 1,540
15년 전 조회 956
15년 전 조회 993