한

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

· 2012-02-29 (수) 11:15:28 · 3666
불당썸 그걸로 리스트는 수정을 했는데 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-10-25 조회 2,529
11-10-18 조회 4,077
11-10-18 조회 2,461
11-10-15 조회 3,666
11-10-10 조회 2,738
11-10-02 조회 2,631
11-09-28 조회 2,441
11-09-24 조회 2,533
11-09-22 조회 2,437
11-09-05 조회 2,908
11-08-31 조회 2,316
11-08-31 조회 2,623
11-08-31 조회 2,468
11-08-29 조회 3,009
11-08-28 조회 2,501
11-08-25 조회 2,562
11-08-17 조회 2,269
11-08-16 조회 2,510
11-08-11 조회 2,980
11-08-07 조회 2,679
11-08-03 조회 2,390
11-07-22 조회 2,136
11-07-12 조회 3,344
11-06-27 조회 2,116
11-06-01 조회 1,783
11-05-17 조회 2,590
11-05-01 조회 2,640
11-04-28 조회 2,937
11-04-28 조회 2,989
11-04-13 조회 2,650
11-03-27 조회 2,768
11-03-27 조회 2,653
11-03-14 조회 2,056
11-03-02 조회 2,387
11-03-02 조회 2,607
11-02-27 조회 3,035
11-02-23 조회 2,415
11-02-19 조회 2,552
11-02-14 조회 4,167
11-02-03 조회 2,951
11-01-24 조회 3,904
11-01-04 조회 2,437
10-12-08 조회 5,457
10-11-15 조회 2,464
10-11-14 조회 2,655
10-11-14 조회 3,665
10-10-29 조회 3,726
10-10-19 조회 2,747
10-10-07 조회 2,573
10-10-05 조회 4,495
10-09-18 조회 2,786
10-09-18 조회 2,530
10-09-17 조회 4,940
10-09-15 조회 2,869
10-09-15 조회 2,407
10-09-15 조회 2,893
10-09-15 조회 2,724
10-09-11 조회 4,056
10-09-11 조회 2,553
10-09-11 조회 2,606
10-09-07 조회 3,876
10-09-07 조회 3,415
10-08-29 조회 2,864
10-07-01 조회 3,119
10-06-30 조회 2,518
10-06-30 조회 2,708
10-06-30 조회 3,047
10-06-13 조회 2,096
10-04-15 조회 3,265
10-04-04 조회 3,498
10-02-23 조회 3,607
10-02-09 조회 3,183
10-01-25 조회 2,698
10-01-25 조회 2,798
09-12-27 조회 4,448
09-11-23 조회 3,666
09-11-20 조회 4,906
09-08-30 조회 3,094
09-08-30 조회 3,101
09-08-12 조회 3,072
09-07-22 조회 4,129
09-07-22 조회 4,775
09-07-15 조회 5,925
09-07-11 조회 3,009
09-06-17 조회 2,747
09-06-15 조회 3,034
09-05-29 조회 3,336
09-05-11 조회 5,960
09-05-08 조회 2,714
09-04-30 조회 3,831
09-04-17 조회 3,153
09-04-04 조회 3,343
09-03-05 조회 3,717
09-02-09 조회 3,691
09-02-03 조회 6,187
08-12-27 조회 3,250
08-12-20 조회 4,327
08-11-21 조회 5,286
08-11-14 조회 2,865
08-11-03 조회 3,331