최근게시물에서 분류를 이미지로 나타내기??? 정보
최근게시물에서 분류를 이미지로 나타내기???
본문
<?
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'> 출력
감사합니다.
댓글 전체

<?
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 "";
?>
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 "";
?>

감사합니다 항상 도움주셔서 감사합니다