한

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

· 2012-02-29 (수) 11:15:28 · 3529
불당썸 그걸로 리스트는 수정을 했는데 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-08-29 조회 4,059
12-08-07 조회 3,746
12-08-03 조회 3,553
12-07-31 조회 3,660
12-07-30 조회 3,611
12-07-16 조회 3,834
12-07-15 조회 3,619
12-07-07 조회 3,519
12-07-06 조회 3,713
12-07-03 조회 3,683
12-06-29 조회 3,268
12-06-22 조회 3,641
12-06-17 조회 3,884
12-05-21 조회 3,811
12-05-02 조회 3,390
12-05-02 조회 4,181
12-05-02 조회 3,298
12-04-30 조회 3,477
12-04-30 조회 3,174
12-03-17 조회 4,021
12-03-10 조회 3,368
12-03-08 조회 3,894
12-03-03 조회 3,576
12-02-27 조회 4,995
12-02-17 조회 4,319
12-02-16 조회 4,570
12-02-03 조회 3,286
12-01-31 조회 3,166
12-01-24 조회 3,145
12-01-17 조회 3,868
12-01-05 조회 3,427
11-12-30 조회 3,127
11-12-23 조회 4,709
11-12-08 조회 3,431
11-12-07 조회 4,413
11-11-27 조회 3,817
11-11-25 조회 4,171
11-11-23 조회 3,627
11-11-22 조회 3,482
11-11-09 조회 3,203
11-10-23 조회 3,115
11-10-19 조회 3,087
11-10-08 조회 2,786
11-10-04 조회 2,791
11-10-04 조회 5,239
11-09-01 조회 4,311
11-08-13 조회 2,478
11-08-06 조회 3,162
11-07-11 조회 3,566
11-06-27 조회 2,938
11-06-21 조회 2,617
11-06-13 조회 2,401
11-06-07 조회 2,402
11-05-26 조회 2,396
11-04-20 조회 2,705
11-03-21 조회 2,796
11-03-18 조회 2,494
11-03-11 조회 2,526
11-02-07 조회 2,343
11-01-18 조회 2,666
11-01-12 조회 2,393
11-01-06 조회 2,493
10-12-10 조회 2,759
10-12-09 조회 2,556
10-12-08 조회 5,018
10-11-29 조회 2,653
10-11-28 조회 2,780
10-11-28 조회 2,617
10-11-19 조회 2,803
10-11-04 조회 2,690
10-10-21 조회 2,403
10-10-19 조회 3,352
10-10-12 조회 2,678
10-10-07 조회 2,511
10-09-30 조회 3,471
10-09-17 조회 3,865
10-09-17 조회 3,831
10-05-31 조회 3,505
09-12-31 조회 3,647
09-07-23 조회 4,973
08-09-16 조회 3,196
08-09-06 조회 2,926
08-09-04 조회 3,353
08-08-16 조회 4,403
08-08-15 조회 3,269
08-08-14 조회 4,480
08-08-12 조회 3,950
08-07-23 조회 2,779
08-07-10 조회 3,716
08-07-04 조회 2,941
08-06-27 조회 7,588
08-06-19 조회 4,874
08-05-27 조회 5,493
08-05-25 조회 5,325
08-05-23 조회 3,391
08-05-23 조회 4,530
08-05-21 조회 4,913
08-05-20 조회 4,035
08-05-20 조회 3,274
08-04-18 조회 4,318