Code: Alles auswählen
<div class="RelatedProds">
<?php if ($this->hasMod('wpsg_mod_produktbilder')) { ?>
<?php if (sizeof($this->callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->view['data']['id'])))) { ?>
<?php $i = 0; foreach ($this->callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->view['data']['id'])) as $b) { $i ++; ?>
<?php if ($i == 1) { ?>
<a href="<?php echo $this->view['data']['url']; ?>" title="Zum Artikel">
<?php
$width = 110;
$height = 58;
echo $this->callMod('wpsg_mod_produktbilder', 'genBild', array($this->view['data']['id'], $i, $width, $height, $this->get_option('wpsg_mod_produktbilder_mode'), 'pimage')); ?>
</a>
<?php } else { ?>
<?php } ?>
<?php } ?>
<?php } ?>
<?php } ?>
<p><a href="<?php echo $this->view['data']['url']; ?>" title="Zum Artikel"><?php echo wpsg_hspc($this->view['data']['detailname']); ?></a></p>
</div>
Code: Alles auswählen
<form id="wpsg_produktform_2" method="post" action=""><div class="RelatedProds">
<a href="http://.../produkte/GP1_lord_bloodorange/" title="Zum Artikel">
<img src="http://.../wp-content/uploads/wpsg_produktbilder/10/tn/s-110-58-lord_bloodorange_x3-2.jpg" alt="GP1 lord bloodorange" /></a>
<p><a href="http://.../produkte/GP1_lord_bloodorange/" title="Zum Artikel">lord bloodorange</a></p>
</div><div style="display:none;"><input type="hidden" name="myReferer" value="/produkte/GP1_empire_snowwhite/" /><input type="hidden" name="wpsg[produkt_id]" value="10" /></div>
Code: Alles auswählen
<form id="wpsg_produktform_2" method="post" action="">
Code: Alles auswählen
<div style="display:none;"><input type="hidden" name="myReferer" value="/produkte/GP1_empire_snowwhite/" /><input type="hidden" name="wpsg[produkt_id]" value="10" /></div>
Danke und Gruß, Mike