도와주세요 서버이전을 했는데 ㅠㅠ > 그누4 질문답변

그누4 질문답변

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

도와주세요 서버이전을 했는데 ㅠㅠ 정보

도와주세요 서버이전을 했는데 ㅠㅠ

본문

전에 쓰던게 외국서버에서 국내계정으로 오는데 텔넷도 안대고 PHP어드민도 설치가 안대서
 
국내옮길서버에 셋팅하고 디비는 포기하고 수정해논PHP파일 몇개 옮겼습니다.
 
근데 최근게시물추출스킨이 말썽이네요
 
메인에 최근게시물 추출하면Parse error: syntax error, unexpected ';' in C:\jaaaj\users\hongkin0220\www\skin\latest\vozzang\latest.skin.php on line 45
이렇게 떠요  latest.skin.php파일안에 소스는
 
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width="100%" border=0 cellspacing=0 cellpadding=0>
 <tr><td width="35" height="25" background="<?=$latest_skin_path?>/img/bg_01.gif"></td>
  <td background="<?=$latest_skin_path?>/img/bg_02.gif">
   <font style="font-size:9pt; font-color:#009426;"><b><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><?=$board[bo_subject]?></a></b>
  </td>
  <td width="12" height="25" background="<?=$latest_skin_path?>/img/bg_03.gif"></td>
 </tr>
</table>
<table width=100% cellpadding=0 cellspacing=0 style="table-layout: fixed;">
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
    <td align=center>
        <table width=95% style="table-layout: fixed;">
        <tr>
            <td height=20><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle> 
<nobr>
   <?
            echo $list[$i][icon_reply] . " ";
            echo "<a href='{$list[$i][href]}'>";
            if ($list[$i][is_notice])
                echo "<font style='font-family:돋움; font-size:9pt; color:#FF4200;'><strong>{$list[$i][subject]}</strong></font>";
            else
                echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$list[$i][subject]}</font>";
            echo "</a>";
            if ($list[$i][comment_cnt])
                echo " <a href=\"{$list[$i][comment_href]}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i][comment_cnt]}</span></a>";
            // if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
            // if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }

            ?>
   </nobr>
   </td></tr>
        </table></td>
</tr>
<tr><td height=1 background="<?=//$latest_skin_path?>/img/dot.gif"></td></tr>
<? } ?>
<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
</table>
이겁니다. 45번째줄이  
<tr><td height=1 background="<?=//$latest_skin_path?>/img/dot.gif"></td></tr>
이거에요. 전에 쓰던거 그대로 가져온건데...
 
왜 다 갠찮은데 이노무거에서 에러가 나는지 ㅠㅠ 방법좀알려주셔요 ㅠㅠ

댓글 전체

2군데 수정해서 해 보세요.

1. <nobr>
  <?
            echo $list[$i][icon_reply] . " ";
이부분을
<nobr>
  <?
            echo "$list[$i][icon_reply] ";
로 수정해 주시구요.
2. 45번째
<tr><td height=1 background="<?=//$latest_skin_path?>/img/dot.gif"></td></tr> 를
<tr><td height=1 background="<?=$latest_skin_path?>/img/dot.gif"></td></tr>로 수정
이렇게 해 보세요.
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

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