관리자와 원글작성자만...원글 비추천 클릭할수있게 도움좀 정보
관리자와 원글작성자만...원글 비추천 클릭할수있게 도움좀본문
특정스킨의...view.skin.php
비추천 항목에
<? if ($is_admin) {?>
<? if ($nogood_href) {?>
<div style="width:54px; height:35px; text-align:center; float:left;">
<div><a href="<?=$nogood_href?>" target="hiddenframe"><img src="<?=$board_skin_path?>/img/icon_nogood.gif" border='0' align="absmiddle"></a></div>
</div>
<? } ?>
<? } ?>
---> 이렇게 되어있는데. 관리자만 비추천 버튼나오고...원글작성자는 안나오는데..원글작성자까지
비추천버튼이 나오도록 하고싶습니다.....물론 그외에는 숨기고요....
비추천 항목에
<? if ($is_admin) {?>
<? if ($nogood_href) {?>
<div style="width:54px; height:35px; text-align:center; float:left;">
<div><a href="<?=$nogood_href?>" target="hiddenframe"><img src="<?=$board_skin_path?>/img/icon_nogood.gif" border='0' align="absmiddle"></a></div>
</div>
<? } ?>
<? } ?>
---> 이렇게 되어있는데. 관리자만 비추천 버튼나오고...원글작성자는 안나오는데..원글작성자까지
비추천버튼이 나오도록 하고싶습니다.....물론 그외에는 숨기고요....
댓글 전체
<? if ($is_admin) {?>
---> 이게 관리자만 이라는 함수같은데..
관리자와, 원글작성자만 이라는 호출함수가 어떤거에요?
---> 이게 관리자만 이라는 함수같은데..
관리자와, 원글작성자만 이라는 호출함수가 어떤거에요?
에휴 뒤지다가 답을 찾았네여
<? if ($member[mb_id] == $write[mb_id] || $is_admin == "super") { ?>
<? if ($member[mb_id] == $write[mb_id] || $is_admin == "super") { ?>