[급급급] 최신글 추출소스 관련.. 저좀 도와주세요 ㅡ,ㅜ

· 18년 전 · 1199 · 1
aaaaa.gif
사용한 소스
 
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>  </tr>
   <!-- 최신글 목록 -->
   <? for ($i=0; $i<count($list); $i++) { ?>
   <tr>
     <td colspan=4 align=center>
     <table width=400 height="5" border="0">
     <tr>
      <td height=5 bgcolor="#FF0000">
      <?
      //날짜표시
      $date1 = substr($list[$i][datetime],0,10); //날짜표시형식변경
      $date = explode("-", $date1);
      $year = $date[0];
      $month = $date[1];
      $day = $date[2];
      $latest_date = $month."-".$day."";
      //echo $list[$i]['icon_reply'] . " ";
      echo "<a href='{$list[$i]['href']}'>";
      //if ($list[$i]['is_notice'])
       // echo "<font style='font-family:돋움; font-size:8pt; color:#999999;'>[{$latest_date}]<strong>{$list[$i]['subject']}</strong></font>";
      // else
       echo "<font style='font-family:돋움; font-size:8pt; color:#999999;'>[{$latest_date}]{$list[$i]['subject']}</font>";
      echo "</a>";
      ?></td>
     </tr>
    </table>
     </td>
   </tr>
   <? } ?>
   <? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=5><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
</table>

첨부파일

aaaaa.gif (2.3 KB)
0회 2007-09-18 22:08
|

댓글 1개

<table width=400 height="5" border="0">

<table width=400 height="5" border="0" cellpadding=0 cellspacing=0>
로 해보세요
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
18년 전 조회 1,752
18년 전 조회 1,518
18년 전 조회 1,537
18년 전 조회 1,573
18년 전 조회 1,537
18년 전 조회 961
18년 전 조회 1,168
18년 전 조회 1,139
18년 전 조회 1,144
18년 전 조회 1,200
18년 전 조회 1,511
18년 전 조회 1,381
18년 전 조회 1,532
18년 전 조회 1,519
18년 전 조회 1,036
18년 전 조회 1,598
18년 전 조회 1,469
18년 전 조회 1,528
18년 전 조회 1,446
18년 전 조회 2,055