---
nderungen der Datei ./admin/includes/column_left.php

Suchen Sie am Ende der Datei nach:
?>

Fgen Sie DARBER folgende Zeilen ein:
//protectedshops edit
  if((file_exists('./psapi_import.php') !== FALSE) || (file_exists('./psapi_rating.php') !== FALSE)){
    define('BOX_PS_MODULES', 'ProtectedShops');
    echo('<div class="leftmenu_head" style="background-image:url(images/gm_icons/module.png)">'.BOX_PS_MODULES.'</div>');
    echo('<div class="leftmenu_collapse leftmenu_collapse_opened"> </div>');
    echo('<ul class="leftmenu_box" id="BOX_PS_MODULES">');
    if(($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['psapi_import'] == '1') && (file_exists('psapi_import.php') !== FALSE)){
      define('BOX_PS_IMPORT', 'AGB Connect');
      echo('<li class="leftmenu_body_item"><a class="fav_drag_item" id="BOX_PS_IMPORT" href="'.xtc_href_link('psapi_import.php').'">'.BOX_PS_IMPORT.'&trade;</a></li>');
    }
    if(($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['psapi_rating'] == '1') && (file_exists('psapi_rating.php') !== FALSE)){
      define('BOX_PS_RATING', 'Vote Connect');
      echo('<li class="leftmenu_body_item"><a class="fav_drag_item" id="BOX_PS_RATING" href="'.xtc_href_link('psapi_rating.php').'">'.BOX_PS_RATING.'</a></li>');
    }
    echo('</ul>');
  }
//end protectedshops



---
nderungen der Datei ./admin/start.php

Suchen Sie nach folgender Zeile (ca. Zeile 37):
$gm_listing = $gmStart->getTopListing();

Fgen Sie DARUNTER folgende Zeilen ein:
//protectedshops
  require(DIR_WS_CLASSES.'protectedshops_api.php');  
  require(DIR_WS_CLASSES.'protectedshops_contentimporter.php');
//end protectedshops


Suchen Sie in der selben Datei nach folgenden Zeilen (ca. Zeile 288):
<tr>
  <td colspan="2">
    <!-- NEWS -->
    <table border="0" width="100%" cellspacing="0" cellpadding="0">
      <tr>
        <td width="300" class="dataTableHeadingContent" style="border-right: 0px;">
          <?php echo TITLE_NEWS; ?>

Fgen Sie DARBER folgende Zeilen ein:

<?php
//protectedshops
  $protectedshops_contentimporter = new protectedshops_contentimporter();
  $protectedshops_username = $protectedshops_contentimporter->getConfigurationValue('psapi_username');
  $protectedshops_password = $protectedshops_contentimporter->getConfigurationValue('psapi_password');
  $protectedshops_shopid = $protectedshops_contentimporter->getConfigurationValue('psapi_shopid');
  $protectedshops_documents = array("AGB","Widerruf","Versandinfo","Datenschutz","Batteriegesetz","Impressum");
  if($protectedshops_username && $protectedshops_password && $protectedshops_shopid){
    $api = new protectedshops_api($protectedshops_username, $protectedshops_password);
    foreach($protectedshops_documents as $key => $documentName){
      $nocheck = $api->needupdate($documentName, $protectedshops_shopid);
      if($nocheck)
        break;
    }
    if($nocheck){
      echo "<tr><td colspan='10'><div style='font-size:110%; background:#fed; border:1px solid #ff0000; padding:5px; color:#ff0000;'>";
      echo "<img src='images/protected-shops-icon-achtung.png' alt='Achtung' border='' align=''>&nbsp;<strong>Achtung:&nbsp;</strong>Einer Ihrer Protected Shops Rechtstexte ist nicht mehr aktuell. Sie k&ouml;nnen die Rechtstexte <a href='psapi_import.php' title='Rechtstexte neu importieren' style='color:blue;'>hier neu importieren</a>!";
      echo "</div></td></tr><tr><td>&nbsp;</td></tr>";
    }
  }
//end protectedshops
?>
