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
132
133
134
135
136
137
138
|
<style> .mainBoard {width:330px;margin:0 auto;padding:5px 0;table-layout:fixed;} .mainBoard th {text-align:center} .mainBoard td {padding:1px 0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;} .moreBtn {float:right;} .mainBoard tr:first-child th, .mainBoard tr:first-child td{padding-top:10px;} </style>
<script> function premier(n) { for(var i = 1; i < 3; i++) { obj = document.getElementById('premier'+i); img = document.getElementById('premier_button'+i); if ( n == i ) { obj.style.display = "block"; img.src = "./img/intro/board_on_0"+i+".gif"; } else { obj.style.display = "none"; img.src = "./img/intro/board_off_0"+i+".gif"; } } } </script> <table width="347"> <tr> <td> <table width="347" height="27"> <tr> <td><img src="./img/intro/board_on_01.gif" name="premier_button1" id='premier_button1' onClick="javascript:location.href = './customernotice.php';" OnMouseOver='this.style.cursor="hand";premier(1);' OnMouseOut='this.style.cursor="default"'></td> <td><img src="./img/intro/board_off_02.gif" name="premier_button2" id='premier_button2' onClick="javascript:location.href = './customerupgrade.php';" OnMouseOver='this.style.cursor="hand";premier(2);' OnMouseOut='this.style.cursor="default"'></td> <td width="115"></td> <!-- <td><img src="./img/intro/board_off_03.gif" name="premier_button3" id='premier_button3' onClick="javascript:location.href = './customerdev.php';" OnMouseOver='this.style.cursor="hand";premier(3);' OnMouseOut='this.style.cursor="default"'></td> <td width="2"></td> --> </tr> </table> </td> </tr> <tr> <td style="width:347px;height:174px;background:url('./img/intro/board_bg.gif') left top no-repeat; background-size:cover;"> <table style="height:174px;"> <tr> <td> <span id='premier1' style='display:block;'> <table class="mainBoard"> <caption class="sound_only">공지사항</caption> <colgroup> <col style="width:30px"><col style="width:240px"><col style="width:75px"> </colgroup> <? //-- 공지사항 $noticeSql = " select * from mBoard_notice WHERE (company = '00' or company = '03') and ifnull(temp,\"\") <>'Y' order by uid desc limit 5 "; $noticeResult = mysql_query($noticeSql);
if( mysql_num_rows($noticeResult) > 0 ){ while ($noticeRow = mysql_fetch_array($noticeResult)){ $reg_date = date('Y-m-d',$noticeRow['reg_date'] ); ?> <tr> <th><img src="./img/intro/board_dot.gif"></th> <td class="txt03" style="line-height:25px;"> <a href="./customernotice.php?uid=<?=$noticeRow['uid'];?>"><?=$noticeRow['subject'];?></a> </td> <td class="txt04"><?=$reg_date;?></td> </tr> <? } } ?> </table> <a href="./customernotice.php" class="moreBtn" style="margin:2px 13px 8px 0px;"><IMG SRC="./img/intro/board_morebt.gif" alt="more"></a> </span>
<span id='premier2' style='display:none;'> <table class="mainBoard"> <caption class="sound_only">업그레이드</caption> <colgroup> <col style="width:30px"><col style="width:240px"><col style="width:75px"> </colgroup> <? //-- 제품별업그레이드 $upgradeSql = " select * from upgrade WHERE temp='04' order by uid desc limit 5 "; $upgradeResult = mysql_query($upgradeSql);
if( mysql_num_rows($upgradeResult) > 0 ){ while ($upgradeRow = mysql_fetch_array($upgradeResult)){ $reg_date = date('Y-m-d',$upgradeRow['reg_date'] ); ?> <tr> <th><img src="./img/intro/board_dot.gif"></th> <td class="txt03" style="line-height:25px;"> <a href="./customerupgrade.php?uid=<?=$upgradeRow['uid'];?>&SearchMsw1=<?=$upgradeRow['programCode'];?>"><?=cutstr($upgradeRow['subject'],23,"..");?></a> </td> <td class="txt03"><?=$reg_date;?></td> </tr> <? } } ?> </table> <a href='./customerupgrade.php' class="moreBtn" style="margin:2px 13px 8px 0px;"><IMG SRC="./img/intro/board_morebt.gif" alt="more"></a> </span> <span id='premier3' style='display:none;'> <table class="mainBoard"> <caption class="sound_only">개발현황</caption> <colgroup> <col style="width:25px"><col style="width:240px"><col style="width:65px"> </colgroup> <? //-- 개발현황 $develSql = " select * from mBoard_devel order by devel_date DESC limit 7 "; $develResult = mysql_query($develSql);
if( mysql_num_rows($develResult) > 0 ){ while ($develRow = mysql_fetch_array($develResult)){ ?> <tr> <th><img src="./img/intro/board_dot.gif"></th> <td class="txt03"><a href="./customerdev.php"><?=cutstr($develRow['compname'],22,"..");?></td> <td class="txt03"><?=$develRow['devel_date'];?></td> </tr> <? } } ?> </table> <a href='./customerdev.php' class="moreBtn"><IMG SRC="./img/intro/board_morebt.gif" alt="more"></a> </span> </td> </tr> </table> </td> </tr> </table>
|