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
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
| <?php require_once('Connections/lego_pwconn.php'); ?>
<?php include_once('computerating.php'); ?>
<?php
if (!isset($_GET['catid'])){
$cat = 0;
} else {
$cat = $_GET['catid'];
}
if (!isset($_GET['supcatid'])){
$supcatid = 0;
} else {
$supcatid = $_GET['supcatid'];
}
if (!isset($_GET['order'])){
$orderid = 0;
} else {
$orderid = $_GET['order'];
}
if (!isset($_GET['setid'])){
$set = 0;
} else {
$set = $_GET['setid'];
}
?>
<?php
session_start();
header("Cache-control: private");
?>
<?php
mysql_select_db($database_lego_pwconn, $lego_pwconn);
$query_set_cat_rs = "SELECT * FROM set_category WHERE supercatid = 0 ORDER BY set_category.catnaam";
$set_cat_rs = mysql_query($query_set_cat_rs, $lego_pwconn) or die(mysql_error());
mysql_select_db($database_lego_pwconn, $lego_pwconn);
$query_num_per_cat = "SELECT set_in_shop.*, shops.* FROM set_in_shop INNER JOIN shops ON set_in_shop.shopid = shops.uid WHERE set_in_shop.tijdstmp IN (SELECT max(tijdstmp) FROM set_in_shop AS setshop WHERE setid = 2 GROUP BY setshop.shopid)";
$num_per_cat = mysql_query($query_num_per_cat, $lego_pwconn) or die(mysql_error());
$row_num_per_cat = mysql_fetch_assoc($num_per_cat);
$totalRows_num_per_cat = mysql_num_rows($num_per_cat);
mysql_select_db($database_lego_pwconn, $lego_pwconn);
$query_sets_per_cat_rs = "SELECT * FROM sets WHERE setcat = 1";
$sets_per_cat_rs = mysql_query($query_sets_per_cat_rs, $lego_pwconn) or die(mysql_error());
$row_sets_per_cat_rs = mysql_fetch_assoc($sets_per_cat_rs);
$totalRows_sets_per_cat_rs = mysql_num_rows($sets_per_cat_rs);
mysql_select_db($database_lego_pwconn, $lego_pwconn);
$query_setcatrs = "SELECT * FROM set_category WHERE supercatid = 0";
$setcatrs = mysql_query($query_setcatrs, $lego_pwconn) or die(mysql_error());
$row_setcatrs = mysql_fetch_assoc($setcatrs);
$totalRows_setcatrs = mysql_num_rows($setcatrs);
mysql_select_db($database_lego_pwconn, $lego_pwconn);
$query_set_shops = "SELECT * FROM set_in_shop WHERE setid = 1";
$set_shops = mysql_query($query_set_shops, $lego_pwconn) or die(mysql_error());
$row_set_shops = mysql_fetch_assoc($set_shops);
$totalRows_set_shops = mysql_num_rows($set_shops);
mysql_select_db($database_lego_pwconn, $lego_pwconn);
$query_shoprs = "SELECT * FROM shops";
$shoprs = mysql_query($query_shoprs, $lego_pwconn) or die(mysql_error());
$row_shoprs = mysql_fetch_assoc($shoprs);
$totalRows_shoprs = mysql_num_rows($shoprs);
mysql_select_db($database_lego_pwconn, $lego_pwconn);
$query_ketenrs = "SELECT * FROM keten";
$ketenrs = mysql_query($query_ketenrs, $lego_pwconn) or die(mysql_error());
$row_ketenrs = mysql_fetch_assoc($ketenrs);
$totalRows_ketenrs = mysql_num_rows($ketenrs);
mysql_select_db($database_lego_pwconn, $lego_pwconn);
$query_shopwaarderingrs = "SELECT * FROM shopsurvey";
$shopwaarderingrs = mysql_query($query_shopwaarderingrs, $lego_pwconn) or die(mysql_error());
$row_shopwaarderingrs = mysql_fetch_assoc($shopwaarderingrs);
$totalRows_shopwaarderingrs = mysql_num_rows($shopwaarderingrs);
mysql_select_db($database_lego_pwconn, $lego_pwconn);
$query_numsets = "SELECT count(*) as setcount FROM `sets` ";
$numsets = mysql_query($query_numsets, $lego_pwconn) or die(mysql_error());
$row_numsets = mysql_fetch_assoc($numsets);
$totalRows_numsets = mysql_num_rows($numsets);
mysql_select_db($database_lego_pwconn, $lego_pwconn);
$query_subcat = "SELECT * FROM set_category WHERE set_category.supercatid = 0";
$subcat = mysql_query($query_subcat, $lego_pwconn) or die(mysql_error());
$row_subcat = mysql_fetch_assoc($subcat);
$totalRows_subcat = mysql_num_rows($subcat);
mysql_select_db($database_lego_pwconn, $lego_pwconn);
$query_subcatlistrs = "SELECT * FROM set_category";
$subcatlistrs = mysql_query($query_subcatlistrs, $lego_pwconn) or die(mysql_error());
$row_subcatlistrs = mysql_fetch_assoc($subcatlistrs);
$totalRows_subcatlistrs = mysql_num_rows($subcatlistrs);
?>
<script language="javascript" type="text/javascript">
<!--
if (top.location == self.location) { //if page is not in its frameset
top.location.href = "http://213.233.222.222/legopricewatch/index.html";
}
//-->
</script>
<style type="text/css">
<!--
.style1 {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
}
body,td,th {
font-family: Arial, Helvetica, sans-serif;
}
.style2 {font-size: 9px}
.style3 {
font-size: 16px;
font-weight: bold;
color: #333333;
}
.tabletop
{
}
.table
{
border-color: #CCCCCC;
border-style: solid;
border-bottom-width: 0px;
border-left-width: 1px;
border-right-width: 1px;
border-top-width: 1px;
}
.style5 {color: #333333}
a:link {
color: #333333;
}
a:visited {
color: #666666;
}
a:hover {
color: #000000;
}
body {
background-color: #CBCBCB;
}
.style6 {
font-size: 12px;
font-weight: bold;
}
-->
</style>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>LEGO Pricewatch</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
/* $orderby = "";
switch ($orderid) {
case 0 : $orderby = "";
case 1 : $orderby = " ORDER BY naam";
case 2 : $orderby = "";
*/
?>
<table width="100%" height="100%" border="0">
<tr>
<td width="98%"><p class="style1"><a href="index.php">LEGO Pricewatch</a>
<?php
if (($cat != 0) && ($set != 0)) {
$query_num_per_cat = "SELECT * FROM set_category WHERE uid = " . $cat . " ORDER BY catnaam";
$num_per_cat = mysql_query($query_num_per_cat, $lego_pwconn) or die(mysql_error());
$row_num_per_cat = mysql_fetch_assoc($num_per_cat);
$cat_naam = $row_num_per_cat['catnaam'];
echo " / <a href=index.php?catid=" . $cat . ">" . $cat_naam . "</a>";
}
?>
</p>
<span class="style6">Aantal beschikbare sets: <?php echo $row_numsets['setcount']; ?></span><BR></td>
</tr>
<tr>
<td colspan="2">
<?php if ($cat == 0) { ?>
<table width="75%" border="0" cellpadding="0" cellspacing="0" class="table">
<tr>
<td bgcolor="#999999"><table width="100%" border="0">
<tr>
<th width="64%" scope="col"><div align="left"><span class="style3">Categorie</span></div></th>
<?php if ($_SESSION["access"] == "granted") { ?>
<th width="36%" scope="col"><a href="catinsert.php">[img]"images/addicon.gif"[/img]</th>
<?php } ?>
</tr>
</table>
</td>
</tr>
<tr>
<td><?php while ($row_set_cat_rs = mysql_fetch_assoc($set_cat_rs)) {
$query_num_per_cat = "SELECT * FROM sets WHERE setcat = " . $row_set_cat_rs['uid'];
$num_per_cat = mysql_query($query_num_per_cat, $lego_pwconn) or die(mysql_error());
$num_sets_voor_cat = mysql_num_rows($num_per_cat);
//uitvissen of er categorieen zijn welke de huidige categorie als super hebben...
$query_subcat = "SELECT * FROM set_category WHERE set_category.supercatid = " . $row_set_cat_rs['uid'];
$subcat = mysql_query($query_subcat, $lego_pwconn) or die(mysql_error());
$row_subcat = mysql_fetch_assoc($subcat);
$totalRows_subcat = mysql_num_rows($subcat);
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<?php if (($totalRows_subcat == 0) && ($num_sets_voor_cat == 0) && ($_SESSION["access"] != "granted")) { ?>
<td width="45%" bgcolor="#CCCCCC" class="tabletop style5"><?php echo $row_set_cat_rs['catnaam']; ?></td>
<?php } else { ?>
<td width="34%" bgcolor="#CCCCCC" class="tabletop style5"><a href="index.php?catid=<?php echo $row_set_cat_rs['uid']; ?>"><?php echo $row_set_cat_rs['catnaam']; ?></a></td>
<?php } ?>
<td width="21%" bgcolor="#CCCCCC" class="tabletop"><div align="center"><span class="style5"><?php echo $num_sets_voor_cat; ?></span></div></td>
</tr>
</table>
<?php } ?>
</td></tr>
<td>
</td>
<?php } elseif ($set == 0) {
$query_num_per_cat = "SELECT * FROM sets WHERE setcat = " . $cat . " ORDER BY setno";
$num_per_cat = mysql_query($query_num_per_cat, $lego_pwconn) or die(mysql_error());
$row_num_per_cat = mysql_fetch_assoc($num_per_cat);
$totalRows_num_per_cat = mysql_num_rows($num_per_cat);
$query_setcatrs = "SELECT * FROM set_category WHERE uid = " . $cat . " ORDER BY catnaam";
$setcatrs = mysql_query($query_setcatrs, $lego_pwconn) or die(mysql_error());
$row_setcatrs = mysql_fetch_assoc($setcatrs);
$totalRows_setcatrs = mysql_num_rows($setcatrs);
$query_subcat = "SELECT * FROM set_category WHERE set_category.supercatid = " . $cat . " ORDER BY catnaam";
$subcat = mysql_query($query_subcat, $lego_pwconn) or die(mysql_error());
$row_subcat = mysql_fetch_assoc($subcat);
$totalRows_subcat = mysql_num_rows($subcat);
$query_subcatlistrs = "SELECT * FROM set_category where (uid = " . $cat . ")";
$subcatlistrs = mysql_query($query_subcatlistrs, $lego_pwconn) or die(mysql_error());
$row_subcatlistrs = mysql_fetch_assoc($subcatlistrs);
//$totalRows_subcatlistrs = mysql_num_rows($subcatlistrs);
$catlist = '<a href=index.php?catid=' . $row_subcatlistrs['uid'] . '>' . $row_subcatlistrs['catnaam'] . '</a>';
?>
<?php while ($row_subcatlistrs['supercatid'] != 0) {
//if ($row_subcat['supercatid'] != 0) {
$query_subcatlistrs = "SELECT * FROM set_category where uid = " . $row_subcatlistrs['supercatid'];
$subcatlistrs = mysql_query($query_subcatlistrs, $lego_pwconn) or die(mysql_error());
$row_subcatlistrs = mysql_fetch_assoc($subcatlistrs);
//}
$catlist = '<a href=index.php?catid=' . $row_subcatlistrs['uid'] . '>' . $row_subcatlistrs['catnaam'] . '</a> > ' . $catlist;
}
?>
<table width="75%" border="0" cellpadding="0" cellspacing="0" class="table">
<tr>
<td>
<table width="100%" border="0">
<tr>
<td bgcolor="#999999" class="style3">Overzicht van subcategoriëen van <?php echo $catlist; ?></td>
</tr>
<tr>
<td><table width="100%" border="0">
<?php //eerst alle subsets proberen te tonen
if ($row_subcat['uid'] != "") { do {
?>
<tr>
<td><a href="index.php?catid=<?php echo $row_subcat['uid']; ?>"><?php echo $row_subcat['catnaam']; ?></a></td>
<td> </td>
</tr>
<?php } while ($row_subcat = mysql_fetch_assoc($subcat)); } else { ?>
<tr>
<td>(Geen subcategoriëen voor deze categorie)</td>
<td> </td>
</tr>
</table></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<table width="100%" border="0">
<tr>
<th scope="col" bgcolor="#999999"><div align="left"><span class="style3">Sets in de categorie: <?php echo $row_setcatrs['catnaam']; ?></span></div></th>
<?php if ($_SESSION["access"] == "granted") { ?>
<th scope="col" bgcolor="#999999"><a href="setsinsert.php?catid=<?php echo $row_setcatrs['uid']; ?>">[img]"images/addicon.gif"[/img]</a></th>
<?php } ?>
</tr>
</table> </td>
</tr>
<tr>
<td bgcolor="#cccccc">
<table width="100%" border="0">
<tr>
<td> </td>
<td>Setno</td>
<td>Naam</td>
<td>Laagste prijs</td>
<td>Update</td>
</tr>
<?php if ($row_num_per_cat['uid'] != "") do { ?>
<?php
$query_set_shops = "SELECT MIN(prijs) FROM set_in_shop WHERE setid = " . $row_num_per_cat['uid'];
$set_shops = mysql_query($query_set_shops, $lego_pwconn) or die(mysql_error());
$row_set_shops = mysql_fetch_assoc($set_shops);
$min_prijs = $row_set_shops['MIN(prijs)'];
$query_set_shops = "SELECT MAX(tijdstmp) FROM set_in_shop WHERE setid = " . $row_num_per_cat['uid'];
$set_shops = mysql_query($query_set_shops, $lego_pwconn) or die(mysql_error());
$row_set_shops = mysql_fetch_assoc($set_shops);
$updated = $row_set_shops['MAX(tijdstmp)'];
$year = substr($updated,0,4);
$month = substr($updated,5,2);
$day = substr($updated,8,2);
$updated = $day . "-" . $month . "-" . $year;
// $query_set_shops = "SELECT * FROM set_in_shop WHERE setid = " . $row_num_per_cat['uid'];
$query_set_shops = "SELECT DISTINCT set_in_shop.shopid, set_in_shop.prijs, set_in_shop.user, set_in_shop.tijdstmp, set_in_shop.directurl, set_in_shop.setid, set_in_shop.is_shop FROM set_in_shop WHERE setid = " . $row_num_per_cat['uid'] . " GROUP BY shopid";
$set_shops = mysql_query($query_set_shops, $lego_pwconn) or die(mysql_error());
$row_set_shops = mysql_fetch_assoc($set_shops);
$num_shops = mysql_num_rows($set_shops);
?>
<tr>
<td><?php if (isset($num_shops)) { echo $num_shops; } else { echo "-"; } ?></td>
<td><?php
echo $row_num_per_cat['setno'];
?>
</td>
<td><a href="index.php?catid=<?php echo $cat; ?>&setid=<?php echo $row_num_per_cat['uid'];?>"><?php echo $row_num_per_cat['setnaam']; ?></a></td>
<td>€ <?php if (isset($min_prijs)) { echo $min_prijs; } else { echo "0,00"; } ?></td>
<td><?php if (isset($updated)) { echo $updated; } else { echo "00-00-0000"; } ?></td>
<td><?php if ($row_num_per_cat['peeronlink'] != '') echo '<a href="' . $row_num_per_cat['peeronlink'] . '" target="_blank">' . Peeron . '</a>' ?></td>
</tr>
<?php } while ($row_num_per_cat = mysql_fetch_assoc($num_per_cat)); ?>
<?php }} else {
?>
<?php
if ($set != "") {
$query_num_per_cat = "SELECT * FROM sets WHERE uid = " . $set;
$num_per_cat = mysql_query($query_num_per_cat, $lego_pwconn) or die(mysql_error());
$row_num_per_cat = mysql_fetch_assoc($num_per_cat);
$setno = $row_num_per_cat['setno'];
$set_descr = $row_num_per_cat['setnaam'];
$peeronline = $row_num_per_cat['peeronlink'];
//hier loopt de lus ook overheen!!!
//$query_num_per_cat = "SELECT set_in_shop.*, shops.* FROM set_in_shop, shops WHERE (set_in_shop.shopid = shops.uid) and (setid = " . $set . ") order by set_in_shop.Prijs ASC";
//$query_num_per_cat = "SELECT set_in_shop.*, shops.* FROM set_in_shop, shops WHERE (set_in_shop.shopid = shops.uid) and (setid = " . $set . ") GROUP BY set_in_shop.shopid HAVING tijdstmp = max(tijdstmp)";
$query_num_per_cat = "SELECT DISTINCT set_in_shop.setid, set_in_shop.prijs, set_in_shop.user, set_in_shop.tijdstmp, set_in_shop.directurl, set_in_shop.shopid, set_in_shop.is_shop, set_in_shop.archief, shops.*
FROM set_in_shop INNER JOIN shops ON set_in_shop.shopid = shops.uid
WHERE (setid = " . $set . ") and (set_in_shop.tijdstmp IN (SELECT max(tijdstmp)
FROM set_in_shop AS setshop
WHERE setid = " . $set . " GROUP BY setshop.shopid))
ORDER BY set_in_shop.Prijs";
$num_per_cat = mysql_query($query_num_per_cat, $lego_pwconn) or die(mysql_error());
$row_num_per_cat = mysql_fetch_assoc($num_per_cat);
$totalRows_num_per_cat = mysql_num_rows($num_per_cat);
}
?>
<table width="75%" border="0" cellpadding="0" cellspacing="0" class="table">
<tr>
<td bgcolor="#999999"><table width="100%" border="0">
<tr>
<th scope="col"><div align="left"><span class="style3">Overzicht voor set <?php echo $setno; ?> / <?php echo $set_descr; ?></span></div></th>
<th scope="col">
<?php if ($peeronline != '') {
echo '<a href="' . $peeronline . '" target="_blank">[img]"images/peeronlogo.gif"[/img]</a>';
} else {
echo '[img]"images/nopeeronlogo.gif"[/img]';
}
?>
<?php ?>
</th>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#cccccc">
<table width="100%" border="0">
<tr>
<td> </td>
<td>Winkel</td>
<td>Keten</td>
<td>Prijs</td>
<td>Postcode</td>
<td>Woonplaats</td>
<td>Update</td>
<td>
<?php if ($_SESSION["access"] == "granted") {
$addlnk = 'prijsinsert.php?catid=' . $cat . '&setid=' . $set;
include("menubalkje_t.php");
} else {
echo " ";
}
?>
</td>
</tr>
<?php if ($row_num_per_cat['shopid'] != "") do {
if ($row_num_per_cat['archief'] == 0) {
?>
<?php
$query_shoprs = "SELECT * FROM shops WHERE uid = " . $row_num_per_cat['shopid'];
$shoprs = mysql_query($query_shoprs, $lego_pwconn) or die(mysql_error());
$row_shoprs = mysql_fetch_assoc($shoprs);
$totalRows_shoprs = mysql_num_rows($shoprs);
$updated = $row_num_per_cat['tijdstmp'];
$year = substr($updated,0,4);
$month = substr($updated,5,2);
$day = substr($updated,8,2);
$updated = $day . "-" . $month . "-" . $year;
$query_ketenrs = "SELECT * FROM keten where uid = " . $row_shoprs['keten'];
$ketenrs = mysql_query($query_ketenrs, $lego_pwconn) or die(mysql_error());
$row_ketenrs = mysql_fetch_assoc($ketenrs);
$totalRows_ketenrs = mysql_num_rows($ketenrs);
$keten = $row_ketenrs['naam'];
if ($keten == "") {
$keten = "N.v.t.";
}
if ($row_ketenrs['url'] != "") {
$keten = "<a href=" . $row_ketenrs['url'] . " target=_blank>" . $keten . "</a>";
}
$shop = $row_num_per_cat['naam'];
if ($row_num_per_cat['directurl'] != "") {
$shop = "<a href=" . $row_num_per_cat['directurl'] . " target=_blank>" . $shop . "</a>";
}
$query_shopwaarderingrs = "SELECT * FROM shopsurvey WHERE shopid = " . $row_num_per_cat['shopid'];
$shopwaarderingrs = mysql_query($query_shopwaarderingrs, $lego_pwconn) or die(mysql_error());
$row_shopwaarderingrs = mysql_fetch_assoc($shopwaarderingrs);
$shopwaardering = getshopwaarderingdefault();
if ($row_shopwaarderingrs['service'] != "") {
$shopwaardering = computerating($row_shopwaarderingrs['service'], $row_shopwaarderingrs['alg_indruk'], $row_shopwaarderingrs['vakkundigheid'], $row_shopwaarderingrs['assortiment']);
//$row_shoprs['waardering'];
}
$shopwaardering = '<a href="shopreview.php?shopid=' . $row_num_per_cat['shopid'] . '">' . $shopwaardering . '</a href>';
?>
<tr>
<td><?php echo $shopwaardering ?></td>
<td><?php echo $shop ?></td>
<td><?php echo $keten; ?></td>
<td>€ <?php echo $row_num_per_cat['prijs']; ?></td>
<td><?php echo $row_shoprs['postcode']; ?></td>
<td><?php echo $row_shoprs['woonplaats']; ?></td>
<td><?php if (isset($updated)) { echo $updated; } else { echo "00-00-0000"; } ?></td>
<td><?php if ($_SESSION["access"] == "granted") {
//variabelen setten
//$editlnk = "editsetinshop.php?setid=" . $set . "&shopid=" . $row_num_per_cat['shopid'];
//$dellnk = "delete.php?setid=" . $set . "&shopid=" . $row_num_per_cat['shopid'];
//include("menubalkje_wv.php");
} else {
echo " ";
}
?>
</td>
</tr>
<?php }} while ($row_num_per_cat = mysql_fetch_assoc($num_per_cat)); ?>
<?php } ?>
</table>
</td></tr></table>
<hr noshade>
<span class="style2">JKSOFT Engineering 2005
<?php if ($_SESSION["access"] == "granted") { ?>
<a href="editor.php">Pricewatch editor</a>
<?php } ?>
</span>
</body>
</html>
<?php
mysql_free_result($set_cat_rs);
mysql_free_result($num_per_cat);
mysql_free_result($sets_per_cat_rs);
mysql_free_result($setcatrs);
mysql_free_result($set_shops);
mysql_free_result($shoprs);
mysql_free_result($ketenrs);
mysql_free_result($shopwaarderingrs);
mysql_free_result($numsets);
mysql_free_result($subcat);
mysql_free_result($subcatlistrs);
?> |