orders.php
来自「this the oscommerce 3.0 aplha 4」· PHP 代码 · 共 55 行
PHP
55 行
<?php/* $Id:orders.php 188 2005-09-15 02:25:52 +0200 (Do, 15 Sep 2005) hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2005 osCommerce This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License v2 (1991) as published by the Free Software Foundation.*/ require('includes/classes/order.php'); class osC_Account_Orders extends osC_Template {/* Private variables */ var $_module = 'orders', $_group = 'account', $_page_title, $_page_contents = 'account_history.php', $_page_image = 'table_background_history.gif';/* Class constructor */ function osC_Account_Orders() { global $osC_Services, $osC_Language, $osC_Customer, $breadcrumb; $this->_page_title = $osC_Language->get('orders_heading'); $osC_Language->load('order'); if ($osC_Services->isStarted('breadcrumb')) { $breadcrumb->add($osC_Language->get('breadcrumb_my_orders'), osc_href_link(FILENAME_ACCOUNT, $this->_module, 'SSL')); if (is_numeric($_GET[$this->_module])) { $breadcrumb->add(sprintf($osC_Language->get('breadcrumb_order_information'), $_GET[$this->_module]), osc_href_link(FILENAME_ACCOUNT, $this->_module . '=' . $_GET[$this->_module], 'SSL')); } } if (is_numeric($_GET[$this->_module])) { if (osC_Order::getCustomerID($_GET[$this->_module]) !== $osC_Customer->getID()) { osc_redirect(osc_href_link(FILENAME_ACCOUNT, $this->_module, 'SSL')); } $this->_page_title = sprintf($osC_Language->get('order_information_heading'), $_GET[$this->_module]); $this->_page_contents = 'account_history_info.php'; } } }?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?