한

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

· 2012-02-29 (수) 11:15:28 · 3478
불당썸 그걸로 리스트는 수정을 했는데 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,188건
+
제목 글쓴이 날짜 조회
12-03-13 조회 2,867
12-03-12 조회 5,427
12-03-12 조회 2,895
12-03-12 조회 3,509
12-03-12 조회 3,301
12-03-12 조회 2,885
12-03-12 조회 1만
12-03-12 조회 3,252
12-03-12 조회 3,909
12-03-12 조회 2,910
12-03-12 조회 3,237
12-03-12 조회 3,151
12-03-12 조회 4,102
12-03-12 조회 5,670
12-03-12 조회 3,693
12-03-12 조회 5,501
12-03-12 조회 3,713
12-03-12 조회 6,100
12-03-11 조회 3,639
12-03-11 조회 3,072
12-03-11 조회 4,000
12-03-11 조회 4,817
12-03-11 조회 3,710
12-03-11 조회 3,676
12-03-11 조회 5,329
12-03-10 조회 3,342
12-03-10 조회 2,949
12-03-10 조회 3,825
12-03-10 조회 2,956
12-03-09 조회 7,282
12-03-09 조회 3,020
12-03-09 조회 3,410
12-03-09 조회 3,027
12-03-09 조회 3,042
12-03-09 조회 3,163
12-03-09 조회 3,923
12-03-08 조회 3,703
12-03-08 조회 3,583
12-03-08 조회 3,816
12-03-08 조회 5,950
12-03-08 조회 2,906
12-03-08 조회 3,868
12-03-08 조회 3,776
12-03-07 조회 2,793
12-03-07 조회 2,960
12-03-07 조회 2,642
12-03-06 조회 1.1만
12-03-06 조회 3,074
12-03-06 조회 4,142
12-03-06 조회 3,688
12-03-06 조회 3,026
12-03-06 조회 2,789
12-03-06 조회 6,225
12-03-06 조회 2,876
12-03-05 조회 2,944
12-03-04 조회 4,155
12-03-03 조회 3,525
12-03-03 조회 3,659
12-03-03 조회 3,211
12-03-03 조회 3,189
12-03-02 조회 3,012
12-03-02 조회 3,302
12-03-02 조회 3,123
12-03-02 조회 4,068
12-03-02 조회 3,256
12-03-02 조회 4,994
12-03-02 조회 2,868
12-03-02 조회 4,550
12-03-01 조회 5,041
12-03-01 조회 6,389
12-03-01 조회 3,201
12-02-29 조회 3,414
12-02-29 조회 3,884
12-02-29 조회 3,479
12-02-29 조회 3,557
12-02-29 조회 5,346
12-02-28 조회 3,503
12-02-28 조회 3,325
12-02-28 조회 3,496
12-02-28 조회 3,436
12-02-28 조회 3,064
12-02-27 조회 4,277
12-02-27 조회 4,146
12-02-27 조회 3,856
12-02-27 조회 3,292
12-02-27 조회 3,124
12-02-27 조회 2,837
12-02-27 조회 3,959
12-02-27 조회 4,937
12-02-27 조회 3,673
12-02-26 조회 3,953
12-02-26 조회 3,414
12-02-26 조회 3,468
12-02-26 조회 3,618
12-02-26 조회 3,253
12-02-26 조회 3,181
12-02-26 조회 3,213
12-02-26 조회 3,568
12-02-26 조회 3,577
12-02-26 조회 3,344