osCmax v2.5 User Manual
Results 1 to 2 of 2

It doesn't get any easier??

This is a discussion on It doesn't get any easier?? within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; So little php, so much HTML.. where the heck is the rest of the html?? (the top part!! I WANT ...

      
  1. #1
    Member
    Join Date
    Mar 2007
    Posts
    31
    Rep Power
    0


    Default Ok, this SHOULD be REALLY SIMPLE! ..it's NOT though!

    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 //-->
    HTML 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">&nbsp;E-postadresse:&nbsp;</font><input type="text" name="email_address" size="10" maxlength="100" class="login_form" style="width: 95px"><font class="login_font">&nbsp;Passord:&nbsp;</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">&nbsp;&nbsp;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">&nbsp;&nbsp;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 //-->
    ..be gone! I just want E-mail: [inputfield] Password: [inputfield] [loginbutton] Forgotten-password-link & Register-link

    Why should it be so complicated?!? This is by far the most idiotic script I've ever seen =\

    vBulletin <- watch and learn??
    Last edited by Luggruff; 04-14-2007 at 03:51 AM.

  2. #2
    Member
    Join Date
    Mar 2007
    Posts
    31
    Rep Power
    0


    Default Re: It doesn't get any easier??

    *bump!*.........

Similar Threads

  1. Easier way of viewing and processing orders?
    By nfmg in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 02-19-2005, 11:08 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •