1 <? $title ='My Account'; include('elements/header.php'); ?>
2 <? $current_menu = 'main.php'; include('elements/menu.php'); ?>
5 $customer_info = $freeside->customer_info_short( array(
6 'session_id' => $_COOKIE['session_id'],
10 if ( isset($customer_info['error']) && $customer_info['error'] ) {
11 $error = $customer_info['error'];
12 header('Location:index.php?error='. urlencode($error));
16 extract($customer_info);
20 <P>Hello <? echo htmlspecialchars($name); ?></P>
22 <? if ( $signupdate_pretty ) { ?>
23 <P>Thank you for being a customer since <? echo $signupdate_pretty; ?></P>
26 <P>Your current balance is: <B>$<? echo $balance ?></B></P>
28 <? echo $announcement ?>
31 your open invoices if you have any & payment link if you have one. more insistant if you're late?
34 your tickets. some notification if there's new responses since your last login
40 <? include('elements/menu_footer.php'); ?>
41 <? include('elements/footer.php'); ?>