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
|
<? session_start(); ?> <?php include_once("./_common2.php");?>
<? if(!isset($pcusid)) $pcusid = ""; if(!isset($mode)) $mode = ""; if(!isset($keyword)) $keyword = ""; if(!isset($psacode)) $psacode = "";
if( $pcusid == "" ){ ?> <SCRIPT LANGUAGE='JavaScript'> alert("·Î±×ÀÎ ÈÄ¿¡ À̿밡´ÉÇÕ´Ï´Ù."); location.href = "./intro.php"; </script> <? }
// $admin = str_replace("admin+","",$adminid); include("./commonST.php"); ?> <SCRIPT LANGUAGE="JavaScript"> function customer(cus) { var win = window.open( "./customerinfo.php?code="+cus, 'newWin'); } function addmode() { var mode = document.getElementById("mode").value; // 1:°Å·¡Ã³ 2: »óǰ location.href="./addmode.php?mode="+mode; } </SCRIPT> <META http-equiv=Content-Type content="text/html; charset=euc-kr"> <!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>
<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"> <? /* echo $pcount; //Á¢¼ÓÀÚ¼öüũ¿ë echo $psid; //»ç¾÷ÀÚID echo $psacode; //»ç¾÷ÀÚÄÚµå echo $psname; //»ç¾÷ÀÚ¸í Äڵ庰·Î Àû¿ë echo $pcusid; //»ç¿øID echo $pcuscode; //»ç¿øÄÚµå echo $pcusname; //»ç¿ø¸í echo $psa_uid; //dbÁ¢¼Ó¾ÆÀ̵ð echo $psa_dbip; //db¾ÆÀÌÇÇ echo $psa_dbname;//db¸í */ ?> <? 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 "><a href="menu2.php">µî·Ï°ü¸®</a></li> <li class="menu3 "><a href="menu3.php">Àç°í½Ç»ç</a></li> <li class="menu4 "><a href="menu4.php">Àç°íÀ̵¿</a></li> <li class="menu5 "><a href="menu5.php">󸮳»¿ª</a></li> </ul> </div> <!-- contents start--> <div class="content"> <form name="search" method="post" action="menu1.php"> <table border="0" cellpadding="0" cellspacing="0" width="100%" valign="top"> <tr> <td height="34"> <select name="mode" id="mode" style="font-size:14px;"> <option value="1" <? if($mode == "1"){ echo "selected"; } ?> >°Å·¡Ã³</option> <option value="2" <? if($mode == "2"){ echo "selected"; } ?> >»óǰ</option> </select> <input type="text" name="keyword" value="<?=$keyword?>" style="width:120px;height:20px;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> <div class="menubar"> <img src="./img/common/producttab.gif"> </div> <? $dsql = "SELECT m.code, m.name, m.norm, m.packqnt, m.bcode, m.bcode2, d.buyprice, d.saleprice , c.compname FROM product_m m INNER JOIN product_d d ON m.code = d.pcode LEFT JOIN customer c ON m.ccode = c.code WHERE m.code = '{$code}' AND d.ocode = '{$psacode}'"; $dresult = mysql_query($dsql); $drow = mysql_fetch_array($dresult); //echo $dsql; ?> <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="30%" align="left" style="padding:0 0 0 10px;">»óǰ¸í</td> <td width="70%" align="left" style="padding:0 0 0 10px;" bgcolor="#ffffff" class="b_no"><?=$drow['name']?></td> </tr> <tr height="28" bgcolor="#f0f0f0" class="txt01"> <td align="left" style="padding:0 0 0 10px;">±Ô°Ý</td> <td align="left" style="padding:0 0 0 10px;" bgcolor="#ffffff" class="b_no"><?=$drow['norm']?></td> </tr> <tr height="28" bgcolor="#f0f0f0" class="txt01"> <td align="left" style="padding:0 0 0 10px;">¸ÅÀԱݾ×</td> <td align="right" style="padding:0 10px 0 10px;" bgcolor="#ffffff" class="b_no"><?=number_format($drow['buyprice'])?></td> </tr> <tr height="28" bgcolor="#f0f0f0" class="txt01"> <td align="left" style="padding:0 0 0 10px;">¸ÅÃâ±Ý¾×</td> <td align="right" style="padding:0 10px 0 10px;" bgcolor="#ffffff" class="b_no"><?=number_format($drow['saleprice'])?></td> </tr> <tr height="28" bgcolor="#f0f0f0" class="txt01"> <td align="left" style="padding:0 0 0 10px;">ÁÖ¸ÅÀÔó</td> <td align="left" style="padding:0 0 0 10px;" bgcolor="#ffffff" class="b_no"><?=$drow['compname']?></td> </tr> <tr height="28" bgcolor="#f0f0f0" class="txt01"> <td align="left" style="padding:0 0 0 10px;">³»Ç°¼ö·®</td> <td align="left" style="padding:0 0 0 10px;" bgcolor="#ffffff" class="b_no"><?=$drow['packqnt']?></td> </tr> <tr height="28" bgcolor="#f0f0f0" class="txt01"> <td align="left" style="padding:0 0 0 10px;">³¹°³¹ÙÄÚµå</td> <td align="left" style="padding:0 0 0 10px;" bgcolor="#ffffff" class="b_no"><?=$drow['bcode']?></td> </tr> <tr height="28" bgcolor="#f0f0f0" class="txt01"> <td align="left" style="padding:0 0 0 10px;">¹Ú½º¹ÙÄÚµå</td> <td align="left" style="padding:0 10px 0 10px;" bgcolor="#ffffff" class="b_no"><?=$drow['bcode2']?></td> </tr> </table> <table border="1" cellpadding="0" cellspacing="0" width="100%" valign="top" align="center" bordercolor="#dddddd" style="border-collapse:collapse"> <tr height="28" bgcolor="#575757" class="txt01w"> <td width="80%" align="center">â°í¸í</td> <td width="20%" align="center">Àç°í</td> </tr> <? $isql = "SELECT i.qnt, s.name FROM invn_real i LEFT JOIN storehouse s ON i.scode=s.code WHERE i.pcode = '{$code}' AND i.ocode = '{$psacode}' order by name"; $iresult = mysql_query($isql); while($irow = mysql_fetch_array($iresult)){ ?> <tr height="28" bgcolor="#ffffff" class="txt01"> <td width="80%" align="center"><?=$irow['name']?></td> <td width="20%" align="center"><?=$irow['qnt']?></td> </tr> <? } ?> </table> </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>
</body> </html>
|