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
|
<?php include("./_common.php"); header("Content-type:text/html;charset=utf-8");
$sql = "set names utf8"; mysql_query($sql,$connect_web);
$table = "upgrade";
$comp_name = array_utf8($comp_name);
if($code!=''){ $sql = "select * from {$table} a where uid = '{$code}' "; $res = mysql_query($sql,$connect_web); $cinfo = mysql_fetch_array($res); } //_pr($cinfo);
$sql = "select category_code,category_name from cate3 order by idx"; $res = mysql_query($sql,$connect_web); while($info = mysql_fetch_array($res)){ $cate_array[] = $info; } //_pr($cate_array);
if($cinfo['reg_date']==''){ $cinfo['reg_date'] = time(); }
//$v = strtotime("2017-11-23"); ?>
<form name='upgrade_reg_form' id='upgrade_reg_form' method='post' action='m_upgrade_process.php' enctype='multipart/form-data'> <input type='hidden' name='qstr' value='<?php echo $qstr;?>'> <input type='hidden' name='code' value='<?php echo $cinfo['uid'];?>'>
<div class='cust_modal1'> <h4>기본정보</h4> <table class="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> <select name='programCode'> <? foreach($cate_array as $key=>$row){ $category_nameArr = explode( "->", $row['category_name'] ); ?> <option value='<?php echo $row['category_code'];?>' <?php if($cinfo['programCode'] == $row['category_code'] ){ echo "selected"; } ?> ><?php echo $category_nameArr[1];?></option>"; <? } ?> </select> </td> </tr> <tr> <th>작성일</th> <td colspan=3> <input type='text' name='regdate' class='width_80' value='<?php echo date("Y-m-d",$cinfo['reg_date']);?>'> </td> </tr> <tr> <th>버젼</th> <td> <input type='text' name='version' class='width_80' value='<?php echo $cinfo['version'];?>'> </td> <th>조회수</th> <td><input type='text' name='hit' class='width_40' value='<?php echo $cinfo['hit'];?>'></td> </tr> <tr> <th>제목</th> <td colspan=3> <input type='text' name='subject' class='width_500' value='<?php echo $cinfo['subject'];?>'> </td> </tr> <tr> <th>노출홈페이지 코드</th> <td colspan=3> <input type='text' name='temp' class='width_40' value='<?php echo $cinfo['temp'];?>'> (<b>00</b>:모두노출, <b>01</b>:(구)천년경영, <b>02</b>:(신)천년경영, <b>03</b>:이지포스, <b>04</b>:카메이트) </td> </tr> <tr> <th>업그레이드 <br>방법</th> <td colspan=3 class="colorBox"> <TEXTAREA NAME="up_method" style='width:600px;height:120px;'><?=$cinfo['up_method'];?></TEXTAREA> </td> </tr> <tr> <th>업그레이드 <br>내용</th> <td colspan=3><TEXTAREA NAME="up_info_memo" style='width:600px;height:160px;'><?=$cinfo['up_info_memo'];?></TEXTAREA></td> </tr> </table> </div> </form> <script> $(function(){
}); </script>
|