한

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

· 2012-02-29 (수) 11:15:28 · 3497
불당썸 그걸로 리스트는 수정을 했는데 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-06-05 조회 3,147
12-06-04 조회 3,176
12-06-02 조회 3,084
12-06-02 조회 3,823
12-06-01 조회 3,553
12-05-25 조회 3,532
12-05-25 조회 3,124
12-05-21 조회 3,464
12-05-19 조회 2,865
12-05-18 조회 3,328
12-05-16 조회 3,270
12-05-11 조회 2,824
12-05-07 조회 2,884
12-05-05 조회 3,103
12-05-05 조회 2,999
12-05-05 조회 2,892
12-05-04 조회 3,954
12-05-03 조회 3,050
12-04-30 조회 3,133
12-04-26 조회 4,033
12-04-25 조회 2,914
12-04-23 조회 2,962
12-04-23 조회 2,897
12-04-20 조회 4,247
12-04-20 조회 3,200
12-04-18 조회 2,799
12-04-17 조회 3,468
12-04-17 조회 2,799
12-04-17 조회 3,295
12-04-16 조회 2,752
12-04-16 조회 3,049
12-04-13 조회 2,781
12-04-06 조회 3,526
12-04-05 조회 2,905
12-04-03 조회 3,162
12-04-03 조회 2,792
12-03-30 조회 2,777
12-03-30 조회 3,250
12-03-29 조회 3,802
12-03-27 조회 2,947
12-03-26 조회 4,022
12-03-24 조회 6,314
12-03-24 조회 3,783
12-03-23 조회 2,919
12-03-22 조회 3,154
12-03-22 조회 3,431
12-03-22 조회 3,615
12-03-22 조회 4,977
12-03-21 조회 3,072
12-03-21 조회 2,770
12-03-21 조회 4,792
12-03-20 조회 5,555
12-03-20 조회 2,735
12-03-17 조회 3,247
12-03-16 조회 3,280
12-03-15 조회 2,664
12-03-14 조회 2,864
12-03-13 조회 2,873
12-03-12 조회 3,920
12-03-09 조회 3,037
12-03-09 조회 3,992
12-03-07 조회 2,800
12-03-07 조회 2,971
12-03-07 조회 2,655
12-03-02 조회 3,020
12-03-02 조회 3,265
12-03-01 조회 5,051
12-02-29 조회 3,899
12-02-27 조회 4,306
12-02-27 조회 3,135
12-02-26 조회 2,867
12-02-26 조회 5,063
12-02-25 조회 2,604
12-02-23 조회 2,923
12-02-23 조회 2,688
12-02-22 조회 3,779
12-02-21 조회 2,808
12-02-20 조회 3,031
12-02-20 조회 2,893
12-02-20 조회 5,670
12-02-20 조회 3,496
12-02-19 조회 3,249
12-02-18 조회 2,977
12-02-17 조회 3,469
12-02-15 조회 3,077
12-02-14 조회 2,968
12-02-11 조회 2,902
12-02-09 조회 6,339
12-02-09 조회 3,023
12-02-06 조회 2,884
12-02-05 조회 2,894
12-02-04 조회 6,645
12-02-02 조회 5,343
12-01-31 조회 2,798
12-01-30 조회 2,737
12-01-30 조회 2,913
12-01-29 조회 3,109
12-01-27 조회 2,783
12-01-26 조회 2,901
12-01-25 조회 2,742