메인페이지 최근사진 엑박 뜨는데요

· 13년 전 · 1804
불당썸 그걸로 리스트는 수정을 했는데 index쪽은 안되더라구요 다른 사이트는 cimg 이런거 있어서 하라는대로 주석처리하고 하면 수정이 됐는데 이 사이트는 좀 다르게 되있어서 어렵네요 ;;
 
코드는
 
      <table width="347" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><a href="javascript:GoPage('6_3');"><img src="img/photo_tit.gif" width="347" height="43"></a></td>
        </tr>
        <tr>
          <td align="center"><!--포토갤러리_사이즈_123_76 -->
            <table border="10" cellspacing="0" cellpadding="0">
            <tr>
              <td width="137" height="92" align="center" background="img/photo_box.jpg">
<?
$sql_main = "select * from photo order by no DESC";
$page_view = 2;
$sq1=mysql_query("$sql_main limit $page_view");
$total = mysql_num_rows($sq1);
@mysql_data_seek($sq1,0);
$sq = @mysql_fetch_array($sq1);
$file_name = explode("^",$sq[file_name]);
?>
     <table width="123" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="76"><!--포토갤러리_사이즈_123_76 -->
     <?if($file_name[0]){?>
                      <A HREF="/comm/photo.php?mode=read&read_no=<?=$sq[0]?>"><img src="/include/gallery/upload/thumb/<?=$file_name[0]?>" width="123" height="76" BORDER="0"onfocus="this.blur()"></A><?}?></td>
                  </tr>
              </table>
     </td>
              <td width="30" height="92"> </td>
<?
@mysql_data_seek($sq1,1);
$sq = @mysql_fetch_array($sq1);
$file_name = explode("^",$sq[file_name]);
?>
              <td width="137" align="center" background="img/photo_box.jpg">
     <table width="123" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="76"><?if($file_name[0]){?>
                      <A HREF="/comm/photo.php?mode=read&read_no=<?=$sq[0]?>"><img src="/include/gallery/upload/thumb/<?=$file_name[0]?>" width="123" height="76" BORDER="0"onfocus="this.blur()"></A><?}?></td>
                  </tr>
              </table>
     </td>
            </tr>
<?
@mysql_data_seek($sq1,0);
$sq = @mysql_fetch_array($sq1);
?>
            <tr>
              <td height="25" align="center" class="main_photo_tit"><!--타이틀출력 -->
                <?=textCut($sq[subject],20)?></td>
<?
@mysql_data_seek($sq1,1);
$sq = @mysql_fetch_array($sq1);
?>
              <td align="center" class="main_photo_tit"> </td>
              <td align="center" class="main_photo_tit"><?=textCut($sq[subject],20)?></td>
            </tr>
<?
@mysql_data_seek($sq1,0);
$sq = @mysql_fetch_array($sq1);
?>
            <tr>
              <td height="30" class="gongi_text"><?=textCut(strip_tags($sq[content]),20)?></td>
<?
@mysql_data_seek($sq1,1);
$sq = @mysql_fetch_array($sq1);
?>
              <td> </td>
              <td class="gongi_text"><?=textCut(strip_tags($sq[content]),20)?></td>
            </tr>
          </table></td>
        </tr>
        <tr>
          <td> </td>
        </tr>
      </table></td>
  </tr>
</table>
 
이렇게 되있습니다
 
어디를 수정해야 할까요 ㅠ
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
13년 전 조회 3,730
13년 전 조회 1,731
13년 전 조회 1,277
13년 전 조회 2,202
13년 전 조회 1,393
13년 전 조회 5,751
13년 전 조회 1,390
13년 전 조회 1,789
13년 전 조회 1,360
13년 전 조회 1,413
13년 전 조회 1,547
13년 전 조회 2,327
13년 전 조회 2,175
13년 전 조회 1,903
13년 전 조회 2,072
13년 전 조회 4,338
13년 전 조회 1,370
13년 전 조회 2,278
13년 전 조회 2,078
13년 전 조회 1,241
13년 전 조회 1,365
13년 전 조회 1,263
13년 전 조회 9,077
13년 전 조회 1,470
13년 전 조회 2,288
13년 전 조회 2,019
13년 전 조회 1,343
13년 전 조회 1,105
13년 전 조회 4,415
13년 전 조회 1,147
13년 전 조회 1,290
13년 전 조회 2,378
13년 전 조회 1,850
13년 전 조회 1,916
13년 전 조회 1,610
13년 전 조회 1,591
13년 전 조회 1,341
13년 전 조회 1,864
13년 전 조회 1,499
13년 전 조회 2,329
13년 전 조회 1,661
13년 전 조회 3,426
13년 전 조회 1,209
13년 전 조회 2,863
13년 전 조회 3,244
13년 전 조회 5,005
13년 전 조회 1,565
13년 전 조회 1,783
13년 전 조회 1,984
13년 전 조회 1,805
13년 전 조회 1,918
13년 전 조회 3,471
13년 전 조회 1,894
13년 전 조회 1,642
13년 전 조회 1,746
13년 전 조회 1,775
13년 전 조회 1,472
13년 전 조회 2,335
13년 전 조회 2,688
13년 전 조회 2,023
13년 전 조회 1,602
13년 전 조회 1,598
13년 전 조회 1,454
13년 전 조회 2,272
13년 전 조회 3,218
13년 전 조회 1,967
13년 전 조회 2,244
13년 전 조회 1,728
13년 전 조회 1,770
13년 전 조회 1,966
13년 전 조회 1,505
13년 전 조회 1,474
13년 전 조회 1,506
13년 전 조회 1,840
13년 전 조회 1,873
13년 전 조회 1,650
13년 전 조회 1,400
13년 전 조회 1,666
13년 전 조회 1,634
13년 전 조회 1,550
13년 전 조회 1,685
13년 전 조회 1,569
13년 전 조회 1,884
13년 전 조회 1,638
13년 전 조회 1,783
13년 전 조회 2,287
13년 전 조회 1,234
13년 전 조회 3,555
13년 전 조회 1,268
14년 전 조회 1,459
14년 전 조회 1,214
14년 전 조회 1,614
14년 전 조회 1,542
14년 전 조회 1,836
14년 전 조회 1,315
14년 전 조회 2,431
14년 전 조회 2,057
14년 전 조회 1,629
14년 전 조회 7,311
14년 전 조회 1,232