한

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

· 2012-02-29 (수) 11:15:28 · 3699
불당썸 그걸로 리스트는 수정을 했는데 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-06-21 조회 4,018
12-06-21 조회 3,558
12-06-20 조회 3,731
12-06-20 조회 4,293
12-06-20 조회 3,382
12-06-20 조회 4,722
12-06-20 조회 3,364
12-06-20 조회 3,324
12-06-20 조회 4,137
12-06-20 조회 4,357
12-06-18 조회 4,893
12-06-18 조회 3,545
12-06-18 조회 3,670
12-06-18 조회 3,461
12-06-18 조회 4,213
12-06-18 조회 4,880
12-06-17 조회 4,078
12-06-17 조회 3,991
12-06-17 조회 3,629
12-06-16 조회 3,418
12-06-15 조회 3,242
12-06-15 조회 3,942
12-06-15 조회 4,696
12-06-15 조회 4,426
12-06-14 조회 4,070
12-06-14 조회 4,086
12-06-14 조회 3,169
12-06-14 조회 3,582
12-06-14 조회 4,885
12-06-14 조회 3,370
12-06-14 조회 3,228
12-06-13 조회 7,451
12-06-13 조회 3,705
12-06-12 조회 5,674
12-06-11 조회 3,546
12-06-11 조회 3,571
12-06-11 조회 3,564
12-06-11 조회 3,467
12-06-11 조회 4,030
12-06-11 조회 3,339
12-06-08 조회 3,411
12-06-08 조회 4,904
12-06-08 조회 3,213
12-06-08 조회 4,982
12-06-08 조회 3,996
12-06-08 조회 3,536
12-06-08 조회 3,492
12-06-08 조회 4,503
12-06-08 조회 3,122
12-06-08 조회 3,808
12-06-07 조회 4,090
12-06-07 조회 3,984
12-06-06 조회 3,396
12-06-06 조회 3,464
12-06-06 조회 3,777
12-06-06 조회 6,454
12-06-06 조회 6,027
12-06-06 조회 6,770
12-06-05 조회 5,884
12-06-05 조회 3,294
12-06-05 조회 3,378
12-06-05 조회 3,394
12-06-05 조회 1.2만
12-06-05 조회 5,039
12-06-05 조회 5,559
12-06-05 조회 5,320
12-06-05 조회 5,671
12-06-05 조회 3,622
12-06-05 조회 3,550
12-06-05 조회 7,420
12-06-04 조회 3,389
12-06-04 조회 4,240
12-06-04 조회 3,963
12-06-04 조회 4,022
12-06-03 조회 3,863
12-06-02 조회 3,258
12-06-02 조회 3,985
12-06-01 조회 3,410
12-06-01 조회 4,145
12-06-01 조회 3,721
12-06-01 조회 3,359
12-06-01 조회 4,873
12-06-01 조회 3,726
12-06-01 조회 3,346
12-05-31 조회 5,027
12-05-31 조회 3,826
12-05-31 조회 3,761
12-05-31 조회 3,761
12-05-31 조회 3,561
12-05-30 조회 3,215
12-05-30 조회 3,269
12-05-30 조회 4,079
12-05-30 조회 3,329
12-05-29 조회 4,532
12-05-29 조회 3,857
12-05-28 조회 3,241
12-05-28 조회 6,687
12-05-28 조회 3,331
12-05-27 조회 4,657
12-05-27 조회 3,905