한

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

· 2012-02-29 (수) 11:15:28 · 3684
불당썸 그걸로 리스트는 수정을 했는데 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>
 
이렇게 되있습니다
 
어디를 수정해야 할까요 ㅠ
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,187건
+
제목 글쓴이 날짜 조회
12-02-11 조회 3,182
12-02-11 조회 3,064
12-02-11 조회 3,508
12-02-10 조회 1만
12-02-10 조회 3,660
12-02-10 조회 4,625
12-02-09 조회 4,000
12-02-09 조회 3,557
12-02-09 조회 6,495
12-02-09 조회 3,205
12-02-08 조회 3,650
12-02-08 조회 3,051
12-02-08 조회 3,114
12-02-08 조회 4,060
12-02-08 조회 4,770
12-02-08 조회 3,107
12-02-07 조회 3,434
12-02-07 조회 3,371
12-02-07 조회 3,379
12-02-07 조회 2,680
12-02-07 조회 3,428
12-02-07 조회 2,975
12-02-06 조회 3,151
12-02-06 조회 3,045
12-02-06 조회 3,607
12-02-06 조회 4,040
12-02-06 조회 3,392
12-02-06 조회 1.2만
12-02-06 조회 4,320
12-02-06 조회 5,769
12-02-05 조회 2,853
12-02-05 조회 3,630
12-02-05 조회 3,032
12-02-04 조회 2,953
12-02-04 조회 2,946
12-02-04 조회 6,776
12-02-03 조회 3,951
12-02-03 조회 4,340
12-02-03 조회 2,845
12-02-03 조회 3,385
12-02-03 조회 3,969
12-02-02 조회 3,010
12-02-02 조회 3,785
12-02-02 조회 3,817
12-02-02 조회 5,482
12-02-02 조회 3,437
12-02-02 조회 4,699
12-02-02 조회 3,548
12-02-01 조회 3,372
12-02-01 조회 3,619
12-02-01 조회 4,051
12-02-01 조회 3,336
12-02-01 조회 2,884
12-01-31 조회 3,310
12-01-31 조회 3,559
12-01-31 조회 2,958
12-01-30 조회 9,732
12-01-30 조회 8,897
12-01-30 조회 2,877
12-01-30 조회 3,289
12-01-30 조회 3,380
12-01-30 조회 2,888
12-01-30 조회 3,054
12-01-29 조회 3,380
12-01-29 조회 3,241
12-01-29 조회 4,707
12-01-29 조회 2,888
12-01-29 조회 3,597
12-01-29 조회 3,888
12-01-28 조회 3,508
12-01-28 조회 2,742
12-01-28 조회 3,555
12-01-27 조회 2,944
12-01-27 조회 2,861
12-01-27 조회 2,906
12-01-27 조회 3,354
12-01-26 조회 6,646
12-01-26 조회 3,708
12-01-26 조회 3,491
12-01-26 조회 3,022
12-01-26 조회 3,120
12-01-25 조회 3,197
12-01-25 조회 2,999
12-01-25 조회 2,865
12-01-25 조회 2,675
12-01-25 조회 2,544
12-01-25 조회 4,275
12-01-25 조회 4,142
12-01-25 조회 2,747
12-01-25 조회 4,104
12-01-25 조회 3,584
12-01-24 조회 3,300
12-01-24 조회 3,502
12-01-24 조회 3,719
12-01-24 조회 4,421
12-01-22 조회 3,515
12-01-22 조회 2,859
12-01-22 조회 3,272
12-01-22 조회 3,761
12-01-21 조회 3,116