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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
<? @session_start(); /* jyh µð¹ö±ë ÇÔ¼ö */ function prt($data=null, $size=0) { //if (!isdev()) return; ob_start(); print_r($data); $content_text = ob_get_contents(); ob_end_clean(); $content_list = explode("\n", $content_text); $rows = count($content_list); $cols = 0; foreach ($content_list as $line) { if (($col = mb_strlen($line)) > $cols) { $cols = $col; if ($cols > 128) $rows++; } } $rows += 2; $cols += 2; if (!headers_sent()) { header('Content-type: text/html; charset=euc-kr'); } echo '<textarea cols="' . $cols . '" rows="' . $rows . '"'; echo ' style="display:block; margin:0; padding:5px; border:1px solid #999;'; if ($size) echo ' width:' . $size . 'px;'; echo ' font-family:Hwsr_9pt, Gulimche; font-size:9pt;">'; echo $content_text; echo '</textarea>'; }
//include("memberManage.php"); include("./include/admin_include_header.php"); include("category/opcommon.php"); $qry = " SELECT A.*, B.cde_nm FROM bug_list A LEFT JOIN codes B ON A.app_code = B.cde where A.idx = '{$uid}'"; $result = mysql_query($qry); $row = mysql_fetch_array($result); $content = stripcslashes($row['bug_desc']); $row['ver'] = trim($row['ver']);
?> <script> function FrmCh(){
if( noticeFrm.subject.value == ''){ alert("¹öÀüÀ» ÀÔ·ÂÇϼ¼¿ä"); noticeFrm.subject.focus(); return false; } if( noticeFrm.content.value == ''){ alert("¹ö±× ³»¿ëÀ» ÀÔ·ÂÇϼ¼¿ä"); noticeFrm.content.focus(); return false; } document.getElementById("noticeFrm").target="hidden_frame_mijin"; noticeFrm.submit(); } </script>
<form name="noticeFrm" id="noticeFrm" method="post" action="bugVersionProcess.php"> <input type="hidden" name='mode' value='edit'> <input type="hidden" name='writer' value='<?=$_SESSION['ADMINID'];?>'> <input type="hidden" name='uid' value='<?=$uid;?>'> <input type="hidden" name='menu' value='<?=$menu?>'> <input type="hidden" name='sub' value='<?=$sub?>'> <div class="container"> <div class="border_contents"> <div class="editSection"> <h3>¹ö±× ¹öÀü Å×½ºÆ® ¼öÁ¤</h3>
<div class="editWarp"> <table class="editTable"> <colgroup> <col style="width:110px;"><col><col style="width:110px;"><col> </colgroup> <tr> <th>ÀÛ¼ºÀÚ</th> <td><INPUT TYPE="text" NAME="name" size='20' value='<?=$row['writer']?>' readonly="readonly"></td> <th class="leftLine">Â÷´Ü¿©ºÎ</th> <td> <select name="disuse" id="disuse"> <option value="1" <?if($row['disuse'] == 1) echo "selected";?>>Â÷´Ü</option> <option value="0" <?if($row['disuse'] == 0) echo "selected";?>>¹ÌÂ÷´Ü</option> </select> </td> </tr> <tr> <th>Á¦Ç°¸í</th> <td colspan="3"> <select name="sitetype" id="sitetype"> <? // codes Á¤¸® $code_sql = "SELECT cde, cde_nm FROM codes WHERE cde IN('001', '002', '003', '011', '012', '030', '031', '052', '053', '081', '082', '083', '084', '085', '090') ORDER BY cde_nm ASC"; $result = mysql_query($code_sql) or die(mysql_error()); $code_name = array(); $code_info = array(); while($row2 = mysql_fetch_array($result)){ ?> <option value="<?=$row2['cde']?>" <?if($row['app_code'] === $row2['cde']) echo "selected";?>><?=$row2['cde_nm']?></option> <? } ?> </select> </td> </tr> <tr> <th>¹öÀü</th> <td colspan="3"><INPUT TYPE="text" NAME="subject" size='50' value='<?=$row['ver'];?>'></td> </tr> <tr> <th>¹ö±× ³»¿ë</th> <td colspan="3"><textarea name="content" rows="23" cols="80"><?=$content?></textarea></td> </tr> </table><!--//editTable--> </div><!-- //editWarp -->
<div class="btn3Warp"> <input type="button" value="ÀúÀå" Onclick="FrmCh();"><input type="reset" value="Ãë¼Ò" class="ml10"><input type="button" value="¸ñ·Ï" onclick="history.go(-1);" class="ml10"> </div><!-- //btn2Warp --> <iframe id='hidden_frame_mijin' name='hidden_frame_mijin' style="display:none;"></iframe>
</div><!-- //editSection --> </div><!-- //border_contents --> </div><!-- //container --> </form>
|