한

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

· 2012-02-29 (수) 11:15:28 · 3623
불당썸 그걸로 리스트는 수정을 했는데 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-26 조회 3,830
12-04-24 조회 3,226
12-04-23 조회 4,558
12-04-22 조회 3,251
12-04-19 조회 3,335
12-04-18 조회 4,387
12-04-18 조회 3,098
12-04-17 조회 3,371
12-04-17 조회 5,130
12-04-16 조회 3,547
12-04-13 조회 3,089
12-04-09 조회 3,161
12-04-04 조회 3,933
12-04-01 조회 3,211
12-03-31 조회 3,602
12-03-30 조회 3,212
12-03-30 조회 3,873
12-03-26 조회 3,482
12-03-26 조회 3,064
12-03-22 조회 3,216
12-03-21 조회 3,072
12-03-19 조회 3,481
12-03-17 조회 3,510
12-03-14 조회 3,239
12-03-10 조회 3,922
12-03-09 조회 3,501
12-03-09 조회 3,327
12-03-08 조회 3,801
12-03-08 조회 3,972
12-03-08 조회 4,065
12-03-03 조회 3,314
12-03-02 조회 4,639
12-02-28 조회 3,174
12-02-27 조회 2,987
12-02-25 조회 3,130
12-02-24 조회 3,840
12-02-23 조회 3,107
12-02-22 조회 3,628
12-02-22 조회 5,397
12-02-22 조회 3,970
12-02-22 조회 4,290
12-02-18 조회 3,781
12-02-17 조회 3,001
12-02-17 조회 3,409
12-02-14 조회 3,484
12-02-13 조회 3,365
12-02-10 조회 1만
12-02-08 조회 3,023
12-02-07 조회 3,363
12-02-06 조회 3,088
12-02-05 조회 3,553
12-01-31 조회 3,481
12-01-30 조회 9,664
12-01-29 조회 3,821
12-01-26 조회 3,420
12-01-25 조회 4,033
12-01-24 조회 3,427
12-01-10 조회 3,739
12-01-10 조회 4,497
12-01-09 조회 3,272
12-01-08 조회 7,135
12-01-08 조회 3,657
12-01-07 조회 5,191
12-01-04 조회 3,888
12-01-02 조회 3,114
12-01-02 조회 3,168
12-01-02 조회 3,474
12-01-01 조회 3,107
11-12-31 조회 3,416
11-12-31 조회 3,094
11-12-30 조회 3,259
11-12-30 조회 3,412
11-12-29 조회 3,626
11-12-28 조회 3,718
11-12-26 조회 3,292
11-12-23 조회 3,507
11-12-22 조회 3,051
11-12-15 조회 4,142
11-12-08 조회 3,959
11-12-05 조회 3,298
11-12-04 조회 5,714
11-12-03 조회 3,574
11-12-02 조회 3,355
11-12-01 조회 5,430
11-11-30 조회 2,914
11-11-30 조회 2,814
11-11-28 조회 3,159
11-11-26 조회 3,339
11-11-25 조회 3,359
11-11-24 조회 2,955
11-11-22 조회 3,046
11-11-22 조회 2,888
11-11-17 조회 2,823
11-11-11 조회 2,821
11-11-09 조회 2,877
11-11-08 조회 3,255
11-11-08 조회 2,546
11-11-04 조회 3,627
11-11-01 조회 2,935
11-10-26 조회 2,521