인기검색어 글자수 줄이는 방법 아시는분 ? 정보
인기검색어 글자수 줄이는 방법 아시는분 ?본문
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?><?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table>
<tr>
<td width="80"><font color=#fefefe><b>인기검색어 : </b></font></td>
<? for ($i=0; $i<count($list); $i++) { ?>
<td>
<table>
<tr>
<td>
<?
echo "<a href='$g4[bbs_path]/search.php?sfl=wr_subject&sop=and&stx=".urlencode($list[$i][pp_word])."'><font color=#fefefe>{$list[$i][pp_word]}</a></font>";
?>
</td></tr>
</table></td>
<? if ($i+1 < count($list)) { //마지막 라인 생략?><td><font color=#f2f2f2>ㅣ</font></td><? } ?>
<? } ?>
</tr>
</table>
이게 popular.skin.php 소스인데 글자수 줄이는 방법 아시는분 계신가요 ? 누가 검색어 글자를 길게 해서 장난치는것 같아요.. 방법 아시는분 답변좀 해주3
http://sir.co.kr/bbs/board.php?bo_table=g4_qa&wr_id=51820#c_51827
검색하면 여기 나오는데 인기검색어 스킨이 달라요..
0
관련링크
댓글 7개


".substr($list[$i][pp_word],0,20)."

위처럼 되어있는 부분을 아래처럼 바꾸라는 것이였습니다~
".substr($list[$i][pp_word],0,20)."
