Line 16... |
Line 16... |
16 |
<td style="padding:0px; vertical-align:middle;" class="col_name td_bt">
|
16 |
<td style="padding:0px; vertical-align:middle;" class="col_name td_bt">
|
17 |
|
17 |
|
18 |
<table cellpadding="0" cellspacing="0">
|
18 |
<table cellpadding="0" cellspacing="0">
|
19 |
<tr>
|
19 |
<tr>
|
20 |
<td style="padding:0px; ">
|
20 |
<td style="padding:0px; ">
|
21 |
<?php if ($this->hasMod('wpsg_mod_produktbilder') && wpsg_isSizedInt($this->get_option('wpsg_imagehandler_overviewimage'))) { $arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder_MT', array($this->getProduktId($p['id']))); ?>
|
21 |
<?php if (wpsg_isSizedInt($this->get_option('wpsg_imagehandler_overviewimage'))) {
|
- |
|
22 |
|
- |
|
23 |
if (isset($p['product_key'])) {
|
- |
|
24 |
$bild = $this->imagehandler->getAttachmentID($p['product_key']);
|
- |
|
25 |
} else {
|
- |
|
26 |
$arBilder = $this->imagehandler->getAttachmentIDs($this->getProduktId($p['id']));
|
- |
|
27 |
$bild = $arBilder[0];
|
- |
|
28 |
}
|
- |
|
29 |
?>
|
22 |
<?php if (wpsg_isSizedArray($arBilder)) { ?>
|
30 |
<?php if (wpsg_isSizedString($bild)) { ?>
|
23 |
<a style="width:50px; width:50px; margin-right:10px; float:left;" href="<?php echo $this->getProduktLink($this->getProduktId($p['id'])); ?>" title="<?php echo wpsg_hspc(((wpsg_isSizedString($p['detailname'])?$p['detailname']:$p['name']))); ?>">
|
31 |
<a style="width:50px; width:50px; margin-right:10px; float:left;" href="<?php echo $this->getProduktLink($this->getProduktId($p['id'])); ?>" title="<?php echo wpsg_hspc(((wpsg_isSizedString($p['detailname'])?$p['detailname']:$p['name']))); ?>">
|
24 |
|
32 |
|
25 |
<?php if (wpsg_isSizedString($p['varianten_image'])) $arBilder = array($p['varianten_image']); ?>
|
- |
|
26 |
|
- |
|
27 |
<?php $href = wp_get_attachment_image_src($arBilder[0]['post_id'], Array(50, 50)); ?>
|
33 |
<?php echo wp_get_attachment_image($bild, Array(50, 50)); ?>
|
28 |
<img src="<?php echo $href[0];?>" width="50" height="50" alt="" />
|
- |
|
29 |
</a>
|
34 |
</a>
|
30 |
<?php } ?>
|
35 |
<?php } ?>
|
31 |
<?php } ?>
|
36 |
<?php } ?>
|
32 |
</td>
|
37 |
</td>
|
33 |
<td valign="middle" style="padding:4px; line-height:125%; vertical-align:middle; min-height:50px;">
|
38 |
<td valign="middle" style="padding:4px; line-height:125%; vertical-align:middle; min-height:50px;">
|