글자정렬문제 > 그누4 질문답변

그누4 질문답변

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

글자정렬문제 정보

글자정렬문제

본문

아래소스를 사용하면 첨부한 이미지처럼  정렬이 안됩니다.
 
정렬이되게 하려면 어떻게 해야 하나요
 
 
 
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table border="0" width="185" cellpadding="0" cellspacing="0">
<tr>
 <td colspan="3"><img width='185' height='5' src="<?=$popular_skin_path?>/img/top.gif" border='0'></td>
</tr>
<tr>
 <td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
 <td width='184'>
  <center><font color="black"><b>실시간 검색어</b></font><br>
  <img width='1' height='5' src="<?=$popular_skin_path?>/img/none.gif" border='0'><br>
  <img width='180' height='1' src="<?=$popular_skin_path?>/img/line.gif" border='0'><br>
  <img width='1' height='5' src="<?=$popular_skin_path?>/img/none.gif" border='0'><br>
  </center>
 </td>
 <td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
</tr>
<tr> 
 <td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
 <td><table width="185" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="155"><?
  for ($i=0; $i<count($list); $i++)
  {
    if($i=="0")
    {
        echo "   <img width='14' height='13' align='absmiddle' border='0' src='$popular_skin_path/img/num_0".$i.".gif'>  <a href='$g4[bbs_path]/search.php?sfl=wr_subject&sop=and&stx=".urlencode($list[$i][pp_word])."' target='_parent'><font style=font-size:9pt; color=#00285A><b>{$list[$i][pp_word]}</b></font></a><br>";
    }
    else
    {
        echo "   <img width='14' height='13' align='absmiddle' border='0' src='$popular_skin_path/img/num_0".$i.".gif'>  <a href='$g4[bbs_path]/search.php?sfl=wr_subject&sop=and&stx=".urlencode($list[$i][pp_word])."' target='_parent'><font style=font-size:9pt; color=#00285A><b>{$list[$i][pp_word]}</b></font></a><br>";
    }
    
  } //for문으로 이루어진 전체루틴 종료(빼 먹지 말것)
  ?></td>
        <td width="30"><?
  for ($i=0; $i<count($list); $i++)
  {
         echo "<font style=font-size:7pt; color=#ef5d00>{$list[$i][cnt]}</font> <br> ";//검색 카운트 출력
  } //for문으로 이루어진 전체루틴 종료(빼 먹지 말것)
  ?></td>
      </tr>
    </table></td>
 <td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
</tr>
<tr>
 <td colspan="3"><img width='185' height='5' src="<?=$popular_skin_path?>/img/bottom.gif" border='0'></td>
</tr>
</table>

댓글 전체

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table border="0" width="185" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><img width='185' height='5' src="<?=$popular_skin_path?>/img/top.gif" border='0'></td>
</tr>
<tr>
<td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
<td width='184'>
<center>
<font color="black"><b>실시간 검색어</b></font><br>
<img width='1' height='5' src="<?=$popular_skin_path?>/img/none.gif" border='0'><br>
<img width='180' height='1' src="<?=$popular_skin_path?>/img/line.gif" border='0'><br>
<img width='1' height='5' src="<?=$popular_skin_path?>/img/none.gif" border='0'><br>
</center></td>
<td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
</tr>
<tr>
<td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
<td>
<table width="185" border="0" cellspacing="0" cellpadding="0">
<?
for ($i=0; $i<count($list); $i++) {
?>
<tr height="20">
<td width="155">
<?
// 첫번째
if ($i == '0') {
    echo "&nbsp;&nbsp;&nbsp;<img width='14' height='13' align='absmiddle' border='0' src='$popular_skin_path/img/num_0".$i.".gif'>&nbsp;&nbsp;<a href='$g4[bbs_path]/search.php?sfl=wr_subject&sop=and&stx=".urlencode($list[$i][pp_word])."' target='_parent'><font style=font-size:9pt; color=#00285A><b>{$list[$i][pp_word]}</b></font></a><br>";
} else {
    echo "&nbsp;&nbsp;&nbsp;<img width='14' height='13' align='absmiddle' border='0' src='$popular_skin_path/img/num_0".$i.".gif'>&nbsp;&nbsp;<a href='$g4[bbs_path]/search.php?sfl=wr_subject&sop=and&stx=".urlencode($list[$i][pp_word])."' target='_parent'><font style=font-size:9pt; color=#00285A><b>{$list[$i][pp_word]}</b></font></a><br>";
}
?></td>
<td width="30"><font style=font-size:7pt; color=#ef5d00><?=$list[$i][cnt]?></font></td>
</tr>
<? } ?>
</table></td>
<td width='1' background="<?=$popular_skin_path?>/img/line.gif"></td>
</tr>
<tr>
<td colspan="3"><img width='185' height='5' src="<?=$popular_skin_path?>/img/bottom.gif" border='0'></td>
</tr>
</table>
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT