한

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

· 2012-02-29 (수) 11:15:28 · 3629
불당썸 그걸로 리스트는 수정을 했는데 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-04-10 조회 3,997
12-04-06 조회 5,420
12-04-06 조회 3,193
12-04-04 조회 4,292
12-04-02 조회 3,580
12-03-30 조회 3,535
12-03-29 조회 6,083
12-03-28 조회 3,408
12-03-28 조회 4,339
12-03-27 조회 4,623
12-03-23 조회 3,811
12-03-21 조회 3,536
12-03-20 조회 3,339
12-03-18 조회 3,199
12-03-15 조회 3,368
12-03-12 조회 3,437
12-03-12 조회 3,362
12-03-08 조회 3,695
12-03-03 조회 3,784
12-03-03 조회 3,330
12-02-29 조회 3,630
12-02-28 조회 3,605
12-02-28 조회 3,425
12-02-28 조회 3,553
12-02-27 조회 3,997
12-02-27 조회 3,444
12-02-24 조회 3,534
12-02-24 조회 3,442
12-02-23 조회 3,741
12-02-20 조회 3,750
12-02-20 조회 4,135
12-02-17 조회 4,104
12-02-16 조회 3,299
12-02-15 조회 3,587
12-02-15 조회 3,637
12-02-14 조회 3,605
12-02-08 조회 3,579
12-02-06 조회 3,538
12-02-06 조회 3,962
12-01-25 조회 4,188
12-01-21 조회 4,099
12-01-20 조회 6,210
12-01-15 조회 3,679
12-01-15 조회 3,636
12-01-14 조회 3,530
12-01-14 조회 3,685
12-01-14 조회 3,408
12-01-12 조회 4,189
12-01-12 조회 4,321
12-01-10 조회 3,618
12-01-10 조회 4,463
12-01-09 조회 3,791
12-01-08 조회 7,044
12-01-08 조회 3,259
12-01-07 조회 3,611
12-01-06 조회 3,626
12-01-04 조회 3,775
12-01-03 조회 3,615
12-01-02 조회 4,022
12-01-02 조회 3,201
12-01-01 조회 4,145
12-01-01 조회 3,487
11-12-31 조회 3,751
11-12-31 조회 3,859
11-12-31 조회 3,677
11-12-30 조회 3,935
11-12-30 조회 5,101
11-12-30 조회 4,208
11-12-30 조회 4,369
11-12-30 조회 3,822
11-12-30 조회 3,555
11-12-30 조회 3,573
11-12-29 조회 3,301
11-12-22 조회 3,542
11-12-21 조회 3,488
11-12-20 조회 3,733
11-12-15 조회 5,514
11-12-15 조회 4,507
11-12-14 조회 5,563
11-12-12 조회 3,721
11-12-03 조회 3,499
11-11-26 조회 3,666
11-11-19 조회 3,806
11-11-01 조회 3,162
11-10-23 조회 2,784
11-10-21 조회 2,827
11-10-15 조회 3,209
11-10-15 조회 2,950
11-10-15 조회 3,635
11-10-15 조회 2,870
11-10-14 조회 2,893
11-10-13 조회 2,657
11-10-11 조회 2,901
11-10-10 조회 2,761
11-09-30 조회 3,596
11-09-30 조회 3,037
11-09-29 조회 4,870
11-09-29 조회 2,695
11-09-23 조회 2,768
11-09-16 조회 3,106