469,609 Members | 1,274 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,609 developers. It's quick & easy.

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.legendarydevils.com/musicboxv2/index.php

Thanks in Advance

Dheeraj
Apr 7 '07 #1
3 1141
ronverdonk
4,258 Expert 4TB
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:
Apr 7 '07 #2
Expand|Select|Wrap|Line Numbers
  1. <?  
  2. /*======================================================================*\
  3. || #################################################################### ||
  4. || # Musicbox Version 2.3                                             # ||
  5. || # ---------------------------------------------------------------- # ||
  6. || # Copyright © 2005–2006 MusicboxV2.com All Rights Reserved.        # ||
  7. || # This file may not be redistributed in whole or significant part. # ||
  8. || # ---------------- MUSICBOX IS NOT FREE SOFTWARE ----------------  # ||
  9. || #                 Licensed to Paid Customers Only                  # ||
  10. || #################################################################### ||
  11. \*======================================================================*/
  12.  
  13. include("sources/session.php");
  14. include("sources/functions.php");
  15. include("template/umlayout_top.php");
  16. ?>
  17.  
  18. <html>
  19. <title>Register Now</title>
  20. <body>
  21.  
  22. <?
  23. global $HTTP_POST_VARS,$HTTP_GET_VARS,$HTTP_SERVER_VARS,$HTTP_SESSION_VARS,$HTTP_COOKIE_VARS;
  24.  
  25. /**
  26.  * The user is already logged in, not allowed to register.
  27.  */
  28. if($session->logged_in){
  29.    echo "<table width='100%' cellpadding='0' cellspacing='0' class='moduletabmid'>
  30.                             <tr>
  31.                     <th valign='top' align=center>Registered</th> 
  32.                  </tr></table> ";
  33.    echo "<table align='left' border='0' cellspacing='0' cellpadding='8'>
  34. <tr><td><b>We're sorry <b>$session->username</b>, but you've already registered. "
  35.        ."<a href=\"index.php\">Back to Main Page</a>.</td></tr></table>";
  36. }
  37. /**
  38.  * The user has submitted the registration form and the
  39.  * results have been processed.
  40.  */
  41. else if(isset($HTTP_SESSION_VARS['regsuccess'])){
  42.    /* Registration was successful */
  43.    if($HTTP_SESSION_VARS['regsuccess']){
  44.       echo "<table width='100%' cellpadding='0' cellspacing='0' class='moduletabmid'>
  45.                             <tr>
  46.                     <th valign='top' align=center>Registered</th> 
  47.                  </tr></table> ";
  48.       echo "<table align='left' border='0' cellspacing='0' cellpadding='8'>
  49. <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, "
  50.           ."you may now <a href=\"index.php\">log in</a>.</td></tr></table>";
  51.    }
  52.    /* Registration failed */
  53.    else{
  54.       echo "<h1>Registration Failed</h1>";
  55.       echo "<p>We're sorry, but an error has occurred and your registration for the username <b>".$HTTP_SESSION_VARS['reguname']."</b>, "
  56.           ."could not be completed.<br>Please try again at a later time.</p>";
  57.    }
  58.    unset($HTTP_SESSION_VARS['regsuccess']);
  59.    unset($HTTP_SESSION_VARS['reguname']);
  60. }
  61. /**
  62.  * The user has not filled out the registration form yet.
  63.  * Below is the page with the sign-up form, the names
  64.  * of the input fields are important and should not
  65.  * be changed.
  66.  */
  67. else{
  68. ?>
  69.  
  70. <table cellpadding='0' cellspacing='0' class='moduletabmid'>
  71.                             <tr>
  72.                     <th valign='top' align=center>Register Now to enjoy benefits</th> 
  73.                  </tr></table> 
  74. <?
  75. if($form->num_errors > 0){
  76.   // echo " <div align=center><font size=\"2\" color=\"#ff0000\">".$form->num_errors." error(s) found</font> ";
  77.   $i=0;
  78.   foreach($form->errors as $cur){
  79.   if($cur==""){}else{$i++;
  80.   echo"<font size=\"2\" color=\"#ff0000\">".$cur."</font><br> ";}
  81.   } echo "<br> <font size=\"2\" color=\"#ff0000\">".$i." error(s) found</font></center> ";
  82.   //print_r($form->errors[$field]);
  83. }
  84. ?>
  85. <form action="process.php" method="POST" enctype="multipart/form-data">
  86. <table align=center>
  87. <tr>
  88.     <td><u>Fields marked with an asterisk <font color="#ff6633">*</font> are required.</u></td>
  89. </tr>
  90. </table>
  91. <table>
  92. <tr>
  93. <td>
  94. <table align="left" border="0" cellspacing="0" cellpadding="8">
  95. <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>
  96. <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>
  97. <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>
  98. <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>
  99. <tr>
  100.     <td width="40%" align=right><font color="#ff6633">*</font>&nbsp;Avatar:</td>
  101.     <td>
  102.         <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>
  103.         <input type="file" name="avatar_file"><br>
  104.         or <input id="avatar_type_choose" type="radio" name="avatar_type" value="choose"<? if($form->value("avatar_type") == "choose"){ echo "checked"; } ?>> Choose Avatars<br>
  105.         <? include("sources/avatars.php"); ?>
  106.         <br>
  107.     </td>
  108.     <td><? echo $form->error("avatar"); ?></td>
  109. </tr>
  110. <tr>
  111.     <td width="40%" align=right><font color="#ff6633">*</font>&nbsp;I am:</td>
  112.     <td>
  113.         <select name="sex">
  114.           <option value="Male"<? if($form->value("sex") == "Male") echo 'selected'; ?>>Guy</option>
  115.           <option value="Female"<? if($form->value("sex") == "Female") echo 'selected'; ?>>Girl</option>
  116.         </select>
  117.     </td>
  118.     <td><? echo $form->error("sex"); ?></td>
  119. </tr>
  120. <tr>
  121.     <td width="40%" align=right><font color="#ff6633">*</font>&nbsp;Country:</td>
  122.     <td><?=insertCountrySelect($form->value('country'))?></td>
  123.     <td><? echo $form->error("birthday"); ?></td>
  124. </tr></table>
  125.    </td>
  126. </tr> </table>
  127.  
  128. <table align="center" border="0" cellspacing="0" cellpadding="8">
  129.    <tr>
  130.    <td align=center><u>Receive Promotions, Special Offers and latest news newsletter.</u></td><tr>
  131.     <td align="center"><input type="checkbox" name="newsletter" value="1"<? if($form->value("newsletter") == "1"){ echo "checked"; } ?>> Join Newsletter</td>
  132.     <td><? echo $form->error("newsletter"); ?></td>
  133. </tr>
  134. <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
  135. 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. 
  136.  
  137. 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.
  138.  
  139. 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:
  140.  
  141. Restrict, suspend or terminate your access to all or any part of our Services; 
  142. Change, suspend or discontinue all or any part of our Services; 
  143. Refuse, move or remove any material that you submit to our sites for any reason;
  144. Refuse, move, or remove any content that is available on our sites; 
  145. Deactivate or delete your accounts and all related information and files in your account;  
  146.  
  147. Establish general practices and limits concerning use of our sites 
  148. You agree that we will not be liable to you or any third party for taking any of these actions. 
  149.  
  150. 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>
  151. </td><tr>
  152. <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>
  153.     <td><? echo $form->error("terms"); ?></td>
  154. </tr>
  155. <tr><td align="center">
  156. <input type="hidden" name="subjoin" value="1">
  157. <input type="submit" value="Join Now!"></form></td></tr> 
  158. </table>
  159.  
  160. <?
  161. }
  162. ?> 
  163. <?
  164. include("template/umlayout_bottom.php"); ?>
  165. </body>
  166. </html>
Apr 8 '07 #3
in the Above it was showing upto Avatars option
n there there are no options n submit button..
Apr 8 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by reneecccwest | last post: by
15 posts views Thread by JR | last post: by
4 posts views Thread by Dmitry Korolyov [MVP] | last post: by
3 posts views Thread by Jeff | last post: by
reply views Thread by Dan Sikorsky | last post: by
7 posts views Thread by Bjorn Sagbakken | last post: by
1 post views Thread by =?Utf-8?B?U3Bhcmt5IDcxNzc=?= | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.