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

· 14년 전 · 2007
불당썸 그걸로 리스트는 수정을 했는데 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,929
13년 전 조회 1,932
13년 전 조회 1,477
13년 전 조회 2,389
13년 전 조회 1,603
13년 전 조회 5,932
13년 전 조회 1,588
13년 전 조회 1,982
13년 전 조회 1,539
13년 전 조회 1,598
13년 전 조회 1,756
13년 전 조회 2,545
14년 전 조회 2,404
14년 전 조회 2,075
14년 전 조회 2,284
14년 전 조회 4,469
14년 전 조회 1,570
14년 전 조회 2,484
14년 전 조회 2,274
14년 전 조회 1,449
14년 전 조회 1,581
14년 전 조회 1,408
14년 전 조회 9,218
14년 전 조회 1,690
14년 전 조회 2,491
14년 전 조회 2,170
14년 전 조회 1,554
14년 전 조회 1,321
14년 전 조회 4,546
14년 전 조회 1,352
14년 전 조회 1,512
14년 전 조회 2,580
14년 전 조회 2,060
14년 전 조회 2,125
14년 전 조회 1,816
14년 전 조회 1,808
14년 전 조회 1,542
14년 전 조회 2,017
14년 전 조회 1,692
14년 전 조회 2,541
14년 전 조회 1,873
14년 전 조회 3,554
14년 전 조회 1,403
14년 전 조회 3,078
14년 전 조회 3,450
14년 전 조회 5,143
14년 전 조회 1,761
14년 전 조회 1,985
14년 전 조회 2,208
14년 전 조회 2,008
14년 전 조회 2,051
14년 전 조회 3,680
14년 전 조회 2,101
14년 전 조회 1,847
14년 전 조회 1,973
14년 전 조회 1,974
14년 전 조회 1,699
14년 전 조회 2,557
14년 전 조회 2,825
14년 전 조회 2,228
14년 전 조회 1,798
14년 전 조회 1,750
14년 전 조회 1,618
14년 전 조회 2,423
14년 전 조회 3,430
14년 전 조회 2,174
14년 전 조회 2,441
14년 전 조회 1,937
14년 전 조회 1,990
14년 전 조회 2,174
14년 전 조회 1,734
14년 전 조회 1,674
14년 전 조회 1,711
14년 전 조회 2,046
14년 전 조회 2,081
14년 전 조회 1,844
14년 전 조회 1,605
14년 전 조회 1,869
14년 전 조회 1,831
14년 전 조회 1,766
14년 전 조회 1,900
14년 전 조회 1,777
14년 전 조회 2,094
14년 전 조회 1,847
14년 전 조회 1,989
14년 전 조회 2,503
14년 전 조회 1,452
14년 전 조회 3,719
14년 전 조회 1,409
14년 전 조회 1,684
14년 전 조회 1,421
14년 전 조회 1,836
14년 전 조회 1,746
14년 전 조회 2,045
14년 전 조회 1,514
14년 전 조회 2,571
14년 전 조회 2,274
14년 전 조회 1,833
14년 전 조회 7,517
14년 전 조회 1,428