한

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

· 2012-02-29 (수) 11:15:28 · 3717
불당썸 그걸로 리스트는 수정을 했는데 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-01-08 조회 3,083
12-01-07 조회 3,687
12-01-07 조회 3,146
12-01-07 조회 3,056
12-01-07 조회 3,020
12-01-07 조회 5,274
12-01-06 조회 2,810
12-01-06 조회 3,525
12-01-06 조회 3,012
12-01-06 조회 2,959
12-01-06 조회 2,983
12-01-06 조회 5,680
12-01-06 조회 3,733
12-01-06 조회 2,920
12-01-06 조회 3,040
12-01-05 조회 3,099
12-01-05 조회 3,114
12-01-05 조회 2,832
12-01-05 조회 2,925
12-01-05 조회 3,575
12-01-05 조회 5,422
12-01-04 조회 3,872
12-01-04 조회 2,863
12-01-04 조회 2,807
12-01-04 조회 3,018
12-01-04 조회 2,864
12-01-04 조회 2,948
12-01-04 조회 3,102
12-01-04 조회 2,854
12-01-04 조회 5,263
12-01-04 조회 5,137
12-01-04 조회 2,996
12-01-04 조회 3,459
12-01-04 조회 3,132
12-01-04 조회 2,950
12-01-04 조회 5,452
12-01-04 조회 4,615
12-01-04 조회 4,102
12-01-04 조회 3,975
12-01-04 조회 2,796
12-01-03 조회 3,692
12-01-03 조회 2,668
12-01-03 조회 2,691
12-01-03 조회 2,686
12-01-02 조회 3,194
12-01-02 조회 3,247
12-01-02 조회 4,088
12-01-02 조회 3,058
12-01-02 조회 3,270
12-01-02 조회 3,542
12-01-02 조회 3,535
12-01-01 조회 2,742
12-01-01 조회 4,215
12-01-01 조회 3,184
12-01-01 조회 3,567
11-12-31 조회 3,500
11-12-31 조회 3,828
11-12-31 조회 3,934
11-12-31 조회 3,167
11-12-31 조회 3,323
11-12-31 조회 3,756
11-12-30 조회 4,011
11-12-30 조회 3,295
11-12-30 조회 3,346
11-12-30 조회 3,990
11-12-30 조회 5,180
11-12-30 조회 4,279
11-12-30 조회 4,450
11-12-30 조회 3,908
11-12-30 조회 3,639
11-12-30 조회 3,652
11-12-30 조회 3,511
11-12-30 조회 2,698
11-12-30 조회 3,864
11-12-30 조회 7,147
11-12-29 조회 3,717
11-12-29 조회 3,387
11-12-29 조회 3,053
11-12-29 조회 3,272
11-12-29 조회 3,135
11-12-28 조회 2,746
11-12-28 조회 2,896
11-12-28 조회 3,036
11-12-28 조회 2,954
11-12-28 조회 3,827
11-12-27 조회 3,175
11-12-27 조회 2,944
11-12-27 조회 2,852
11-12-27 조회 2,962
11-12-26 조회 3,282
11-12-26 조회 3,179
11-12-26 조회 3,768
11-12-26 조회 3,390
11-12-26 조회 5,947
11-12-25 조회 3,124
11-12-23 조회 3,663
11-12-23 조회 3,616
11-12-23 조회 5,188
11-12-23 조회 4,844
11-12-23 조회 2,934