관리자 경로 수정 작업중
This commit is contained in:
@ -1,25 +1,25 @@
|
||||
<?
|
||||
$sub_menu = "400660";
|
||||
include_once("./_common.php");
|
||||
$sub_menu = '400660';
|
||||
include_once('./_common.php');
|
||||
|
||||
auth_check($auth[$sub_menu], "w");
|
||||
|
||||
$sql = " select *
|
||||
from $g4[yc4_item_qa_table] a
|
||||
left join $g4[member_table] b on (a.mb_id = b.mb_id)
|
||||
$sql = " select *
|
||||
from {$g4['yc4_item_qa_table']} a
|
||||
left join {$g4['member_table']} b on (a.mb_id = b.mb_id)
|
||||
where iq_id = '$iq_id' ";
|
||||
$iq = sql_fetch($sql);
|
||||
if (!$iq[iq_id]) alert("등록된 자료가 없습니다.");
|
||||
if (!$iq['iq_id']) alert('등록된 자료가 없습니다.');
|
||||
|
||||
$name = get_sideview($is[mb_id], $iq[iq_name], $is[mb_email], $is[mb_homepage]);
|
||||
$name = get_sideview($is['mb_id'], $iq['iq_name'], $is['mb_email'], $is['mb_homepage']);
|
||||
|
||||
$g4[title] = "상품문의 수정";
|
||||
include_once ("$g4[admin_path]/admin.head.php");
|
||||
$g4['title'] = '상품문의 수정';
|
||||
include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
$qstr = "page=$page&sort1=$sort1&sort2=$sort2";
|
||||
?>
|
||||
|
||||
<?=subtitle($g4[title])?>
|
||||
<?=subtitle($g4['title'])?>
|
||||
|
||||
<table cellpadding=0 cellspacing=0 width=100%>
|
||||
<form name=frmitemqaform method=post action="./itemqaformupdate.php">
|
||||
@ -37,20 +37,20 @@ $qstr = "page=$page&sort1=$sort1&sort2=$sort2";
|
||||
</tr>
|
||||
<tr class=ht>
|
||||
<td> 제 목</td>
|
||||
<td><input type=text class=ed name=iq_subject required itenmae='제목' style='width:99%;' value='<?=conv_subject($iq[iq_subject],120)?>'></td>
|
||||
<td><input type=text class=ed name=iq_subject required itenmae='제목' style='width:99%;' value='<?=conv_subject($iq['iq_subject'],120)?>'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> 질 문</td>
|
||||
<td style='padding-top:5px; padding-bottom:5px;'>
|
||||
<?=textarea_size('iq_question')?>
|
||||
<textarea id='iq_question' name='iq_question' rows="7" style='width:99%;' class=ed required itemname='질문'><? echo get_text($iq[iq_question]) ?></textarea>
|
||||
<textarea id='iq_question' name='iq_question' rows="7" style='width:99%;' class=ed required itemname='질문'><? echo get_text($iq['iq_question']) ?></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> 답 변</td>
|
||||
<td style='padding-top:5px; padding-bottom:5px;'>
|
||||
<?=textarea_size('iq_answer')?>
|
||||
<textarea id='iq_answer' name='iq_answer' rows="7" style='width:99%;' class=ed itemname='답변'><? echo get_text($iq[iq_answer]) ?></textarea>
|
||||
<textarea id='iq_answer' name='iq_answer' rows="7" style='width:99%;' class=ed itemname='답변'><? echo get_text($iq['iq_answer']) ?></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan=2 height=1 bgcolor=#CCCCCC></td></tr>
|
||||
@ -62,5 +62,5 @@ $qstr = "page=$page&sort1=$sort1&sort2=$sort2";
|
||||
</form>
|
||||
|
||||
<?
|
||||
include_once ("$g4[admin_path]/admin.tail.php");
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user