if (tep_admin_check_boxes('modules.php') == true) { require DIR_WS_BOXES . 'modules.php'; } if (tep_admin_check_boxes('customers.php') == true) { require DIR_WS_BOXES . 'customers.php'; } if (tep_admin_check_boxes('gv_admin.php') == true) { require DIR_WS_BOXES . 'gv_admin.php'; } if (tep_admin_check_boxes('taxes.php') == true) { require DIR_WS_BOXES . 'taxes.php'; } if (tep_admin_check_boxes('localization.php') == true) { require DIR_WS_BOXES . 'localization.php'; } if (tep_admin_check_boxes('reports.php') == true) { require DIR_WS_BOXES . 'reports.php'; } if (tep_admin_check_boxes('tools.php') == true) { require DIR_WS_BOXES . 'tools.php'; } if (tep_admin_check_boxes('newsletters.php') == true) { require DIR_WS_BOXES . 'newsletters.php'; } if (tep_admin_check_boxes('header_tags_controller.php') == true) { require DIR_WS_BOXES . 'header_tags_controller.php'; } if (tep_admin_check_boxes('pages.php') == true) { require DIR_WS_BOXES . 'pages.php'; } // EOE Access with Level Account (v. 2.2a) for the Admin Area of osCommerce (MS2) 1 of 1
<td class="pageheading"> </td> </tr> <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent"><?php echo DASHBOARD_ORDERS_STATUS; ?> </td> <td class="dataTableHeadingContent" align="center"><?php echo DASHBOARD_QUANTITY; ?> </td> </tr> <?php $orders_contents = ''; $orders_status_query = tep_db_query("select orders_status_name, orders_status_id from " . TABLE_ORDERS_STATUS . " where language_id = '" . $languages_id . "'"); while ($orders_status = tep_db_fetch_array($orders_status_query)) { $orders_pending_query = tep_db_query("select count(*) as count from " . TABLE_ORDERS . " where orders_status = '" . $orders_status['orders_status_id'] . "'"); $orders_pending = tep_db_fetch_array($orders_pending_query); if (tep_admin_check_boxes(FILENAME_ORDERS, 'sub_boxes') == true) { $orders_contents .= '<tr class="dataTableRow" onMouseOver="rowOverEffect(this)" onMouseOut="rowOutEffect(this)"><td class="dataTableContent"><a href="' . tep_href_link(FILENAME_ORDERS, 'selected_box=customers&status=' . $orders_status['orders_status_id']) . '">' . $orders_status['orders_status_name'] . '</a>:</td><td class="dataTableContent" align="center"> ' . $orders_pending['count'] . '</td></tr>'; } else { $orders_contents .= '' . $orders_status['orders_status_name'] . ': ' . $orders_pending['count'] . '<br>'; } // end if } // end while $contents = array(); echo $orders_contents; ?> </table> <!-- END ORDER SNAPSHOT -->
echo BOX_MENU_ARTICLES; ?> </a> <ul> <?php require DIR_WS_BOXES . 'articles.php'; ?> </ul> </li> <?php } ?> <!-- SECURITY --> <?php if (tep_admin_check_boxes('sitemonitor.php') == true) { ?> <li> <a href="#"><?php echo BOX_HEADING_SECURITY; ?> </a> <ul> <?php require DIR_WS_BOXES . 'sitemonitor.php'; ?> </ul> </li> <?php } ?>