Files
2017-03-02 20:30:40 -06:00

48 lines
1.8 KiB
PHP
Executable File

<?php
/*
+--------------------------------------------------------------------------
| CubeCart 4
| ========================================
| CubeCart is a registered trade mark of Devellion Limited
| Copyright Devellion Limited 2006. All rights reserved.
| Devellion Limited,
| 5 Bridge Street,
| Bishops Stortford,
| HERTFORDSHIRE.
| CM23 2JU
| UNITED KINGDOM
| http://www.devellion.com
| UK Private Limited Company No. 5323904
| ========================================
| Web: http://www.cubecart.com
| Email: info (at) cubecart (dot) com
| License Type: CubeCart is NOT Open Source Software and Limitations Apply
| Licence Info: http://www.cubecart.com/v4-software-license
+--------------------------------------------------------------------------
| account.inc.php
| ========================================
| Customers Account Homepage
+--------------------------------------------------------------------------
*/
if (!defined('CC_INI_SET')) die("Access Denied");
$lang = getLang("includes".CC_DS."content".CC_DS."account.inc.php");
$account = new XTemplate ("content".CC_DS."account.tpl");
$account->assign("LANG_YOUR_ACCOUNT", $lang['account']['your_account']);
$account->assign("TXT_PERSONAL_INFO", $lang['account']['personal_info']);
$account->assign("TXT_ORDER_HISTORY", $lang['account']['order_history']);
$account->assign("TXT_CHANGE_PASSWORD", $lang['account']['change_password']);
$account->assign("TXT_NEWSLETTER", $lang['account']['newsletter']);
$account->assign("LANG_LOGIN_REQUIRED", $lang['account']['login_to_view']);
if ($cc_session->ccUserData['customer_id']>0) {
$account->parse("account.session_true");
} else {
$account->parse("account.session_false");
}
$account->parse("account");
$page_content = $account->text("account");
?>