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

· 14년 전 · 2276
불당썸 그걸로 리스트는 수정을 했는데 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>
 
이렇게 되있습니다
 
어디를 수정해야 할까요 ㅠ
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
14년 전 조회 4,218
14년 전 조회 2,249
14년 전 조회 1,785
14년 전 조회 2,667
14년 전 조회 1,887
14년 전 조회 6,221
14년 전 조회 1,880
14년 전 조회 2,251
14년 전 조회 1,850
14년 전 조회 1,906
14년 전 조회 2,019
14년 전 조회 2,812
14년 전 조회 2,675
14년 전 조회 2,353
14년 전 조회 2,564
14년 전 조회 4,778
14년 전 조회 1,865
14년 전 조회 2,763
14년 전 조회 2,596
14년 전 조회 1,728
14년 전 조회 1,857
14년 전 조회 1,624
14년 전 조회 9,505
14년 전 조회 1,971
14년 전 조회 2,790
14년 전 조회 2,442
14년 전 조회 1,858
14년 전 조회 1,623
14년 전 조회 4,849
14년 전 조회 1,656
14년 전 조회 1,830
14년 전 조회 2,873
14년 전 조회 2,388
14년 전 조회 2,406
14년 전 조회 2,103
14년 전 조회 2,081
14년 전 조회 1,801
14년 전 조회 2,271
14년 전 조회 1,976
14년 전 조회 2,830
14년 전 조회 2,177
14년 전 조회 3,857
14년 전 조회 1,699
14년 전 조회 3,364
14년 전 조회 3,720
14년 전 조회 5,394
14년 전 조회 2,083
14년 전 조회 2,285
14년 전 조회 2,496
14년 전 조회 2,277
14년 전 조회 2,323
14년 전 조회 3,982
14년 전 조회 2,399
14년 전 조회 2,113
14년 전 조회 2,262
14년 전 조회 2,245
14년 전 조회 1,964
14년 전 조회 2,818
14년 전 조회 3,051
14년 전 조회 2,503
14년 전 조회 2,078
14년 전 조회 1,976
14년 전 조회 1,844
14년 전 조회 2,712
14년 전 조회 3,746
14년 전 조회 2,447
14년 전 조회 2,733
14년 전 조회 2,246
14년 전 조회 2,266
14년 전 조회 2,465
14년 전 조회 2,029
14년 전 조회 1,962
14년 전 조회 2,001
14년 전 조회 2,327
14년 전 조회 2,363
14년 전 조회 2,152
14년 전 조회 1,898
14년 전 조회 2,161
14년 전 조회 2,141
14년 전 조회 2,059
14년 전 조회 2,195
14년 전 조회 2,076
14년 전 조회 2,369
14년 전 조회 2,143
14년 전 조회 2,268
14년 전 조회 2,784
14년 전 조회 1,735
14년 전 조회 3,944
14년 전 조회 1,639
14년 전 조회 1,940
14년 전 조회 1,688
14년 전 조회 2,100
14년 전 조회 2,024
14년 전 조회 2,292
14년 전 조회 1,791
14년 전 조회 2,812
14년 전 조회 2,531
14년 전 조회 2,087
14년 전 조회 7,813
14년 전 조회 1,690