달력스킨 첨부파일아이콘 표시 정보
달력스킨 첨부파일아이콘 표시본문
달력 스킨인데요 아이콘옆에 첨부파일표시 아이콘을
넣고 싶은데 $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];
?>
<?
}
}
// 달력의 틀을 보여주는 부분
넣고 싶은데 $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];
?>
<?
}
}
// 달력의 틀을 보여주는 부분
댓글 전체