Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

703
 
1699
 
1699
 
shopping_cart.php
_> 55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
  77 
<> 8 -  Copyright (c) 2003 osCommerce
   8+  Copyright (c) 2007 osCommerce
99 
  1010   Released under the GNU General Public License
  1111 */
  1212 
  1313   require("includes/application_top.php");
  1414 
<>  15+  if ($cart->count_contents() > 0) {
   16+    include(DIR_WS_CLASSES . 'payment.php');
   17+    $payment_modules = new payment;
   18+  }
   19+
1520   require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_SHOPPING_CART);
  1621 
  1722   $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_SHOPPING_CART));
     
 !
202207         </table></td>
  203208       </tr>
  204209 <?php
<>  210+    $initialize_checkout_methods = $payment_modules->checkout_initialization_method();
   211+
   212+    if (!empty($initialize_checkout_methods)) {
   213+?>
   214+      <tr>
   215+        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
   216+      </tr>
   217+      <tr>
   218+        <td align="right" class="main" style="padding-right: 50px;"><?php echo TEXT_ALTERNATIVE_CHECKOUT_METHODS; ?></td>
   219+      </tr>
   220+<?php
   221+      reset($initialize_checkout_methods);
   222+      while (list(, $value) = each($initialize_checkout_methods)) {
   223+?>
   224+      <tr>
   225+        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
   226+      </tr>
   227+      <tr>
   228+        <td align="right" class="main"><?php echo $value; ?></td>
   229+      </tr>
   230+<?php
   231+      }
   232+    }
<_ 205233   } else {
  206234 ?>
  207235       <tr>