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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
|
<? session_start(); include_once("./_common.php"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"> <head> <META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=euc-kr">
<style> .ellipsis {font:9pt "±¼¸²"; width:100%; overflow:hidden; text-overflow:ellipsis; text-align:left; } .colresize {font:9pt "±¼¸²"; cursor:""; } .input_box {width:expression(this.parentNode.clientWidth-8); } </style>
<SCRIPT LANGUAGE="JavaScript">
var touchstart = false; //¸¶¿ì½º¸¦ ´©¸¥ »óÅ var td = ""; //»çÀÌÁî º¯°æÇÒ td var td_width; //º¯°æÇÒ tdÀÇ width, var x = 0; //¸¶¿ì½º µå·¹±×Àü °¡·ÎÀ§Ä¡
function TCstartColResize(obj){ touchstart = true; td = obj; td_width = td.width; x = event.clientX; } function TCColResize() { if (touchstart){
var distX = event.x - x; //À̵¿ÇÑ °£°Ý td.width = parseInt(td_width) + parseInt(distX); } } function TCstopColResize(){ touchstart = false; td = ''; }
function cell_left(obj){//¸¶¿ì½º°¡ ¼¿ÀÇ ¿ÞÂÊÀÎÁö ÃøÁ¤ if(event.offsetX < 5 && obj.cellIndex!=0) return true; else return false; } function cell_right(obj){//¸¶¿ì½º°¡ ¼¿ÀÇ ¿À¸¥ÂÊÀÎÁö ÃøÁ¤ if(event.offsetX > obj.width-30) return true; else return false; }
//¸®»çÀÌÁî½ÃÀÛ document.addEventListener('touchstart',function(event){ try{ var now_touchstart = window.event.srcElement; if(now_touchstart.className.toUpperCase()=="COLRESIZE"){
if( cell_left(now_touchstart) ){ alert('asd'); now_touchstart = now_touchstart.parentNode.childNodes[now_touchstart.cellIndex-1];
}else if( !cell_right(now_touchstart) ){ alert('111'); return true;//¿À¸¥Âʵµ ¿ÞÂʵµ ¾Æ´Ï¸é »çÀÌÁî Á¶Àý ¾ÈÇÔ }
TCstartColResize(now_touchstart);
} }catch(e){ return true; } },false);
//¸®»çÀÌÁî document.touchmove = function(){ try{ var now_touchmove = window.event.srcElement; if(now_touchmove.className.toUpperCase()=="COLRESIZE" || td!=""){
//¼¿ÀÇ °¡ÀåÀÚ¸®¸é ¸¶¿ì½º Ä¿¼ º¯°æ if( cell_left(now_touchmove) || cell_right(now_touchmove) ){ now_touchmove.style.cursor = "col-resize"; }else{ now_touchmove.style.cursor = ""; }
TCColResize(now_touchmove); }else{ now_touchmove.style.cursor = ""; } }catch(e){ return true; } }
//¸®»çÀÌÁîÁ¾·á document.touchend = function(){ try{ var now_touchend = window.event.srcElement; //if(now_touchend.className=="colResize"){ TCstopColResize(now_touchend); //} }catch(e){ return true; } }
//¸®»çÀÌÁî µµÁß ÅØ½ºÆ® ¼±Åà ±ÝÁö document.onselectstart = function(){ try{ if(td != ""){ return false; } }catch(e){ return true; } }
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript"> /* document.addEventListener('touchstart',function(event){ alert(event.touches.length); },false); */ </SCRIPT>
<title>õ³â°æ¿µ Mobile</title> <link rel="shortcut icon" href="http://www.mijinsoft.co.kr/mijin2.ico" type="image/icon" /> <link rel="apple-touch-icon-precomposed" href="http://www.mijinsoft.co.kr/html/mobile/img/homeicon.png" /> <link href="http://www.mijinsoft.co.kr/html/mobile/css/common.css" rel="stylesheet" type="text/css" /> <!-- <script language='javascript' src='/js/prototype.js'></script> <script language='javascript' src='/js/default.js'></script> <script language='javascript' src='/js/miya_validator.js'></script> --> </head> <body bgcolor="#efefef"> <div id="wrap">
<? include("./topmenu.php"); ?> <!-- Sub menu --> <div class="tab_menu"> <ul class="tab_menu"> <li class="menu1 on"><a href="menu1.php">±âÃʰü¸®</a></li> <li class="menu2 on"><a href="menu2.php">µî·Ï°ü¸®</a></li> <li class="menu3 on"><a href="menu3.php">Àç°í½Ç»ç</a></li> <li class="menu4 on"><a href="menu4.php">Àç°íÀ̵¿</a></li> <li class="menu5 on"><a href="menu5.php">󸮳»¿ª</a></li>
</ul> </div> <!-- contents start--> <div id="mainbt"> <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#B8B8B8" nowrap style='table-layout:fixed'> <tr bgcolor="#A5D4D2" align="center" height="35"> <td width="20%" class="colresize">¼±ÅÃ</td> <td width="20%" class="colresize">¼ø¹ø</td> <td width="20%" class="colresize">ǰ¸ñ¸í</td> <td width="20%" class="colresize">³¯Â¥</td> <td width="15%" class="colresize">Àå¼Ò</td> <td width="15%" class="colresize">ºñ°í</td> </tr> <tr bgcolor="#FFFFFF" height="27" align="center"> <td>2</td> <td>1</td>
<td></td> <td></td> <td></td> <td nowrap class="ellipsis"></td> </tr> </table> </div> </div> <div id="footer"> <li><a href="../config.php"><img src="./img/common/config_bt.gif" border="0"></li> <li><div class="corp">Copyright ¨Ï Mijinsoft Corp.</div></li> </div> </div> <? echo $countuid; //Á¢¼ÓÀÚ¼öüũ¿ë echo $sa_uid; //»ç¾÷ÀÚID echo $sa_name; //»ç¾÷ÀÚ¸í Äڵ庰·Î Àû¿ë echo $cuscode; //»ç¿øÄÚµå echo $ocode; //»ç¾÷ÀÚÄÚµå echo $sa_uid; //dbÁ¢¼Ó¾ÆÀ̵ð echo $sa_dbip; //db¾ÆÀÌÇÇ echo $sa_dbname;//db¸í ?>
</body> </html>
|