Annotation of /com_supacart/trunk/admin_files/html/account.index.php
Parent Directory
|
Revision Log
Revision 4 - (view) (download)
| 1 : | andphe | 4 | <?php |
| 2 : | defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); | ||
| 3 : | /** | ||
| 4 : | * | ||
| 5 : | * @version $Id: account.index.php 617 2007-01-04 19:43:08Z soeren_nb $ | ||
| 6 : | * @package SupaCart | ||
| 7 : | * @subpackage html | ||
| 8 : | * See COPYRIGHT.php for copyright notices and details. | ||
| 9 : | * @license GNU/GPL Version 2, see LICENSE.php | ||
| 10 : | * SupaCart is free software, originally derived from Virtuemart. This version may have been modified pursuant | ||
| 11 : | * to the GNU General Public License, and as distributed it includes or | ||
| 12 : | * is derivative of works licensed under the GNU General Public License or | ||
| 13 : | * other free or open source software licenses. | ||
| 14 : | * See /administrator/components/com_supacart/COPYRIGHT.php for copyright notices and details. | ||
| 15 : | * | ||
| 16 : | * http://www.supacart.com | ||
| 17 : | */ | ||
| 18 : | mm_showMyFileName( __FILE__ ); | ||
| 19 : | |||
| 20 : | require_once(CLASSPATH.'ps_order.php'); | ||
| 21 : | $ps_order = new ps_order; | ||
| 22 : | |||
| 23 : | /* Set Dynamic Page Title when applicable */ | ||
| 24 : | $mainframe->setPageTitle( $VM_LANG->_PHPSHOP_ACCOUNT_TITLE ); | ||
| 25 : | |||
| 26 : | if ($perm->is_registered_customer($auth['user_id'])) { | ||
| 27 : | |||
| 28 : | ?> | ||
| 29 : | <strong><?php echo $VM_LANG->_PHPSHOP_ACC_CUSTOMER_ACCOUNT ?></strong> | ||
| 30 : | <?php echo $auth["first_name"] . " " . $auth["last_name"] . "<br />";?> | ||
| 31 : | <br /> | ||
| 32 : | <table border="0" cellspacing="0" cellpadding="10" width="100%" align="center"> | ||
| 33 : | |||
| 34 : | |||
| 35 : | <tr> | ||
| 36 : | <td> | ||
| 37 : | <strong> | ||
| 38 : | <a href="<?php $sess->purl(SECUREURL . "index.php?page=account.billing") ?>"> | ||
| 39 : | <?php | ||
| 40 : | echo "<img src=\"".IMAGEURL."ps_image/identity.png\" align=\"middle\" height=\"32\" width=\"32\" border=\"0\" alt=\"".$VM_LANG->_PHPSHOP_ACCOUNT_TITLE."\" /></a> "; ?> | ||
| 41 : | |||
| 42 : | <a href="<?php $sess->purl(SECUREURL . "index.php?page=account.billing") ?>"> | ||
| 43 : | <?php echo $VM_LANG->_PHPSHOP_ACC_ACCOUNT_INFO ; ?></a></strong> | ||
| 44 : | <br /><?php echo $VM_LANG->_PHPSHOP_ACC_UPD_BILL ?> | ||
| 45 : | </td> | ||
| 46 : | </tr> | ||
| 47 : | <?php | ||
| 48 : | if(CHECKOUT_STYLE == 1 || CHECKOUT_STYLE == 2) { | ||
| 49 : | ?> | ||
| 50 : | <tr><td> </td></tr> | ||
| 51 : | |||
| 52 : | <tr> | ||
| 53 : | <td><hr /> | ||
| 54 : | <strong><a href="<?php $sess->purl(SECUREURL . "index.php?page=account.shipping") ?>"><?php | ||
| 55 : | echo "<img src=\"".IMAGEURL."ps_image/web.png\" align=\"middle\" border=\"0\" height=\"32\" width=\"32\" alt=\"".$VM_LANG->_PHPSHOP_ACC_SHIP_INFO."\" /></a> "; ?> | ||
| 56 : | |||
| 57 : | <a href="<?php $sess->purl(SECUREURL . "index.php?page=account.shipping") ?>"> | ||
| 58 : | <?php echo $VM_LANG->_PHPSHOP_ACC_SHIP_INFO ?></a></strong> | ||
| 59 : | <br /> | ||
| 60 : | <?php echo $VM_LANG->_PHPSHOP_ACC_UPD_SHIP ?> | ||
| 61 : | </td> | ||
| 62 : | </tr> | ||
| 63 : | <?php | ||
| 64 : | } | ||
| 65 : | ?> | ||
| 66 : | <tr><td> </td></tr> | ||
| 67 : | |||
| 68 : | <tr> | ||
| 69 : | <td> | ||
| 70 : | <hr /> | ||
| 71 : | <strong><?php | ||
| 72 : | echo "<img src=\"".IMAGEURL."ps_image/package.png\" align=\"middle\" height=\"32\" width=\"32\" border=\"0\" alt=\"".$VM_LANG->_PHPSHOP_ACC_ORDER_INFO."\" /> "; | ||
| 73 : | echo $VM_LANG->_PHPSHOP_ACC_ORDER_INFO ?> | ||
| 74 : | </strong> | ||
| 75 : | <?php $ps_order->list_order("A", "1" ); ?> | ||
| 76 : | </td> | ||
| 77 : | </tr> | ||
| 78 : | |||
| 79 : | </table> | ||
| 80 : | <!-- Body ends here --> | ||
| 81 : | <?php } | ||
| 82 : | else { | ||
| 83 : | echo $VM_LANG->_LOGIN_TEXT .'<br/><br/><br/>'; | ||
| 84 : | include(PAGEPATH.'checkout.login_form.php'); | ||
| 85 : | } ?> |
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

