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

· 14년 전 · 2205
불당썸 그걸로 리스트는 수정을 했는데 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,158
14년 전 조회 2,186
14년 전 조회 1,720
14년 전 조회 2,617
14년 전 조회 1,825
14년 전 조회 6,166
14년 전 조회 1,815
14년 전 조회 2,189
14년 전 조회 1,798
14년 전 조회 1,864
14년 전 조회 1,962
14년 전 조회 2,772
14년 전 조회 2,616
14년 전 조회 2,300
14년 전 조회 2,505
14년 전 조회 4,724
14년 전 조회 1,810
14년 전 조회 2,703
14년 전 조회 2,531
14년 전 조회 1,665
14년 전 조회 1,795
14년 전 조회 1,588
14년 전 조회 9,445
14년 전 조회 1,911
14년 전 조회 2,716
14년 전 조회 2,379
14년 전 조회 1,788
14년 전 조회 1,565
14년 전 조회 4,783
14년 전 조회 1,595
14년 전 조회 1,758
14년 전 조회 2,813
14년 전 조회 2,317
14년 전 조회 2,349
14년 전 조회 2,042
14년 전 조회 2,019
14년 전 조회 1,742
14년 전 조회 2,234
14년 전 조회 1,914
14년 전 조회 2,765
14년 전 조회 2,109
14년 전 조회 3,802
14년 전 조회 1,646
14년 전 조회 3,300
14년 전 조회 3,659
14년 전 조회 5,362
14년 전 조회 2,014
14년 전 조회 2,221
14년 전 조회 2,424
14년 전 조회 2,206
14년 전 조회 2,267
14년 전 조회 3,921
14년 전 조회 2,326
14년 전 조회 2,063
14년 전 조회 2,199
14년 전 조회 2,187
14년 전 조회 1,898
14년 전 조회 2,749
14년 전 조회 3,016
14년 전 조회 2,450
14년 전 조회 2,017
14년 전 조회 1,942
14년 전 조회 1,806
14년 전 조회 2,664
14년 전 조회 3,681
14년 전 조회 2,388
14년 전 조회 2,667
14년 전 조회 2,172
14년 전 조회 2,208
14년 전 조회 2,398
14년 전 조회 1,945
14년 전 조회 1,894
14년 전 조회 1,945
14년 전 조회 2,267
14년 전 조회 2,296
14년 전 조회 2,084
14년 전 조회 1,832
14년 전 조회 2,103
14년 전 조회 2,071
14년 전 조회 1,994
14년 전 조회 2,130
14년 전 조회 2,006
14년 전 조회 2,291
14년 전 조회 2,067
14년 전 조회 2,205
14년 전 조회 2,724
14년 전 조회 1,671
14년 전 조회 3,907
14년 전 조회 1,604
14년 전 조회 1,893
14년 전 조회 1,628
14년 전 조회 2,041
14년 전 조회 1,974
14년 전 조회 2,237
14년 전 조회 1,736
14년 전 조회 2,769
14년 전 조회 2,472
14년 전 조회 2,039
14년 전 조회 7,748
14년 전 조회 1,650