한

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

· 2012-02-29 (수) 11:15:28 · 3711
불당썸 그걸로 리스트는 수정을 했는데 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-09-19 조회 2,622
11-09-19 조회 2,543
11-09-19 조회 5,578
11-09-19 조회 6,205
11-09-16 조회 2,915
11-09-16 조회 3,177
11-09-16 조회 6,367
11-09-15 조회 3,140
11-09-15 조회 2,900
11-09-15 조회 2,580
11-09-15 조회 2,574
11-09-15 조회 2,776
11-09-15 조회 2,736
11-09-15 조회 2,845
11-09-14 조회 2,758
11-09-14 조회 3,320
11-09-14 조회 2,428
11-09-14 조회 2,352
11-09-14 조회 2,333
11-09-13 조회 2,518
11-09-10 조회 2,990
11-09-10 조회 2,610
11-09-09 조회 3,212
11-09-09 조회 3,070
11-09-09 조회 3,162
11-09-09 조회 3,195
11-09-08 조회 3,879
11-09-08 조회 5,074
11-09-08 조회 3,470
11-09-08 조회 4,405
11-09-08 조회 3,902
11-09-08 조회 3,698
11-09-08 조회 2,796
11-09-08 조회 2,370
11-09-08 조회 2,771
11-09-08 조회 2,901
11-09-07 조회 3,559
11-09-07 조회 3,614
11-09-07 조회 3,036
11-09-07 조회 2,741
11-09-07 조회 2,834
11-09-07 조회 2,856
11-09-07 조회 3,091
11-09-07 조회 2,359
11-09-07 조회 2,459
11-09-07 조회 2,627
11-09-07 조회 3,558
11-09-07 조회 2,832
11-09-06 조회 2,659
11-09-06 조회 2,939
11-09-06 조회 2,509
11-09-05 조회 2,726
11-09-05 조회 2,666
11-09-05 조회 2,948
11-09-05 조회 2,460
11-09-04 조회 2,432
11-09-04 조회 2,399
11-09-03 조회 2,569
11-09-03 조회 2,731
11-09-02 조회 3,447
11-09-02 조회 2,828
11-09-02 조회 2,691
11-09-02 조회 3,601
11-09-02 조회 2,635
11-09-02 조회 2,518
11-09-02 조회 2,519
11-09-01 조회 2,721
11-09-01 조회 2,869
11-09-01 조회 2,742
11-09-01 조회 2,760
11-09-01 조회 2,905
11-09-01 조회 2,764
11-09-01 조회 4,201
11-09-01 조회 3,795
11-09-01 조회 4,462
11-08-31 조회 2,346
11-08-31 조회 2,650
11-08-31 조회 2,950
11-08-31 조회 2,665
11-08-31 조회 2,528
11-08-31 조회 3,327
11-08-30 조회 3,069
11-08-30 조회 4,297
11-08-29 조회 3,069
11-08-29 조회 2,652
11-08-29 조회 5,275
11-08-29 조회 3,399
11-08-29 조회 2,791
11-08-29 조회 3,135
11-08-28 조회 2,536
11-08-28 조회 3,683
11-08-28 조회 2,644
11-08-28 조회 3,005
11-08-26 조회 2,543
11-08-26 조회 3,046
11-08-26 조회 3,278
11-08-26 조회 2,782
11-08-25 조회 2,632
11-08-25 조회 2,941
11-08-25 조회 2,657