diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2013-07-02 11:53:40 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2013-07-02 11:53:40 -0700 |
| commit | a563de5fc2f42abf16fbcfda7cf5bc5f1ce794e7 (patch) | |
| tree | 21ed995983a9ef1f51055c8e4c6c6300863c5c66 /ng_selfservice/main.php | |
| parent | 93f2d729dcc5c1bbf424a61ee49b985a4e3ed1d6 (diff) | |
selfservice, TNG, RT#22193
Diffstat (limited to 'ng_selfservice/main.php')
| -rw-r--r-- | ng_selfservice/main.php | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/ng_selfservice/main.php b/ng_selfservice/main.php new file mode 100644 index 000000000..792c961af --- /dev/null +++ b/ng_selfservice/main.php @@ -0,0 +1,39 @@ +<? $title ='My Account'; include('elements/header.php'); ?> +<? $current_menu = 'main.php'; include('elements/menu.php'); ?> +<? + +$customer_info = $freeside->customer_info_short( array( + 'session_id' => $_COOKIE['session_id'], +) ); + + +if ( isset($customer_info['error']) && $customer_info['error'] ) { + $error = $customer_info['error']; + header('Location:index.php?error='. urlencode($error)); + die(); +} + +extract($customer_info); + +?> + +Hello <? echo htmlspecialchars($name); ?><BR><BR> + +<? if ( $signupdate_pretty ) { ?> + Thank you for being a customer since <? echo $signupdate_pretty; ?><BR><BR> +<? } ?> + +Your current balance is: <B>$<? echo $balance ?></B><BR><BR> + +<!-- +your open invoices if you have any & payment link if you have one. more insistant if you're late? +<BR><BR> + +your tickets. some notification if there's new responses since your last login +<BR><BR> + +anything else? +--> + +<? include('elements/menu_footer.php'); ?> +<? include('elements/footer.php'); ?> |
