[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
Zen Cart 源代码 linkpoint_review.php

Zen Cart 源代码 linkpoint_review.php




下载文件

文件名: linkpoint_review.php
文件类型: PHP文件
文件大小: 22.05 KiB
MD5: 74abda0a56e65f770a00707874cfafbd

linkpoint_review.php - 关闭高亮
  1. <?php
  2. /**
  3.  * @package linkpoint_api_payment_module
  4.  * @copyright Copyright 2003-2011 Zen Cart Development Team
  5.  * @copyright Portions Copyright 2003 osCommerce
  6.  * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
  7.  * @version $Id: linkpoint_review.php 18695 2011-05-04 05:24:19Z drbyte $
  8.  */
  9.  
  10.   require('includes/application_top.php');
  11.  
  12.   require(DIR_WS_CLASSES . 'currencies.php');
  13.   $currencies = new currencies();
  14.  
  15.   $action = (isset($_GET['action']) ? $_GET['action'] : '');
  16.   if (isset($_GET['cID'])) $_GET['cID'] = (int)$_GET['cID'];
  17.  
  18.   if (substr($_GET['search'],0,3) == '%23' or substr($_GET['search'],0,1) == '#') {
  19.     if (substr($_GET['search'],0,3) == '%23') {
  20.     $search = '#' . substr($_GET['search'],2);
  21.     } else {
  22.     $search = '#' . substr($_GET['search'],1);
  23.     }
  24.   }
  25.  
  26.   $error = false;
  27.   $processed = false;
  28.  
  29.   if (zen_not_null($action)) {
  30.     switch ($action) {
  31.       case 'status_OFF':
  32.         if ($_GET['current'] == CUSTOMERS_APPROVAL_AUTHORIZATION) {
  33.           $sql = "update " . TABLE_CUSTOMERS . " set customers_authorization=0 where customers_id='" . $_GET['cID'] . "'";
  34.         } else {
  35.           $sql = "update " . TABLE_CUSTOMERS . " set customers_authorization='" . CUSTOMERS_APPROVAL_AUTHORIZATION . "' where customers_id='" . $_GET['cID'] . "'";
  36.         }
  37.         $db->Execute($sql);
  38.         $action = '';
  39.         zen_redirect(zen_href_link(FILENAME_CUSTOMERS, 'cID=' . $_GET['cID'] . '&page=' . $_GET['page'], 'NONSSL'));
  40.         break;
  41.       default:
  42.         $customers  = "select c.customers_id, c.customers_gender, c.customers_firstname,
  43.                                          c.customers_lastname, c.customers_dob, c.customers_email_address,
  44.                                          c.customers_telephone, c.customers_fax,
  45.                                          c.customers_newsletter, c.customers_default_address_id,
  46.                                          c.customers_email_format, c.customers_group_pricing,
  47.                                          c.customers_authorization, c.customers_referral,
  48.                                          lp.*
  49.                                  from " . TABLE_CUSTOMERS . " c left join " .
  50.                                   TABLE_LINKPOINT_API . " lp on c.customers_id = lp.customer_id
  51.                                  where lp.customer_id = c.customers_id
  52.                                  and c.customers_id = '" . (int)$_GET['cID'] . "'" .
  53.                                   " order by lp.customer_id, lp.id ";
  54.  
  55.         $cInfo = new objectInfo($customers->fields);
  56.     }
  57.   }
  58. ?>
  59. <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
  60. <html <?php echo HTML_PARAMS; ?>>
  61. <head>
  62. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
  63. <title><?php echo TITLE; ?></title>
  64. <link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
  65. <link rel="stylesheet" type="text/css" href="includes/cssjsmenuhover.css" media="all" id="hoverJS">
  66. <script language="javascript" src="includes/menu.js"></script>
  67. <script language="javascript" src="includes/general.js"></script>
  68. <script type="text/javascript">
  69.   <!--
  70.   function init()
  71.   {
  72.     cssjsmenu('navbar');
  73.     if (document.getElementById)
  74.     {
  75.       var kill = document.getElementById('hoverJS');
  76.       kill.disabled = true;
  77.     }
  78.   }
  79.   // -->
  80. </script>
  81. </head>
  82. <body onLoad="init()">
  83. <!-- header //-->
  84. <?php require(DIR_WS_INCLUDES . 'header.php'); ?>
  85. <!-- header_eof //-->
  86.  
  87. <!-- body //-->
  88. <table border="0" width="100%" cellspacing="2" cellpadding="2">
  89.   <tr>
  90. <!-- body_text //-->
  91.     <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
  92. <?php
  93.   if (false) {
  94.   } else {
  95. ?>
  96.       <tr>
  97.         <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
  98.           <tr><?php echo zen_draw_form('search', FILENAME_LINKPOINT_REVIEW, '', 'get', '', true); ?>
  99.             <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
  100.             <td class="pageHeading"><?php echo ($_GET['search'] == '' ? '<a href="' . zen_href_link(FILENAME_LINKPOINT_REVIEW, '', 'NONSSL') . '">' . zen_image_button('button_update.gif', IMAGE_UPDATE) . '</a>&nbsp;&nbsp;' : ''); ?>
  101.             <td class="pageHeading" align="right"><?php echo zen_draw_separator('pixel_trans.gif', 1, HEADING_IMAGE_HEIGHT); ?></td>
  102.             <td class="smallText" align="right">
  103. <?php
  104. // show reset search
  105.     if (isset($_GET['search']) && zen_not_null($_GET['search'])) {
  106.       echo '<a href="' . zen_href_link(FILENAME_LINKPOINT_REVIEW, '', 'NONSSL') . '">' . zen_image_button('button_reset.gif', IMAGE_RESET) . '</a>&nbsp;&nbsp;';
  107.     }
  108.     echo HEADING_TITLE_SEARCH_DETAIL . ' ' . zen_draw_input_field('search') . '<br />Customers Name or use #customers_id, example: #27275';
  109.     if (isset($_GET['search']) && zen_not_null($_GET['search'])) {
  110.       $keywords = zen_db_input(zen_db_prepare_input($_GET['search']));
  111.       zen_draw_hidden_field('disp_order', $disp_order);
  112.       echo '<br/ >' . TEXT_INFO_SEARCH_DETAIL_FILTER . $keywords . '<br />';
  113.     }
  114. ?>
  115.             </td>
  116.           </form></tr>
  117.         </table></td>
  118.       </tr>
  119.       <tr>
  120.         <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
  121.           <tr>
  122. <?php
  123. // Sort Listing
  124.           switch ($_GET['list_order']) {
  125.               case "id-asc":
  126.               $disp_order = "lp.id";
  127.               break;
  128.               case "customers_id":
  129.               $disp_order = "c.customers_id, lp.id";
  130.               break;
  131.               case "customers_id-desc":
  132.               $disp_order = "c.customers_id DESC, lp.id";
  133.               break;
  134.               case "firstname":
  135.               $disp_order = "c.customers_firstname";
  136.               break;
  137.               case "firstname-desc":
  138.               $disp_order = "c.customers_firstname DESC";
  139.               break;
  140.               case "group-asc":
  141.               $disp_order = "c.customers_group_pricing";
  142.               break;
  143.               case "group-desc":
  144.               $disp_order = "c.customers_group_pricing DESC";
  145.               break;
  146.               case "lastname":
  147.               $disp_order = "c.customers_lastname, c.customers_firstname";
  148.               break;
  149.               case "lastname-desc":
  150.               $disp_order = "c.customers_lastname DESC, c.customers_firstname";
  151.               break;
  152.               case "company":
  153.               $disp_order = "a.entry_company";
  154.               break;
  155.               case "company-desc":
  156.               $disp_order = "a.entry_company DESC";
  157.               break;
  158.               case "login-asc":
  159.               $disp_order = "ci.customers_info_date_of_last_logon";
  160.               break;
  161.               case "login-desc":
  162.               $disp_order = "ci.customers_info_date_of_last_logon DESC";
  163.               break;
  164.               case "approval-asc":
  165.               $disp_order = "c.customers_authorization";
  166.               break;
  167.               case "approval-desc":
  168.               $disp_order = "c.customers_authorization DESC";
  169.               break;
  170.               default:
  171.               $disp_order = "lp.id DESC";
  172.               $_GET['list_order'] = "id-desc";
  173.           }
  174. ?>
  175.              <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
  176.               <tr class="dataTableHeadingRow">
  177.                 <td class="dataTableHeadingContent" align="left">
  178.                   <?php echo (($_GET['list_order']=='id-asc' or $_GET['list_order']=='id-desc') ? '<span class="SortOrderHeader">' . LPID . '</span>' : LPID); ?><br>
  179.                   <a href="<?php echo zen_href_link(basename($PHP_SELF) . '?list_order=id-asc', '', 'NONSSL'); ?>"><?php echo ($_GET['list_order']=='id-asc' ? '<span class="SortOrderHeader">Asc</span>' : '<span class="SortOrderHeaderLink">Asc</b>'); ?></a>&nbsp;
  180.                   <a href="<?php echo zen_href_link(basename($PHP_SELF) . '?list_order=id-desc', '', 'NONSSL'); ?>"><?php echo ($_GET['list_order']=='id-desc' ? '<span class="SortOrderHeader">Desc</span>' : '<span class="SortOrderHeaderLink">Desc</b>'); ?></a>
  181.                 </td>
  182.                 <td class="dataTableHeadingContent" align="left">
  183.                   <?php echo (($_GET['list_order']=='customers_id' or $_GET['list_order']=='customers_id-desc') ? '<span class="SortOrderHeader">' . TABLE_HEADING_ID . '</span>' : TABLE_HEADING_ID); ?><br>
  184.                   <a href="<?php echo zen_href_link(basename($PHP_SELF) . '?list_order=customers_id', '', 'NONSSL'); ?>"><?php echo ($_GET['list_order']=='customers_id' ? '<span class="SortOrderHeader">Asc</span>' : '<span class="SortOrderHeaderLink">Asc</b>'); ?></a>&nbsp;
  185.                   <a href="<?php echo zen_href_link(basename($PHP_SELF) . '?list_order=customers_id-desc', '', 'NONSSL'); ?>"><?php echo ($_GET['list_order']=='customers_id-desc' ? '<span class="SortOrderHeader">Desc</span>' : '<span class="SortOrderHeaderLink">Desc</b>'); ?></a>
  186.                 </td>
  187.                 <td class="dataTableHeadingContent" align="left">
  188.                   <?php echo (($_GET['list_order']=='lastname' or $_GET['list_order']=='lastname-desc') ? '<span class="SortOrderHeader">' . TABLE_HEADING_LASTNAME . '</span>' : TABLE_HEADING_LASTNAME); ?><br>
  189.                   <a href="<?php echo zen_href_link(basename($PHP_SELF) . '?list_order=lastname', '', 'NONSSL'); ?>"><?php echo ($_GET['list_order']=='lastname' ? '<span class="SortOrderHeader">Asc</span>' : '<span class="SortOrderHeaderLink">Asc</b>'); ?></a>&nbsp;
  190.                   <a href="<?php echo zen_href_link(basename($PHP_SELF) . '?list_order=lastname-desc', '', 'NONSSL'); ?>"><?php echo ($_GET['list_order']=='lastname-desc' ? '<span class="SortOrderHeader">Desc</span>' : '<span class="SortOrderHeaderLink">Desc</b>'); ?></a>
  191.                 </td>
  192.                 <td class="dataTableHeadingContent" align="left">
  193.                   <?php echo (($_GET['list_order']=='firstname' or $_GET['list_order']=='firstname-desc') ? '<span class="SortOrderHeader">' . TABLE_HEADING_FIRSTNAME . '</span>' : TABLE_HEADING_FIRSTNAME); ?><br>
  194.                   <a href="<?php echo zen_href_link(basename($PHP_SELF) . '?list_order=firstname', '', 'NONSSL'); ?>"><?php echo ($_GET['list_order']=='firstname' ? '<span class="SortOrderHeader">Asc</span>' : '<span class="SortOrderHeaderLink">Asc</b>'); ?></a>&nbsp;
  195.                   <a href="<?php echo zen_href_link(basename($PHP_SELF) . '?list_order=firstname-desc', '', 'NONSSL'); ?>"><?php echo ($_GET['list_order']=='firstname-desc' ? '<span class="SortOrderHeader">Desc</span>' : '<span class="SortOrderHeaderLink">Desc</span>'); ?></a>
  196.                 </td>
  197.                 <td class="dataTableHeadingContent" align="left">
  198.                 </td>
  199.                 <td class="dataTableHeadingContent" align="left">
  200.                 </td>
  201.  
  202.                 <td class="dataTableHeadingContent" align="left">
  203.                 </td>
  204.  
  205.                 <td class="dataTableHeadingContent" align="left">
  206.                 </td>
  207.  
  208.                 <td class="dataTableHeadingContent" align="center">
  209.                   <?php echo TABLE_HEADING_ACCOUNT_CREATED; ?>
  210.                 </td>
  211.  
  212.                 <td class="dataTableHeadingContent" align="right">
  213.                 </td>
  214.               </tr>
  215. <?php
  216.     $search = '';
  217.     if (isset($_GET['search']) && zen_not_null($_GET['search'])) {
  218.       $keywords = zen_db_input(zen_db_prepare_input($_GET['search']));
  219.       if (substr($keywords,0,1) == '#') {
  220.         $search = "where lp.customer_id = c.customers_id and (c.customers_id='" . substr($keywords,1) . "')";
  221.       } else {
  222.         $search = "where lp.customer_id = c.customers_id and (c.customers_lastname like '%" . $keywords . "%' or c.customers_firstname like '%" . $keywords . "%' or c.customers_email_address like '%" . $keywords . "%' or c.customers_telephone rlike '" . $keywords . "' or c.customers_id='" . $keywords . "')";
  223.       }
  224.     } else {
  225.       $search = "where lp.customer_id = c.customers_id";
  226.     }
  227.     $new_fields=', c.customers_telephone, a.entry_company, a.entry_street_address, a.entry_city, a.entry_postcode, c.customers_authorization, c.customers_referral';
  228. //    $customers_query_raw = "select c.customers_id, c.customers_lastname, c.customers_firstname, c.customers_email_address, c.customers_group_pricing, a.entry_country_id, a.entry_company, ci.customers_info_date_of_last_logon, ci.customers_info_date_account_created " . $new_fields . " from " . TABLE_CUSTOMERS . " c left join " . TABLE_CUSTOMERS_INFO . " ci on c.customers_id= ci.customers_info_id left join " . TABLE_ADDRESS_BOOK . " a on c.customers_id = a.customers_id and c.customers_default_address_id = a.address_book_id " . $search . " order by $disp_order";
  229.  
  230.         $customers_query_raw  = "select lp.*, c.*
  231.                                  from " .
  232.                                   TABLE_CUSTOMERS . " c, " .
  233.                                   TABLE_LINKPOINT_API . " lp " .
  234.                                   $search . "
  235.                                  order by $disp_order ";
  236.  
  237. //  $testing = $db->Execute($customers_query_raw);
  238.  
  239. //die('I SEE ' . $testing->RecordCount());
  240.  
  241. // Split Page
  242. // reset page when page is unknown
  243. if ($_GET['page'] == '' and $_GET['cID'] != '') {
  244.   $check_page = $db->Execute($customers_query_raw);
  245.   $check_count=1;
  246.   if ($check_page->RecordCount() > MAX_DISPLAY_SEARCH_RESULTS_CUSTOMER) {
  247.     while (!$check_page->EOF) {
  248.       if ($check_page->fields['customers_id'] == $_GET['cID']) {
  249.         break;
  250.       }
  251.       $check_count++;
  252.       $check_page->MoveNext();
  253.     }
  254.     $_GET['page'] = round((($check_count/MAX_DISPLAY_SEARCH_RESULTS_CUSTOMER)+(fmod($check_count,MAX_DISPLAY_SEARCH_RESULTS_CUSTOMER) !=0 ? .5 : 0)),0);
  255. //    zen_redirect(zen_href_link(FILENAME_LINKPOINT_REVIEW, 'cID=' . $_GET['cID'] . (isset($_GET['page']) ? '&page=' . $_GET['page'] : ''), 'NONSSL'));
  256.   } else {
  257.     $_GET['page'] = 1;
  258.   }
  259. }
  260.  
  261.     $customers_split = new splitPageResults($_GET['page'], MAX_DISPLAY_SEARCH_RESULTS_CUSTOMER, $customers_query_raw, $customers_query_numrows);
  262.     $customers = $db->Execute($customers_query_raw);
  263.     while (!$customers->EOF) {
  264.       $info = $db->Execute("select customers_info_date_account_created as date_account_created,
  265.                                   customers_info_date_account_last_modified as date_account_last_modified,
  266.                                   customers_info_date_of_last_logon as date_last_logon,
  267.                                   customers_info_number_of_logons as number_of_logons
  268.                            from " . TABLE_CUSTOMERS_INFO . "
  269.                            where customers_info_id = '" . $customers->fields['customers_id'] . "'");
  270.  
  271.       if ((!isset($_GET['cID']) || (isset($_GET['cID']) && ($_GET['cID'] == $customers->fields['customers_id']))) && !isset($cInfo)) {
  272.         $country = $db->Execute("select countries_name
  273.                                 from " . TABLE_COUNTRIES . "
  274.                                 where countries_id = '" . (int)$customers->fields['entry_country_id'] . "'");
  275.         if (!is_array($country->fields)) $country->fields = array();
  276.  
  277.         $customer_info = array_merge($country->fields, $info->fields);
  278.  
  279.         $cInfo_array = array_merge($customers->fields, $customer_info);
  280.         $cInfo = new objectInfo($cInfo_array);
  281.       }
  282.  
  283.         $group_query = $db->Execute("select group_name, group_percentage from " . TABLE_GROUP_PRICING . " where
  284.                                     group_id = '" . $customers->fields['customers_group_pricing'] . "'");
  285.  
  286.         if ($group_query->RecordCount() < 1) {
  287.           $group_name_entry = TEXT_NONE;
  288.         } else {
  289.           $group_name_entry = $group_query->fields['group_name'];
  290.         }
  291.  
  292. /*
  293.       if (isset($cInfo) && is_object($cInfo) && ($customers->fields['customers_id'] == $cInfo->customers_id)) {
  294.         echo '          <tr id="defaultSelected" class="dataTableRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\'' . zen_href_link(FILENAME_LINKPOINT_REVIEW, zen_get_all_get_params(array('cID', 'action')) . '&search=xxx' . $cInfo->customers_id, 'NONSSL') . '\'">' . "\n";
  295.       } else {
  296.         echo '          <tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\'' . zen_href_link(FILENAME_LINKPOINT_REVIEW, zen_get_all_get_params(array('cID', 'action')) . '&search=xxx' . $cInfo->customers_id, 'NONSSL') . '\'">' . "\n";
  297.       }
  298. */
  299.         echo '          <tr class="dataTableRow">' . "\n";
  300.  
  301. ?>
  302.                 <td class="dataTableContent" align="right"><?php echo $customers->fields['id']; ?></td>
  303.                 <td class="dataTableContent" align="right"><?php echo '<a href="' . zen_href_link(FILENAME_LINKPOINT_REVIEW, 'search=%23' . $customers->fields['customers_id'], 'NONSSL') . '">#' . ($customers->fields['transaction_result'] != 'APPROVED' ? '<span class="alert">' . $customers->fields['customers_id'] . '</span>' : $customers->fields['customers_id']) . '</a>'; ?></td>
  304.                 <td class="dataTableContent"><?php echo '<a href="' . zen_href_link(FILENAME_CUSTOMERS, zen_get_all_get_params(array('cID', 'action', 'page', 'search', 'list_order')) . 'cID=' . $customers->fields['customer_id'], 'NONSSL') . '">' . ($customers->fields['transaction_result'] != 'APPROVED' ? '<span class="alert">' . $customers->fields['customers_lastname'] . '</span>' : $customers->fields['customers_lastname']) . '</a>'; ?></td>
  305.                 <td class="dataTableContent"><?php echo '<a href="' . zen_href_link(FILENAME_CUSTOMERS, zen_get_all_get_params(array('cID', 'action', 'page', 'search', 'list_order')) . 'cID=' . $customers->fields['customer_id'], 'NONSSL') . '">' . ($customers->fields['transaction_result'] != 'APPROVED' ? '<span class="alert">' . $customers->fields['customers_firstname'] . '</span>' : $customers->fields['customers_firstname']) . '</a>'; ?></td>
  306.                 <td class="dataTableContent"><?php echo '<a href="' . zen_href_link(FILENAME_CUSTOMERS, zen_get_all_get_params(array('cID', 'action', 'page', 'search', 'list_order')) . 'cID=' . $customers->fields['customer_id'], 'NONSSL') . '">' . ($customers->fields['transaction_result'] != 'APPROVED' ? '<span class="alert">' . $customers->fields['entry_company'] . '</span>' : $customers->fields['entry_company']) . '</a>'; ?></td>
  307.  
  308.                 <td class="dataTableContent">
  309.                   <?php echo 'Credit Card Server Time: <strong>' . ($customers->fields['transaction_response_time'] == '' ? 'Not Connected' : $customers->fields['transaction_response_time']) . '</strong>'; ?>
  310.                 </td>
  311.                 <td class="dataTableContent">
  312.                   <?php echo 'This Server Time: <strong>' . $customers->fields['date_added'] . '</strong>'; ?>
  313.                 </td>
  314.                 <td class="dataTableContent" align="right" style="color:red;">
  315.                   <?php echo $currencies->format($customers->fields['chargetotal']); ?>
  316.                 </td>
  317.                 <td class="dataTableContent" align="center">
  318.                   <?php echo zen_date_short($info->fields['date_account_created']); ?>
  319.                 </td>
  320.                 <td class="dataTableContent" align="right">
  321.                 </td>
  322.               </tr>
  323.               <tr class="dataTableRow">
  324.                 <td class="dataTableContent" colspan="4">
  325.                   <?php echo
  326.                     ($customers->fields['transaction_result'] != 'APPROVED' ? '<span class="alert">' . $customers->fields['transaction_result'] . '</span>' : $customers->fields['transaction_result']) . '<br />' .
  327.                     $customers->fields['cc_number'] . '<br />' .
  328.                     'Expires: ' . $customers->fields['cc_expire'] . '<br />' .
  329.                     $customers->fields['lp_trans_num'] . '<br />' .
  330.                     $customers->fields['transaction_reference_number'] . '<br />' .
  331.                     ($customers->fields['avs_response'] != 'YYYM' ? '<span class="alert">' . $customers->fields['avs_response'] . '</span>' : $customers->fields['avs_response']) . ' ' . ($customers->fields['r_error'] != '' ? '<span class="alert">' . $customers->fields['r_error'] . '</span>' : '') . '<br />' .
  332.                     $customers->fields['transaction_time'];
  333.                   ?>
  334.                 </td>
  335.                 <td class="dataTableContent" colspan="6"><?php echo str_replace(array('PREAUTH','SALE'),array('<span style="color:orange;"><strong>PREAUTH</strong></span>','<span style="color:green;"><strong>SALE</strong></span>'), $customers->fields['cust_info']) . '<br /><br />'; ?></td>
  336.               </tr>
  337.               <tr>
  338.                 <td colspan="10"><?php echo zen_draw_separator('pixel_black.gif', "100%", 3); ?></td>
  339.               </tr>
  340. <?php
  341.       $customers->MoveNext();
  342.     }
  343. ?>
  344.               <tr>
  345.                 <td colspan="6"><table border="0" width="100%" cellspacing="0" cellpadding="2">
  346.                   <tr>
  347.                     <td class="smallText" align="right" valign="top"><?php echo $customers_split->display_count($customers_query_numrows, MAX_DISPLAY_SEARCH_RESULTS_CUSTOMER, $_GET['page'], TEXT_DISPLAY_NUMBER_OF_CUSTOMERS); ?></td>
  348.                     <td class="smallText" align="right"><?php echo $customers_split->display_links($customers_query_numrows, MAX_DISPLAY_SEARCH_RESULTS_CUSTOMER, MAX_DISPLAY_PAGE_LINKS, $_GET['page'], zen_get_all_get_params(array('page', 'info', 'x', 'y', 'cID'))); ?></td>
  349.                   </tr>
  350. <?php
  351.     if (isset($_GET['search']) && zen_not_null($_GET['search'])) {
  352. ?>
  353.                   <tr>
  354.                     <td align="right"><?php echo '<a href="' . zen_href_link(FILENAME_LINKPOINT_REVIEW, '', 'NONSSL') . '">' . zen_image_button('button_reset.gif', IMAGE_RESET) . '</a>'; ?></td>
  355.                   </tr>
  356. <?php
  357.     }
  358. ?>
  359.                 </table></td>
  360.               </tr>
  361.             </table></td>
  362.           </tr>
  363.         </table></td>
  364.       </tr>
  365. <?php
  366.   }
  367. ?>
  368.     </table></td>
  369. <!-- body_text_eof //-->
  370.   </tr>
  371. </table>
  372. <!-- body_eof //-->
  373.  
  374. <!-- footer //-->
  375. <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
  376. <!-- footer_eof //-->
  377. <br>
  378. </body>
  379. </html>
  380. <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>