<?php
/*
  $Id: catalog.php,v 1.20 2002/03/16 00:20:11 hpdl Exp $

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2002 osCommerce

  Released under the GNU General Public License
    
  mod MaxiShop Total B2B v 1.0 by Z. Maciej "Miki" Bajkowski http://www.maxishop.prv.pl
  
*/
?>
<!-- catalog //-->
          <tr>
            <td>
<?php
  $heading = array();
  $contents = array();

  $heading[] = array('text'  => BOX_HEADING_CATALOG,
                     'link'  => tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('selected_box')) . 'selected_box=catalog'));

  if ($selected_box == 'catalog') {
    $contents[] = array('text'  => tep_admin_files_boxes(FILENAME_CATEGORIES, BOX_CATALOG_CATEGORIES_PRODUCTS) .
                                   tep_admin_files_boxes(FILENAME_SPECIALS, BOX_CATALOG_SPECIALS) .
'<a href="' . tep_href_link('new_attributes.php', '', 'NONSSL') . '" class="menuBoxContentLink">*Attribute Manager</a><br>' .
'<a href="' . tep_href_link(FILENAME_FEATURED, '', 'NONSSL') . '" class="menuBoxContentLink"> Produkty polecane </a><br>' .                                   
tep_admin_files_boxes(FILENAME_PRODUCTS_EXPECTED, BOX_CATALOG_PRODUCTS_EXPECTED) .
'<a href="' . tep_href_link(FILENAME_LATEST_NEWS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_LATEST_NEWS . '</a><br>'.
'<a href="' . tep_href_link('easypopulate.php', '', 'NONSSL') . '" class="menuBoxContentLink">Import z Excela</a><br>'.
'<a href="' . tep_href_link(FILENAME_DEFINE_MAINPAGE, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_DEFINE_MAINPAGE . '</a><br>'.
'<a href="' . tep_href_link(FILENAME_DEFINE_CONDITIONS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_DEFINE_CONDITIONS . '</a><br>'.
'<a href="' . tep_href_link(FILENAME_DEFINE_PRIVACY, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_DEFINE_PRIVACY . '</a><br>'.
'<a href="' . tep_href_link(FILENAME_DEFINE_LOYALTY, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_DEFINE_LOYALTY . '</a><br>'.
'<a href="' . tep_href_link(FILENAME_DEFINE_SHIPPING, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_DEFINE_SHIPPING . '</a><br>'.
'<a href="' . tep_href_link(FILENAME_REVIEWS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_REVIEWS . '</a><br>'.

tep_admin_files_boxes(FILENAME_PRODUCTS_ATTRIBUTES, BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES) .
tep_admin_files_boxes(FILENAME_MANUFACTURERS, BOX_CATALOG_MANUFACTURERS)
);
  }

  $box = new box;
  echo $box->menuBox($heading, $contents);
?>
            </td>
          </tr>
<!-- catalog_eof //-->