한

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

· 2012-02-29 (수) 11:15:28 · 3718
불당썸 그걸로 리스트는 수정을 했는데 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건
+
제목 글쓴이 날짜 조회
11-10-18 조회 2,672
11-10-18 조회 2,598
11-10-18 조회 2,512
11-10-17 조회 3,880
11-10-17 조회 5,156
11-10-17 조회 2,510
11-10-17 조회 2,782
11-10-17 조회 3,876
11-10-16 조회 2,537
11-10-16 조회 3,190
11-10-16 조회 3,640
11-10-15 조회 1.2만
11-10-15 조회 3,312
11-10-15 조회 3,048
11-10-15 조회 3,726
11-10-15 조회 3,720
11-10-15 조회 2,950
11-10-14 조회 2,972
11-10-13 조회 2,747
11-10-13 조회 4,517
11-10-12 조회 2,544
11-10-12 조회 2,713
11-10-12 조회 3,814
11-10-12 조회 4,111
11-10-12 조회 2,463
11-10-11 조회 2,978
11-10-11 조회 2,624
11-10-11 조회 2,800
11-10-11 조회 3,112
11-10-10 조회 2,783
11-10-10 조회 2,762
11-10-10 조회 2,467
11-10-10 조회 2,467
11-10-10 조회 2,740
11-10-10 조회 2,856
11-10-09 조회 2,670
11-10-08 조회 2,660
11-10-08 조회 4,586
11-10-08 조회 2,943
11-10-07 조회 3,166
11-10-07 조회 2,993
11-10-07 조회 3,491
11-10-06 조회 4,081
11-10-06 조회 2,639
11-10-06 조회 2,725
11-10-06 조회 3,934
11-10-06 조회 2,777
11-10-06 조회 4,323
11-10-06 조회 2,557
11-10-05 조회 2,855
11-10-05 조회 2,973
11-10-05 조회 4,066
11-10-04 조회 2,954
11-10-04 조회 5,403
11-10-04 조회 2,859
11-10-04 조회 2,407
11-10-03 조회 2,795
11-10-02 조회 2,679
11-10-02 조회 3,409
11-10-01 조회 2,437
11-10-01 조회 2,745
11-09-30 조회 2,635
11-09-30 조회 2,738
11-09-30 조회 2,917
11-09-30 조회 2,928
11-09-30 조회 3,695
11-09-30 조회 2,695
11-09-30 조회 3,122
11-09-29 조회 4,944
11-09-29 조회 2,771
11-09-29 조회 2,686
11-09-29 조회 3,080
11-09-28 조회 3,181
11-09-28 조회 3,951
11-09-28 조회 3,154
11-09-28 조회 2,530
11-09-28 조회 2,484
11-09-28 조회 2,352
11-09-28 조회 2,643
11-09-28 조회 4,147
11-09-26 조회 2,571
11-09-26 조회 2,633
11-09-26 조회 2,748
11-09-25 조회 3,095
11-09-24 조회 2,586
11-09-23 조회 2,854
11-09-23 조회 3,441
11-09-23 조회 2,570
11-09-23 조회 2,968
11-09-23 조회 2,312
11-09-22 조회 2,488
11-09-22 조회 2,899
11-09-21 조회 3,265
11-09-21 조회 3,297
11-09-20 조회 2,859
11-09-20 조회 2,691
11-09-20 조회 3,216
11-09-19 조회 2,733
11-09-19 조회 6,017
11-09-19 조회 3,820