한

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

· 2012-02-29 (수) 11:15:28 · 3469
불당썸 그걸로 리스트는 수정을 했는데 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-03-19 조회 3,342
12-03-16 조회 4,011
12-03-14 조회 3,878
12-03-13 조회 3,505
12-03-13 조회 4,301
12-03-12 조회 5,423
12-03-12 조회 1만
12-03-08 조회 5,910
12-03-06 조회 1.1만
12-03-06 조회 3,683
12-03-06 조회 6,216
12-03-02 조회 4,988
12-02-29 조회 3,552
12-02-27 조회 3,932
12-02-22 조회 3,615
12-02-20 조회 3,507
12-02-20 조회 6,696
12-02-01 조회 3,192
12-01-30 조회 8,734
12-01-29 조회 3,228
12-01-24 조회 3,377
12-01-21 조회 3,189
12-01-10 조회 3,659
11-12-26 조회 3,549
11-12-23 조회 4,976
11-12-23 조회 4,559
11-12-23 조회 4,138
11-12-23 조회 7,924
11-12-22 조회 3,684
11-12-17 조회 3,616
11-12-12 조회 3,006
11-12-08 조회 7,541
11-12-08 조회 3,411
11-12-07 조회 3,742
11-12-06 조회 5,431
11-12-02 조회 3,366
11-12-01 조회 3,097
11-11-30 조회 6,892
11-11-26 조회 3,819
11-11-24 조회 4,619
11-11-22 조회 2,982
11-11-22 조회 6,613
11-11-18 조회 4,941
11-11-16 조회 3,413
11-11-14 조회 3,432
11-11-12 조회 3,927
11-11-08 조회 3,247
11-11-06 조회 1만
11-11-06 조회 3,821
11-11-03 조회 5,516
11-11-02 조회 5,780
11-11-01 조회 9,301
11-10-19 조회 2,784
11-10-17 조회 2,590
11-10-10 조회 2,536
11-10-07 조회 3,325
11-10-06 조회 3,918
11-10-06 조회 2,469
11-10-02 조회 3,224
11-09-08 조회 4,225
11-09-08 조회 2,544
11-09-07 조회 2,598
11-09-02 조회 2,681
11-09-01 조회 3,612
11-08-28 조회 3,505
11-08-23 조회 3,352
11-08-22 조회 2,770
11-08-22 조회 2,364
11-08-13 조회 2,414
11-08-05 조회 2,867
11-08-03 조회 4,078
11-07-03 조회 2,474
11-06-15 조회 3,195
11-06-15 조회 3,036
11-05-15 조회 2,830
11-05-11 조회 5,566
11-04-12 조회 2,956
11-01-27 조회 3,807
11-01-26 조회 2,602
11-01-26 조회 4,452
11-01-18 조회 2,651
10-11-23 조회 2,724
10-10-24 조회 4,719
10-09-15 조회 4,404
10-09-07 조회 3,374
10-08-27 조회 4,062
10-08-20 조회 6,955
10-07-30 조회 5,629
10-06-30 조회 2,853
10-06-11 조회 4,613
10-06-11 조회 3,311
10-05-15 조회 4,142
10-05-10 조회 2,831
10-03-19 조회 5,397
10-03-05 조회 5,163
10-02-17 조회 5,561
09-11-21 조회 6,911
09-11-09 조회 3,985
09-11-04 조회 6,697
09-10-26 조회 3,841