한

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

· 2012-02-29 (수) 11:15:28 · 3710
불당썸 그걸로 리스트는 수정을 했는데 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-05-26 조회 4,144
12-05-26 조회 3,471
12-05-26 조회 5,057
12-05-26 조회 4,005
12-05-26 조회 3,530
12-05-25 조회 3,693
12-05-25 조회 3,301
12-05-25 조회 3,205
12-05-25 조회 3,291
12-05-25 조회 3,415
12-05-25 조회 3,250
12-05-25 조회 3,325
12-05-25 조회 3,250
12-05-25 조회 4,069
12-05-25 조회 3,424
12-05-24 조회 3,038
12-05-24 조회 3,010
12-05-24 조회 3,393
12-05-24 조회 3,354
12-05-24 조회 4,708
12-05-24 조회 4,064
12-05-23 조회 3,366
12-05-23 조회 4,142
12-05-23 조회 3,344
12-05-23 조회 4,482
12-05-23 조회 3,647
12-05-22 조회 6,712
12-05-22 조회 3,956
12-05-22 조회 3,477
12-05-22 조회 3,252
12-05-21 조회 3,017
12-05-21 조회 4,010
12-05-21 조회 3,666
12-05-21 조회 5,216
12-05-20 조회 3,107
12-05-19 조회 3,495
12-05-19 조회 3,035
12-05-18 조회 3,097
12-05-18 조회 3,108
12-05-18 조회 3,664
12-05-18 조회 3,275
12-05-18 조회 3,499
12-05-18 조회 5,078
12-05-17 조회 4,120
12-05-17 조회 4,117
12-05-17 조회 4,033
12-05-17 조회 4,817
12-05-16 조회 3,307
12-05-16 조회 3,284
12-05-16 조회 4,546
12-05-16 조회 3,084
12-05-16 조회 3,078
12-05-16 조회 3,466
12-05-16 조회 3,232
12-05-16 조회 3,108
12-05-16 조회 3,206
12-05-16 조회 3,407
12-05-15 조회 3,592
12-05-15 조회 3,230
12-05-15 조회 4,194
12-05-15 조회 3,262
12-05-15 조회 2,943
12-05-15 조회 3,185
12-05-15 조회 3,624
12-05-15 조회 3,356
12-05-15 조회 2,742
12-05-15 조회 3,309
12-05-15 조회 3,751
12-05-14 조회 2,765
12-05-14 조회 2,936
12-05-14 조회 2,905
12-05-14 조회 3,216
12-05-14 조회 3,033
12-05-14 조회 3,199
12-05-13 조회 3,487
12-05-12 조회 3,655
12-05-11 조회 2,946
12-05-11 조회 3,315
12-05-11 조회 7,157
12-05-11 조회 3,346
12-05-11 조회 2,868
12-05-11 조회 2,783
12-05-11 조회 2,867
12-05-11 조회 3,441
12-05-11 조회 2,621
12-05-10 조회 4,008
12-05-10 조회 4,016
12-05-10 조회 2,863
12-05-10 조회 2,787
12-05-10 조회 2,932
12-05-10 조회 4,532
12-05-10 조회 2,574
12-05-10 조회 2,665
12-05-10 조회 2,530
12-05-10 조회 2,804
12-05-10 조회 3,255
12-05-10 조회 3,542
12-05-10 조회 2,787
12-05-10 조회 2,898
12-05-10 조회 3,402