home *** CD-ROM | disk | FTP | other *** search
/ Practical Internet Web Designer 90 / PIWD90.iso / pc / contents / ecommerce / software / osCommerce.exe / oscommerce-2.2ms2 / catalog / logoff.php < prev    next >
PHP Script  |  2003-06-05  |  4KB  |  103 lines

  1. <?php
  2. /*
  3.   $Id: logoff.php,v 1.13 2003/06/05 23:28:24 hpdl Exp $
  4.  
  5.   osCommerce, Open Source E-Commerce Solutions
  6.   http://www.oscommerce.com
  7.  
  8.   Copyright (c) 2003 osCommerce
  9.  
  10.   Released under the GNU General Public License
  11. */
  12.  
  13.   require('includes/application_top.php');
  14.  
  15.   require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_LOGOFF);
  16.  
  17.   $breadcrumb->add(NAVBAR_TITLE);
  18.  
  19.   tep_session_unregister('customer_id');
  20.   tep_session_unregister('customer_default_address_id');
  21.   tep_session_unregister('customer_first_name');
  22.   tep_session_unregister('customer_country_id');
  23.   tep_session_unregister('customer_zone_id');
  24.   tep_session_unregister('comments');
  25.  
  26.   $cart->reset();
  27. ?>
  28. <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
  29. <html <?php echo HTML_PARAMS; ?>>
  30. <head>
  31. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
  32. <title><?php echo TITLE; ?></title>
  33. <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
  34. <link rel="stylesheet" type="text/css" href="stylesheet.css">
  35. </head>
  36. <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
  37. <!-- header //-->
  38. <?php require(DIR_WS_INCLUDES . 'header.php'); ?>
  39. <!-- header_eof //-->
  40.  
  41. <!-- body //-->
  42. <table border="0" width="100%" cellspacing="3" cellpadding="3">
  43.   <tr>
  44.     <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
  45. <!-- left_navigation //-->
  46. <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
  47. <!-- left_navigation_eof //-->
  48.     </table></td>
  49. <!-- body_text //-->
  50.     <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
  51.       <tr>
  52.         <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
  53.           <tr>
  54.             <td><?php echo tep_image(DIR_WS_IMAGES . 'table_background_man_on_board.gif', HEADING_TITLE); ?></td>
  55.             <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
  56.               <tr>
  57.                 <td class="pageHeading" align="center"><?php echo HEADING_TITLE; ?></td>
  58.               </tr>
  59.               <tr>
  60.                 <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  61.               </tr>
  62.               <tr>
  63.                 <td class="main"><?php echo TEXT_MAIN; ?></td>
  64.               </tr>
  65.             </table></td>
  66.           </tr>
  67.         </table></td>
  68.       </tr>
  69.       <tr>
  70.         <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
  71.       </tr>
  72.       <tr>
  73.         <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
  74.           <tr class="infoBoxContents">
  75.             <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
  76.               <tr>
  77.                 <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
  78.                 <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>
  79.                 <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
  80.               </tr>
  81.             </table></td>
  82.           </tr>
  83.         </table></td>
  84.       </tr>
  85.     </table></td>
  86. <!-- body_text_eof //-->
  87.     <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
  88. <!-- right_navigation //-->
  89. <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
  90. <!-- right_navigation_eof //-->
  91.     </table></td>
  92.   </tr>
  93. </table>
  94. <!-- body_eof //-->
  95.  
  96. <!-- footer //-->
  97. <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
  98. <!-- footer_eof //-->
  99. <br>
  100. </body>
  101. </html>
  102. <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
  103.