<?
echo "";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:9pt; color:#555555;'>{$list[$i][wr_5]}";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#555555;'>{$list[$i][wr_5]}";
echo "";
?>
위 소스에서 아래를 적용 해보고싶은데 어떻게 해야하는지 답변좀 부탁드립니다.
5번필드가 주문접수로 체크되어있으면
<img src='<?=$latest_skin_path?>/img/btn_01.gif'> 출력
5번필드가 입금대로 체크되어있으면
<img src='<?=$latest_skin_path?>/img/btn_02.gif'> 출력
5번필드가 취소로 체크되어있으면
<img src='<?=$latest_skin_path?>/img/btn_03.gif'> 출력
감사합니다.
echo "";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:9pt; color:#555555;'>{$list[$i][wr_5]}";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#555555;'>{$list[$i][wr_5]}";
echo "";
?>
위 소스에서 아래를 적용 해보고싶은데 어떻게 해야하는지 답변좀 부탁드립니다.
5번필드가 주문접수로 체크되어있으면
<img src='<?=$latest_skin_path?>/img/btn_01.gif'> 출력
5번필드가 입금대로 체크되어있으면
<img src='<?=$latest_skin_path?>/img/btn_02.gif'> 출력
5번필드가 취소로 체크되어있으면
<img src='<?=$latest_skin_path?>/img/btn_03.gif'> 출력
감사합니다.
댓글을 작성하시려면 로그인이 필요합니다.
댓글 2개
echo "";
if($list[$i][wr_5] == "주문접수")
$list[$i][wr_5] = "<img src='{$latest_skin_path}/img/btn_01.gif'>";
if($list[$i][wr_5] == "입금대")
$list[$i][wr_5] = "<img src='{$latest_skin_path}/img/btn_02.gif'>";
if($list[$i][wr_5] == "취소")
$list[$i][wr_5] = "<img src='{$latest_skin_path}/img/btn_03.gif'>";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:9pt; color:#555555;'>{$list[$i][wr_5]}";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#555555;'>{$list[$i][wr_5]}";
echo "";
?>