답변 6개
답변에 대한 댓글 1개
댓글을 작성하려면 로그인이 필요합니다.
아래와 같이 넣었습니다. 그래도 에러가 발생합니다. Parse error: syntax error, unexpected T_IF in if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 ?>
$b = date("m",strtotime($a)); if(substr($b,0,1)==0) $b = substr($b,1,1);
$c = date("d",strtotime($a));
if(substr($c,0,1)==0) $c = substr($c,1,1);
?>
-
echo $list[$i]['icon_reply'] . " ";
echo "";
if ($list[$i]['is_notice'])
echo "{$list[$i]['subject']}";
else
echo "{$list[$i]['subject']}";
echo "";
if ($list[$i]['comment_cnt']) echo " {$list[$i]['comment_cnt']}";
?>
- =cut_str(strip_tags($list[$i][wr_content]),300,"..")?>
답변에 대한 댓글 1개
댓글을 작성하려면 로그인이 필요합니다.
다시 작성해 보자면 기존 latest.skin.php 라면 아래를 참조해 잘 넣으셔야지 그냥 그대로 적용하시면 안됩니다. $a= $list[$i]['wr_datetime'];
$b = date("m",strtotime($a)); if(substr($b,0,1)==0) $b = substr($b,1,1); $c = date("d",strtotime($a));
if(substr($c,0,1)==0) $c = substr($c,1,1);
?>
댓글을 작성하려면 로그인이 필요합니다.
답변에 대한 댓글 2개
<?php 와 ?> 안에 들어 가야 합니다 ^^
댓글을 작성하려면 로그인이 필요합니다.
$a= $list[$i]['wr_datetime']; $b = date("m",strtotime($a)); if(substr($b,0,1)==0) $b = substr($b,1,1); $c = date("d",strtotime($a));
if(substr($c,0,1)==0) $c = substr($c,1,1);
$c
$b
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인

네이트온 친구 추가 걸어주세요 원격으로 봐드릴게요.