Subversion Repositories wpShopGermany4

Rev

Rev 6320 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6134 daniel 1
<?php
2
 
3
	/*
4
	 *
5
	 * Template für die Ansicht einer einzelnen Produktgruppe
6
	 *
7
	 */
8
 
9
?>
10
<div class="wpsg_pgruppen_single">
11
	<div class="wpsg_pgruppen_single_produkte_wrap">
12
		<div class="wpsg_pgruppen_single_produkte">
6320 daniel 13
		<?php foreach ((array)$this->view['data']['produkte'] as $p) { ?>
6134 daniel 14
			<?php if (sizeof($p['bilder']) > 0) { ?>
15
			<?php $image = array_rand($p['bilder']); ?>
6320 daniel 16
			<div class="wpsg_pgruppen_single_list_image">
6134 daniel 17
				<a href="<?php echo $p['url'] ?>">
6474 hartmut 18
					<?php echo wp_get_attachment_image($p['bilder'][0], 'medium', false, array()); ?>
6134 daniel 19
				</a>
20
			</div>
21
			<?php } ?>
22
		<?php } ?>
23
		</div>
24
	</div>
25
	<div style="clear:both;"></div>
26
	<div class="wpsg_pgruppen_single_titel"><?php echo $this->view['data']['name']; ?></div>
27
	<?php if ($this->view['data']['infopage'] > 0) { ?>
28
	<div class="wpsg_pgruppen_single_link">
29
		<a href="<?php echo get_permalink($this->view['data']['infopage']); ?>"><?php echo __("Mehr zur Produktgruppe", "wpsg"); ?></a>
30
	</div>
31
	<?php } ?>
32
</div>