Jump to content
MakeWebGames

[mccode] Register Page


N00b

Recommended Posts

  • Replies 103
  • Created
  • Last Reply

Top Posters In This Topic

Guest Anonymous

Re: [mccode] Register Page

 

no

a page

that i can put the images on.

:S i can make you a nice layout and put the images in for you if you want?

 

contact me

Link to comment
Share on other sites

Guest Anonymous

Re: [mccode] Register Page

wtf Deathstar. i have noticed all you do in your posts is nitpick at people, do you have nothing better to do?.

i put that because some people prefare to use xhtml to html? is that ok with you?

Link to comment
Share on other sites

Guest Anonymous

Re: [mccode] Register Page

 

wtf Deathstar. i have noticed all you do in your posts is nitpick at people, do you have nothing better to do?.

i put that because some people prefare to use xhtml to html? is that ok with you?

 

well you might wanna put a link to yor portfolio in your sig if you that good.

Link to comment
Share on other sites

Re: [mccode] Register Page

 

wtf Deathstar. i have noticed all you do in your posts is nitpick at people, do you have nothing better to do?.

i put that because some people prefare to use xhtml to html? is that ok with you?

 

I have made scripts that would shock you if you saw them.

btw. not the images :lol:

Link to comment
Share on other sites

Re: [mccode] Register Page

 

wtf Deathstar. i have noticed all you do in your posts is nitpick at people, do you have nothing better to do?.

i put that because some people prefare to use xhtml to html? is that ok with you?

 

I have made scripts that would shock you if you saw them.

btw. not the images :lol:

XHTML is a stricter version of HTML, its better to learn XHTML as there is less room for shabby coding and most tag elements work with all the latest browsers. HTML is for the 12 year olds that want to make something slightly pretty.

If you were going to design a website for a company that NEEDED all the accessibility options available to browser to work with their site for example the HTML tag would be ignored by them, whereas does the same effect as but will also empathise that word to blind people visiting the site with text reading software.

 

Basically what I'm trying to say is that ~DeathStar~ you are sounding like a 12 year old, maybe 13 if i was to push it.

Yeah XHTML and HTML are pretty much the same but saying that proves that you don't know much about the two languages, I mean why would two of them exist if they were the same.

I have also taken a look at you 'custom code' site, its not all that great, I see two very simple mods there. I also see a site which looks like its a free template, mainly because you did a poor job at trying to hide the link to http://www.3dmax-tutorials.com/ (in the bottom right of the white table, next to the copyright which is aligned bad).

 

So yeah, keep your comments to yourself in the future. His coding languages are good. My bets are that he started learning HTML first to get to grips then learnt XHTML, he also knows CSS which plays a huge part in website design nowa days.

Ive coded my game from scratch, i didn't use the mccodes script, because i didn't know about it till recently, but the free mods ive found for i have helped me add some extra things to the game (because they can easily be converted) so i want to thank you guys for doing that, but its people like you that put me off buying mods, id much rather do it myself so that i know I'm getting quality.

 

Matt

 

 

EDIT -

I have made scripts that would shock you if you saw them.

btw. not the images cheesy

 

~DeathStar~

 

Or are you trying to tell us they will shock us on how bad they are? hmmm.

Link to comment
Share on other sites

Re: [mccode] Register Page

+1 pa!n i am currently useing the register page. but i was wondering how i am able to do this. http://www.ukbadboys.jusfreespace.com/loginpic.gif it currently looks like this. http://www.ukbadboys.jusfreespace.com/loginpic2.gif this is my code

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

and the navagation box code you already have.

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
  • 2 weeks later...

Re: [mccode] Register Page

i took your register game and changed it a little if you like it please give me +1

 

<?php

session_start();

print "<html>

<head>

<title>your game name</title>

<style>

body { font-family:Verdana;font-size:9pt;color: white;

background-color:#000000;

scrollbar-base-color: #005B70;

scrollbar-arrow-color: #F3960B;

scrollbar-DarkShadow-Color: #000000; }

a:visited,a:active,a:hover,a:link { color: blue;text-decoration: none; }

table,tr,td { font-size:9pt; }

img { border:none; }

</style>

</head>

<body>

<tr>

<th scope='col'><center>logo.png</center></th>

</tr>

</table>

 

 

<center> ";

$ip = ($_SERVER['HTTP_X_FORWARDED_FOR'])

? $_SERVER['HTTP_X_FORWARDED_FOR']

: $_SERVER['REMOTE_ADDR'];

if(file_exists('ipbans/'.$ip))

{

die("<font color=red size=+1>Your IP has been banned, there is no way around this.</font></body></html>");

}

require "mysql.php";

global $c;

if($_POST['username'])

{

$sm=100;

if($_POST['promo'] == "your promo here")

{

$sm+=100;

}

$username=$_POST['username'];

$username=str_replace(array("<", ">"), array("<", ">"), $username);

$q=mysql_query("SELECT * FROM users WHERE username='{$username}'",$c);

if(mysql_num_rows($q))

{

print "Username already in use. Choose another.";

}

else if($_POST['password'] != $_POST['cpassword'])

{

print "The passwords did not match, go back and try again.";

}

else

{

$_POST['ref'] = abs((int) $_POST['ref']);

$ip = ($_SERVER['HTTP_X_FORWARDED_FOR'])

? $_SERVER['HTTP_X_FORWARDED_FOR']

: $_SERVER['REMOTE_ADDR'];

$q=mysql_query("SELECT * FROM users WHERE lastip='$ip' AND userid={$_POST['ref']}",$c);

$a=mysql_query("SELECT * FROM users WHERE lastip='$ip'",$c);

if(mysql_num_rows($a) > 0)

{

die("No multi's! Your not trying to make another account are you! Sorry! Not Allowed!");

}

if(mysql_num_rows($q))

{

die("Creating Referral Multies Is Not Aloud.");

}

if($_POST['ref']) {

$q=mysql_query("SELECT * FROM users WHERE userid={$_POST['ref']}",$c);

$r=mysql_fetch_array($q);

}

mysql_query("INSERT INTO users (username, login_name, userpass, level, money, user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, lastip) VALUES( '{$username}', '{$username}', md5('{$_POST['password']}'), 1, $sm, 1, 12, 12, 100, 100, 5, 5, 100, 100, 1, '{$_POST['gender']}', unix_timestamp(), '{$_POST['email']}', '$ip')", $c);

$i=mysql_insert_id($c);

mysql_query("INSERT INTO userstats VALUES($i, 10, 10, 10, 10, 10)", $c);

if($_POST['ref']) {

require "global_func.php";

mysql_query("UPDATE users SET crystals=crystals+2 WHERE userid={$_POST['ref']}",$c);

event_add($_POST['ref'],"For refering $username to the game, you have earnt 2 valuable crystals!",$c);

mysql_query("INSERT INTO referals VALUES('', {$_POST['ref']}, $i, unix_timestamp(),'{$r['lastip']}','$ip')", $c);

}

print "Thank You For Registering! Please Login.

> Login";

}

}

else

{

print "<style type='text/css'>

<!--

#Layer2 {

position:absolute;

width:200px;

height:115px;

z-index:1;

left: 354px;

top: 356px;

}

#Layer6 {

position:absolute;

width:182px;

height:202px;

z-index:2;

left: 10px;

top: 204px;

}

#Layer7 {

position:absolute;

width:200px;

height:115px;

z-index:3;

left: 350px;

top: 201px;

}

#Layer8 {

position:absolute;

width:1081px;

height:33px;

z-index:4;

left: 71px;

top: 590px;

}

-->

</style>

<body bgcolor='#000000'>

<div id='Layer7'>

<table width='530' border='0'>

<tr>

<th scope='col'> your game name Registration</th>

</tr>

<td>

 

<form action=register.php method=post>

<table width='530' height='109' border='0' bgcolor='#000000'>

 

<td>Username:</div>

<input type='text' name='username' /></td>

<td><div align='center'> </td>

</div></td>

</tr>

<tr>

<td>Password:</div>

<align='right'><input type='password' name='password' /></td>

 

<td>Confirm Password: </div>

<align='center'><input type='password' name='cpassword' />

</td>

 

</div></td>

</tr>

<tr>

<td>First Name: </div>

<input type=text name=first name /></td>

<td>Last Name: </div>

<input type=text name=last name /></td>

</td>

</div></td>

</tr>

<tr>

<td>Email Address: </div>

<input type='text' name='email' /><td>Confirm Email: </div>

<align='center'><input type='email' name='cemail' />

</td></td>

<td><div align='center'>

 

</div></td>

</tr>

<tr> </tr>

</tr>

<tr>

<td>

Age: </div>

<input type=text name=age /></td>

<td>Gender: <select type='dropdown' name='gender'><option value='male'>Male</option><option value='female'>Female</option></select></td>

<td><div align='center'>

</div></td>

</tr>

<tr> </tr>

</table>

 

 

<input type=hidden name=ref value='";

if($_GET['REF']) { print $_GET['REF']; }

print "'>

<center><input type=submit value=Submit></center></form><form name=tos>

<input type='checkbox' name=mybox value='0'>I Agree To The Terms Of Service

</form>

</tr>

</table>

</div>

<div id='Layer6'>

<table width='181' height='203' border='0' bgcolor='#000000'>

<tr>

<th height='39' scope='col'>Navigation</th>

</tr>

<tr>

<td height='30'>Login</td>

</tr>

<tr>

<td height='30'>Lost Password?</td>

</tr>

<tr>

<td height='30'>Screenshots</td>

</tr>

<tr>

<td height='30'>Terms Of Service</td>

</tr>

</table>

</div>

</center></td>

</tr>

</table>

</div>

<div id='Layer8'>

<table width='98%' border='0' bgcolor='#000000'>

<tr>

<th scope='col'><center>

This Game Is Brought To You By your name

</center>";

}

print "</body></html>";

?>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...