한

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

· 2012-02-29 (수) 11:15:28 · 3631
불당썸 그걸로 리스트는 수정을 했는데 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 조회 4,865
12-04-26 조회 2,736
12-04-26 조회 2,985
12-04-26 조회 2,807
12-04-26 조회 3,135
12-04-25 조회 2,542
12-04-25 조회 2,857
12-04-25 조회 2,709
12-04-25 조회 2,761
12-04-25 조회 2,727
12-04-25 조회 2,959
12-04-24 조회 4,083
12-04-24 조회 2,604
12-04-24 조회 2,504
12-04-24 조회 2,749
12-04-24 조회 2,679
12-04-24 조회 2,580
12-04-24 조회 2,951
12-04-24 조회 2,966
12-04-24 조회 2,618
12-04-24 조회 2,671
12-04-24 조회 3,314
12-04-24 조회 2,722
12-04-24 조회 2,760
12-04-24 조회 2,728
12-04-23 조회 2,685
12-04-23 조회 2,690
12-04-23 조회 2,967
12-04-23 조회 2,602
12-04-23 조회 3,644
12-04-23 조회 2,539
12-04-23 조회 2,603
12-04-23 조회 2,758
12-04-23 조회 2,614
12-04-23 조회 2,805
12-04-23 조회 2,818
12-04-23 조회 2,574
12-04-23 조회 3,461
12-04-22 조회 2,594
12-04-22 조회 2,555
12-04-22 조회 2,632
12-04-22 조회 2,854
12-04-22 조회 2,662
12-04-22 조회 3,317
12-04-21 조회 4,105
12-04-21 조회 7,887
12-04-21 조회 2,694
12-04-21 조회 3,096
12-04-21 조회 2,593
12-04-21 조회 2,833
12-04-20 조회 2,799
12-04-20 조회 2,878
12-04-20 조회 2,673
12-04-20 조회 2,792
12-04-20 조회 3,919
12-04-20 조회 2,972
12-04-16 조회 2,772
12-04-07 조회 2,730
12-04-03 조회 3,151
12-04-02 조회 3,300
12-03-28 조회 2,705
12-03-26 조회 6,180
12-03-25 조회 2,755
12-03-25 조회 2,900
12-03-24 조회 2,975
12-03-23 조회 2,885
12-03-22 조회 5,753
12-03-13 조회 2,742
12-03-11 조회 3,157
12-03-11 조회 4,087
12-03-11 조회 4,896
12-03-11 조회 3,789
12-03-11 조회 3,752
12-03-11 조회 5,416
12-03-06 조회 2,905
12-03-06 조회 2,986
12-03-05 조회 3,076
12-03-02 조회 2,985
12-03-01 조회 6,502
12-03-01 조회 3,303
12-02-29 조회 5,450
12-02-17 조회 3,040
12-02-16 조회 2,896
12-02-14 조회 4,020
12-02-14 조회 3,050
12-02-08 조회 3,041
12-02-07 조회 2,631
12-02-06 조회 1.2만
12-02-04 조회 2,883
12-02-02 조회 2,952
12-01-29 조회 4,658
12-01-27 조회 2,888
12-01-25 조회 4,080
12-01-24 조회 4,366
12-01-21 조회 3,509
12-01-21 조회 3,181
12-01-16 조회 3,547
12-01-16 조회 4,055
12-01-14 조회 2,899
12-01-13 조회 4,538