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_mod_produktbilder_overviewimage'))) { $arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->getProduktId($p['id']))); ?>
|
21 |
<?php if ($this->hasMod('wpsg_mod_produktbilder') && wpsg_isSizedInt($this->get_option('wpsg_mod_produktbilder_overviewimage'))) { $arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder_MT', array($this->getProduktId($p['id']))); ?>
|
22 |
<?php if (wpsg_isSizedArray($arBilder)) { ?>
|
22 |
<?php if (wpsg_isSizedArray($arBilder)) { ?>
|
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']))); ?>">
|
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']))); ?>">
|
24 |
|
24 |
|
25 |
<?php if (wpsg_isSizedString($p['varianten_image'])) $arBilder = array($p['varianten_image']); ?>
|
25 |
<?php if (wpsg_isSizedString($p['varianten_image'])) $arBilder = array($p['varianten_image']); ?>
|
26 |
|
26 |
|
- |
|
27 |
<?php $href = wp_get_attachment_image_src($arBilder[0]['post_id'], Array(50, 50)); ?>
|
27 |
<img src="<?php echo $this->callMod('wpsg_mod_produktbilder', 'makeTn', array($this->getProduktId($p['id']), array_shift($arBilder), 50, 50, 'sz')); ?>" alt="<?php echo wpsg_hspc(((wpsg_isSizedString($p['detailname'])?$p['detailname']:$p['name']))); ?>" />
|
28 |
<img src="<?php echo $href[0];?>" width="50" height="50" alt="" />
|
28 |
</a>
|
29 |
</a>
|
29 |
<?php } ?>
|
30 |
<?php } ?>
|
30 |
<?php } ?>
|
31 |
<?php } ?>
|
31 |
</td>
|
32 |
</td>
|
32 |
<td valign="middle" style="padding:4px; line-height:125%; vertical-align:middle; min-height:50px;">
|
33 |
<td valign="middle" style="padding:4px; line-height:125%; vertical-align:middle; min-height:50px;">
|