Wenn ich auf anmelden geh kommt nur der seitenquelltext=D
<?php
/*
$Id: account.php,v 1.59 2003/05/19 20:17:49 hpdl Exp $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2003 osCommerce
Released under the GNU General Public License
*/
require('includes/application_top.php');
if (!tep_session_is_registered('customer_id')) {
$navigation->set_snapshot();
tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
}
require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ACCOUNT);
$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_ACCOUNT, '', 'SSL'));
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>" />
<title><?php echo TITLE; ?></title>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>" />
<script type="text/javascript"><!--
function rowOverEffect(object) {
if (object.className == 'moduleRow') object.className = 'moduleRowOver';
}
function rowOutEffect(object) {
if (object.className == 'moduleRowOver') object.className = 'moduleRow';
}
//--></script>
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->
<!-- body //-->
<!-- body_text //-->
<h1><?php echo HEADING_TITLE; ?></h1>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<?php
if ($messageStack->size('account') > 0) {
?>
<tr>
<td><?php echo $messageStack->output('account'); ?></td>
</tr>
<tr>
<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '25'); ?></td>
</tr>
<?php
}
if (tep_count_customer_orders() > 0) {
?>
<tr>
<td><div class="item">
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="main"><b><?php echo OVERVIEW_PREVIOUS_ORDERS; ?></b></td>
<td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL') . '" class="txxt">' . OVERVIEW_SHOW_ALL_ORDERS . '</a>'; ?></td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<?php
$orders_query = tep_db_query("select o.orders_id, o.date_purchased, o.delivery_name, o.delivery_country, o.billing_name, o.billing_country, ot.text as order_total, s.orders_status_name from " . TABLE_ORDERS . " o, " . TABLE_ORDERS_TOTAL . " ot, " . TABLE_ORDERS_STATUS . " s where o.customers_id = '" . (int)$customer_id . "' and o.orders_id = ot.orders_id and ot.class = 'ot_total' and o.orders_status = s.orders_status_id and s.language_id = '" . (int)$languages_id . "' order by orders_id desc limit 3");
while ($orders = tep_db_fetch_array($orders_query)) {
if (tep_not_null($orders['delivery_name'])) {
$order_name = $orders['delivery_name'];
$order_country = $orders['delivery_country'];
} else {
$order_name = $orders['billing_name'];
$order_country = $orders['billing_country'];
}
echo ' <tr class="moduleRow" onMouseOver="rowOverEffect(this)" onMouseOut="rowOutEffect(this)" onClick="document.location.href=\'' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $orders['orders_id'], 'SSL') . '\'">' . "\n" .
' <td class="main" valign="top"><span class="smallText nobr">'.TEXT_ORDER_ID.'</span> <strong>' . $orders['orders_id'] . '</strong> – <em class="smallText">'.tep_date_short($orders['date_purchased']).'</em> </td>' . "\n" .
# ' <td class="main" valign="top">' . $order_name . '</td>' . "\n" .
' <td class="main rechts" valign="top">' . $orders['order_total'] . ' <br /><em class="smallText">('.$orders['orders_status_name'].')</em> </td>' . "\n" .
' <td class="main rechts" style="vertical-align: middle;"><a href="' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $orders['orders_id'], 'SSL') . '">' . tep_image_button('small_view.gif', SMALL_IMAGE_BUTTON_VIEW) . '</a></td>' . "\n" . ' </tr>' . "\n";
}
?>
</table>
</div></td>
</tr>
<?php
}
?>
<tr>
<td><div class="item"><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="main"><b><?php echo MY_ACCOUNT_TITLE; ?></b></td>
</tr>
<tr>
<td class="main"><?php echo tep_image(DIR_WS_IMAGES . 'arrow_green.gif'); ?> <?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT_EDIT, '', 'SSL') . '" class="txxt">' . MY_ACCOUNT_INFORMATION . '</a>'; ?></td>
</tr>
<tr>
<td class="main"><?php echo tep_image(DIR_WS_IMAGES . 'arrow_green.gif'); ?> <?php echo '<a href="' . tep_href_link(FILENAME_ADDRESS_BOOK, '', 'SSL') . '" class="txxt">' . MY_ACCOUNT_ADDRESS_BOOK . '</a>'; ?></td>
</tr>
<tr>
<td class="main"><?php echo tep_image(DIR_WS_IMAGES . 'arrow_green.gif'); ?> <?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT_PASSWORD, '', 'SSL') . '" class="txxt">' . MY_ACCOUNT_PASSWORD . '</a>'; ?></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td><div class="item"><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="main"><b><?php echo MY_ORDERS_TITLE; ?></b></td>
</tr>
<tr>
<td class="main"><?php echo tep_image(DIR_WS_IMAGES . 'arrow_green.gif'); ?> <?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL') . '" class="txxt">' . MY_ORDERS_VIEW . '</a>'; ?></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td><div class="item"><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="main"><b><?php echo EMAIL_NOTIFICATIONS_TITLE; ?></b></td>
</tr>
<tr>
<td class="main"><?php echo tep_image(DIR_WS_IMAGES . 'arrow_green.gif'); ?> <?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT_NEWSLETTERS, '', 'SSL') . '" class="txxt">' . EMAIL_NOTIFICATIONS_NEWSLETTERS . '</a>'; ?></td>
</tr>
</table>
</div></td>
</tr>
</table>
<!-- body_text_eof //-->
<!-- body_eof //-->
<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->