Il seguente quesito (immagino per molti di voi sia facile facile) dimostra quanto sia scarso, ma siccome ho maturato nel tempo la mitica "faccia di bronzo" per chiedervi le cose più assurde, tanto vale...
In account_hystory_info.php ho il seguente codice:
Codice: Seleziona tutto
<?php
$statuses_query = tep_db_query("select os.orders_status_name, osh.date_added, osh.comments from " . TABLE_ORDERS_STATUS . " os, " . TABLE_ORDERS_STATUS_HISTORY . " osh where osh.orders_id = '" . (int)$HTTP_GET_VARS['order_id'] . "' and osh.orders_status_id = os.orders_status_id and os.language_id = '" . (int)$languages_id . "' order by osh.date_added");
while ($statuses = tep_db_fetch_array($statuses_query)) {
echo ' <tr>' . "\n" .
' <td class="main" valign="top" width="70">' . tep_date_short($statuses['date_added']) . '</td>' . "\n" .
' <td class="main" valign="top" width="70">' . $statuses['orders_status_name'] . '</td>' . "\n" .
' <td class="main" valign="top">' . (empty($statuses['comments']) ? ' ' : nl2br(tep_output_string_protected($statuses['comments']))) . '</td>' . "\n" .
' </tr>' . "\n";
}
?>
Mi sembra alquanto sgradevole a vedersi

No?
Grazie per i consigli.