473,386 Members | 1,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 1312
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

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

Similar topics

3
by: Matt | last post by:
I want to understand the difference between submit button and regular button: <input type="submit"> and <input type="button">. My understanding is that submit button will send the entire HTML form...
1
by: reneecccwest | last post by:
Hello, I'd like to pass the "levelbtn" value when I click the filter button, but there are also other submit form buttons. I defined as "document.testform.submit();" in the javascript, but I...
15
by: JR | last post by:
Hi. I hope someone out there who is more versed with JavaScript than I can help me with the following annoying problem. Here's the problem. I have a form with the following layout: Column A...
4
by: Dmitry Korolyov [MVP] | last post by:
When we use btnSubmit.Attributes = "javascript: this.disabled=true;" to make the button disabled and prevent users from clicking it again while form data still posting, there is no longer...
3
by: Jeff | last post by:
I have a payment form with a submit button. A large percentage of users double-click the submit button thus submitting their payment information twice. I would like to use javascript to disable...
0
by: Dan Sikorsky | last post by:
We're using Remote Scripting to update counters, or colors, displaying on a web page form at a fixed interval, and the form's submit button event handler is executed without clicking the button. I...
7
by: Bjorn Sagbakken | last post by:
Hello. There maybe an simple answer to this, but sometimes one get a strange blindness when working intensely on one single problem. I'm using ASP.NET 2003, building pages that include 3 user...
1
by: =?Utf-8?B?U3Bhcmt5IDcxNzc=?= | last post by:
Hi, I am facing one deployment issue, I have 3 aspx pages one for Login, other for search request form and the third for displaying the results. After it was working fine locally I deployed it on...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.