한

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

· 2012-02-29 (수) 11:15:28 · 3709
불당썸 그걸로 리스트는 수정을 했는데 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-12-23 조회 4,137
11-12-23 조회 3,068
11-12-23 조회 4,896
11-12-23 조회 4,478
11-12-23 조회 2,823
11-12-23 조회 8,160
11-12-22 조회 3,146
11-12-22 조회 3,884
11-12-22 조회 3,634
11-12-22 조회 3,544
11-12-22 조회 3,739
11-12-21 조회 3,592
11-12-21 조회 3,373
11-12-21 조회 3,671
11-12-21 조회 4,057
11-12-21 조회 3,083
11-12-21 조회 3,576
11-12-21 조회 4,504
11-12-21 조회 4,325
11-12-21 조회 3,354
11-12-20 조회 3,823
11-12-19 조회 6,321
11-12-19 조회 2,992
11-12-19 조회 5,070
11-12-17 조회 3,933
11-12-17 조회 4,302
11-12-17 조회 3,588
11-12-16 조회 3,199
11-12-16 조회 3,369
11-12-15 조회 3,423
11-12-15 조회 3,536
11-12-15 조회 4,342
11-12-15 조회 5,640
11-12-15 조회 4,618
11-12-15 조회 3,290
11-12-15 조회 4,068
11-12-15 조회 4,235
11-12-14 조회 2,991
11-12-14 조회 4,415
11-12-14 조회 5,660
11-12-13 조회 4,234
11-12-13 조회 5,126
11-12-13 조회 6,139
11-12-13 조회 6,431
11-12-13 조회 4,830
11-12-12 조회 3,344
11-12-12 조회 3,645
11-12-12 조회 6,320
11-12-12 조회 4,713
11-12-12 조회 3,863
11-12-12 조회 6,213
11-12-11 조회 4,742
11-12-10 조회 2,851
11-12-10 조회 4,792
11-12-09 조회 2,889
11-12-09 조회 3,306
11-12-09 조회 4,225
11-12-09 조회 3,833
11-12-09 조회 4,050
11-12-09 조회 3,594
11-12-09 조회 4,543
11-12-09 조회 3,234
11-12-09 조회 3,380
11-12-09 조회 3,054
11-12-09 조회 3,869
11-12-08 조회 3,638
11-12-08 조회 3,592
11-12-08 조회 7,902
11-12-08 조회 4,220
11-12-08 조회 3,704
11-12-08 조회 2,940
11-12-08 조회 1.2만
11-12-08 조회 4,024
11-12-07 조회 2,895
11-12-07 조회 2,928
11-12-07 조회 3,976
11-12-07 조회 4,585
11-12-07 조회 4,043
11-12-07 조회 3,139
11-12-07 조회 4,462
11-12-06 조회 4,369
11-12-06 조회 5,715
11-12-06 조회 3,770
11-12-06 조회 3,691
11-12-05 조회 3,114
11-12-05 조회 3,405
11-12-05 조회 4,635
11-12-05 조회 3,389
11-12-05 조회 5,002
11-12-05 조회 2,956
11-12-05 조회 6,023
11-12-05 조회 3,149
11-12-05 조회 4,477
11-12-04 조회 5,798
11-12-04 조회 3,038
11-12-04 조회 3,405
11-12-03 조회 3,706
11-12-03 조회 3,073
11-12-03 조회 3,675
11-12-03 조회 3,573