알라뷰님 최근게시물 스킨이요

알라뷰님
 
최신스킨 너무 감사하구요^^

그때 너무 이뻐서 스크랩 해놓구선 이제서야 테스트 해봤는데
 
 
올리신 latest.skin 최근게시물 중복으로 코딩이 되어있는것 같더라구요
 
주제 넘게 초짜가 말씀드리는게 아닌가 싶은데....

중복 최근게시물 table 코딩은 하나 빼셔야 할듯싶거든요
 
해보니까 2개씩 뜨더라구요....
 
그리고 최근게시물 설정시

5개 등록하지 않고 하나만 등록시

최근게시물 세팅이 이렇게 안이쁘게 되는데
 
bada.jpg
 
1개를 등록하더라도 5개 등록된것처럼

라인 설정은 안될까요??? ^-^
 
그리고 이 버젼으로 갤러리 만들 계획은 없으신지....

암튼 감사하구 수고하세요~! ^^
 
 
 
 
현재 올려진 latest.skin.php
 
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// latest('work','board1', 5, 1004); //제목길게 스킨에서설정
?>
<style type="text/css">
<!--
.w_t  { font-family:굴림; font-size:9pt; color:#598389;  }
.w_s  { font-family:굴림; font-size:9pt; color:#676b72; padding-top:4px; padding-left:2px;}
-->
</style>

<table width=300 cellpadding=0 cellspacing=0 border=0 align=center>
        <tr>
          <td width=11 height=11><img src="<?=$latest_skin_path?>/img/frame_1.gif" width=11 height=11></td>
          <td background=<?=$latest_skin_path?>/img/frame_2.gif></td>
          <td width=11><img src="<?=$latest_skin_path?>/img/frame_3.gif" width=11 height=11></td>
        </tr>
        <tr>
          <td background=<?=$latest_skin_path?>/img/frame_4.gif></td>
          <td style=" padding-bottom: 3px;" valign='top'>
            <table width=97% cellpadding=0 cellspacing=0 border=0 align=center>
              <tr>
                <td height=23 style='padding-top:3px;' class=w_t><img height=13 src="<?=$latest_skin_path?>/img/title.gif" width=14 height=15 border=0 align=absMiddle> &nbsp;<b><?=$board[bo_subject]?></b></td>
                <td style='padding-top:3px;' align=right><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>' onfocus='this.blur()'><img src="<?=$latest_skin_path?>/img/more.gif" width=33 height=9 border=0 align=absmiddle></a></td>
     </tr>
              <tr>
                <td height=1 colspan=2 bgcolor=#dbe5e2></td></tr>
 <? for ($i=0; $i<count($list); $i++) { ?>
             <tr>
                <td height=24 colspan=2 background='<?=$latest_skin_path?>/img/dot_line.gif' class=w_s><img src="<?=$latest_skin_path?>/img/icon.gif" width=7 height=7 align=absmiddle>
 <?
    $style = "";
    if ($list[$i][icon_new])
    $style = "style='font-family:굴림; font-size:9pt; color:#006F00;' ";
 $subject = "<span $style>".cut_str($list[$i][subject],37)."</span>"; //제목 글자수
  echo $list[$i][icon_reply] . " ";
        echo "<a href='{$list[$i][href]}' title='{$list[$i][subject]}' onfocus='this.blur()'>";
   if ($list[$i]['is_notice'])
                echo "{$subject}";
            else
                echo "{$subject}";
  if ($list[$i][comment_cnt])
  echo " <span style='font-size:8pt; color:#9A9A9A;'>{$list[$i][comment_cnt]}</span>";
  echo " " . $list[$i][icon_new];
        echo "</a>";
        ?>
  </td>
             </tr>
 <? } ?>
 <? if (count($list) == 0) { ?><tr><td colspan=2 align=center height=120 class=w_s>게시물이 없습니다.</td></tr><? } ?>
   
    </table></td>
          <td background=<?=$latest_skin_path?>/img/frame_6.gif ></td>
        </tr>
        <tr>
          <td height=11><img src="<?=$latest_skin_path?>/img/frame_7.gif" width=11 height=11></td>
          <td background=<?=$latest_skin_path?>/img/frame_8.gif></td>
          <td><img src="<?=$latest_skin_path?>/img/frame_9.gif" width=11 height=11></td>
  </tr>
</table>

<br>

<table width=300 cellpadding=0 cellspacing=0 border=0 align=center>
        <tr>
          <td width=11 height=11><img src="<?=$latest_skin_path?>/img/frame_1.gif" width=11 height=11></td>
          <td background=<?=$latest_skin_path?>/img/frame_2.gif></td>
          <td width=11><img src="<?=$latest_skin_path?>/img/frame_3.gif" width=11 height=11></td>
        </tr>
        <tr>
          <td background=<?=$latest_skin_path?>/img/frame_4.gif></td>
          <td style=" padding-bottom: 3px;" valign='top' background=<?=$latest_skin_path?>/img/back.jpg>
            <table width=97% cellpadding=0 cellspacing=0 border=0 align=center>
              <tr>
                <td height=23 style='padding-top:3px;' class=w_t><img height=13 src="<?=$latest_skin_path?>/img/title.gif" width=14 height=15 border=0 align=absMiddle> &nbsp;<b><?=$board[bo_subject]?></b></td>
                <td style='padding-top:3px;' align=right><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>' onfocus='this.blur()'><img src="<?=$latest_skin_path?>/img/more.gif" width=33 height=9 border=0 align=absmiddle></a></td>
     </tr>
              <tr>
                <td height=1 colspan=2 bgcolor=#dbe5e2></td></tr>
 <? for ($i=0; $i<count($list); $i++) { ?>
             <tr>
                <td height=24 colspan=2 class=w_s><img src="<?=$latest_skin_path?>/img/icon.gif" width=7 height=7 align=absmiddle>
 <?
    $style = "";
    if ($list[$i][icon_new])
    $style = "style='font-family:굴림; font-size:9pt; color:#006F00;' ";
 $subject = "<span $style>".cut_str($list[$i][subject],37)."</span>"; //제목 글자수
  echo $list[$i][icon_reply] . " ";
        echo "<a href='{$list[$i][href]}' title='{$list[$i][subject]}' onfocus='this.blur()'>";
   if ($list[$i]['is_notice'])
                echo "{$subject}";
            else
                echo "{$subject}";
  if ($list[$i][comment_cnt])
  echo " <span style='font-size:8pt; color:#9A9A9A;'>{$list[$i][comment_cnt]}</span>";
  echo " " . $list[$i][icon_new];
        echo "</a>";
        ?>
  </td>
             </tr>
             <tr><td colspan=2 height=1 background='<?=$latest_skin_path?>/img/dot_line2.gif'></td></tr>
 <? } ?>
 <? if (count($list) == 0) { ?><tr><td colspan=2 align=center height=120 class=w_s>게시물이 없습니다.</td></tr><? } ?>
   
    </table></td>
          <td background=<?=$latest_skin_path?>/img/frame_6.gif ></td>
        </tr>
        <tr>
          <td height=11><img src="<?=$latest_skin_path?>/img/frame_7.gif" width=11 height=11></td>
          <td background=<?=$latest_skin_path?>/img/frame_8.gif></td>
          <td><img src="<?=$latest_skin_path?>/img/frame_9.gif" width=11 height=11></td>
  </tr>
</table>
|

댓글 2개

반칙입니다.....ㅎㅎㅎㅎㅎ

최신글이 나오는 테이블에 높이를 맞춰주세요...^^

<table width=97% height="높이를 맞춰주세요." valign="top" cellpadding=0 cellspacing=0 border=0 align=center>
<tr>
<td height=23 style='padding-top:3px;' class=w_t><img height=13 src="<?=$latest_skin_path?>/img/title.gif" width=14 height=15 border=0 align=absMiddle> &nbsp;<b><?=$board[bo_subject]?></b></td>
<td style='padding-top:3px;' align=right><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>' onfocus='this.blur()'><img src="<?=$latest_skin_path?>/img/more.gif" width=33 height=9 border=0 align=absmiddle></a></td>
</tr>
<tr>
<td height=1 colspan=2 bgcolor=#dbe5e2></td></tr>
<? for ($i=0; $i<count($list); $i++) { ?>


이렇게 말입니다.....^^
몇년간 손을 놓았다가 다시 할려니 뭔소린지 당췌 알수가 없네요...쩝~~~^^;;
분명 검은 것은 글자고 흰것은 모니터 바탕 화면인뎅 ㅜㅜ
빡세게 다시 공부 해야할것 같습니다~~쩝~~~
부지런히 그누로 들어 와야 할듯 ~~~
많은 지도 편달 부탁드립니다....꾸벅^^;;
댓글을 작성하시려면 로그인이 필요합니다. 로그인

자유게시판

+
제목 글쓴이 날짜 조회
19년 전 조회 2,304
19년 전 조회 2,172
19년 전 조회 2,501
19년 전 조회 2,374
19년 전 조회 2,449
19년 전 조회 2,496
19년 전 조회 2,787
19년 전 조회 2,714
19년 전 조회 2,608
19년 전 조회 2,812
19년 전 조회 2,382
19년 전 조회 2,664
19년 전 조회 2,644
19년 전 조회 2,591
19년 전 조회 2,071
19년 전 조회 2,400
19년 전 조회 2,343
19년 전 조회 2,435
19년 전 조회 2,783
19년 전 조회 2,660
19년 전 조회 2,326
19년 전 조회 2,512
19년 전 조회 2,433
19년 전 조회 2,495
19년 전 조회 2,530
19년 전 조회 2,602
19년 전 조회 3,536
19년 전 조회 2,384
19년 전 조회 2,559
19년 전 조회 2,294
🐛 버그신고