한

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

· 2012-02-29 (수) 11:15:28 · 3682
불당썸 그걸로 리스트는 수정을 했는데 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-02-26 조회 3,171
12-02-26 조회 3,488
12-02-26 조회 3,331
12-02-26 조회 3,414
12-02-26 조회 3,453
12-02-26 조회 3,307
12-02-26 조회 3,626
12-02-26 조회 3,457
12-02-26 조회 3,546
12-02-26 조회 4,031
12-02-26 조회 2,977
12-02-26 조회 5,167
12-02-25 조회 2,733
12-02-25 조회 3,207
12-02-24 조회 2,919
12-02-24 조회 3,298
12-02-24 조회 3,276
12-02-24 조회 3,590
12-02-24 조회 3,120
12-02-24 조회 3,919
12-02-24 조회 3,891
12-02-24 조회 3,497
12-02-24 조회 9,353
12-02-23 조회 2,865
12-02-23 조회 3,313
12-02-23 조회 3,213
12-02-23 조회 3,151
12-02-23 조회 3,799
12-02-23 조회 2,882
12-02-23 조회 3,360
12-02-23 조회 3,038
12-02-23 조회 2,800
12-02-22 조회 3,690
12-02-22 조회 5,456
12-02-22 조회 3,012
12-02-22 조회 4,410
12-02-22 조회 3,282
12-02-22 조회 3,109
12-02-22 조회 4,015
12-02-22 조회 3,910
12-02-22 조회 2,838
12-02-22 조회 3,877
12-02-22 조회 4,332
12-02-22 조회 3,758
12-02-22 조회 2,942
12-02-22 조회 4,589
12-02-21 조회 3,150
12-02-21 조회 2,925
12-02-21 조회 2,834
12-02-21 조회 3,746
12-02-21 조회 3,982
12-02-21 조회 3,409
12-02-21 조회 2,921
12-02-20 조회 3,160
12-02-20 조회 3,797
12-02-20 조회 3,744
12-02-20 조회 3,021
12-02-20 조회 5,810
12-02-20 조회 3,604
12-02-20 조회 6,822
12-02-20 조회 3,217
12-02-20 조회 4,190
12-02-19 조회 3,377
12-02-18 조회 3,111
12-02-18 조회 3,853
12-02-17 조회 2,988
12-02-17 조회 4,179
12-02-17 조회 3,062
12-02-17 조회 3,613
12-02-17 조회 3,392
12-02-17 조회 6,262
12-02-17 조회 4,452
12-02-17 조회 3,079
12-02-17 조회 3,104
12-02-17 조회 3,470
12-02-16 조회 3,300
12-02-16 조회 3,370
12-02-16 조회 4,728
12-02-16 조회 2,975
12-02-16 조회 5,362
12-02-16 조회 5,111
12-02-15 조회 3,661
12-02-15 조회 3,274
12-02-15 조회 4,818
12-02-15 조회 3,309
12-02-15 조회 3,709
12-02-15 조회 2,778
12-02-15 조회 4,048
12-02-14 조회 3,566
12-02-14 조회 3,676
12-02-14 조회 4,085
12-02-14 조회 3,121
12-02-14 조회 6,204
12-02-14 조회 3,151
12-02-14 조회 4,177
12-02-13 조회 3,459
12-02-13 조회 3,082
12-02-13 조회 7,223
12-02-12 조회 2,898
12-02-12 조회 5,274