48 |
$add.=" vspace=\"$vspace\""; |
$add.=" vspace=\"$vspace\""; |
49 |
} |
} |
50 |
|
|
51 |
|
$out=""; |
52 |
|
$product_link = array ( |
53 |
|
"andol.gif"=>"human_health.php?search=andol&show_description=on#results", |
54 |
|
"andol_c.jpg"=>"human_health.php?search=andol%25c&show_description=on#results", |
55 |
|
"bisolex.jpg"=>"human_health.php?search=bisolex&show_description=on#results", |
56 |
|
"plibex.gif"=>"human_health.php?search=plibex&show_description=on#results", |
57 |
|
"plivit_b.gif"=>"human_health.php?search=plivit%25b&show_description=on#results", |
58 |
|
"plivit_b6.gif"=>"human_health.php?search=plivit%25b6&show_description=on#results", |
59 |
|
"plivit_c.gif"=>"human_health.php?search=plivit%25c&show_description=on#results", |
60 |
|
); |
61 |
|
|
62 |
|
$pic=basename($src); |
63 |
|
if ($product_link[$pic]) { |
64 |
|
$out.="<a href=\"$product_link[$pic]\">"; |
65 |
|
$add.=" border=\"0\""; |
66 |
|
} |
67 |
|
|
68 |
$size = GetImageSize(dirname($GLOBALS[SCRIPT_FILENAME])."/$src"); |
$size = GetImageSize(dirname($GLOBALS[SCRIPT_FILENAME])."/$src"); |
69 |
print "<img src=\"$src\" $size[3]$add>"; |
$out.="<img src=\"$src\" $size[3]$add>"; |
70 |
|
if ($product_link[$pic]) { |
71 |
|
$out.="</a>"; |
72 |
|
} |
73 |
|
print $out; |
74 |
} |
} |
75 |
|
|
76 |
// checkboxes |
// checkboxes |