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
|
<? session_start(); ?> <? include_once("./_common.php"); if( $apsid == "" ){ ?> <SCRIPT LANGUAGE='JavaScript'> alert("·Î±×ÀÎ ÈÄ¿¡ À̿밡´ÉÇÕ´Ï´Ù."); location.href = "./intro.php"; </script> <? }
// $admin = str_replace("admin+","",$adminid); include("./commonST.php"); ?> <SCRIPT LANGUAGE="JavaScript"> function customer(cus) { location.href = "./customerinfo.php?code="+cus+"&mode=<?=$mode?>"; }
function product(pro) { location.href="./productinfo.php?code="+pro+"&mode=<?=$mode?>"; } function addmode() { // 1:°Å·¡Ã³ 2: »óǰ location.href="./addmode.php?mode=1"; }
</SCRIPT> <!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"> <META http-equiv=Content-Type content="text/html; charset=euc-kr"> <meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width" />
<head>
<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/adminmobile/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"> <? /* echo $apcount."<br>"; //Á¢¼ÓÀÚ¼öüũ¿ë echo $apsid."<br>"; //»ç¾÷ÀÚID echo $apsacode."<br>"; //»ç¾÷ÀÚÄÚµå echo $apsname."<br>"; //»ç¾÷ÀÚ¸í Äڵ庰·Î Àû¿ë echo $apcusid."<br>"; //»ç¿øID echo $apcuscode."<br>"; //»ç¿øÄÚµå echo $apcusname."<br>"; //»ç¿ø¸í echo $apsa_uid."<br>"; //dbÁ¢¼Ó¾ÆÀ̵ð echo $apsa_dbip."<br>"; //db¾ÆÀÌÇÇ echo $apsa_dbname."<br>";//db¸í */ ?> <? include("./topmenu.php"); ?>
<div class="snb f_clear"> <ul> <li class="menu1 on"><a href="menu1.php">°Å·¡Ã³Á¤º¸</a></li> <li class="menu2 "><a href="menu2.php">»óǰÁ¤º¸</a></li> <li class="menu3 "><a href="menu3.php">°Å·¡Á¤º¸</a></li> </ul> </div> <div class="snb_sub"> <ul podo:else> <li class="on"><a href="menu1.php">°Å·¡Ã³Á¤º¸ Á¶È¸</a></li> <li class=""><a href="menu1_2.php">¼ö±Ý³»¿ª Á¶È¸</a></li> </ul> </div>
<div class="list-wrap">
<form name="search" method="post" action="menu1.php"> <table border="0" cellpadding="0" cellspacing="0" width="100%" valign="top" align="center" bgcolor="#ffffff"> <tr> <td height="34" align="center"> ¢º °Å·¡Ã³Á¶È¸: <input type="hidden" name="mode" id="mode" value="1"> <input type="text" name="keyword" value="<?=$keyword?>" style="width:120px;height:25px;font-size:14px;"> <input type="image" src="./img/common/search_bt.gif" border="0" onclick="submit();" style="cursor:pointer;"> <!-- <img src="./img/common/new_bt.gif" border="0" style="cursor:pointer;" onclick="addmode();"> --> </td> </tr> <tr height="1" bgcolor="#000000"> <td></td> </tr> </table> </form> <!-- °Å·¡Ã³ °Ë»ö --> <? if($mode =="1"){ ?> <table border="1" cellpadding="0" cellspacing="0" width="100%" valign="top" align="center" bordercolor="#dddddd" style="border-collapse:collapse"> <tr height="28" bgcolor="#f0f0f0" class="txt01"> <td width="25%" align="center">ÄÚµå</td> <td width="50%" align="center">°Å·¡Ã³¸í</td> <td width="25%" align="center">´ëÇ¥ÀÚ</td> </tr> <? $osql = "SELECT code, compname, ceoname FROM customer WHERE (ceoname like '%$keyword%' OR compname like '%$keyword%') AND hidden = '0' order by compname"; // echo $osql; $oresult = mysql_query($osql); ?> <!-- °Ë»ö°Ç¼ö°¡ 1°ÇÀÌ¸é »ó¼¼ÆäÀÌÁö ¹Ù·Î°¡±â --> <? if(mysql_num_rows($oresult) == "1"){ while($orow = mysql_fetch_array($oresult)){ ?> <script type="text/javascript"> customer("<?=$orow[code]?>"); </script> <? } ?>
<? } else if(mysql_num_rows($oresult) > "1"){ while($orow = mysql_fetch_array($oresult)){ ?> <tr height="30" onclick='customer("<?=$orow[code]?>")' style="cursor:pointer;" bgcolor="#ffffff" class="txt01nb"> <td align="center"><?=$orow[code]?></td> <td align="left" style="padding:0 0 0 10px;"><?=$orow[compname]?></td> <td align="left" style="padding:0 0 0 10px;"><?=$orow[ceoname]?></td> </tr>
<? } ?> </table> <? } else { ?> <tr height="30" bgcolor="#ffffff" class="txt01nb"> <td colspan="3" align="center"> °Ë»ö °á°ú°¡ ¾ø½À´Ï´Ù. </td> </tr> </table> <? } ?>
<!-- »óǰ °Ë»ö --> <? } ?>
</div>
<div id="footer"> <!-- <li><a href="./config.php"><img src="./img/common/config_bt.gif" border="0"></a></li> --> <li><div class="corp">Copyright ¨Ï Mijinsoft Corp.</div></li> </div>
</body> </html>
|