Kod który niżeli wkleiłem to zawartość małego skryptu logowania
W czym problem.. caly skrypt otwiera się w małym okienku infoBox a ja chciałbym aby wyswietlala sie cala zawartosc bezposrednio bez zadnego infoboxu
usuwam ostatnie 3 linijki i nietety sie nic nie wyswietla
Proszę o jakieś małe światełko w tym długim tunelu php
pozdrawiam!
<?php if (tep_session_is_registered('customer_id')) { $db=DB_DATABASE; $select=\"select customers_firstname,customers_lastname from customers where customer
s id=\"$customer_id\"\"; $result=mysql_db_query($db,$select); $res=mysql_fetch_object($result); $in_out_action = \"<center><b>\"; $in_out_action.= LOGIN_BOX_WELCOME_TEXT; $in_out_action.= \"</b><br>$res->customers_firstname $res->customers_lastname</center><br><center>\"; $in_out_action.='<a href=\"'.tep_href_link(FILENAME_LOGOFF, '', 'NONSSL').'\">'; $in_out_action.=LOGIN_BOX_WELCOME_LOGOUT; $in_out_action.=\"</a> <font color=black> | </font>\"; $in_out_action.='<a href=\"'.tep_href_link(FILENAME_ACCOUNT, '', 'SSL').'\">'; $in_out_action.= LOGIN_BOX_WELCOME_MYACCOUNT; $in_out_action.=\"</a></center>\"; } else { $in_out_action = ' <table>TUTAJ TAKIE HTMLOWE SPRAWY'; $in_out_action.='<input type=\"submit\" value=\"'; $in_out_action.='loguj'; $in_out_action.='\" name=\"Submit\"> </table> '; } $info_box_contents = array(); $info_box_contents[] = array('text' => $in_out_action ); new infoBox($info_box_contents); ?>