답변 3개
<? if ($member[mb_level] >= 3 || $is_admin == 'super'){ ?>
<tr>
<th scope="row">회원가격</th>
<td>
<font style="font-size:18px; font-weight:bold; color:#F3435D;"><?php echo display_price($it['it_1']); ?></font>
<input type="hidden" id="it_price" value="<?php echo $it['it_1']; ?>">
</td>
</tr>
<? }elseif ($member[mb_level] >= 6 ){ ?>
<tr>
<th scope="row">회원가격</th>
<td>
<font style="font-size:18px; font-weight:bold; color:#F3435D;"><?php echo display_price($it['it_2']); ?></font>
<input type="hidden" id="it_price" value="<?php echo $it['it_2']; ?>">
</td>
</tr>
<? }else { ?>
<tr>
<td><th scope="row"><span class="blue">가입하시면 회원가격이 보입니다</span></th></td><p>
</tr>
<? } ?> </b>
상세페이지 소스 수정중입니다
elseif 문이 적용이 안되는거같은데 도와주세요
답변을 작성하려면 로그인이 필요합니다.