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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
|
<?php require("webadmin/configure.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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=7"> <title>REP ELECTRONICS LIMITED</title> <script language=JavaScript> <!-- var message=""; /////////////////////////////////// function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {(message);return false;}}} if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;} else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false") // --> </script> <script type="text/JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; }
function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} }
function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; }
function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="js/jquery.cycle.lite.1.0.min.js"></script>
<!-- initialize the slideshow when the DOM is ready --> <script type="text/javascript"> $(document).ready(function() { $("div.slideshow").cycle( { timeout: 3000, // time to hold one image (ms) speed: 2000, // transition time (ms) after: function() { // do this after change $("div.title").html(this.alt); } } ); }); </script> <!-- initialize the slideshow when the DOM is ready --> <script type="text/javascript"> $(document).ready(function() { $("div.slideshow2").cycle( { timeout: 3000, // time to hold one image (ms) speed: 2000, // transition time (ms) after: function() { // do this after change $("div.title2").html(this.alt2); } } ); }); </script> <script type="text/javascript"> $(document).ready(function() { $("div.slideshow3").cycle( { timeout: 3000, // time to hold one image (ms) speed: 2000, // transition time (ms) after: function() { // do this after change $("div.title3").html(this.alt3); } } ); }); </script> <style type="text/css"> div.slideshow { width: 145px; height: 145px; border: 0px solid #ccc; background-color: #818286; padding: 0px; } div.slideshow img { padding: 0px; border:0; } div.title { width: 220px; text-align: left; margin-top: 0px; font-family: Arial; font-size: 12px; color: #FFFFFF; text-decoration: none; } </style> <style type="text/css"> div.slideshow2 { width: 145px; height: 145px; border: 0px solid #ccc; background-color: #818286; padding: 0px; } div.slideshow2 img { padding: 0px; border:0; } div.title2 { width: 220px; text-align: left; margin-top: 0px; font-family: Arial; font-size: 12px; color: #FFFFFF; text-decoration: none; } </style> <style type="text/css"> div.slideshow3 { width: 145px; height: 145px; border: 0px solid #ccc; background-color: #818286; padding: 0px; } div.slideshow3 img { padding: 0px; border:0; } div.title3 { width: 220px; text-align: left; margin-top: 0px; font-family: Arial; font-size: 12px; color: #FFFFFF; text-decoration: none; } </style>
<style type="text/css"> <!-- body { padding:0px; margin-top:177px; background-image: url(images/bg1.jpg); background-repeat: repeat-x; background-color: #FFFFFF; } --> </style> </head>
<body> <table border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="300" align="center"><a href="main.php"><img src="images/logo_main.jpg" width="280" height="188" /></a></td> <!-- Gaming Accessories --> <td width="242" align="center" valign="top"><div class="slideshow"> <? $sql = "SELECT mainimgimage "; $sql .= "FROM mainimg "; $sql .= "WHERE mainimgtype = '1' "; $sql .= "ORDER BY RAND() "; $result = mysql_query($sql); while ($row = mysql_fetch_array($result,MYSQL_ASSOC)) { ?> <a href="product.php?id=1" onmouseover="MM_swapImage('Image1','','images/mcatname1.jpg',1)" onmouseout="MM_swapImgRestore()"><img src="webadmin/mainimage/<? echo $row{'mainimgimage'}; ?>" width="145" height="145"/></a> <? } ?> </div> <a href="product.php?id=1"><img src="images/mcatname1off.jpg" onmouseover="this.src='images/mcatname1.jpg'" onmouseout="this.src='images/mcatname1off.jpg'" width="145" height="43" border="0" id="Image1"/></a></td> <!-- End Gaming Accessories --> <!-- Game Consoles --> <td width="242" align="center" valign="top"><div class="slideshow2"> <? $sql = "SELECT mainimgimage "; $sql .= "FROM mainimg "; $sql .= "WHERE mainimgtype = '2' "; $sql .= "ORDER BY RAND() "; $result = mysql_query($sql); while ($row = mysql_fetch_array($result,MYSQL_ASSOC)) { ?> <a href="product.php?id=2" onmouseover="MM_swapImage('Image2','','images/mcatname2.jpg',2)" onmouseout="MM_swapImgRestore()"><img src="webadmin/mainimage/<? echo $row{'mainimgimage'}; ?>" width="145" height="145"/></a> <? } ?> </div> <a href="product.php?id=2"><img src="images/mcatname2off.jpg" onmouseover="this.src='images/mcatname2.jpg'" onmouseout="this.src='images/mcatname2off.jpg'" width="145" height="43" border="0" id="Image2"/></a></td> <!-- End Game Consoles --> <!-- AV Product --> <td width="242" align="center" valign="top"><div class="slideshow3"> <? $sql = "SELECT mainimgimage "; $sql .= "FROM mainimg "; $sql .= "WHERE mainimgtype = '3' "; $sql .= "ORDER BY RAND() "; $result = mysql_query($sql); while ($row = mysql_fetch_array($result,MYSQL_ASSOC)) { ?> <a href="product.php?id=3" onmouseover="MM_swapImage('Image3','','images/mcatname3.jpg',3)" onmouseout="MM_swapImgRestore()"><img src="webadmin/mainimage/<? echo $row{'mainimgimage'}; ?>" height="145"/></a> <? } ?> </div> <a href="product.php?id=3"><img src="images/mcatname3off.jpg" onmouseover="this.src='images/mcatname3.jpg'" onmouseout="this.src='images/mcatname3off.jpg'" height="43" border="0" id="Image3"/></a> </td> <!-- End AV Product --> </tr> <tr> <td height="120"> </td> <td align="center" valign="middle"><a href="pcat.php?id=1&procatid=1"><img src="webadmin/brand/1brand1.jpg" width="45" height="45" hspace="2" vspace="2" border="0" /></a><a href="pcat.php?id=1&procatid=2"><img src="webadmin/brand/1brand2.jpg" width="45" height="45" hspace="2" vspace="2" border="0" /></a><br /> <a href="pcat.php?id=1&procatid=3"><img src="webadmin/brand/1brand3.jpg" width="45" height="45" hspace="2" vspace="2" border="0" /></a><img src="webadmin/brand/blank.jpg" width="45" height="45" hspace="2" vspace="2" border="0" /></td> <td align="center" valign="middle"><a href="pcat.php?id=2&procatid=11"><img src="webadmin/brand/1brand11.jpg" width="45" height="45" hspace="2" vspace="2" border="0" /></a><a href="pcat.php?id=2&procatid=12"><img src="webadmin/brand/1brand12.jpg" width="45" height="45" hspace="2" vspace="2" border="0" /></a><br /> <a href="pcat.php?id=2&procatid=13"><img src="webadmin/brand/1brand13.jpg" width="45" height="45" hspace="2" vspace="2" border="0" /></a><img src="webadmin/brand/blank.jpg" width="45" height="45" hspace="2" vspace="2" border="0" /></td> <td align="center" valign="middle"><a href="pcat.php?id=3&procatid=21"><img src="webadmin/brand/1brand21.jpg" width="45" height="45" hspace="2" vspace="2" border="0" /></a><a href="pcat.php?id=3&procatid=22"><img src="webadmin/brand/1brand22.jpg" width="45" height="45" hspace="2" vspace="2" border="0" /></a><br /><a href="pcat.php?id=3&procatid=23"><img src="webadmin/brand/1brand23.jpg" width="45" height="45" hspace="2" vspace="2" border="0" /></a><img src="webadmin/brand/blank.jpg" width="45" height="45" hspace="2" vspace="2" border="0" /></td> </tr> </table> </body> </html>
|