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
|
<?php include("./_common.php"); header("Content-type:text/html;charset=utf-8");
$sql = "set names utf8"; mysql_query($sql,$connect_web);
$table = "mBoard_education";
$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); //$cinfo['add_file_kr'] = iconv("utf-8","euckr",$cinfo['add_file']); } else { $sql = "select * from admin where admin_id = '{$ADMINID}';"; $res = mysql_query($sql,$connect_web); $info = mysql_fetch_array($res); $cinfo['name'] = $info['admin_name']; } ?>
<form name='qatxt_reg_form' id='qatxt_reg_form' method='post' action='m_education_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><input type='text' name='e_company' id='e_company' class='width_500' value='<?php echo $cinfo['e_company'];?>'></td> </tr> <tr> <th>담당자</th> <td colspan=3><input type='text' name='e_name' id='e_name' class='width_500' value='<?php echo $cinfo['e_name'];?>'></td> </tr> <!--<tr> <th>사용상품</th> <td colspan=3><input type='text' name='e_product' id='e_product' class='width_500' value='<?php echo $cinfo['e_product'];?>'></td> </tr>--> <tr> <th>연락처</th> <td colspan=3><input type='text' name='e_tel' id='e_tel' class='width_500' value='<?php echo $cinfo['e_tel'];?>'></td> </tr> <tr> <th>영업장수</th> <td colspan=3><input type='text' name='e_ofc_cnt' id='e_ofc_cnt' class='width_500' value='<?php echo $cinfo['e_ofc_cnt'];?>'></td> </tr> <tr> <th>교육인원</th> <td colspan=3><input type='text' name='e_edu_cnt' id='e_edu_cnt' class='width_500' value='<?php echo $cinfo['e_edu_cnt'];?>'></td> </tr> <tr> <th>교육장소</th> <td colspan=3><input type='text' name='e_location' id='e_location' class='width_500' value='<?php echo $cinfo['e_location'];?>'></td> </tr> <tr> <th>교육목적</th> <td colspan=3><input type='text' name='e_purpose' id='e_purpose' class='width_500' value='<?php echo $cinfo['e_purpose'];?>'></td> </tr> <tr> <th>교육희망일시</th> <td colspan=3><input type='text' name='e_date' id='e_date' class='width_500' value='<?php echo $cinfo['e_date'];?>'></td> </tr> <tr> <th>교육담당자</th> <td colspan=3><input type='text' name='e_person' id='e_person' class='width_500' value='<?php echo $cinfo['e_person'];?>'></td> </tr> <tr> <th>진행상태</th> <td colspan=3> <select name='e_state'> <option value='신청' <?php if($cinfo['e_state']=='신청'){ echo "selected"; }?>>신청</option> <option value='교육예정' <?php if($cinfo['e_state']=='교육예정'){ echo "selected"; }?>>교육예정</option> <option value='교육완료' <?php if($cinfo['e_state']=='교육완료'){ echo "selected"; }?>>교육완료</option> <option value='보류' <?php if($cinfo['e_state']=='보류'){ echo "selected"; }?>>보류</option> </select> </td> </tr> <tr> <th>메모</th> <td colspan=3> <textarea name='e_memo' style='width:600px;height:150px;'><?php echo $cinfo['e_memo'];?></textarea> </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>
|