1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
<?php include("./_common.php"); header("Content-type:text/html;charset=utf-8");
$sql = "set names utf8"; mysql_query($sql,$connect_web);
if($fidx != "") { $sql = "SELECT * FROM mBoard_menual_faq AS a WHERE a.idx = '{$fidx}'"; $res = mysql_query($sql,$connect_web); $info = mysql_fetch_array($res); }
?>
<style> .cust_modal1{width: fit-content !important;} </style>
<form name='faq_reg_form' id='faq_reg_form' method='post'> <input type='hidden' name='fidx' value='<?php echo $fidx; ?>'> <input type='hidden' name='pidx' value='<?php echo $pidx; ?>'> <input type="hidden" name="type" value="faq">
<div class='cust_modal1 editWarp'> <table class="editTable order-sheet table-top-border"> <caption class="screen_out">기본정보</caption> <colgroup> <col style="width:100px;"><col style="width:200px;"> <col style="width:100px;"><col style="width:200px;"> </colgroup>
<tbody> <tr> <th>질문</th> <td colspan=3><input type='text' name='question' id='question' class='width_500' value='<?php echo $info['question'];?>'></td> </tr> <tr> <th>답변</th> <td colspan=3><textarea name="answer" class="answer"><?php echo $info['answer']; ?></textarea></td> </tr> <tr> <th>키워드</th> <td colspan=3><input type="text" name="keyword" value="<?php echo $info['keyword']; ?>" placeholder=",로 구분하여 넣어주세요. ex) 감자,옥수수"></td> </tr> </table> </div> </form>
<script> $(function(){ CKEDITOR.replace( 'answer', { height: 250 } ); }); </script>
|