한

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

· 2012-02-29 (수) 11:15:28 · 3708
불당썸 그걸로 리스트는 수정을 했는데 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-06 조회 2,983
11-08-06 조회 2,655
11-08-06 조회 3,363
11-08-05 조회 3,040
11-08-05 조회 2,893
11-08-05 조회 3,238
11-08-05 조회 3,175
11-08-05 조회 2,643
11-08-05 조회 2,559
11-08-05 조회 2,345
11-08-05 조회 2,554
11-08-05 조회 3,394
11-08-05 조회 4,024
11-08-04 조회 4,067
11-08-04 조회 3,602
11-08-04 조회 3,082
11-08-04 조회 3,090
11-08-04 조회 2,953
11-08-04 조회 3,211
11-08-04 조회 2,193
11-08-04 조회 3,091
11-08-04 조회 2,229
11-08-04 조회 2,736
11-08-04 조회 2,513
11-08-04 조회 3,708
11-08-03 조회 2,420
11-08-03 조회 4,218
11-08-03 조회 2,756
11-08-03 조회 2,552
11-08-03 조회 4,616
11-08-03 조회 2,271
11-08-03 조회 2,630
11-08-03 조회 2,088
11-08-02 조회 2,595
11-08-02 조회 2,172
11-08-02 조회 2,926
11-08-02 조회 2,270
11-08-02 조회 2,773
11-08-02 조회 2,321
11-08-02 조회 2,230
11-08-01 조회 2,150
11-08-01 조회 3,054
11-08-01 조회 2,365
11-08-01 조회 2,212
11-08-01 조회 2,240
11-07-30 조회 2,972
11-07-30 조회 2,946
11-07-29 조회 2,136
11-07-29 조회 4,078
11-07-28 조회 2,014
11-07-28 조회 2,244
11-07-28 조회 4,841
11-07-27 조회 2,285
11-07-27 조회 2,718
11-07-27 조회 3,014
11-07-26 조회 2,150
11-07-26 조회 2,270
11-07-26 조회 2,335
11-07-26 조회 2,683
11-07-26 조회 2,260
11-07-26 조회 2,570
11-07-26 조회 4,516
11-07-26 조회 2,911
11-07-26 조회 2,325
11-07-26 조회 3,133
11-07-25 조회 2,424
11-07-25 조회 2,009
11-07-25 조회 3,909
11-07-25 조회 2,311
11-07-25 조회 2,432
11-07-23 조회 2,658
11-07-23 조회 2,601
11-07-23 조회 2,753
11-07-22 조회 2,163
11-07-22 조회 4,092
11-07-22 조회 2,427
11-07-21 조회 3,074
11-07-21 조회 2,614
11-07-21 조회 2,711
11-07-21 조회 2,376
11-07-20 조회 2,609
11-07-20 조회 2,177
11-07-20 조회 2,234
11-07-20 조회 2,986
11-07-20 조회 2,808
11-07-20 조회 2,597
11-07-20 조회 2,651
11-07-20 조회 3,552
11-07-20 조회 3,234
11-07-19 조회 2,169
11-07-19 조회 2,996
11-07-19 조회 2,868
11-07-19 조회 2,879
11-07-18 조회 2,407
11-07-18 조회 2,393
11-07-18 조회 2,358
11-07-18 조회 2,354
11-07-18 조회 3,034
11-07-18 조회 2,405
11-07-17 조회 2,650