So little php, so much HTML.. where the heck is the rest of the html?? (the top part!! I WANT TO REMOVE IT!)
PHP Code:<!-- loginbox bof //-->
<?php
$boxContent = '<table border="0" width="100%" cellspacing="0" cellpadding="0">';
$boxContent .= '<tr><td align="center" valign="top" class="infoBoxContents">';
$boxContent .= tep_draw_form('login', tep_href_link(FILENAME_LOGIN, 'action=process', 'SSL'));
$boxContent .= BOX_LOGINBOX_EMAIL . tep_draw_input_field('email_address', '', 'size="10" maxlength="100" class="login_form" style="width: ' . (BOX_WIDTH-30) . 'px"') . '';
$boxContent .= BOX_LOGINBOX_PASSWORD . tep_draw_password_field('password', '', 'size="10" maxlength="40" class="login_form" style="width: ' . (BOX_WIDTH-30) . 'px"') . '';
$boxContent .= tep_image_submit('button_login.gif', IMAGE_BUTTON_LOGIN);
$boxContent .= '</form>';
$boxContent .= '<a href="' . tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . BOX_LOGINBOX_FORGOT_PASSWORD . '</a>';
$boxContent .= '<br>' . '<a href="' . tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'). '">' . BOX_LOGINBOX_TEXT_NEW. '</a>';
$boxContent .= '</td></tr></table>';
// $boxContent = array();
// $boxContent[] = array('align' => 'center',
// 'text' => $loginboxcontent);
// new infoBox($boxContent);
// } else {
// If you want to display anything when the user IS logged in, put it
// in here... Possibly a "You are logged in as :" box or something.
include (bts_select('boxes', $box_base_name)); // BTS 1.5
}
?>
<!-- loginbox_eof //-->..be gone! I just want E-mail: [inputfield] Password: [inputfield] [loginbutton] Forgotten-password-link & Register-linkHTML Code:<!-- loginbox bof //--> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td height="14" class="infoBoxHeading"><img src="http://www.oscmax.com/forums/images/infobox/" border="0" alt="" width="11" height="14"></td> <td width="100%" height="14" class="infoBoxHeading"></td> <td height="14" class="infoBoxHeading" nowrap><img src="http://www.oscmax.com/forums/images/" border="0" alt="" width="11" height="14"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="http://www.oscmax.com/forums/images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" valign="top" class="infoBoxContents"> <form name="login" action="http://www.designershop.no/login.php?action=process" method="post"><font class="login_font"> E-postadresse: </font><input type="text" name="email_address" size="10" maxlength="100" class="login_form" style="width: 95px"><font class="login_font"> Passord: </font><input type="password" name="password" size="10" maxlength="40" class="login_form" style="width: 95px"><input type="image" src="includes/languages/norwegian/images/buttons/button_login.gif" border="0" alt="Logg inn" title=" Logg inn "></form><a onclick="urchinTracker ('/outgoing/http_www_designershop_no_password_forgotten_php');" rel="nofollow" href="http://www.designershop.no/password_forgotten.php"> Glemt passord</a><br><a onclick="urchinTracker ('/outgoing/http_www_designershop_no_create_account_php');" rel="nofollow" href="http://www.designershop.no/create_account.php"> Opprett Konto</a> </td> </tr> </table> </td> </tr> <tr> <td> <img src="http://www.oscmax.com/forums/images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> </tr> </table> </td> </tr> <!-- loginbox_eof //-->
Why should it be so complicated?!? This is by far the most idiotic script I've ever seen =\
vBulletin <- watch and learn??





LinkBack URL
About LinkBacks






Bookmarks