Merge branch 'master' of github.com:gnuboard/yc4s

This commit is contained in:
whitedot
2013-11-21 16:45:57 +09:00
10 changed files with 87 additions and 1 deletions

View File

@ -12,6 +12,11 @@ $iq_id = escape_trim($_REQUEST['iq_id']);
$chk_secret = '';
if($w == '') {
$qa['iq_email'] = $member['mb_email'];
$qa['iq_hp'] = $member['mb_hp'];
}
if ($w == "u")
{
$qa = sql_fetch(" select * from {$g5['g5_shop_item_qa_table']} where iq_id = '$iq_id' ");

View File

@ -27,6 +27,14 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<label for="iq_secret">비밀글</label>
</td>
</tr>
<tr>
<th scope="row"><label for="iq_email">이메일</label></th>
<td><input type="text" name="iq_email" value="<?php echo $qa['iq_email']; ?>" class="frm_input" size="30"> 이메일을 입력하시면 답변 등록 시 답변이 이메일로 전송됩니다.</td>
</tr>
<tr>
<th scope="row"><label for="iq_hp">휴대폰</label></th>
<td><input type="text" name="iq_hp" value="<?php echo $qa['iq_hp']; ?>" class="frm_input" size="20"> 휴대폰번호를 입력하시면 답변 등록 시 답변등록 알림이 SMS로 전송됩니다.</td>
</tr>
<tr>
<th scope="row"><label for="iq_subject">제목</label></th>
<td><input type="text" name="iq_subject" value="<?php echo get_text($qa['iq_subject']); ?>" id="iq_subject" required class="required frm_input" minlength="2" maxlength="250"></td>
@ -41,6 +49,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<div class="win_btn">
<input type="submit" value="작성완료" class="btn_submit">
<button type="button" onclick="self.close();">닫기</button>
</div>
</form>
</div>