핵

달력스킨 첨부파일아이콘 표시

달력 스킨인데요 아이콘옆에 첨부파일표시 아이콘을
넣고 싶은데 $list[$i][icon_file]; 만 넣으면 이상한 날짜에 아이콘이
표시되요



//날짜와 관계없이 24시간 코멘트 굵게
if($row['wr_last'] >= date("Y-m-d H:i:s", $g4['server_time'] - ($board['bo_new'] * 3600)))
{
$list[comment_cnt] = "($row[wr_comment])";
if($list[comment_cnt]!=null) $list[comment_cnt] = "<b><font color=#7679E0>".$list[comment_cnt]."</font></b>";
} else {
$list[comment_cnt] = "<span style='font-size:7pt;color:#ff6600;'>".$list[comment_cnt]."</span>" ;
}
}
$list['icon_new'] = null; //icon_new 정의
if ($row['wr_datetime'] >= date("Y-m-d H:i:s", $g4['server_time'] - ($board['bo_new'] * 3600)))
$list['icon_new'] = "<img src='$board_skin_path/img/icon_new.gif' align='absmiddle'>";

// $html_day[$i].= 은 문자를 덧붙이는 작업이다. 바로 . (쩜) 의 위력이다.
if ($member[mb_level] < $board[bo_read_level]) {
$functionlayer="" ;
} else { $functionlayer="onmouseover";}

$html_day[$i].= "<br><a ".$functionlayer."=\"showLayers('popup_schd".$j."')\" onmouseout=\"startTimer(this)\" href='$g4[bbs_path]/board.php?bo_table=$bo_table&year=$year&month=$month&wr_id=$row[wr_id]'><img src='$board_skin_path/img/".$imgown.".gif' border=0 align=absmiddle>[".$row[wr_9]."]<br>".$viewlist = cut_str(conv_content($row[wr_content], $html),50,"…")."</a>".$list[$i][icon_file];
?>

<?
}
}
// 달력의 틀을 보여주는 부분
댓글을 작성하시려면 로그인이 필요합니다.

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
09-02-02 조회 911
09-02-01 조회 842
09-02-01 조회 844
09-02-01 조회 1,037
09-02-01 조회 867
09-02-01 조회 916
09-02-01 조회 1,745
09-02-01 조회 827
09-02-01 조회 869
09-02-01 조회 1,104
09-02-01 조회 1,051
09-02-01 조회 1,755
09-02-01 조회 843
09-02-01 조회 2,684
09-02-01 조회 1,644
09-01-31 조회 1,045
09-01-31 조회 1,035
09-01-31 조회 993
09-01-31 조회 1,032
09-01-31 조회 1,046