한

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

· 2012-02-29 (수) 11:15:28 · 3706
불당썸 그걸로 리스트는 수정을 했는데 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-10 조회 2,992
12-05-10 조회 3,664
12-05-09 조회 4,105
12-05-09 조회 6,358
12-05-08 조회 3,341
12-05-08 조회 3,572
12-05-08 조회 3,192
12-05-08 조회 3,011
12-05-08 조회 3,036
12-05-08 조회 3,422
12-05-08 조회 4,601
12-05-07 조회 3,074
12-05-07 조회 4,279
12-05-07 조회 4,375
12-05-07 조회 4,615
12-05-07 조회 3,292
12-05-06 조회 3,578
12-05-06 조회 3,216
12-05-05 조회 3,282
12-05-05 조회 3,156
12-05-05 조회 3,059
12-05-04 조회 3,214
12-05-04 조회 3,238
12-05-04 조회 3,403
12-05-04 조회 4,114
12-05-03 조회 2,981
12-05-03 조회 3,240
12-05-03 조회 3,079
12-05-03 조회 2,849
12-05-03 조회 3,248
12-05-03 조회 5,255
12-05-03 조회 4,367
12-05-03 조회 3,902
12-05-03 조회 2,954
12-05-02 조회 3,506
12-05-02 조회 4,307
12-05-02 조회 3,422
12-05-02 조회 3,488
12-05-02 조회 3,265
12-05-02 조회 3,364
12-05-02 조회 4,557
12-05-02 조회 2,990
12-05-02 조회 3,250
12-05-01 조회 4,737
12-05-01 조회 3,360
12-04-30 조회 2,873
12-04-30 조회 3,496
12-04-30 조회 3,361
12-04-30 조회 3,338
12-04-30 조회 3,640
12-04-30 조회 4,429
12-04-30 조회 3,308
12-04-28 조회 3,808
12-04-27 조회 2,900
12-04-27 조회 2,948
12-04-27 조회 2,850
12-04-26 조회 2,816
12-04-26 조회 3,168
12-04-26 조회 3,109
12-04-26 조회 2,775
12-04-26 조회 3,078
12-04-26 조회 3,685
12-04-26 조회 2,960
12-04-26 조회 3,617
12-04-26 조회 2,677
12-04-26 조회 3,017
12-04-26 조회 2,752
12-04-26 조회 3,001
12-04-26 조회 2,762
12-04-26 조회 3,194
12-04-26 조회 3,243
12-04-26 조회 3,057
12-04-26 조회 4,925
12-04-26 조회 2,792
12-04-26 조회 3,051
12-04-26 조회 2,879
12-04-26 조회 3,534
12-04-26 조회 3,225
12-04-26 조회 3,916
12-04-26 조회 4,221
12-04-26 조회 3,474
12-04-25 조회 5,452
12-04-25 조회 3,732
12-04-25 조회 3,118
12-04-25 조회 4,513
12-04-25 조회 4,953
12-04-25 조회 2,632
12-04-25 조회 2,944
12-04-25 조회 2,778
12-04-25 조회 2,829
12-04-25 조회 2,802
12-04-25 조회 3,017
12-04-24 조회 4,134
12-04-24 조회 2,647
12-04-24 조회 2,552
12-04-24 조회 2,789
12-04-24 조회 2,725
12-04-24 조회 2,629
12-04-24 조회 3,008
12-04-24 조회 3,026