한

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

· 2012-02-29 (수) 11:15:28 · 3712
불당썸 그걸로 리스트는 수정을 했는데 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-08-25 조회 3,710
11-08-25 조회 2,905
11-08-25 조회 2,603
11-08-24 조회 2,502
11-08-24 조회 3,133
11-08-24 조회 4,460
11-08-23 조회 2,522
11-08-23 조회 4,354
11-08-23 조회 3,507
11-08-23 조회 2,582
11-08-23 조회 2,817
11-08-23 조회 2,731
11-08-23 조회 2,866
11-08-23 조회 2,317
11-08-23 조회 2,463
11-08-23 조회 2,628
11-08-23 조회 3,036
11-08-23 조회 2,617
11-08-22 조회 3,060
11-08-22 조회 2,770
11-08-22 조회 2,918
11-08-22 조회 2,515
11-08-22 조회 2,780
11-08-21 조회 2,720
11-08-21 조회 2,652
11-08-20 조회 2,557
11-08-20 조회 2,913
11-08-20 조회 3,348
11-08-19 조회 2,758
11-08-19 조회 2,538
11-08-19 조회 5,069
11-08-19 조회 2,688
11-08-19 조회 2,540
11-08-19 조회 3,805
11-08-19 조회 3,249
11-08-18 조회 3,737
11-08-18 조회 2,265
11-08-18 조회 2,499
11-08-18 조회 2,327
11-08-18 조회 2,177
11-08-18 조회 2,298
11-08-18 조회 2,430
11-08-17 조회 3,229
11-08-17 조회 2,622
11-08-17 조회 2,761
11-08-17 조회 2,307
11-08-17 조회 2,724
11-08-17 조회 3,429
11-08-17 조회 2,848
11-08-16 조회 3,086
11-08-16 조회 2,586
11-08-16 조회 2,680
11-08-16 조회 2,541
11-08-16 조회 2,874
11-08-16 조회 2,668
11-08-16 조회 2,081
11-08-16 조회 2,243
11-08-16 조회 2,296
11-08-16 조회 2,661
11-08-16 조회 2,560
11-08-16 조회 2,562
11-08-15 조회 2,520
11-08-15 조회 3,041
11-08-13 조회 2,661
11-08-13 조회 2,702
11-08-13 조회 2,588
11-08-12 조회 2,395
11-08-12 조회 3,521
11-08-12 조회 3,300
11-08-12 조회 2,752
11-08-12 조회 2,547
11-08-11 조회 3,730
11-08-11 조회 3,020
11-08-11 조회 2,956
11-08-11 조회 2,485
11-08-10 조회 3,253
11-08-10 조회 5,468
11-08-10 조회 4,164
11-08-09 조회 2,748
11-08-09 조회 2,342
11-08-09 조회 2,421
11-08-09 조회 3,043
11-08-09 조회 2,696
11-08-09 조회 2,986
11-08-08 조회 3,079
11-08-08 조회 3,126
11-08-08 조회 2,218
11-08-08 조회 2,495
11-08-08 조회 4,416
11-08-08 조회 2,446
11-08-08 조회 2,973
11-08-08 조회 2,521
11-08-08 조회 2,324
11-08-08 조회 3,106
11-08-08 조회 2,352
11-08-07 조회 3,167
11-08-07 조회 2,716
11-08-06 조회 3,329
11-08-06 조회 3,346
11-08-06 조회 2,902