한

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

· 2012-02-29 (수) 11:15:28 · 3720
불당썸 그걸로 리스트는 수정을 했는데 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-03-13 조회 3,051
12-03-12 조회 5,644
12-03-12 조회 3,128
12-03-12 조회 3,777
12-03-12 조회 3,524
12-03-12 조회 3,086
12-03-12 조회 1만
12-03-12 조회 3,447
12-03-12 조회 4,085
12-03-12 조회 3,075
12-03-12 조회 3,442
12-03-12 조회 3,332
12-03-12 조회 4,282
12-03-12 조회 5,892
12-03-12 조회 3,861
12-03-12 조회 5,674
12-03-12 조회 3,888
12-03-12 조회 6,294
12-03-11 조회 3,785
12-03-11 조회 3,227
12-03-11 조회 4,160
12-03-11 조회 4,973
12-03-11 조회 3,873
12-03-11 조회 3,844
12-03-11 조회 5,506
12-03-10 조회 3,518
12-03-10 조회 3,104
12-03-10 조회 4,008
12-03-10 조회 3,137
12-03-09 조회 7,478
12-03-09 조회 3,229
12-03-09 조회 3,630
12-03-09 조회 3,217
12-03-09 조회 3,233
12-03-09 조회 3,430
12-03-09 조회 4,213
12-03-08 조회 3,906
12-03-08 조회 3,785
12-03-08 조회 4,071
12-03-08 조회 6,190
12-03-08 조회 3,097
12-03-08 조회 4,189
12-03-08 조회 4,083
12-03-07 조회 3,004
12-03-07 조회 3,160
12-03-07 조회 2,849
12-03-06 조회 1.1만
12-03-06 조회 3,301
12-03-06 조회 4,363
12-03-06 조회 3,907
12-03-06 조회 3,246
12-03-06 조회 2,986
12-03-06 조회 6,405
12-03-06 조회 3,076
12-03-05 조회 3,161
12-03-04 조회 4,393
12-03-03 조회 3,769
12-03-03 조회 3,894
12-03-03 조회 3,444
12-03-03 조회 3,425
12-03-02 조회 3,249
12-03-02 조회 3,531
12-03-02 조회 3,369
12-03-02 조회 4,324
12-03-02 조회 3,484
12-03-02 조회 5,209
12-03-02 조회 3,092
12-03-02 조회 4,740
12-03-01 조회 5,244
12-03-01 조회 6,592
12-03-01 조회 3,398
12-02-29 조회 3,615
12-02-29 조회 4,097
12-02-29 조회 3,721
12-02-29 조회 3,753
12-02-29 조회 5,535
12-02-28 조회 3,689
12-02-28 조회 3,515
12-02-28 조회 3,684
12-02-28 조회 3,665
12-02-28 조회 3,289
12-02-27 조회 4,534
12-02-27 조회 4,382
12-02-27 조회 4,136
12-02-27 조회 3,576
12-02-27 조회 3,391
12-02-27 조회 3,112
12-02-27 조회 4,284
12-02-27 조회 5,191
12-02-27 조회 3,939
12-02-26 조회 4,190
12-02-26 조회 3,626
12-02-26 조회 3,662
12-02-26 조회 3,811
12-02-26 조회 3,517
12-02-26 조회 3,431
12-02-26 조회 3,375
12-02-26 조회 3,728
12-02-26 조회 3,844
12-02-26 조회 3,471