최신갤러리에 썸네일사진이 안나와요 > 그누4 질문답변

그누4 질문답변

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

최신갤러리에 썸네일사진이 안나와요 정보

최신갤러리에 썸네일사진이 안나와요

본문

최신게시판을 메인에 설치했는데 거기에 딸려오는 썸네일 이미지가 안뜨네요... 도와주세요 ㅠㅠ
제가 쓰는 최신게시물 latest.skin.php 소스 입니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<style type="text/css">
<!--
.title:link { COLOR: #01704F; TEXT-DECORATION: none ; letter-spacing: -1px;  font-weight:bold; }
.title:visited {COLOR: #01704F; TEXT-DECORATION: none; letter-spacing: -1px;  font-weight:bold;}
.title:hover { COLOR: #FF6600; TEXT-DECORATION: none; letter-spacing: -1px;  font-weight:bold;}
-->
</style>


<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <? for ($i=0; $i<count($list); $i++) {
$img="$g4[path]/data/file/$bo_table/thumb/{$list[$i][wr_id]}";
    if (!file_exists($img) || !$list[$i][file][0][file])
    $img = "$latest_skin_path/img/no_image.gif";
    ?><tr>
    <td>
      <table width="300"  border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="2" colspan="3" ></td>
        </tr>
        <tr>
          <td width="83"> <table width="77" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="1"></td>
                <td width="76"><table width="62" border="0" cellpadding="1" cellspacing="0" bgcolor="#EAEAEA">
                    <tr>
                      <td width="60" ><table  border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF">
                          <tr>
                            <td><a href=javascript://  onClick="window.open('<?=$g4[path]?>/skin/board/movie_skin/player/movie.php?bo_table=<?=$bo_table?>&wr_id=<?=$list[$i][wr_id]?>', '', 'scrollbars=no,resizeable=no,toolbar=no,status=no,top=100,left=100,width=741,height=472');"><img src='<?=$img?>' width='90' height="74"  border=0></a></td>
                          </tr>
                        </table></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
          <td width="11"></td>
          <td width="227"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
            <tr> </tr>
            <tr>
              <td width="50">말씀명</td>
              <td height="26" colspan="2" style="padding-left:3px;"><a href=javascript://  onClick="window.open('<?=$g4[path]?>/skin/board/movie_skin/player/movie.php?bo_table=<?=$bo_table?>&wr_id=<?=$list[$i][wr_id]?>', '', 'scrollbars=no,resizeable=no,toolbar=no,status=no,top=100,left=100,width=741,height=472');">
                <?=$list[$i][subject]?>
                </a>
                  <?=$list[$i][icon_new]?></td>
            </tr>
            <tr>
              <td>설교자</td>
              <td height="26" style="padding-left:3px;"><a href=javascript://  onClick="window.open('<?=$g4[path]?>/skin/board/movie_skin/player/movie.php?bo_table=<?=$bo_table?>&wr_id=<?=$list[$i][wr_id]?>', '', 'scrollbars=no,resizeable=no,toolbar=no,status=no,top=100,left=100,width=741,height=472');">
                <?=cut_str(strip_tags($list[$i][wr_1]),12,"...")?>
              </a></td>
              <td style="padding-left:3px;">&nbsp;</td>
            </tr>
            <tr>
              <td>설교일</td>
              <td width="118" height="26" style="padding-left:3px;"><span class=c_date>
                <?=$list[$i][wr_2]?>
              </span></td>
              <td width="60" style="padding-left:3px;"><a href=javascript://  onClick="window.open('<?=$g4[path]?>/skin/board/movie_skin/player/movie.php?bo_table=<?=$bo_table?>&wr_id=<?=$list[$i][wr_id]?>', '', 'scrollbars=no,resizeable=no,toolbar=no,status=no,top=100,left=100,width=741,height=472');"><img src="<?=$latest_skin_path?>/img/view.gif" width="44" height="13" vspace="3" border="0"></a></td>
            </tr>
            <tr> </tr>
            <tr> </tr>
          </table></td>
        </tr>
      </table></td>
  </tr>
  <? } ?>
  <? if (count($list) == 0) { echo "<tr> <td height='50' align='center' class='no_list'>게시물이 없습니다.</td></tr>"; } ?>
</table>
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로