Index: /controller/wpsg_ProduktController.class.php
===================================================================
--- /controller/wpsg_ProduktController.class.php	(revision 5382)
+++ /controller/wpsg_ProduktController.class.php	(revision 5385)
@@ -681,5 +681,8 @@
 			$this->shop->view['templates'] = $this->shop->loadProduktTemplates();
 			 
-			$this->shop->view['data'] = array();
+			$this->shop->view['data'] = array(
+				'id' => false		
+			);
+			
 			$this->shop->callMods('produkt_add', array(&$this->shop->view['data']));
 			
Index: /controller/wpsg_ShopController.class.php
===================================================================
--- /controller/wpsg_ShopController.class.php	(revision 5382)
+++ /controller/wpsg_ShopController.class.php	(revision 5385)
@@ -2444,5 +2444,5 @@
 				
 					$this->callMod($_REQUEST['wpsg_mod'], $_REQUEST['wpsg_action'].'Redirect'); return;
-				
+									
 				}
 				
Index: /lib/functions.inc.php
===================================================================
--- /lib/functions.inc.php	(revision 5382)
+++ /lib/functions.inc.php	(revision 5385)
@@ -971,10 +971,22 @@
 	
 	/**
+	 * Gibt die Numerische Entsprechung einer Variable zurÃŒck oder $default
+	 */
+	function wpsg_getInt(&$value, $default = false)
+	{
+			
+		if (!isset($value) || !is_numeric($value)) return $default;
+		
+		return intval($value);
+		
+	}
+	
+	/**
 	 * Gibt einen String zurÃŒck und verhindert Fehler wenn eine Wert nicht definiert wurde
 	 */
-	function wpsg_getStr(&$value)
-	{
-		
-		if (!isset($value) || !is_string($value)) return '';
+	function wpsg_getStr(&$value, $default = '')
+	{
+		
+		if (!isset($value) || !is_string($value)) return $default;
 		
 		return $value;		
Index: /lib/helper_functions.inc.php
===================================================================
--- /lib/helper_functions.inc.php	(revision 5382)
+++ /lib/helper_functions.inc.php	(revision 5385)
@@ -618,4 +618,15 @@
 	}
 	
+	function wpsg_drawForm_SubmitButton($field_label)
+	{
+		
+		$TC = new wpsg_ShopController();
+		
+		$TC->view['field_label'] = $field_label; 
+		
+		return $TC->render(WPSG_PATH_VIEW.'admin/form/input_submit.phtml', false);
+		
+	}
+	
 	function wpsg_drawForm_Input($field_name, $field_label, $field_value, $conf = array())
 	{
Index: /model/wpsg_model.class.php
===================================================================
--- /model/wpsg_model.class.php	(revision 5382)
+++ /model/wpsg_model.class.php	(revision 5385)
@@ -79,17 +79,38 @@
 			$class_name = get_called_class();
 			 
-			if (!array_key_exists($class_name.'_'.$id, self::$_objCache) || $noCache === true)
+			if (wpsg_isSizedArray($id))
 			{
 				
-				$oObject = new $class_name(); 
-				$bLoad = $oObject->load($id);
-
-				if (!$bLoad) return false;
-		
-				self::$_objCache[$class_name.'_'.$id] = $oObject;
-		
+				$arReturn = [];
+				
+				foreach ($id as $_id)
+				{
+					
+					$arReturn[$_id] = self::getInstance($_id);
+										
+				}
+				
+				return $arReturn;
+				
 			}
+			else if (is_array($id)) return array();
+			else
+			{
+			
+				if (!array_key_exists($class_name.'_'.$id, self::$_objCache) || $noCache === true)
+				{
+					
+					$oObject = new $class_name(); 
+					$bLoad = $oObject->load($id);
+	
+					if (!$bLoad) return false;
+			
+					self::$_objCache[$class_name.'_'.$id] = $oObject;
+			
+				}
+					
+				return self::$_objCache[$class_name.'_'.$id];
 				
-			return self::$_objCache[$class_name.'_'.$id];
+			}
 				
 		} // public abstract static function getInstance($id)
Index: /model/wpsg_product.class.php
===================================================================
--- /model/wpsg_product.class.php	(revision 5382)
+++ /model/wpsg_product.class.php	(revision 5385)
@@ -128,6 +128,8 @@
 			if ($url === false)
 			{
-			
-				if (wpsg_isSizedInt($this->partikel))
+				
+				$partikel = $this->partikel;
+			
+				if (wpsg_isSizedInt($partikel))
 				{
 					
@@ -166,4 +168,25 @@
 			
 		} // public function getProductURL()
+		 
+		public function getOldPrice()
+		{
+		
+			return 2100;
+			
+		}
+		
+		public function getMinPrice()
+		{
+			
+			return $this->getPrice();
+			
+		}
+		
+		public function getPrice()
+		{
+			
+			return 15;
+			
+		}
 		
 		/**
@@ -244,4 +267,59 @@
 		} // public function getAllowedShipping()
 		
+		/* Statische Funktionen */
+		
+		public static function find($arFilter = array(), $load = true)
+		{
+		
+			list($strQueryWHERE, $strQueryHAVING, $strQueryORDER) = self::getQueryParts($arFilter);
+		
+			$strQuery = "
+				SELECT
+					P.`id`
+				FROM
+					`".WPSG_TBL_PRODUCTS."` AS P
+				WHERE
+					1
+					".$strQueryWHERE."
+				HAVING
+					1
+					".$strQueryHAVING."
+				ORDER BY
+					".$strQueryORDER."
+			";
+				
+			$arID = $GLOBALS['wpsg_db']->fetchAssocField($strQuery);
+			$arReturn = array();
+		
+			foreach ($arID as $id)
+			{
+		
+				if ($load === true) $arReturn[$id] = self::getInstance($id);
+				else $arReturn[$id] = $id;
+		
+			}
+		
+			return $arReturn;
+		
+		} // public function find($arQuery = array())
+		
+		public static function getQueryParts($arFilter = array())
+		{
+		
+			$strQueryWHERE = "";
+			$strQueryHAVING = "";
+			$strQueryORDER = " P.`cdate` ASC ";
+				
+			if (wpsg_isSizedArray($arFilter['product_ids']))
+			{
+				 
+				$strQueryWHERE .= " AND P.`id` IN (".implode(',', $arFilter['product_ids']).") ";
+				
+			}
+			
+			return array($strQueryWHERE, $strQueryHAVING, $strQueryORDER);
+		
+		} // public function getQueryParts($arFilter = array())
+		
 	} // class wpsg_product extends wpsg_model
 
Index: /mods/wpsg_mod_productgroups.class.php
===================================================================
--- /mods/wpsg_mod_productgroups.class.php	(revision 5382)
+++ /mods/wpsg_mod_productgroups.class.php	(revision 5385)
@@ -200,5 +200,5 @@
 		{
 
-			$this->shop->view['productgroups'] = $this->db->fetchAssoc("
+			$this->shop->view['productgroups'] = $this->db->fetchAssoc("					
 				SELECT 
 					(SELECT COUNT(*) FROM `".WPSG_TBL_PRODUCTS."` AS P WHERE P.`pgruppe` = PG.`id` AND P.`deleted` != '1' ".$GLOBALS['wpsg_produkt_index_query_where'].") AS countProdukte,
@@ -211,6 +211,10 @@
 					countProdukte > 0
 			");
-			
+						
 			$this->shop->view['countProducts'] = $this->db->fetchOne("SELECT COUNT(*) FROM `".WPSG_TBL_PRODUCTS."` AS P WHERE P.`deleted` != '1' AND P.`lang_parent` = 0 ".$GLOBALS['wpsg_produkt_index_query_where']);
+			
+			$this->shop->view['arSelect'] = [];
+			foreach ($this->shop->view['productgroups'] as $pg) { $this->shop->view['arSelect'][$pg['id']] = $pg['name'].' ('.$pg['countProdukte'].')'; }
+			$this->shop->view['arSelect'][0] = __('Alle', 'wpsg').' ('.$this->shop->view['countProducts'].')';
 			
 			$this->shop->render(WPSG_PATH_VIEW.'/mods/mod_productgroups/produkt_index_filter.phtml');
Index: /mods/wpsg_mod_productview.class.php
===================================================================
--- /mods/wpsg_mod_productview.class.php	(revision 5382)
+++ /mods/wpsg_mod_productview.class.php	(revision 5385)
@@ -24,9 +24,96 @@
 		public function init()
 		{
-			
+		
+			add_shortcode('wpsg_productview', array($this, 'wpsg_sc_productview'));
 				
 		} // public function init()
 
+		public function wpsg_enqueue_scripts()
+		{
+				
+			if (!is_admin())
+			{
+					
+				wp_enqueue_script('wpsg_mod_productview_js', $this->shop->getRessourceURL('mods/mod_productview/productview.js'));
+				
+				wp_localize_script('wpsg_mod_productview_js', 'wpsg_mod_productview', array(
+					 				
+				));
 		
+			}
+				
+		} // public function wpsg_enqueue_scripts()
+		
+		/* Modulfunktionen */
+		
+		public function refreshRedirect()
+		{
+						
+			$atts = @unserialize($_REQUEST['atts']);
+			
+			if (wpsg_isSizedInt($_REQUEST['page'])) $atts['page'] = $_REQUEST['page'];
+			
+			die($this->wpsg_sc_productview($atts));
+			
+		} // public function refreshRedirect()
+		 				
+		/**
+		 * Shortcode fÃŒr die Anzeige der Produkte
+		 */
+		public function wpsg_sc_productview($atts)
+		{
+						
+			$arProductviewArray = $this->getSelectedProductArray($atts);
+			
+			$this->shop->view['wpsg_mod_productview'] = $arProductviewArray;
+			$this->shop->view['wpsg_mod_productview']['index'] = wpsg_getInt($GLOBALS['wpsg_mod_productview_index'], 1);
+			$this->shop->view['wpsg_mod_productview']['atts'] = $atts;
+			
+			$GLOBALS['wpsg_mod_productview_index'] = $this->shop->view['wpsg_mod_productview']['index'] + 1; 
+			
+			return $this->shop->render(WPSG_PATH_VIEW.'/mods/mod_productview/productview.phtml', false);
+			
+		} // public function wpsg_sc_productview($atts)
+		
+		/**
+		 * Gibt die ProduktIDs fÃŒr die Anzeige anhand der Shortcode Einstellungen zurÃŒck
+		 */
+		private function getSelectedProductArray($atts)
+		{
+			
+			$arFilter = [];
+			$arReturn = [];
+			
+			if (wpsg_isSizedString($atts['product_ids']))
+			{
+			
+				$arReturn = array_merge($arReturn, explode(',', $atts['product_ids']));
+				$arReturn = wpsg_trim(array_unique($arReturn));
+					
+				$arFilter = array(
+					'product_ids' => $arReturn
+				);
+				
+			}
+			
+			$arReturn = wpsg_product::find($arFilter, false);
+			$nCount = sizeof($arReturn);
+			
+			$nPage = wpsg_getInt($atts['page'], 1);			
+			$nPerPage = wpsg_getInt($atts['per_page'], 8);
+			$nPages = ceil($nCount / $nPerPage);
+			
+			$arReturn = wpsg_product::getInstance(array_slice($arReturn, ($nPage - 1) * $nPerPage, $nPerPage, true));
+												
+			return array(
+				'page' => $nPage, 
+				'per_page' => $nPerPage,
+				'pages' => $nPages, 
+				'count' => $nCount,
+				'products' => $arReturn,
+				'title' => wpsg_getStr($atts['title'])
+			);
+			
+		} // private function getSelectedProductArray($atts)
 		
 	} // class wpsg_mod_productview extends wpsg_mod_basic
Index: /mods/wpsg_mod_produktbilder.class.php
===================================================================
--- /mods/wpsg_mod_produktbilder.class.php	(revision 5382)
+++ /mods/wpsg_mod_produktbilder.class.php	(revision 5385)
@@ -325,4 +325,27 @@
 			
 		} // public function getImageModes()		
+		
+		/**
+		 * Gibt false oder die URL zu einem Bild des Produktes zurÃŒck
+		 */
+		public function getProductImage($product_key, $setW, $setH, $mode)
+		{
+			
+			$product_id = $this->shop->getProduktID($product_key);
+			
+			$arBilder = $this->getProduktBilder($product_id);
+			
+			if (!wpsg_isSizedArray($arBilder))
+			{
+				
+				return $this->shop->getRessourceURL('mods/mod_produktbilder/dummy.png');
+				
+			}
+			
+			$img_url = $this->makeTn($product_id, $arBilder[0], $setW, $setH, $mode);
+			
+			return $img_url;
+			
+		} // public function getProductImage($product_key)
 		
 		/**
@@ -544,8 +567,8 @@
 					imagefill($dstImage, 0, 0, $color);
 					imagesavealpha($dstImage, true);
-										
-					if ($width < $setW) $dst_x = ($setW - $width) / 2;
-					if ($height < $setH) $dst_x = ($setW - $width) / 2;
-										
+					
+					$dst_x = 0; if ($width < $setW) $dst_x = ($setW - $width) / 2;
+					$dst_y = 0; if ($height < $setH) $dst_y = ($setH - $height) / 2;
+					
 					imagecopyresampled($dstImage, $srcImage, $dst_x, $dst_y, 0, 0, $width, $height, $W, $H);														
 									
Index: /views/admin/form/input_submit.phtml
===================================================================
--- /views/admin/form/input_submit.phtml	(revision 5385)
+++ /views/admin/form/input_submit.phtml	(revision 5385)
@@ -0,0 +1,9 @@
+<div class="form-group form-group-sm">
+
+	<label class="col-sm-6 control-label" for="<?php echo $this->view['field_id']; ?>">&nbsp;</label>
+	
+	<div class="col-sm-6">
+		<input type="submit" value="<?php echo $this->view['field_label']; ?>" class="button button-primary" />		
+	</div>
+	
+</div>
Index: /views/admin/index.phtml
===================================================================
--- /views/admin/index.phtml	(revision 5382)
+++ /views/admin/index.phtml	(revision 5385)
@@ -15,5 +15,5 @@
 				<a class="navbar-brand" href="#"><?php echo __('wpShopGermany', 'wpsg'); ?></a>
 			</div>
-			<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
+			<div class="collapse navbar-collapse">
 				<ul class="nav navbar-nav">
 			 		<li role="presentation" class="<?php echo (($this->view['actionName'] == "index")?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin"><?php echo __("Einstellungen", "wpsg"); ?></a></li>
@@ -36,5 +36,5 @@
 			 	</ul>
 			</div>
-		</div>
+		</div>		
 	</nav> 
 	
Index: /views/admin/module.phtml
===================================================================
--- /views/admin/module.phtml	(revision 5382)
+++ /views/admin/module.phtml	(revision 5385)
@@ -18,5 +18,5 @@
 	
 	<?php foreach ($this->view['groups'] as $group_name => $g) { ?>
-	<div class="list-group list-modul-group">
+	<div class="list-group list-modul-group" style="display:none;" >
 		<span class="list-group-item list-group-head"><?php echo $group_name; ?></span>		
 		<?php foreach ($g as $mod_key => $m) { ?>
Index: /views/css/admin.css
===================================================================
--- /views/css/admin.css	(revision 5382)
+++ /views/css/admin.css	(revision 5385)
@@ -1,6 +1,14 @@
 /* Allgemein */
+#wpsg-bs { margin-top:20px; }
+#wpsg-bs nav.navbar { margin-right:20px; } 
+#wpsg-bs nav.navbar li { margin-bottom:0px; }
+#wpsg-bs nav.navbar .active { margin-right:2px; }
+#wpsg-bs nav.navbar .glyphicon { margin-right:10px; }
+#wpsg-bs .wpsg-filter { border-top:1px solid #E0E0E0; padding-top:15px; }
+#wpsg-bs .pagination_wrap { text-align:right; padding-right:20px; }
+#wpsg-bs .pagination { margin-top:0px; margin-bottom:10px; }
+#wpsg-bs .content { width:100%; box-sizing:border-box; padding-right:20px; }
 
 /* Konfiguration */
-.wpsg_admin { margin-top:20px; }
 .wpsg_admin_wrap { position:relative; }
 .wpsg_admin_submenu { width:180px; float:left; }
@@ -8,8 +16,9 @@
 .wpsg_admin_content h3 { margin-top:0px; margin-bottom:25px; }
 .wpsg_admin_submenu .list-group-item { padding:5px 10px; }
-.wpsg_admin nav.navbar { margin-right:20px; } 
-.wpsg_admin nav.navbar li { margin-bottom:0px; }
 .wpsg_admin .list-group-head { background-color:#666666; color:#FFFFFF; border:1px solid #666666; }
 .list-group { margin-bottom:15px !important; }
+
+/* Produktverwaltung */
+.wpsg_pic_col { width:50px; }
 
 /* Modulverwaltung */
Index: /views/css/frontend.css
===================================================================
--- /views/css/frontend.css	(revision 5382)
+++ /views/css/frontend.css	(revision 5385)
@@ -315,4 +315,27 @@
 .wpsg_mod_funding_progress .wpsg_mod_funding_state > .bar > .value { background-color:#484C51; height:100%; width:0%; } 
 .wpsg_mod_funding_progress .wpsg_mod_funding_state > .value { width:10%; height:100%; border-left:1px solid #C5C5C5; float:right; text-align:center; }
+
+/* Modul "Produktansichten" */
+.wpsg_productview { position:relative; }
+.wpsg_productview_head { margin-bottom:25px; line-height:25px; margin-top:25px; }
+.wpsg_productview_head h2.wpsg_productview_title { margin-top:0px; font-size:20px; font-weight:bold; color:#0E2F42; }
+.wpsg_mod_productview-info { font-size:14px; color:#9B9B9B; }
+.wpsg_mod_productview_image img { max-width:100%; height:auto; border:1px solid #E4F3F8; }
+.wpsg_productview_pager { width:100%; border-top:1px solid #E4F3F8; border-bottom:1px solid #E4F3F8; margin-bottom:25px; margin-top:10px; padding-top:25px; padding-bottom:25px; text-align:center; }
+.wpsg_productview_pager .wpsg_productview_pager_wrap { display:inline-block; margin:auto; }
+.wpsg_productview_pager .wpsg_productview_pager_wrap > span,
+.wpsg_productview_pager .wpsg_productview_pager_wrap > a { display:inline-block; width:30px; height:30px; line-height:30px; color:#0F303F; border:1px solid #0F303F; margin-left:15px; margin-right:15px; }
+.wpsg_productview_product { padding-top:15px; padding-bottom:15px; position:relative; margin-bottom:25px; }
+.wpsg_productview_product .wpsg_mod_productview_bottom { position:relative; display:table; width:100%; }
+.wpsg_productview_product .wpsg_mod_productview_name { display:table-cell; }
+.wpsg_productview_product .wpsg_mod_productview_name h2 { font-size:12px; color:#0F2F3E; font-weight:bold; margin-top:15px; }
+.wpsg_productview_product .wpsg_mod_productview_price_wrap { font-weight:bold; font-size:12px; display:table-cell; text-align:right; color:#0F2F3E; }
+.wpsg_productview_product .wpsg_mod_productview_price_wrap .wpsg_mod_productview_oldprice { text-decoration: line-through; } 
+.wpsg_productview_product .wpsg_mod_productview_price_wrap .wpsg_mod_productview_pricehiglight { color:#FF0000; }
+.wpsg_productview_product .wpsg_mod_productview_go { display:none; position:absolute; left:0px; top:0px; width:100%; height:100%; background-color:rgba(0, 0, 0, 0.25); text-align:center; }
+.wpsg_productview_product .wpsg_mod_productview_go > span { width:50px; height:50px; position:absolute; left:50%; margin-left:-25px; top:50%; margin-top:-25px; font-size:50px; color:#FFFFFF; }
+.wpsg_productview_product:hover { text-decoration:none; }
+.wpsg_productview_product:hover .wpsg_mod_productview_go { display:block; }
+.wpsg_mod_productview_loading { width:100%; height:100%; background-color:rgba(255, 255, 255, 0.5); position:absolute; left:0px; top:0px; }
   
 @media screen and (max-width: 600px) {
Index: /views/js/admin.js
===================================================================
--- /views/js/admin.js	(revision 5382)
+++ /views/js/admin.js	(revision 5385)
@@ -192,2 +192,25 @@
     
 }
+
+	jQuery(document).ready(function() {
+		
+		jQuery('.wpsg_showhide_filter').bind('click', function() { 
+			
+			if (jQuery(this).hasClass('active'))
+			{
+				
+				jQuery('.wpsg-filter').slideUp(150);
+				jQuery(this).removeClass('active');
+				
+			}
+			else
+			{
+			
+				jQuery('.wpsg-filter').slideDown(150, function() { jQuery('.wpsg-filter input').first().focus(); } );
+				jQuery(this).addClass('active');
+				
+			}
+			
+		} );
+		
+	} );
Index: /views/mods/mod_productgroups/produkt_index_filter.phtml
===================================================================
--- /views/mods/mod_productgroups/produkt_index_filter.phtml	(revision 5382)
+++ /views/mods/mod_productgroups/produkt_index_filter.phtml	(revision 5385)
@@ -7,39 +7,5 @@
 ?> 
 
-<script type="text/javascript">
-
-	function wpsg_goGroup(group_id)
-	{
-		
-		jQuery('#wpsg_seite').val('1');
-		jQuery('#wpsg_search_pgruppe').val(group_id);
-		jQuery('#filter_form').submit();
-
-		return false;
-		
-	}
-	
-</script>
-
-<input type="hidden" id="wpsg_search_pgruppe" name="search[pgruppe]" value="<?php echo $_REQUEST['search']['pgruppe']; ?>" />
-
 <?php if (is_array($this->view['productgroups']) && sizeof($this->view['productgroups']) > 0) { ?>
-<ul class="subsubsub wpsg_order_index_status">
-	<?php foreach ($this->view['productgroups'] as $pg) { ?>
-	<li>
-		<?php if (isset($_REQUEST['search']['pgruppe']) && $_REQUEST['search']['pgruppe'] == $pg['id']) { ?>
-		<span class="akt"><?php echo wpsg_hspc($pg['name']); ?></span> <span class="count">(<?php echo $pg['countProdukte']; ?>) | </span>
-		<?php } else { ?>
-		<a onclick="return wpsg_goGroup(<?php echo $pg['id']; ?>);" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&search[pgruppe]=<?php echo $pg['id']; ?>"><?php echo wpsg_hspc($pg['name']); ?> <span class="count">(<?php echo $pg['countProdukte']; ?>)</span></a> |
-		<?php } ?>	
-	</li>
-	<?php } ?>
-	<li>
-		<?php if (isset($_REQUEST['search']['pgruppe']) && $_REQUEST['search']['pgruppe'] > 0) { ?>
-		<a onclick="return wpsg_goGroup(0);" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt"><?php echo __('Alle', 'wpsg'); ?> <span class="count">(<?php echo $this->view['countProducts']; ?>)</span></a>
-		<?php } else { ?>
-		<span class="akt"><?php echo __('Alle', 'wpsg'); ?></span> <span class="count">(<?php echo $this->view['countProducts']; ?>)</span>
-		<?php } ?>
-	</li>
-</ul>
+<?php echo wpsg_drawForm_Select('productgroup', __('Produktgruppe', 'wpsg'), $this->view['arSelect'], wpsg_getStr($_REQUEST['productgroup'])); ?>
 <?php } ?>
Index: /views/mods/mod_productview/productview.js
===================================================================
--- /views/mods/mod_productview/productview.js	(revision 5385)
+++ /views/mods/mod_productview/productview.js	(revision 5385)
@@ -0,0 +1,29 @@
+
+	function wpsg_switchProductview(index, page, order, mode)
+	{
+		
+		var atts = jQuery('#wpsg_productview_' + index + ' input[name="atts"]').val();
+					
+		jQuery('#wpsg_productview_' + index).append('<div class="wpsg_mod_productview_loading"></div>');
+		
+		jQuery.ajax( {
+			'url': wpsg_ajax.ajaxurl,
+			'data': { 
+				'wpsg_mod': 'wpsg_mod_productview',
+				'wpsg_action': 'refresh', 
+				'atts': atts,
+				'page': page,
+				'order': order,
+				'mode': mode
+			},
+			'success': function(data) {
+				
+				jQuery('#wpsg_productview_' + index).replaceWith(data);
+				
+			}
+		} );
+		
+		return false;
+		
+	}
+	
Index: /views/mods/mod_productview/productview.phtml
===================================================================
--- /views/mods/mod_productview/productview.phtml	(revision 5385)
+++ /views/mods/mod_productview/productview.phtml	(revision 5385)
@@ -0,0 +1,106 @@
+<?php
+
+	/**
+	 * Template fÃŒr die Anzeige der Produkte
+	 * Es sollte nur Inhalt unter dem Div der Klasse wpsg_productview geÃ€ndert werden, da dieses mittels AJAX ausgetauscht wird 
+	 */
+
+?>
+<div class="wpsg_productview" id="wpsg_productview_<?php echo $this->view['wpsg_mod_productview']['index']; ?>">
+	
+	<div class="wpsg_productview_head row">
+	
+		<h2 class="wpsg_productview_title col-lg-3"><?php echo wpsg_hspc($this->view['wpsg_mod_productview']['title']); ?></h2>
+		
+		<?php if (wpsg_isSizedArray($this->view['wpsg_mod_productview']['products'])) { ?>
+		<div class="col-lg-3 wpsg_mod_productview-order">
+			asd
+		</div>
+		
+		<div class="col-lg-6 wpsg_mod_productview-info">
+			<strong><?php echo wpsg_translate(__('Anzeige #1# - #2#', 'wpsg'), ($this->view['wpsg_mod_productview']['page'] - 1) * $this->view['wpsg_mod_productview']['per_page'] + 1, $this->view['wpsg_mod_productview']['page'] * $this->view['wpsg_mod_productview']['per_page']); ?></strong>
+			<?php echo wpsg_translate(__('von #1# Ergebnissen', 'wpsg'), $this->view['wpsg_mod_productview']['count']); ?>
+		</div>
+		<?php } ?>
+				
+	</div>
+	
+	<div class="wpsg_productview_content row">
+	
+		<?php if (wpsg_isSizedArray($this->view['wpsg_mod_productview']['products'])) { ?>
+		
+			<?php $i = 0; foreach ($this->view['wpsg_mod_productview']['products'] as $oProduct) { $i ++; ?>
+			<a title="<?php echo wpsg_translate(__('Zum Produkt "#1#"', 'wpsg'), $oProduct->getProductName()); ?>" href="<?php echo $oProduct->getProductURL(); ?>" class="wpsg_productview_product wpsg_productview_product_<?php echo $oProduct->id; ?> col-lg-3">
+				
+				<?php if ($this->hasMod('wpsg_mod_produktbilder')) { ?>
+				<?php $image_url = $this->callMod('wpsg_mod_produktbilder', 'getProductImage', array($oProduct->id, 520, 520, 'sz')); ?>
+				<?php if (wpsg_isSizedString($image_url)) { ?>
+				<div class="wpsg_mod_productview_image">
+					<img src="<?php echo $image_url; ?>" alt="" />
+				</div>
+				<?php } } ?>
+				
+				<div class="wpsg_mod_productview_bottom">
+				
+					<div class="wpsg_mod_productview_name">				
+						<h2><?php echo $oProduct->getProductName(); ?></h2>				
+					</div>
+					
+					<div class="wpsg_mod_productview_price_wrap">
+					
+						<?php $oldPrice = $oProduct->getOldPrice(); ?>
+						<?php if ($oldPrice !== false) { ?>
+						<div class="wpsg_mod_productview_oldprice"><?php echo wpsg_ff($oldPrice, $this->get_option('wpsg_currency')); ?></div>
+						<?php } ?>
+						
+						<?php if ($oProduct->getMinPrice() != $oProduct->getPrice()) { ?>
+						<div class="<?php echo (($oldPrice !== false)?'wpsg_mod_productview_pricehiglight':''); ?> wpsg_mod_productview_price wpsg_mod_productview_minprice"><?php echo wpsg_translate(__('Ab #1#', 'wpsg'), wpsg_ff($oProduct->getMinPrice(), $this->get_option('wpsg_currency'))); ?></div>
+						<?php } else { ?>
+						<div class="<?php echo (($oldPrice !== false)?'wpsg_mod_productview_pricehiglight':''); ?> wpsg_mod_productview_price"><?php echo wpsg_ff($oProduct->getPrice(), $this->get_option('wpsg_currency')); ?></div>
+						<?php } ?>
+					
+					</div>
+					
+				</div>
+				
+				<input type="hidden" name="atts" value="<?php echo @wpsg_hspc(serialize($this->view['wpsg_mod_productview']['atts'])); ?>" />
+				
+				<div class="wpsg_mod_productview_go"><span class="glyphicon glyphicon-eye-open"></span></div>
+				
+			</a>
+			
+			<?php if ($i % 4 === 0) { ?>
+			<div class="clearfix visible-lg-block"></div>
+			<?php } ?>
+			
+			<?php } ?>
+			
+		<?php } else { ?>
+		<?php echo __('Keine Produkte in dieser Ansicht.', 'wpsg'); ?>
+		<?php } ?>
+		
+		<div class="clearfix"></div>
+		
+		<?php if (wpsg_isSizedInt($this->view['wpsg_mod_productview']['pages']) && $this->view['wpsg_mod_productview']['pages'] > 1) { ?>
+		<div class="wpsg_productview_pager">
+			<div class="wpsg_productview_pager_wrap">
+				<?php if ($this->view['wpsg_mod_productview']['page'] > 1) { ?>			
+				<a href="#" title="<?php echo wpsg_translate(__('Eine Seite zurÃŒck und die vorherigen #1# Produkte anzeigen', 'wpsg'), $this->view['wpsg_mod_productview']['per_page']); ?>" onclick="return wpsg_switchProductview(<?php echo $this->view['wpsg_mod_productview']['index']; ?>, <?php echo $this->view['wpsg_mod_productview']['page'] - 1; ?>);"><span class="glyphicon glyphicon-arrow-left"></span></a>
+				<?php } ?>
+				<?php for ($i = 1; $i <= $this->view['wpsg_mod_productview']['pages']; $i ++) { ?>
+					<?php if ($i == $this->view['wpsg_mod_productview']['page']) { ?>
+					<span><?php echo $i; ?></span>
+					<?php } else { ?>
+					<a onclick="return wpsg_switchProductview(<?php echo $this->view['wpsg_mod_productview']['index']; ?>, <?php echo $i; ?>); " href="#"><?php echo $i; ?></a>
+					<?php } ?>
+				<?php } ?>
+				<?php if ($this->view['wpsg_mod_productview']['page'] < $this->view['wpsg_mod_productview']['pages']) { ?>			
+				<a href="#" title="<?php echo wpsg_translate(__('Eine Seite vor und die nÃ€chsten #1# Produkte anzeigen', 'wpsg'), $this->view['wpsg_mod_productview']['per_page']); ?>" onclick="return wpsg_switchProductview(<?php echo $this->view['wpsg_mod_productview']['index']; ?>, <?php echo $this->view['wpsg_mod_productview']['page'] + 1; ?>); "><span class="glyphicon glyphicon-arrow-right"></span></a>
+				<?php } ?>
+			</div>
+		</div>
+		<?php } ?>
+	
+	</div>
+
+</div>
Index: /views/produkt/addedit.phtml
===================================================================
--- /views/produkt/addedit.phtml	(revision 5382)
+++ /views/produkt/addedit.phtml	(revision 5385)
@@ -154,5 +154,5 @@
 	<div class="icon32 icon32-posts-post" id="icon-edit"><br /></div>
 	<h2>
-		<?php if ($_REQUEST['edit_id'] > 0) { ?>
+		<?php if (wpsg_getInt($_REQUEST['edit_id']) > 0) { ?>
 		<?php echo __('Produkt bearbeiten', 'wpsg'); ?>
 		<?php if (isset($_REQUEST['wpsg_lang'])) { ?>
@@ -181,5 +181,5 @@
 						</h3>
 						<div class="inside">
-							<?php echo wpsg_drawForm_Select('mwst_key', __('Steuergruppe', 'wpsg'), wpsg_tax_groups(true), $this->view['data']['mwst_key']); ?>
+							<?php echo wpsg_drawForm_Select('mwst_key', __('Steuergruppe', 'wpsg'), wpsg_tax_groups(true), @$this->view['data']['mwst_key']); ?>
 							<?php if ($this->get_option('wpsg_preisangaben') == WPSG_NETTO) { ?>
 							<div class="wpsg_form_field">
@@ -203,11 +203,11 @@
 								<div class="wpsg_form_right">
 									<p class="waehrung"><?php echo $this->get_option('wpsg_currency'); ?></p>
-									<input id="preis" type="text" value="<?php echo wpsg_hspc(wpsg_ff($this->view['data']['preis'])); ?>" name="preis" class="wpsg_preis" />
-								</div>
-								<div class="wpsg_clear"></div>
-							</div>
-							<?php } ?>
-							<?php echo wpsg_drawForm_Input('', __('Steueranteil', 'wpsg'), wpsg_ff($this->view['data']['tax_sum_value'], $this->get_option('wpsg_currency')).' / '.$this->getDefaultCountry()->kuerzel, array('text' => true)); ?>
-							<?php echo wpsg_drawForm_Checkbox('euleistungsortregel', __('Produkt unterliegt den EU-Leistungsortregeln', 'wpsg'), $this->view['data']['euleistungsortregel'], array('fullrow' => true, 'help' => 'EU-Leistungsortregel')); ?>
+									<input id="preis" type="text" value="<?php echo wpsg_hspc(wpsg_ff(@$this->view['data']['preis'])); ?>" name="preis" class="wpsg_preis" />
+								</div>
+								<div class="wpsg_clear"></div>
+							</div>
+							<?php } ?>
+							<?php echo wpsg_drawForm_Input('', __('Steueranteil', 'wpsg'), wpsg_ff(@$this->view['data']['tax_sum_value'], $this->get_option('wpsg_currency')).' / '.$this->getDefaultCountry()->kuerzel, array('text' => true)); ?>
+							<?php echo wpsg_drawForm_Checkbox('euleistungsortregel', __('Produkt unterliegt den EU-Leistungsortregeln', 'wpsg'), @$this->view['data']['euleistungsortregel'], array('fullrow' => true, 'help' => 'EU-Leistungsortregel')); ?>
 							<a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&amp;subaction=laender">LÃ€nderverwaltung</a>							
 						</div>
@@ -300,5 +300,5 @@
 				<div id="titlediv" style="margin-right:400px;">
 					<div id="titlewrap">					
-						<input type="text" placeholder="<?php echo __('Produktname', 'wpsg'); ?>" id="title" value="<?php echo wpsg_hspc($this->view['data']['name']); ?>" tabindex="1" size="30" name="name">
+						<input type="text" placeholder="<?php echo __('Produktname', 'wpsg'); ?>" id="title" value="<?php echo wpsg_hspc(@$this->view['data']['name']); ?>" tabindex="1" size="30" name="name">
 					</div>
 				</div>
@@ -340,5 +340,5 @@
 								</div>
 								<div class="wpsg_form_right">
-									<input id="detailname" type="text" value="<?php echo wpsg_hspc($this->view['data']['detailname']); ?>" name="detailname" />
+									<input id="detailname" type="text" value="<?php echo wpsg_hspc(@$this->view['data']['detailname']); ?>" name="detailname" />
 								</div>
 								<div class="wpsg_clear"></div>
@@ -350,5 +350,5 @@
 								</div>
 								<div class="wpsg_form_right">
-									<input type="text" name="produkt_id" value="<?php echo wpsg_hspc($this->view['data']['id']); ?>" readonly="readonly" />
+									<input type="text" name="produkt_id" value="<?php echo wpsg_hspc(@$this->view['data']['id']); ?>" readonly="readonly" />
 								</div>
 								<div class="wpsg_clear"></div>
@@ -361,5 +361,5 @@
 								</div>
 								<div class="wpsg_form_right">
-									<input id="produkt_anr" type="text" value="<?php echo wpsg_hspc($this->view['data']['anr']); ?>" name="anr" />
+									<input id="produkt_anr" type="text" value="<?php echo wpsg_hspc(@$this->view['data']['anr']); ?>" name="anr" />
 								</div>
 								<div class="wpsg_clear"></div>
@@ -375,5 +375,5 @@
 									<select name="ptemplate_file" id="produkt_ptemplate">
 										<?php foreach ($this->view['templates'] as $t) { ?>
-										<option <?php echo (($t == $this->view['data']['ptemplate_file'] || (!isset($this->view['data']['ptemplate_file']) && $t == 'standard.phtml'))?'selected="selected"':''); ?> value="<?php echo wpsg_hspc($t); ?>"><?php echo wpsg_hspc($t); ?></option>
+										<option <?php echo (($t == @$this->view['data']['ptemplate_file'] || (!isset($this->view['data']['ptemplate_file']) && $t == 'standard.phtml'))?'selected="selected"':''); ?> value="<?php echo wpsg_hspc($t); ?>"><?php echo wpsg_hspc($t); ?></option>
 										<?php } ?>
 									</select>
@@ -387,9 +387,9 @@
 								</div>
 								<div class="wpsg_form_right">
-									<input style="width:95%;" type="text" name="posturl" class="wpsg_posturl" value="<?php echo wpsg_hspc($this->view['data']['posturl']); ?>" />
+									<input style="width:95%;" type="text" name="posturl" class="wpsg_posturl" value="<?php echo wpsg_hspc(@$this->view['data']['posturl']); ?>" />
 									<div class="wpsg_clear"></div>
-									<label><input type="checkbox" <?php echo (($this->view['data']['posturl_verkauf'] == '1')?'checked="checked"':''); ?> value="1" name="posturl_verkauf" style="width:auto; float:none;" />&nbsp;<?php echo __('beim Verkauf', 'wpsg'); ?></label>
+									<label><input type="checkbox" <?php echo ((@$this->view['data']['posturl_verkauf'] == '1')?'checked="checked"':''); ?> value="1" name="posturl_verkauf" style="width:auto; float:none;" />&nbsp;<?php echo __('beim Verkauf', 'wpsg'); ?></label>
 									&nbsp;&nbsp;
-									<label><input type="checkbox" <?php echo (($this->view['data']['posturl_bezahlung'] == '1')?'checked="checked"':''); ?> value="1" name="posturl_bezahlung" style="width:auto; float:none;" />&nbsp;<?php echo __('bei Bezahlung', 'wpsg'); ?></label>
+									<label><input type="checkbox" <?php echo ((@$this->view['data']['posturl_bezahlung'] == '1')?'checked="checked"':''); ?> value="1" name="posturl_bezahlung" style="width:auto; float:none;" />&nbsp;<?php echo __('bei Bezahlung', 'wpsg'); ?></label>
 									<a rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=URLBenachrichtigung" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=URLBenachrichtigung" class="wpsg_form_help"></a>									 						 
 								</div>
@@ -432,5 +432,5 @@
 								'1' => __('Mehrfach mit beliebiger Menge', 'wpsg'),
 								'2' => __('Mehrfach mit Menge 1', 'wpsg')
-							), $this->view['data']['basket_multiple'], array('help' => 'basket_multiple')); ?>							
+							), @$this->view['data']['basket_multiple'], array('help' => 'basket_multiple')); ?>							
 							<?php } ?>
 							 
@@ -492,5 +492,5 @@
 							add_filter('tiny_mce_before_init', 'wpsg_formatTinyMCE');
 							add_filter('admin_head','wpsg_ShowTinyMCE');
-							wp_editor($this->view['data']['beschreibung'], 'beschreibung');
+							wp_editor(@$this->view['data']['beschreibung'], 'beschreibung');
 							
 							?>
Index: /views/produkt/index.phtml
===================================================================
--- /views/produkt/index.phtml	(revision 5382)
+++ /views/produkt/index.phtml	(revision 5385)
@@ -52,302 +52,244 @@
 </script>
 
-<div class="wrap wpsg_produktindex">
-	<div class="icon32 icon32-posts-post" id="icon-edit"><br></div>
-	<h2>
-		<?php echo __('Produktverwaltung', 'wpsg'); ?>
-		<a href="<?php echo $this->url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Produkt&action=add'); ?>" class="add-new-h2"><?php echo __("HinzufÃŒgen", "wpsg"); ?></a>	
-		<?php if (wpsg_isSizedArray($this->view['data'])) { ?>				
-		<a href="<?php echo $this->url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Produkt&action=export&noheader=1'); ?>" class="add-new-h2"><?php echo __('Exportieren', 'wpsg'); ?></a>
+<div class="wpsg_products" id="wpsg-bs">
+
+	<nav class="navbar navbar-default">
+		<div class="container-fluid">
+			<div class="navbar-header">
+				<a class="navbar-brand" href="#"><?php echo __('wpShopGermany', 'wpsg'); ?></a>
+			</div>
+			<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
+				<ul class="nav navbar-nav">
+					<li role="presentation" class="<?php echo ((!isset($_REQUEST['action']))?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt"><?php echo __("ProduktÃŒbersicht", "wpsg"); ?></a></li>
+					<li role="presentation" class="wpsg_showhide_filter <?php echo ((wpsg_isSizedString($_REQUEST['s']))?'active':''); ?>"><a href="#" onclick="return false;"><span class="glyphicon glyphicon-search"></span><?php echo __("Produktsuche", "wpsg"); ?></a></li>
+			 		<li role="presentation" class="<?php echo ((wpsg_isSizedString($_REQUEST['action'], 'add'))?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&action=add"><span class="glyphicon glyphicon-plus"></span><?php echo __("HinzufÃŒgen", "wpsg"); ?></a></li>
+				</ul>
+				<ul class="nav navbar-nav navbar-right">
+					<li role="presentation" class="<?php echo ((wpsg_isSizedString($_REQUEST['action'], 'import'))?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&action=import&noheader=1"><span class="glyphicon glyphicon-import"></span><?php echo __("Import", "wpsg"); ?></a></li>
+					<?php if (wpsg_isSizedArray($this->view['data'])) { ?>
+					<li role="presentation" class="<?php echo ((wpsg_isSizedString($_REQUEST['action'], 'export'))?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&action=export&noheader=1"><span class="glyphicon glyphicon-export"></span><?php echo __("Export", "wpsg"); ?></a></li>
+					<?php } ?>			
+			 	</ul>			 	
+			</div>
+		</div>
+		<div class="wpsg-filter container-fluid form-horizontal" style="display:<?php echo ((wpsg_isSizedString($_REQUEST['s']))?'block':'none'); ?>;">
+			<div class="row">
+				<div class="col-lg-4">
+					<form method="POST" id="filter_form">
+					
+						<input id="wpsg_seite" type="hidden" name="seite" value="<?php echo $this->view['seite']; ?>" class="current-page" />
+						<input id="wpsg_order" type="hidden" name="search[order]" value="<?php echo $this->view['search']['order']; ?>" />
+						<input id="wpsg_ascdesc" type="hidden" name="search[ascdesc]" value="<?php echo $this->view['search']['ascdesc']; ?>" />
+										
+						<?php echo wpsg_drawForm_Input('s', __('Suchfeld', 'wpsg'), wpsg_getStr($_REQUEST['s'])); ?>
+						
+						<?php echo $this->callMod('wpsg_mod_productgroups', 'produkt_index_filter'); ?>
+						
+						<?php echo wpsg_drawForm_SubmitButton(__('Produkte suchen')); ?>
+						
+					</form>				
+				</div>
+			</div>		
+		</div>
+	</nav> 
+
+	<?php if ($this->view['pages'] > 1) { ?>
+	<nav class="pagination_wrap">
+  		<ul class="pagination">
+  			<?php if ($this->view['seite'] > 1) { ?>
+  			 <li><a onclick="return goPage(<?php echo $this->view['seite'] - 1; ?>);" href="#" aria-label="<?php echo __('Vorherige Seite'); ?>"><span aria-hidden="true">&laquo;</span></a></li>
+  			<?php } ?>
+  			<?php for ($i = 1; $i <= $this->view['pages']; $i ++) { ?>
+  			<li class="<?php echo (($i == $this->view['seite'])?'active':''); ?>"><a onclick="return goPage(<?php echo $i; ?>);" href="#"><?php echo $i; ?></a></li>
+  			<?php } ?>
+  			<?php if ($this->view['seite'] + 1 <= $this->view['pages']) { ?>
+  			 <li><a onclick="return goPage(<?php echo $this->view['seite'] + 1; ?>);" href="#" aria-label="<?php echo __('NÃ€chste Seite'); ?>"><span aria-hidden="true">&raquo;</span></a></li>
+  			<?php } ?>
+  		</ul>
+  	</nav>
+  	<?php } ?>
+
+	<?php echo $this->writeBackendMessage(); ?> 
+			
+	<div class="content">	
+		<?php if (is_array($this->view['data']) && sizeof($this->view['data']) > 0) { ?>
+		<table class="widefat post fixed">
+			<thead>
+				<tr>
+					<?php if ($this->hasMod('wpsg_mod_produktbilder')) { ?>
+					<th class="manage-column column-title wpsg_pic_col"></th>
+					<?php } ?>
+					<th class="manage-column column-title <?php echo (($this->view['search']['order'] == 'name')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">
+						<a href="#" onclick="return wpsg_setOrder('name');">
+							<span><?php echo __("Name", 'wpsg'); ?></span>
+							<span class="sorting-indicator"></span>
+						</a>
+					</th>
+					<th class="manage-column column-title <?php echo (($this->view['search']['order'] == 'anr')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">
+						<a href="#" onclick="return wpsg_setOrder('anr');">
+							<span><?php echo __("Artikelnummer", 'wpsg'); ?></span>
+							<span class="sorting-indicator"></span>
+						</a> 
+					</th>	
+					<?php if ($this->hasMod('wpsg_mod_productgroups')) { ?>
+					<th class="manage-column column-title <?php echo (($this->view['search']['order'] == 'pgruppe')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">
+						<a href="#" onclick="return wpsg_setOrder('pgruppe');">
+							<span><?php echo __("Produktgruppe", 'wpsg'); ?></span>
+							<span class="sorting-indicator"></span>
+						</a> 
+					</th>
+					<?php } ?>
+					<?php if ($this->hasMod('wpsg_mod_stock') && $this->get_option('wpsg_mod_stock_showBackendStock') == '1') { ?>
+					<th class="manage-column column-title wpsg_stock_col <?php echo (($this->view['search']['order'] == 'stock')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">
+						<a href="#" onclick="return wpsg_setOrder('stock');">
+							<span><?php echo __('Lagerbestand', 'wpsg'); ?></span>
+							<span class="sorting-indicator"></span>
+						</a>
+					</th>
+					<?php } ?>
+					<th class="manage-column column-title wpsg_mwst_col <?php echo (($this->view['search']['order'] == 'mwst')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">				
+						<a href="#" onclick="return wpsg_setOrder('mwst');">
+							<span><?php echo __("MwSt.", 'wpsg'); ?></span>
+							<span class="sorting-indicator"></span>
+						</a>
+					</th>
+					<th class="manage-column column-title <?php echo (($this->view['search']['order'] == 'price')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">
+						<a href="#" onclick="return wpsg_setOrder('price');">
+							<span><?php echo __("Preis", 'wpsg'); ?></span>
+							<span class="sorting-indicator"></span>
+						</a> 
+					</th>							
+				</tr>
+			</thead>
+			<tbody>
+				<?php foreach ($this->view['data'] as $d) { ?>
+				<tr>
+					<?php if ($this->hasMod('wpsg_mod_produktbilder')) { ?>
+					<td class="post-title wpsg_pic_col">
+						<?php 
+						
+							$arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($d['id'])); 
+						
+							if (wpsg_isSizedArray($arBilder))
+							{
+								
+								echo '<a href="'.WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Produkt&amp;action=edit&amp;edit_id='.$d['id'].'" title="'.wpsg_translate(__('Produkt fÃŒr Sprache #1# bearbeiten.', 'wpsg'), $d['name']).'">';
+								echo '<img src="'.$this->callMod('wpsg_mod_produktbilder', 'makeTn', array($d['id'], $arBilder[0], 40, 40, 'c')).'" alt="" />';
+								echo '</a>';
+								
+							}
+							
+						?>
+					</td>
+					<?php } ?>
+					<td class="post-title column-title">
+						<strong><a title="<?php echo __("Dieses Produkt bearbeiten", "wpsg"); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&amp;action=edit&amp;edit_id=<?php echo $d['id']; ?>" class="row-title"><?php echo (($d['name'] == "")?__("---- ", "wpsg"):$d['name']); ?></a></strong>
+						<div class="row-actions">
+							<span class="edit"><a title="<?php echo __("Dieses Produkt bearbeiten", "wpsg"); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&amp;action=edit&amp;edit_id=<?php echo $d['id']; ?>"><?php echo __("Bearbeiten", "wpsg"); ?></a></span>
+							<?php if ($this->isMultiLingual()) { ?> 
+							<?php foreach ($this->getStoreLanguages() as $l) { ?>
+								<?php if ($l['locale'] != $this->getDefaultLanguageLocale()) { ?>							
+								<a href="<?php echo $this->url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Produkt&amp;action=edit&amp;edit_id='.$d['id'].'&amp;wpsg_lang='.$l['locale']); ?>" title="<?php echo wpsg_translate(__('Produkt fÃŒr Sprache #1# bearbeiten.', 'wpsg'), $l['name']); ?>">
+									<img src="<?php echo $this->getFlagURL().$l['flag']; ?>" alt="<?php echo wpsg_translate(__('Produkt fÃŒr Sprache #1# bearbeiten.', 'wpsg'), $l['name']); ?>" />
+								</a>
+								<?php } ?>
+							<?php } ?>
+							<?php } ?>
+							|
+							<span class="del"><a onclick="if (!confirm('<?php echo __("Sind Sie sicher, dass Sie das Produkt lÃ¶schen wollen?", "wpsg"); ?>')) return false;" title="<?php echo __("Dieses Produkt lÃ¶schen", "wpsg"); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&amp;action=del&amp;edit_id=<?php echo $d['id']; ?>&amp;noheader=1"><?php echo __("LÃ¶schen", "wpsg"); ?></a></span>
+							|
+							<span class="copy"><a onclick="if (!confirm('<?php echo __("Sind Sie sicher, dass Sie das Produkt kopieren wollen?", "wpsg"); ?>')) return false;" title="<?php echo __("Dieses Produkt kopieren", "wpsg"); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&amp;action=copy&amp;edit_id=<?php echo $d['id']; ?>&amp;noheader=1"><?php echo __("Kopieren", "wpsg"); ?></a></span>
+							| 
+							<span class="view"><a target="_blank" title="<?php echo __("Dieses Produkt im Frontend ansehen", "wpsg"); ?>" href="<?php echo $this->getProduktLink(array('id' => $d['id'])); ?>"><?php echo __("Ansehen", "wpsg"); ?></a></span>
+							<?php $this->callMods('produkt_index_editmenu', array(&$d)); ?>
+						</div>
+					</td>
+					<td><?php echo wpsg_hspc($d['anr']); ?></td>
+					<?php if ($this->hasMod('wpsg_mod_productgroups')) { ?>
+					<td>
+						<?php if ($d['pgruppe'] <= 0) { ?>
+						<?php echo __('Nicht zugewiesen', 'wpsg'); ?>
+						<?php } else { ?>
+						<?php echo $d['pgruppe_name']; ?>
+						<?php } ?>
+					</td>
+					<?php } ?>
+					<?php if ($this->hasMod('wpsg_mod_stock') && $this->get_option('wpsg_mod_stock_showBackendStock') == '1') { ?>
+					<td>
+						<div style="line-height:inherit; margin-bottom:0.2em;"><?php echo $d['stock']; ?></div>
+						<?php if ($this->hasMod('wpsg_mod_varianten') && wpsg_isSizedArray($this->callMod('wpsg_mod_varianten', 'loadVarianten', array($d['id'])))) { ?>					
+						<div style="line-height:inherit; padding:2px 0px 0px;">
+							<a class="clueTip" href="#" rel="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&action=ajax&mod=wpsg_mod_stock&edit_id=<?php echo $d['id']; ?>&noheader=1&wpsg_cmd=getVariInfo"><?php echo __('Variantenbestand', 'wpsg'); ?></a>
+						</div>					
+						<?php } ?>
+					</td>
+					<?php } ?>
+					<td class="wpsg_mwst_col">
+						<?php echo strtoupper($d['mwst_key']).' ('.wpsg_ff($d['mwst_value'], '%').' '.$this->getDefaultCountry()->kuerzel.')'; ?>					
+					</td>
+					<td>
+						<?php /* if ($this->get_option('wpsg_preisangaben') == WPSG_NETTO) { ?>
+						<?php echo wpsg_ff($d['preis_netto'], $this->get_option('wpsg_currency')); ?>
+						<?php } else { */?>
+						<?php echo wpsg_ff($d['preis'], $this->get_option('wpsg_currency')); ?>
+						<?php /* } */ ?>
+					</td>				
+				</tr>
+				<?php } ?>
+			</tbody>
+			<tfoot>
+				<tr>
+					<?php if ($this->hasMod('wpsg_mod_produktbilder')) { ?>
+					<th class="manage-column column-title wpsg_pic_col"></th>
+					<?php } ?>
+					<th class="manage-column column-title <?php echo (($this->view['search']['order'] == 'name')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">
+						<a href="#" onclick="return wpsg_setOrder('name');">
+							<span><?php echo __("Name", 'wpsg'); ?></span>
+							<span class="sorting-indicator"></span>
+						</a>
+					</th>
+					<th class="manage-column column-title <?php echo (($this->view['search']['order'] == 'anr')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">
+						<a href="#" onclick="return wpsg_setOrder('anr');">
+							<span><?php echo __("Artikelnummer", 'wpsg'); ?></span>
+							<span class="sorting-indicator"></span>
+						</a> 
+					</th>
+					<?php if ($this->hasMod('wpsg_mod_productgroups')) { ?>
+					<th class="manage-column column-title <?php echo (($this->view['search']['order'] == 'pgruppe')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">
+						<a href="#" onclick="return wpsg_setOrder('pgruppe');">
+							<span><?php echo __("Produktgruppe", 'wpsg'); ?></span>
+							<span class="sorting-indicator"></span>
+						</a> 
+					</th>
+					<?php } ?>
+					<?php if ($this->hasMod('wpsg_mod_stock') && $this->get_option('wpsg_mod_stock_showBackendStock') == '1') { ?>
+					<th class="manage-column column-title wpsg_stock_col <?php echo (($this->view['search']['order'] == 'stock')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">
+						<a href="#" onclick="return wpsg_setOrder('stock');">
+							<span><?php echo __('Lagerbestand', 'wpsg'); ?></span>
+							<span class="sorting-indicator"></span>
+						</a>
+					</th>
+					<?php } ?>
+					<th class="manage-column column-title wpsg_mwst_col <?php echo (($this->view['search']['order'] == 'mwst')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">				
+						<a href="#" onclick="return wpsg_setOrder('mwst');">
+							<span><?php echo __("MwSt.", 'wpsg'); ?></span>
+							<span class="sorting-indicator"></span>
+						</a>
+					</th>
+					<th class="manage-column column-title <?php echo (($this->view['search']['order'] == 'price')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">
+						<a href="#" onclick="return wpsg_setOrder('price');">
+							<span><?php echo __("Preis", 'wpsg'); ?></span>
+							<span class="sorting-indicator"></span>
+						</a> 
+					</th>				
+				</tr>
+			</tfoot>		
+		</table>
+			
+		<?php } else { ?>
+		<p><?php echo __('Keine Produkte in der Datenbank.', 'wpsg'); ?></p>
 		<?php } ?>
-		<a href="<?php echo $this->url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Produkt&amp;action=import'); ?>" class="add-new-h2"><?php echo __('Importieren', 'wpsg'); ?></a>
-	</h2>
-
-	<?php echo $this->writeBackendMessage(); ?> 
-			 
-	<form method="POST" id="filter_form">
-				
-		<?php $this->callMod('wpsg_mod_productgroups', 'produkt_index_filter'); ?>
-				
-		<p class="search-box wpsg-search-box">
-			<label for="post-search-input" class="screen-reader-text"><?php echo __('Produkte suchen', 'wpsg'); ?>:</label>
-			<input type="text" value="<?php echo @wpsg_hspc($_REQUEST['s']); ?>" name="s" id="post-search-input">
-			<input type="submit" value="<?php echo __('Produkte suchen', 'wpsg'); ?>" class="button" id="search-submit" name="">
-			<?php /*<input type="button" value="&nbsp;" class="button" id="wpsg_product_search_button" /> */ ?>
-		</p>
-		
-		<?php if (sizeof($this->view['data'] > 0)) { ?>
-		<div class="tablenav top wpsg_tablenav">
-		
-			<div class="tablenav-pages tablenav-pages-wrap"><span class="displaying-num"><?php echo wpsg_translate(__('#1# Elemente', 'wpsg'), $this->view['count']); ?></span>
-				<div class="tablenav-pages">	
-					<span class="pagination-links">
-						<a onclick="return goPage(1);" href="<?php echo $this->url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Produkt&seite=1&s='.$_REQUEST['s']); ?>" title="<?php echo __('Zur ersten Seite gehen', 'wpsg'); ?>" class="first-page <?php echo (($this->view['seite'] == '1')?'disabled':''); ?>">Â«</a>
-						<a onclick="return goPage(<?php echo $this->view['seite'] - 1; ?>);" href="<?php echo $this->url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Produkt&seite='.($this->view['seite'] - 1)); ?>" title="<?php echo __('Zur vorherigen Seite gehen', 'wpsg'); ?>" class="prev-page <?php echo (($this->view['seite'] <= 1)?'disabled':''); ?>">â¹</a>
-						<span class="paging-input"><input type="text" size="1" value="<?php echo $this->view['seite']; ?>" name="seite" title="<?php echo __('Aktuelle Seite', 'wpsg'); ?>" id="wpsg_seite" class="current-page"> <?php echo __('von', 'wpsg'); ?> <span class="total-pages"><?php echo $this->view['pages']; ?></span></span>
-						<a onclick="return goPage(<?php echo $this->view['seite'] + 1; ?>);" href="<?php echo $this->url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Produkt&seite='.($this->view['seite'] + 1)); ?>" title="<?php echo __('Zur nÃ€chsten Seite gehen', 'wpsg'); ?>" class="next-page <?php echo (($this->view['seite'] >= $this->view['pages'])?'disabled':''); ?>">âº</a>
-						<a onclick="return goPage(<?php echo $this->view['pages']; ?>);" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&amp;seite=<?php echo $this->view['pages']; ?>" title="<?php echo __('Zur letzten Seite gehen', 'wpsg'); ?>" class="last-page <?php echo (($this->view['seite'] == $this->view['pages'])?'disabled':''); ?>">Â»</a>
-					</span>
-				</div>
-				
-				<script type="text/javascript">
-
-					jQuery('.tablenav-pages .disabled').bind('click', function() { return false; } );
-				
-				</script>
-				
-				<br class="clear">
-			</div>
-		
-		</div>
-		<?php } ?>
-				
-		<input id="wpsg_order" type="hidden" name="search[order]" value="<?php echo $this->view['search']['order']; ?>" />
-		<input id="wpsg_ascdesc" type="hidden" name="search[ascdesc]" value="<?php echo $this->view['search']['ascdesc']; ?>" />
-		
-		<input style="display:none;" type="submit" name="suchen" value="" />
-
-		<?php /*		
-		<div class="wpsg_clear"></div>
-		<div class="metabox-holder" id="wpsg_product_index_filter_layer" style="<?php echo (($_COOKIE['wpsg_order_index_filter'] == '1')?'display:block;':'display:none;'); ?>">
-			<div id="wpsg_orderindexfilter" class="postbox">		
-				<h3 class="wpsg_handlediv">
-					<span class="handlediv" title="<?php echo __('Zum Ein/Ausklappen hier klicken', 'wpsg'); ?>"><br></span>
-					<span><?php echo __('Bestellfilter', 'wpsg'); ?></span>
-				</h3>
-				<div class="inside">
-				</div>
-			</div>
-		</div> */ ?>
-		
-	</form>
-	
-	<?php if (is_array($this->view['data']) && sizeof($this->view['data']) > 0) { ?>
-	<table class="widefat post fixed">
-		<thead>
-			<tr>
-				<?php if ($this->hasMod('wpsg_mod_produktbilder')) { ?>
-				<th class="manage-column column-title wpsg_pic_col"></th>
-				<?php } ?>
-				<th class="manage-column column-title <?php echo (($this->view['search']['order'] == 'name')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">
-					<a href="#" onclick="return wpsg_setOrder('name');">
-						<span><?php echo __("Name", 'wpsg'); ?></span>
-						<span class="sorting-indicator"></span>
-					</a>
-				</th>
-				<th class="manage-column column-title <?php echo (($this->view['search']['order'] == 'anr')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">
-					<a href="#" onclick="return wpsg_setOrder('anr');">
-						<span><?php echo __("Artikelnummer", 'wpsg'); ?></span>
-						<span class="sorting-indicator"></span>
-					</a> 
-				</th>	
-				<?php if ($this->hasMod('wpsg_mod_productgroups')) { ?>
-				<th class="manage-column column-title <?php echo (($this->view['search']['order'] == 'pgruppe')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">
-					<a href="#" onclick="return wpsg_setOrder('pgruppe');">
-						<span><?php echo __("Produktgruppe", 'wpsg'); ?></span>
-						<span class="sorting-indicator"></span>
-					</a> 
-				</th>
-				<?php } ?>
-				<?php if ($this->hasMod('wpsg_mod_stock') && $this->get_option('wpsg_mod_stock_showBackendStock') == '1') { ?>
-				<th class="manage-column column-title wpsg_stock_col <?php echo (($this->view['search']['order'] == 'stock')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">
-					<a href="#" onclick="return wpsg_setOrder('stock');">
-						<span><?php echo __('Lagerbestand', 'wpsg'); ?></span>
-						<span class="sorting-indicator"></span>
-					</a>
-				</th>
-				<?php } ?>
-				<th class="manage-column column-title wpsg_mwst_col <?php echo (($this->view['search']['order'] == 'mwst')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">				
-					<a href="#" onclick="return wpsg_setOrder('mwst');">
-						<span><?php echo __("MwSt.", 'wpsg'); ?></span>
-						<span class="sorting-indicator"></span>
-					</a>
-				</th>
-				<th class="manage-column column-title <?php echo (($this->view['search']['order'] == 'price')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">
-					<a href="#" onclick="return wpsg_setOrder('price');">
-						<span><?php echo __("Preis", 'wpsg'); ?></span>
-						<span class="sorting-indicator"></span>
-					</a> 
-				</th>							
-			</tr>
-		</thead>
-		<tbody>
-			<?php foreach ($this->view['data'] as $d) { ?>
-			<tr>
-				<?php if ($this->hasMod('wpsg_mod_produktbilder')) { ?>
-				<td class="post-title wpsg_pic_col">
-					<?php 
-					
-						$arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($d['id'])); 
-					
-						if (wpsg_isSizedArray($arBilder))
-						{
-							
-							echo '<a href="'.WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Produkt&amp;action=edit&amp;edit_id='.$d['id'].'" title="'.wpsg_translate(__('Produkt fÃŒr Sprache #1# bearbeiten.', 'wpsg'), $l['name']).'">';
-							echo '<img src="'.$this->callMod('wpsg_mod_produktbilder', 'makeTn', array($d['id'], $arBilder[0], 40, 40, 'c')).'" alt="" />';
-							echo '</a>';
-							
-						}
-						
-					?>
-				</td>
-				<?php } ?>
-				<td class="post-title column-title">
-					<strong><a title="<?php echo __("Dieses Produkt bearbeiten", "wpsg"); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&amp;action=edit&amp;edit_id=<?php echo $d['id']; ?>" class="row-title"><?php echo (($d['name'] == "")?__("---- ", "wpsg"):$d['name']); ?></a></strong>
-					<div class="row-actions">
-						<span class="edit"><a title="<?php echo __("Dieses Produkt bearbeiten", "wpsg"); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&amp;action=edit&amp;edit_id=<?php echo $d['id']; ?>"><?php echo __("Bearbeiten", "wpsg"); ?></a></span>
-						<?php if ($this->isMultiLingual()) { ?> 
-						<?php foreach ($this->getStoreLanguages() as $l) { ?>
-							<?php if ($l['locale'] != $this->getDefaultLanguageLocale()) { ?>							
-							<a href="<?php echo $this->url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Produkt&amp;action=edit&amp;edit_id='.$d['id'].'&amp;wpsg_lang='.$l['locale']); ?>" title="<?php echo wpsg_translate(__('Produkt fÃŒr Sprache #1# bearbeiten.', 'wpsg'), $l['name']); ?>">
-								<img src="<?php echo $this->getFlagURL().$l['flag']; ?>" alt="<?php echo wpsg_translate(__('Produkt fÃŒr Sprache #1# bearbeiten.', 'wpsg'), $l['name']); ?>" />
-							</a>
-							<?php } ?>
-						<?php } ?>
-						<?php } ?>
-						|
-						<span class="del"><a onclick="if (!confirm('<?php echo __("Sind Sie sicher, dass Sie das Produkt lÃ¶schen wollen?", "wpsg"); ?>')) return false;" title="<?php echo __("Dieses Produkt lÃ¶schen", "wpsg"); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&amp;action=del&amp;edit_id=<?php echo $d['id']; ?>&amp;noheader=1"><?php echo __("LÃ¶schen", "wpsg"); ?></a></span>
-						|
-						<span class="copy"><a onclick="if (!confirm('<?php echo __("Sind Sie sicher, dass Sie das Produkt kopieren wollen?", "wpsg"); ?>')) return false;" title="<?php echo __("Dieses Produkt kopieren", "wpsg"); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&amp;action=copy&amp;edit_id=<?php echo $d['id']; ?>&amp;noheader=1"><?php echo __("Kopieren", "wpsg"); ?></a></span>
-						| 
-						<span class="view"><a target="_blank" title="<?php echo __("Dieses Produkt im Frontend ansehen", "wpsg"); ?>" href="<?php echo $this->getProduktLink(array('id' => $d['id'])); ?>"><?php echo __("Ansehen", "wpsg"); ?></a></span>
-						<?php $this->callMods('produkt_index_editmenu', array(&$d)); ?>
-					</div>
-				</td>
-				<td><?php echo wpsg_hspc($d['anr']); ?></td>
-				<?php if ($this->hasMod('wpsg_mod_productgroups')) { ?>
-				<td>
-					<?php if ($d['pgruppe'] <= 0) { ?>
-					<?php echo __('Nicht zugewiesen', 'wpsg'); ?>
-					<?php } else { ?>
-					<?php echo $d['pgruppe_name']; ?>
-					<?php } ?>
-				</td>
-				<?php } ?>
-				<?php if ($this->hasMod('wpsg_mod_stock') && $this->get_option('wpsg_mod_stock_showBackendStock') == '1') { ?>
-				<td>
-					<div style="line-height:inherit; margin-bottom:0.2em;"><?php echo $d['stock']; ?></div>
-					<?php if ($this->hasMod('wpsg_mod_varianten') && wpsg_isSizedArray($this->callMod('wpsg_mod_varianten', 'loadVarianten', array($d['id'])))) { ?>					
-					<div style="line-height:inherit; padding:2px 0px 0px;">
-						<a class="clueTip" href="#" rel="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&action=ajax&mod=wpsg_mod_stock&edit_id=<?php echo $d['id']; ?>&noheader=1&wpsg_cmd=getVariInfo"><?php echo __('Variantenbestand', 'wpsg'); ?></a>
-					</div>					
-					<?php } ?>
-				</td>
-				<?php } ?>
-				<td class="wpsg_mwst_col">
-					<?php echo strtoupper($d['mwst_key']).' ('.wpsg_ff($d['mwst_value'], '%').' '.$this->getDefaultCountry()->kuerzel.')'; ?>					
-				</td>
-				<td>
-					<?php /* if ($this->get_option('wpsg_preisangaben') == WPSG_NETTO) { ?>
-					<?php echo wpsg_ff($d['preis_netto'], $this->get_option('wpsg_currency')); ?>
-					<?php } else { */?>
-					<?php echo wpsg_ff($d['preis'], $this->get_option('wpsg_currency')); ?>
-					<?php /* } */ ?>
-				</td>				
-			</tr>
-			<?php } ?>
-		</tbody>
-		<tfoot>
-			<tr>
-				<?php if ($this->hasMod('wpsg_mod_produktbilder')) { ?>
-				<th class="manage-column column-title wpsg_pic_col"></th>
-				<?php } ?>
-				<th class="manage-column column-title <?php echo (($this->view['search']['order'] == 'name')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">
-					<a href="#" onclick="return wpsg_setOrder('name');">
-						<span><?php echo __("Name", 'wpsg'); ?></span>
-						<span class="sorting-indicator"></span>
-					</a>
-				</th>
-				<th class="manage-column column-title <?php echo (($this->view['search']['order'] == 'anr')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">
-					<a href="#" onclick="return wpsg_setOrder('anr');">
-						<span><?php echo __("Artikelnummer", 'wpsg'); ?></span>
-						<span class="sorting-indicator"></span>
-					</a> 
-				</th>
-				<?php if ($this->hasMod('wpsg_mod_productgroups')) { ?>
-				<th class="manage-column column-title <?php echo (($this->view['search']['order'] == 'pgruppe')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">
-					<a href="#" onclick="return wpsg_setOrder('pgruppe');">
-						<span><?php echo __("Produktgruppe", 'wpsg'); ?></span>
-						<span class="sorting-indicator"></span>
-					</a> 
-				</th>
-				<?php } ?>
-				<?php if ($this->hasMod('wpsg_mod_stock') && $this->get_option('wpsg_mod_stock_showBackendStock') == '1') { ?>
-				<th class="manage-column column-title wpsg_stock_col <?php echo (($this->view['search']['order'] == 'stock')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">
-					<a href="#" onclick="return wpsg_setOrder('stock');">
-						<span><?php echo __('Lagerbestand', 'wpsg'); ?></span>
-						<span class="sorting-indicator"></span>
-					</a>
-				</th>
-				<?php } ?>
-				<th class="manage-column column-title wpsg_mwst_col <?php echo (($this->view['search']['order'] == 'mwst')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">				
-					<a href="#" onclick="return wpsg_setOrder('mwst');">
-						<span><?php echo __("MwSt.", 'wpsg'); ?></span>
-						<span class="sorting-indicator"></span>
-					</a>
-				</th>
-				<th class="manage-column column-title <?php echo (($this->view['search']['order'] == 'price')?'sorted':'sortable'); ?> <?php echo (($this->view['search']['ascdesc'] == 'asc')?'asc':'desc'); ?>" scope="col">
-					<a href="#" onclick="return wpsg_setOrder('price');">
-						<span><?php echo __("Preis", 'wpsg'); ?></span>
-						<span class="sorting-indicator"></span>
-					</a> 
-				</th>				
-			</tr>
-		</tfoot>		
-	</table>
-	 
-	<div class="tablenav top wpsg_tablenav">
-	
-		<div class="tablenav-pages"><span class="displaying-num"><?php echo wpsg_translate(__('#1# Elemente', 'wpsg'), $this->view['count']); ?></span>
-			<div class="tablenav-pages">	
-				<span class="pagination-links">
-					<a onclick="return goPage(1);" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&amp;seite=1&amp;s=<?php echo $_REQUEST['s']; ?>" title="<?php echo __('Zur ersten Seite gehen', 'wpsg'); ?>" class="first-page <?php echo (($this->view['seite'] == '1')?'disabled':''); ?>">Â«</a>
-					<a onclick="return goPage(<?php echo $this->view['seite'] - 1; ?>);" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&amp;seite=<?php echo $this->view['seite'] - 1; ?>" title="<?php echo __('Zur vorherigen Seite gehen', 'wpsg'); ?>" class="prev-page <?php echo (($this->view['seite'] <= 1)?'disabled':''); ?>">â¹</a>
-					<span class="paging-input"><input type="text" size="1" value="<?php echo $this->view['seite']; ?>" id="wpsg_seite_bottom" name="seite" title="<?php echo __('Aktuelle Seite', 'wpsg'); ?>" class="current-page"> <?php echo __('von', 'wpsg'); ?> <span class="total-pages"><?php echo $this->view['pages']; ?></span></span>
-					<a onclick="return goPage(<?php echo $this->view['seite'] + 1; ?>);" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&amp;seite=<?php echo $this->view['seite'] + 1; ?>" title="<?php echo __('Zur nÃ€chsten Seite gehen', 'wpsg'); ?>" class="next-page <?php echo (($this->view['seite'] >= $this->view['pages'])?'disabled':''); ?>">âº</a>
-					<a onclick="return goPage(<?php echo $this->view['pages']; ?>);" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&amp;seite=<?php echo $this->view['pages']; ?>" title="<?php echo __('Zur letzten Seite gehen', 'wpsg'); ?>" class="last-page <?php echo (($this->view['seite'] == $this->view['pages'])?'disabled':''); ?>">Â»</a>
-				</span>
-			</div>
-			 
-			<script type="text/javascript">/* <![CDATA[ */
-
-				jQuery(document).ready(function() {
-            
-					jQuery('.clueTip').cluetip( { 
-						width: '400px',
-						height: '400px', 
-						activation: 'click',
-						sticky: true,
-						/*mouseOutClose: 'both',*/
-						closePosition: 'title', 
-						arrows: true
-					} );
-
-					jQuery('.tablenav-pages .disabled').bind('click', function() { return false; } );
-					jQuery('#wpsg_seite_bottom').bind('keydown', function(event) { 
-
-						var keycode = (event.keyCode ? event.keyCode : event.which);
-
-						if (keycode == '13')
-						{
-
-							jQuery('#wpsg_seite').val(jQuery(this).val());
-							jQuery('#filter_form').submit();
-
-						}
-						 
-					} );
-
-				} );
-			
-			/* ]]> */</script>
-			
-			<br class="clear">
-		</div>
-	
-	</div> 
-	
-	<?php } else { ?>
-	<p><?php echo __('Keine Produkte in der Datenbank.', 'wpsg'); ?></p>
-	<?php } ?>
+		
+	</div>
 	
 </div>
