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
|
<?php include("./_common.php"); header("Content-type:text/html;charset=utf-8");
$sql = "set names utf8"; mysql_query($sql,$connect_free);
$table = "users"; $table2 = "service";
$comp_name = array_utf8($comp_name);
if($no!=''){ $sql = "select a.*, b.servicedate from {$table} a left join {$table2} b on a.code = b.code where a.no = '{$no}' "; //_pr($sql); $res = mysql_query($sql,$connect_free); $cinfo = mysql_fetch_array($res); $cinfo['add_file_kr'] = iconv("utf-8","euckr",$cinfo['add_file']); } ?>
<form name='member_reg_form' id='member_reg_form' method='post' action='m_member_process.php' enctype='multipart/form-data'> <input type='hidden' name='qstr' value='<?php echo $qstr;?>'> <input type='hidden' name='no' value='<?php echo $cinfo['no'];?>'>
<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> <input type='text' name='code' class='width_150' value='<?php echo $cinfo['code'];?>'> </td> </tr> <tr> <th>업종</th> <td><input type='text' name='businesstype' class='width_80' value='<?php echo $cinfo['businesstype'];?>'></td> <th>회사명</th> <td> <input type='text' name='company' class='width_80' value='<?php echo $cinfo['company'];?>'> </td> </tr> <tr> <th>아이디</th> <td> <input type='text' name='id' class='width_80' value='<?php echo $cinfo['id'];?>'> </td> <th>패스워드</th> <td><input type='text' name='pw' class='width_80' value=''> 수정시 입력</td> </tr> <tr> <th>이름</th> <td> <input type='text' name='name' class='width_80' value='<?php echo $cinfo['name'];?>'> </td> <th>이메일</th> <td><input type='text' name='email' class='width_150' value='<?php echo $cinfo['email'];?>'></td> </tr> <tr> <th>연락처</th> <td> <input type='text' name='tel' class='width_80' value='<?php echo $cinfo['tel'];?>'> </td> <th>휴대전화</th> <td><input type='text' name='phone' class='width_150' value='<?php echo $cinfo['phone'];?>'></td> </tr> <tr> <th>권한</th> <td> <input type='text' name='power' class='width_80' value='<?php echo $cinfo['power'];?>'> </td> <th>사용여부</th> <td> <input type='text' name='yn' class='width_80' value='<?php echo $cinfo['yn'];?>'> </td> </tr> <tr> <th>생성일</th> <td> <?php echo $cinfo['insertdate'];?> </td> <th>수정일</th> <td><?php echo $cinfo['updatedate'];?></td> </tr> <tr> <th>서비스 기간</th> <td colspan=3 style='word-break:break-all; width:500px;'> <input type='text' name='servicedate' class='width_150' value='<?php echo $cinfo['servicedate'];?>'> </td> </tr> <tr> <th>토큰</th> <td colspan=3 style='word-break:break-all; width:500px;'><?php echo $cinfo['token'];?></td> </tr> </table> </div> </form> <script> $(function(){ $(".colorBox input").click(function(){ var val1 = $("#subject").val(); var val2 = val1+"<font color="+$(this).val()+"></font>"; $("#subject").val(val2); }); }); </script>
|