한

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

· 2012-02-29 (수) 11:15:28 · 3643
불당썸 그걸로 리스트는 수정을 했는데 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건
+
제목 글쓴이 날짜 조회
13-03-03 조회 6,260
13-03-01 조회 5,590
13-03-01 조회 8,331
13-03-01 조회 6,333
13-02-26 조회 3,935
13-02-26 조회 3,890
13-02-26 조회 4,776
13-02-24 조회 8,190
13-02-24 조회 4,267
13-02-24 조회 3,515
13-02-24 조회 5,328
13-02-24 조회 5,321
13-02-24 조회 4,385
13-02-24 조회 5,725
13-02-24 조회 9,414
13-02-14 조회 5,138
13-02-13 조회 9,067
13-01-29 조회 7,708
13-01-24 조회 5,047
13-01-24 조회 4,924
13-01-17 조회 4,345
13-01-16 조회 4,371
13-01-08 조회 4,417
12-12-27 조회 4,090
12-12-20 조회 1.1만
12-12-20 조회 3,405
12-12-06 조회 4,400
12-12-01 조회 4,165
12-11-28 조회 5,721
12-11-25 조회 5,433
12-10-20 조회 4,685
12-10-03 조회 4,848
12-09-26 조회 5,013
12-09-15 조회 8,458
12-09-14 조회 5,472
12-09-11 조회 3,983
12-09-10 조회 3,988
12-09-05 조회 8,872
12-08-29 조회 4,681
12-08-26 조회 3,820
12-08-23 조회 3,507
12-08-22 조회 3,595
12-08-22 조회 4,404
12-08-21 조회 3,555
12-08-20 조회 3,475
12-08-20 조회 9,285
12-08-15 조회 4,400
12-08-13 조회 3,312
12-08-11 조회 4,733
12-08-05 조회 4,590
12-08-03 조회 3,367
12-08-03 조회 4,056
12-08-02 조회 5,037
12-07-29 조회 4,155
12-07-26 조회 3,730
12-07-26 조회 3,595
12-07-22 조회 3,511
12-07-20 조회 3,348
12-07-19 조회 4,208
12-07-19 조회 3,464
12-07-16 조회 3,576
12-07-16 조회 4,501
12-07-15 조회 3,579
12-07-12 조회 7,405
12-07-12 조회 5,046
12-07-11 조회 3,093
12-07-09 조회 3,251
12-07-05 조회 3,870
12-07-04 조회 4,447
12-07-04 조회 3,840
12-07-04 조회 4,371
12-06-29 조회 3,835
12-06-27 조회 3,422
12-06-24 조회 3,900
12-06-22 조회 4,210
12-06-22 조회 8,618
12-06-22 조회 3,278
12-06-21 조회 3,304
12-06-17 조회 3,937
12-06-14 조회 4,042
12-06-14 조회 3,323
12-06-08 조회 4,464
12-06-06 조회 3,431
12-06-04 조회 4,193
12-05-26 조회 4,999
12-05-26 조회 3,951
12-05-25 조회 3,249
12-05-24 조회 3,350
12-05-22 조회 3,403
12-05-20 조회 3,028
12-05-16 조회 3,160
12-05-15 조회 3,551
12-05-10 조회 3,974
12-05-08 조회 3,506
12-05-04 조회 3,359
12-05-03 조회 4,311
12-05-02 조회 3,444
12-05-02 조회 3,212
12-05-02 조회 3,313
12-04-26 조회 3,472