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
|
<? include("../manage/category/common.php"); ?> <? include('./include/_Head.php'); ?>
<script> function settle(s){ location.href = "Order_03.php?ProductCode="+s; } </script>
<body style="background:url(../newimg/shop/bg.jpg) center top no-repeat;"> <table border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td style="padding:0 7px 13px 0;" align="right"><? include('../html/include/newtop_sub_03.php'); ?></td> </tr> <tr> <td style="padding:0 0 0px 0;"><script type="text/javascript">flash('../newimg/shop/main_navigation.swf', '1000','100');</script></td> </tr> <tr> <td style="padding:0 0 26px 8px;"><table border="0" cellspacing="0" cellpadding="0"> <tr> <td valign="top"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td><? include('../html/include/left_menu_03.php'); ?></td> </tr> <tr> <td><img src="../newimg/shop/left_line_01.gif" border="0"></td> </tr> <tr> <td><? include('../html/include/left_menu_mid.php'); ?></td> </tr> <tr> <td><img src="../newimg/shop/left_line_02.gif" border="0"></td> </tr> </table> </td> <td valign="top"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td colspan="2"><img src="../newimg/shop/mid_top.jpg" border="0"></td> </tr> <tr> <td height="10" width="32" valign="top"> <TABLE border="0" cellspacing="0" cellpadding="0"> <TR> <TD><img src="../newimg/shop/mid_top2.gif" border="0"></TD> </TR> </TABLE> <td height="74" width="32" rowspan="3" valign="top"><img src="../newimg/shop/line_right.gif" border="0"></td> </tr> <tr> <td height="10" width="32"></td> </tr> <tr> <td width="754" align="center" valign="top"> <TABLE border="0" cellspacing="0" cellpadding="0"> <TR> <TD>
<? include("show_top_menubar.php"); ?>
<table width="735" border="0" cellspacing="0" cellpadding="0"> <tr> <? if( isset($category_code) && $category_code !== "" ) { $TMP_ProductCode = "03".$category_code; $productQry = "SELECT * FROM Product WHERE SUBSTRING(ProductCode, 1, 4) = '$TMP_ProductCode' order by lineup, idx " ; } else{ $TMP_ProductCode = "03"; $productQry = "SELECT * FROM Product WHERE SUBSTRING(ProductCode, 1, 2) = '$TMP_ProductCode' order by lineup, idx " ; } $productResult = MYSQL_QUERY($productQry); if( MYSQL_NUM_ROWS($productResult) > 0 ){ $num = MYSQL_NUM_ROWS($productResult); $k = 1; WHILE( $productRow = MYSQL_FETCH_ARRAY($productResult) ){ $BasicImage = "../manage/BasicImage/".$productRow['BasicImage']; $LargeImage = "../manage/img/LargeImage/".$productRow['LargeImage']; if( $productRow['PriceOpt1'] == "Call") $orderEx = "<img src=\"/manage/btn_telorder.gif\" onClick=\"alert('$productRow[ProductName] ±¸ÀÔ¿¡ ´ëÇÑ ¹®ÀÇ´Â 1566-8680 ·Î ¹®Àǹٶø´Ï´Ù.');\" style=\"cursor:hand;\" vspace=\"3\" border='0' align=\"absmiddle\">"; else if ($productRow['PriceOpt1'] == "0") $orderEx = "<b><font color=0066CC>°¡°Ý : ".Àüȹ®ÀÇ."</font></b> <img src=../img/common/btn_order.gif onClick=\"settle('$productRow[ProductCode]');\" style=\"cursor:hand;\" width=93 height=24 vspace=3 align=absmiddle>"; else $orderEx = "<b><font color=0066CC>°¡°Ý : ".number_format($productRow['PriceOpt1'])."</font></b> <img src=../img/common/btn_order.gif onClick=\"settle('$productRow[ProductCode]');\" style=\"cursor:hand;\" width=93 height=24 vspace=3 align=absmiddle>"; ?>
<td height="310" align="center" valign="top"> <table align="center"> <tr> <td height="270" align="center" valign="top"> <img src="<?=$BasicImage;?>" border="0" style="cursor:hand" Onclick="showPicture('<?=$LargeImage;?>')"></td> </tr> <td align="center" valign="bottom" class="txt03"><?=$orderEx;?></td> </tr> </table> </td> <? if($num !== $k ){ if( $k%3 !== 0 ) echo "<td width=1 bgcolor=ffffff></td>"; } if( $k%3 == 0 ) echo "</tr><tr><td height=10></td></tr><tr>"; $k++; } } ?> </tr> </table>
</TD> </TR> </TABLE> </td> </tr> <tr> <td height="5" width="32"></td> </tr> <tr> <td colspan="2"></td> </tr> <tr> <td colspan="2"></td> </tr> </table> </td> </tr> </table></td> </tr> <tr> <td align="center"><? include("../html/newfoot.php"); ?></td> </tr> </table>
</body>
|