Index: /controller/wpsg_ShopController.class.php
===================================================================
--- /controller/wpsg_ShopController.class.php	(revision 6525)
+++ /controller/wpsg_ShopController.class.php	(revision 6526)
@@ -110,5 +110,6 @@
 			$this->basketController = new wpsg_BasketController();
  
-			if ($this->get_option('wpsg_key') !== false && $this->get_option('wpsg_key') != '') $this->bLicence = true;
+			$wpsg_update_data = $this->get_option('wpsg_updatedata');
+			if (wpsg_isSizedArray($wpsg_update_data) && @$wpsg_update_data['returnCode'] != '0') $this->bLicence = true;
 
 			$this->arStatus = array(
Index: /lib/helper_functions.inc.php
===================================================================
--- /lib/helper_functions.inc.php	(revision 6525)
+++ /lib/helper_functions.inc.php	(revision 6526)
@@ -404,5 +404,5 @@
 		}
 
-		echo '<div class="panel-body">';
+		echo '<div class="panel-body '.wpsg_getStr($arConf['panel-body-class']).'">';
 				
 	}
Index: /model/wpsg_news.class.php
===================================================================
--- /model/wpsg_news.class.php	(revision 6525)
+++ /model/wpsg_news.class.php	(revision 6526)
@@ -128,7 +128,12 @@
 			{
 				
-				if (!self::isRead($news['id'])) $nUnread ++;
+				if (!self::isRead($news['id']))
+				{
+					
+					$nUnread ++;
+					
+				}
 				
-			}
+			} 
 			
 			return $nUnread;
Index: /views/admin/index.phtml
===================================================================
--- /views/admin/index.phtml	(revision 6525)
+++ /views/admin/index.phtml	(revision 6526)
@@ -29,5 +29,5 @@
 						<?php echo __('Aktuelles', 'wpsg'); ?>
 						<?php $wpsg_news_unread = wpsg_news::countUnreadNews(); if (wpsg_isSizedInt($wpsg_news_unread)) { ?>
-						<span class="badge" style="background-color:#D9534F;"><?php echo sizeof($wpsg_news_unread); ?></span>
+						<span class="badge" style="background-color:#D9534F;"><?php echo $wpsg_news_unread; ?></span>
 						<?php } ?>			
 					</a></li>
Index: /views/admin/licence.phtml
===================================================================
--- /views/admin/licence.phtml	(revision 6525)
+++ /views/admin/licence.phtml	(revision 6526)
@@ -30,5 +30,5 @@
 						<?php echo __('Aktuelles', 'wpsg'); ?>
 						<?php $wpsg_news_unread = wpsg_news::countUnreadNews(); if (wpsg_isSizedInt($wpsg_news_unread)) { ?>
-						<span class="badge" style="background-color:#D9534F;"><?php echo sizeof($wpsg_news_unread); ?></span>
+						<span class="badge" style="background-color:#D9534F;"><?php echo $wpsg_news_unread; ?></span>
 						<?php } ?>			
 					</a></li>
@@ -183,5 +183,84 @@
                         <br />
                         
-                        <?php include dirname(__FILE__).'/modulelist.phtml'; ?>
+                        <?php if (wpsg_isSizedArray($wpsg_update_data)) { ?>
+                        
+                            <?php // Ich zeige hier nur die Aktiven Module an ?>
+                            <?php foreach ($wpsg_update_data['modulinfo'] as $modul_key => $modul_info) { if ($modul_info['active'] !== true) unset($wpsg_update_data['modulinfo'][$modul_key]); } ?>
+                            
+                            <table class="table modultable">
+                                <thead>
+                                    <tr>
+                                        <th><?php echo __('Modulname', 'wpsg'); ?></th>
+                                        <th><?php echo __('Version', 'wpsg'); ?></th>
+                                        <th><?php echo __('Lizenz', 'wpsg');  ?></th>
+                                        <th><?php echo __('verfÃŒgbare Version', 'wpsg'); ?></th>
+                                    </tr>
+                                </thead>
+                                <tbody>
+                                    <?php foreach ($wpsg_update_data['modulinfo'] as $modul_key => $modul_info) { ?>
+                                    <tr style="font-style:normal;" class="success">
+                                        <td><?php echo $modul_info['label']; ?></td>
+                                        <td>
+                                            
+                                            <?php if ($this->shop->hasModInstalled($modul_key)) { ?>
+                                                <?php echo $this->shop->arAllModule[$modul_key]->version; ?>
+                                            <?php } ?>
+                                            
+                                        </td>								
+                                        <td>
+                                            
+                                            <?php if ($modul_info['free'] === true) { ?>
+                                                <?php echo __('kostenlos', 'wpsg'); ?>
+                                            <?php } else if ($modul_info['active'] === true) { ?>
+                                                <?php echo __('enthalten', 'wpsg'); ?>
+                                            <?php } else { ?>
+                                                
+                                                <?php if (wpsg_isSizedString($modul_info['shop_url'])) { ?>
+                                                <a href="<?php echo $modul_info['shop_url']; ?>" target="_blank"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a>
+                                                <?php } else { ?>
+                                                <a href="https://shop.maennchen1.de" target="_blank"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a>
+                                                <?php } ?>
+                                                
+                                            <?php } ?>
+                                            
+                                        </td>
+                                        <td><?php 
+                                            
+                                            echo $modul_info['version'];
+                                             
+                                            if ($this->shop->hasModInstalled($modul_key) && $modul_info['version'] === $this->shop->arAllModule[$modul_key]->version)
+                                            {
+                                                
+                                                echo ' - <strong class="wpsg_message_ok">'.__('aktuell', 'wpsg').'</strong>';
+                                                
+                                            }
+                                            else if (version_compare($modul_info['version'], WPSG_VERSION) > 0) 
+                                            {
+                                                
+                                                echo ' - <strong class="wpsg_error">'.__('neue Version verfÃŒgbar', 'wpsg').'</strong><br />'.wpsg_translate(__('<a href="#1#">wpShopGermany Update</a> notwendig', 'wpsg'), WPSG_URL_WP.'wp-admin/plugins.php');
+                                                
+                                            }
+                                            else if (version_compare($modul_info['version'], $this->shop->arAllModule[$modul_key]->versio) > 0) 
+                                            {
+                                                
+                                                echo ' - <strong class="wpsg_error">'.__('neue Version verfÃŒgbar', 'wpsg').'</strong>';
+                                                
+                                                if ($modul_info['active'] === true) 
+                                                {
+                                                
+                                                    echo '<br />';
+                                                    echo wpsg_translate(__('<a href="#1#">Version installieren</a>.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=installModul&modul='.$modul_key);
+                                                    
+                                                }
+                                                
+                                            }
+                                            
+                                        ?></td>
+                                    </tr>
+                                    <?php } ?>
+                                </tbody>
+                            </table>
+                                                
+                        <?php } ?>
                                                                         
                     <?php } ?>
Index: /views/admin/news.phtml
===================================================================
--- /views/admin/news.phtml	(revision 6525)
+++ /views/admin/news.phtml	(revision 6526)
@@ -16,11 +16,8 @@
 			<?php 
 			$temp = '<a target="_blank" onclick="setTimeout(function() { location.href = location.href; }, 1000); return true;" href="'.WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=news&read='.rawurlencode($news['id']).'&noheader=1">'.wpsg_hspc(wpsg_formatTimestamp($news['date'], true).' - '.$news['title']).'</a>';
-			echo wpsg_drawForm_AdminboxStart(__($temp, 'wpsg'));
+			echo wpsg_drawForm_AdminboxStart(__($temp, 'wpsg'), '', array('panel-body-class' => ((wpsg_news::isRead($news['id']))?'bg-success':'bg-info')));
 			
 			?>
-		
-			<div class="markRead">
-				<?php echo __('gelesen', 'wpsg'); ?> <img src="<?php echo $this->getRessourceURL('gfx/tick.png'); ?>" title="<?php echo __('gelesen', 'wpsg'); ?>" alt="<?php echo __('gelesen', 'wpsg'); ?>" />
-			</div>
+		 
 			<div class="wpsg_news_content"><?php echo wpsg_news::prepareContent($news); ?></div>
 			<?php echo wpsg_drawForm_AdminboxEnd(); ?>
