
criminal wars
Members-
Posts
78 -
Joined
-
Last visited
criminal wars's Achievements
Newbie (1/14)
0
Reputation
-
<td width='30%'>Username</td> <td width='40%'><input type=text class="other" size="12" name=username onkeyup='CheckUsername(this.value);'></td> <td width='30%'><div id='usernameresult'></div></td> <tr> <td>Password</td> <td><input type=password id='pw1' class="other" size="12" name=password onkeyup='CheckPasswords(this.value);PasswordMatch();'></td> <td><div id='passwordresult'></div></td> </tr> <tr> <tr> <td>Confirm Password</td><td><input type=password class="other" size="12" name=cpassword id='pw2' onkeyup='PasswordMatch();'></td> <td><div id='cpasswordresult'></div></td> </tr> <tr> <td>Email</td><td><input type=text class="other" size="12" name=email onkeyup='CheckEmail(this.value);'></td> <td><div id='emailresult'></div></td> </tr> <tr> <td>Gender</td> <td colspan='2'><select name='gender' type='dropdown'> <option value='Male'>Male <option value='Female'>Female</select></td> </tr> <tr> <td>Starter Gift:</td> <td><input type="radio" name="group1" value="10c"> 10 crystal's<br> <input type="radio" name="group1" value="500cash" checked> $500 cash</td> </tr> <tr> <td> </td> </tr> <tr> <td colspan="2" style="width: 150px;"> </td> </tr> <tr> <td style="width: 100px;"> </td> <td><input class="nor_but" type="submit" name="submit" value="" /></td> </tr> </table> <center><a href='login.php'><u>Return to Login</u></a></center><br /> </form> </center> <!-- Begin Main Content --> EOF; $IP = $_SERVER['REMOTE_ADDR']; $IP=addslashes($IP); $IP=mysql_real_escape_string($IP); $IP=strip_tags($IP); if(file_exists('ipbans/'.$IP)) { die("<b><font color=red size=+1>Your IP has been banned, there is no way around this.</font></b></body></html>"); } if($_POST['username']) { if($set['regcap_on']) { if(!$_SESSION['captcha'] or $_SESSION['captcha'] != $_POST['captcha']) { unset($_SESSION['captcha']); die("<font style=color:red> Captcha Test Failed</font><br /> <a href='register.php'>>Back<</a>"); } unset($_SESSION['captcha']); } if(!valid_email($_POST['email'])) { die("<font style=color:red>Sorry, the email is invalid.</font><br /> <a href='register.php'>>Back<</a>"); } if(strlen($_POST['username']) < 4) { die("<font style=color:red>Sorry, the username is too short.</font><br /> <a href='register.php'>>Back<</a>"); } $sm=100; if($_POST['promo'] == "") { $sm+=0; } $username=$_POST['username']; $username=str_replace(array("<", ">"), array("<", ">"), $username); $q=$db->query("SELECT * FROM users WHERE username='{$username}' OR login_name='{$username}'"); $q2=$db->query("SELECT * FROM users WHERE email='{$_POST['email']}'"); if($db->num_rows($q)) { print "<font style=color:red>Username already in use. Choose another.</font><br /> <a href='register.php'>>Back<</a>"; } else if($db->num_rows($q2)) { print "<font style=color:red>E-Mail already in use. Choose another.</font><br /> <a href='register.php'>>Back<</a>"; } else if($_POST['password'] != $_POST['cpassword']) { print "<font style=color:red>The passwords did not match, go back and try again.</font><br /> <a href='register.php'>>Back<</a>"; } else { if($db->num_rows($q)) { die("<font style=color:red>No creating referral multies. Bad dog.</font><br /> <a href='register.php'>>Back<</a>"); } This is all you now can you check it out for me and fix what am talking about as you will see the gift are there but need the if states ment etc.. done for it to work
-
Ok im really noobie at this little dont know why i cant figure this out and everything else i can do i've tried everything the only thing am stuc at is for it to be credied i added the radio group and now i need the post or if statement for it to credit them...
-
can you gie me and axample of the coding thats need done
-
i cant reall find the if statement of gender on my file oitherwise i can do it
-
please am nooby can you just code it for me..
-
basically on register.php file there is some where, that you can pick a gender male or female so i have made a new drop down menu where it say's starter gift and the 2 options you can pick is 10 crystal's $500 game cash these are 2 gifts you can pick when signing up but i need to put a coding in the file to make it work if anyone can give em a hand ....
-
just need a little can some one help me with some sort of slider for images like a little slideshow so i can show some nice images for my game example look at rift.com they got a nice slider
-
that is great just what i needed and also can you just tell em how to put a background in it is it just like background-image:the image; is it like that
-
just the three nav areas and how do you like make it neat and line it up with everything look here a example http://www.riftgame.com/
-
can you just give me a example of the code please i dont know how to put it in to the login file or where to play it please
-
i am working on a new project with mcv2 and wanted a login layout like this with 3 box or more like 1 box for login etc.... can some tell me how to do it
-
please would some one give me a litle scrit for chat box some like where users click chat once logged in and it willl take them to a place with rooms also they dont need to sign up as guest it takes them starigt through using their game name as nickname please need it urgent Mccodes V2!
-
well i was kidding with the guy my user is not SaMz and he tok it serious..... and i dont sell things anymore i was told by Vitalend owner to sell them and he would split 50/40 but now i said no am not attempting to sell these scripts no more also how could it be a scam attempt if i was gna scam you i would have tried saying other dumb things also i just said what he told me to say he told me to go to min $50 and max something like $150
-
thanks blade can i get queary please?