Files
firstgarden-web-gnu/theme/rb.basic/skin/shop/basic/itemuseform.skin.php
2025-07-02 14:13:16 +09:00

67 lines
3.0 KiB
PHP
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">', 0);
?>
<!-- 사용후기 쓰기 시작 { -->
<div id="sit_use_write" class="new_win">
<h1 id="win_title">구매후기 쓰기</h1>
<form name="fitemuse" method="post" action="<?php echo G5_SHOP_URL;?>/itemuseformupdate.php" onsubmit="return fitemuse_submit(this);" autocomplete="off">
<input type="hidden" name="w" value="<?php echo $w; ?>">
<input type="hidden" name="it_id" value="<?php echo $it_id; ?>">
<input type="hidden" name="is_id" value="<?php echo $is_id; ?>">
<div class="new_win_con form_01">
<ul>
<li>
<label for="is_subject" class="sound_only">제목<strong> 필수</strong></label>
<input type="text" name="is_subject" value="<?php echo get_text($use['is_subject']); ?>" id="is_subject" required class="required frm_input full_input" maxlength="250" placeholder="제목">
</li>
<li>
<strong class="sound_only">내용</strong>
<?php echo $editor_html; ?>
</li>
<li>
<span class="sound_only">평점</span>
<ul id="sit_use_write_star" class="">
<li>
<input type="radio" name="is_score" value="5" id="is_score5" <?php echo ($is_score==5)?'checked="checked"':''; ?>>
<label for="is_score5">매우만족</label> 
<input type="radio" name="is_score" value="4" id="is_score4" <?php echo ($is_score==4)?'checked="checked"':''; ?>>
<label for="is_score4">만족</label> 
<input type="radio" name="is_score" value="3" id="is_score3" <?php echo ($is_score==3)?'checked="checked"':''; ?>>
<label for="is_score3">보통</label> 
<input type="radio" name="is_score" value="2" id="is_score2" <?php echo ($is_score==2)?'checked="checked"':''; ?>>
<label for="is_score2">불만</label> 
<input type="radio" name="is_score" value="1" id="is_score1" <?php echo ($is_score==1)?'checked="checked"':''; ?>>
<label for="is_score1">매우불만</label>
</li>
</ul>
</li>
</ul>
<div class="win_btn">
<button type="submit" class="btn_submit">작성완료</button>
<button type="button" onclick="self.close();" class="btn_close">닫기</button>
</div>
</div>
</form>
</div>
<script type="text/javascript">
function fitemuse_submit(f)
{
<?php echo $editor_js; ?>
return true;
}
</script>
<!-- } 구매후기 쓰기 끝 -->