not displaying Submit button

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dheeraj4uuu
    New Member
    • Apr 2007
    • 5

    not displaying Submit button

    Hi..

    I hav a musicbox V2 script and i uploaded and installed everything
    but when my users trying to register for an account the submit button was not coming up..and also in my admin panle some of the links are not working just showing a blank page...

    here is my site http://www.share.legen darydevils.com/musicboxv2/index.php

    Thanks in Advance

    Dheeraj
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    First try the developer of your external Musicbox V2 program. Anyway, that link you show does not work.

    Show your own developed code and we will see where we can help you.


    Ronald :cool:

    Comment

    • dheeraj4uuu
      New Member
      • Apr 2007
      • 5

      #3
      Code:
      <?  
      /*======================================================================*\
      || #################################################################### ||
      || # Musicbox Version 2.3                                             # ||
      || # ---------------------------------------------------------------- # ||
      || # Copyright © 2005–2006 MusicboxV2.com All Rights Reserved.        # ||
      || # This file may not be redistributed in whole or significant part. # ||
      || # ---------------- MUSICBOX IS NOT FREE SOFTWARE ----------------  # ||
      || #                 Licensed to Paid Customers Only                  # ||
      || #################################################################### ||
      \*======================================================================*/
      
      include("sources/session.php");
      include("sources/functions.php");
      include("template/umlayout_top.php");
      ?>
      
      <html>
      <title>Register Now</title>
      <body>
      
      <?
      global $HTTP_POST_VARS,$HTTP_GET_VARS,$HTTP_SERVER_VARS,$HTTP_SESSION_VARS,$HTTP_COOKIE_VARS;
      
      /**
       * The user is already logged in, not allowed to register.
       */
      if($session->logged_in){
         echo "<table width='100%' cellpadding='0' cellspacing='0' class='moduletabmid'>
      							<tr>
      					<th valign='top' align=center>Registered</th> 
      				 </tr></table> ";
         echo "<table align='left' border='0' cellspacing='0' cellpadding='8'>
      <tr><td><b>We're sorry <b>$session->username</b>, but you've already registered. "
             ."<a href=\"index.php\">Back to Main Page</a>.</td></tr></table>";
      }
      /**
       * The user has submitted the registration form and the
       * results have been processed.
       */
      else if(isset($HTTP_SESSION_VARS['regsuccess'])){
         /* Registration was successful */
         if($HTTP_SESSION_VARS['regsuccess']){
            echo "<table width='100%' cellpadding='0' cellspacing='0' class='moduletabmid'>
      							<tr>
      					<th valign='top' align=center>Registered</th> 
      				 </tr></table> ";
            echo "<table align='left' border='0' cellspacing='0' cellpadding='8'>
      <tr><td><b><font color='#666666'>Registeration Successfull!</font></b><br>Thank you <b>".$HTTP_SESSION_VARS['reguname']."</b>, your information has been added to the database, "
                ."you may now <a href=\"index.php\">log in</a>.</td></tr></table>";
         }
         /* Registration failed */
         else{
            echo "<h1>Registration Failed</h1>";
            echo "<p>We're sorry, but an error has occurred and your registration for the username <b>".$HTTP_SESSION_VARS['reguname']."</b>, "
                ."could not be completed.<br>Please try again at a later time.</p>";
         }
         unset($HTTP_SESSION_VARS['regsuccess']);
         unset($HTTP_SESSION_VARS['reguname']);
      }
      /**
       * The user has not filled out the registration form yet.
       * Below is the page with the sign-up form, the names
       * of the input fields are important and should not
       * be changed.
       */
      else{
      ?>
      
      <table cellpadding='0' cellspacing='0' class='moduletabmid'>
      							<tr>
      					<th valign='top' align=center>Register Now to enjoy benefits</th> 
      				 </tr></table> 
      <?
      if($form->num_errors > 0){
        // echo " <div align=center><font size=\"2\" color=\"#ff0000\">".$form->num_errors." error(s) found</font> ";
        $i=0;
        foreach($form->errors as $cur){
        if($cur==""){}else{$i++;
        echo"<font size=\"2\" color=\"#ff0000\">".$cur."</font><br> ";}
        } echo "<br> <font size=\"2\" color=\"#ff0000\">".$i." error(s) found</font></center> ";
        //print_r($form->errors[$field]);
      }
      ?>
      <form action="process.php" method="POST" enctype="multipart/form-data">
      <table align=center>
      <tr>
          <td><u>Fields marked with an asterisk <font color="#ff6633">*</font> are required.</u></td>
      </tr>
      </table>
      <table>
      <tr>
      <td>
      <table align="left" border="0" cellspacing="0" cellpadding="8">
      <tr><td width="40%" align=right><font color="#ff6633">*</font>&nbsp;Username:</td><td><input type="text" name="user" maxlength="30" value="<? echo $form->value("user"); ?>">  <font color="#999999" size="1">(Minimum 4 characters)</font></td><td><? echo $form->error("user"); ?></td></tr>
      <tr><td width="40%" align=right><font color="#ff6633">*</font>&nbsp;Password:</td><td><input type="password" name="pass" maxlength="30" value="<? echo $form->value("pass"); ?>"> <font color="#999999" size="1">(Minimum 4 characters)</font></td><td><? echo $form->error("pass"); ?></td></tr>
      <tr><td width="40%" align=right><font color="#ff6633">*</font>&nbsp;Re-type password:</td><td><input type="password" name="pass_confirm" maxlength="30" value="<? echo $form->value("pass_confirm"); ?>"></td><td><? echo $form->error("pass_confirm"); ?></td></tr>
      <tr><td width="40%" align=right><font color="#ff6633">*</font>&nbsp;Email address:</td><td><input type="text" name="email" maxlength="50" value="<? echo $form->value("email"); ?>"></td><td><? echo $form->error("email"); ?></td></tr>
      <tr>
      	<td width="40%" align=right><font color="#ff6633">*</font>&nbsp;Avatar:</td>
      	<td>
      		<input type="radio" name="avatar_type" value="upload"<? if($form->value("avatar_type") == "upload" || !$form->value("avatar_type")){ echo "checked"; } ?>> Upload your avatar &nbsp;<font color="#999999" size="1">(pixels : 30 * 30)</font><br>
      		<input type="file" name="avatar_file"><br>
      		or <input id="avatar_type_choose" type="radio" name="avatar_type" value="choose"<? if($form->value("avatar_type") == "choose"){ echo "checked"; } ?>> Choose Avatars<br>
      		<? include("sources/avatars.php"); ?>
      		<br>
      	</td>
      	<td><? echo $form->error("avatar"); ?></td>
      </tr>
      <tr>
      	<td width="40%" align=right><font color="#ff6633">*</font>&nbsp;I am:</td>
      	<td>
      		<select name="sex">
      		  <option value="Male"<? if($form->value("sex") == "Male") echo 'selected'; ?>>Guy</option>
      		  <option value="Female"<? if($form->value("sex") == "Female") echo 'selected'; ?>>Girl</option>
      		</select>
      	</td>
      	<td><? echo $form->error("sex"); ?></td>
      </tr>
      <tr>
      	<td width="40%" align=right><font color="#ff6633">*</font>&nbsp;Country:</td>
      	<td><?=insertCountrySelect($form->value('country'))?></td>
      	<td><? echo $form->error("birthday"); ?></td>
      </tr></table>
         </td>
      </tr> </table>
      
      <table align="center" border="0" cellspacing="0" cellpadding="8">
         <tr>
         <td align=center><u>Receive Promotions, Special Offers and latest news newsletter.</u></td><tr>
      	<td align="center"><input type="checkbox" name="newsletter" value="1"<? if($form->value("newsletter") == "1"){ echo "checked"; } ?>> Join Newsletter</td>
      	<td><? echo $form->error("newsletter"); ?></td>
      </tr>
      <tr> <td align=center><u>Please review the following terms and indicate your agreement below.</u></td><tr><td align="center"><textarea cols="50" rows="4" wrap="physical" readonly title="Musicbox! Terms of Service">Terms of Service
      Your use of our Internet sites or any of the products or services offered on those sites (collectively, the "Services") is subject to these Terms of Use (these "Terms"). We may modify these Terms at any time without notice to you by posting revised Terms on our sites. Your use of our sites constitutes your binding acceptance of these Terms, including any modifications that we make. 
      
      Some of the Services may be subject to additional posted conditions. Your use of those Services is subject to those conditions, which are incorporated into these Terms by reference. In the event of an inconsistency between these Terms and any additional posted conditions, the provisions of the additional conditions shall control.
      
      We have the right, but not the obligation, to take any of the following actions in our sole discretion at any time and for any reason without giving you any prior notice:
      
      Restrict, suspend or terminate your access to all or any part of our Services; 
      Change, suspend or discontinue all or any part of our Services; 
      Refuse, move or remove any material that you submit to our sites for any reason;
      Refuse, move, or remove any content that is available on our sites; 
      Deactivate or delete your accounts and all related information and files in your account;  
      
      Establish general practices and limits concerning use of our sites 
      You agree that we will not be liable to you or any third party for taking any of these actions. 
      
      You understand and agree that our Services may include communications such as service announcements and administrative messages from us or from our partners and that these communications are considered part of the Services. You will not be able to opt out of receiving these messages. You also understand that our Services may include advertisements.</textarea>
      </td><tr>
      <td align="center"><font color="#ff6633">*</font>&nbsp;<input type="checkbox" name="terms" value="1"<? if($form->value("terms") == "1"){ echo "checked"; } ?>> I have read and accepted the <a href="template/terms.html" target="_blank">terms of use</a>.</td>
      	<td><? echo $form->error("terms"); ?></td>
      </tr>
      <tr><td align="center">
      <input type="hidden" name="subjoin" value="1">
      <input type="submit" value="Join Now!"></form></td></tr> 
      </table>
      
      <?
      }
      ?> 
      <?
      include("template/umlayout_bottom.php"); ?>
      </body>
      </html>

      Comment

      • dheeraj4uuu
        New Member
        • Apr 2007
        • 5

        #4
        in the Above it was showing upto Avatars option
        n there there are no options n submit button..

        Comment

        Working...