[color=red]Ae Ramix tem 2 register olha aki na foto:
https://2img.net/r/ihimizer/i/registersramix.jpg/ [size=18] olha a foto ai
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="A free fantasy mmorpg. Official site featuring news, information, screen shots, downloads, player guide, and forums.">
<meta name="keywords" content="conquer online, conqueronline, co, conquer, mmorpg, free mmorpg, rpg, free onlinegames, co, 2d computer graphics, chinese mythology, 91, co.91.com, mmo, online games.">
<meta name="robots" content="index, follow">
<meta name="googlebot" content="index, follow">
<title>OperativeCO Official Site - Register</title>
<link rel="stylesheet" rev="stylesheet" href="screen.css" type="text/css" media="all" />
<script type="text/javascript" src="include/tabs.js"></script>
<script type="text/javascript" src="include/flashObject.js"></script> <!-- FLASH -->
<script type="text/javascript" src="include/clock.js"></script>
<link rel="SHORTCUT ICON" href="images/favicon.ico">
<script src="DWConfiguration/ActiveContent/IncludeFiles/AC_RunActiveContent.js" type="text/javascript"></script>
<style type="text/css">
<?php
include("include/config.php");
?>
<!--
.style1 {color: #ffd800}
.style5 {color: #FFFFFF}
.style8 {
color: #ffd800;
font-weight: bold;
}
.style9 { color: #FFFFFF;
font-weight: bold;
font-size: 16px;
}
.Estilo1 {color: #990000}
.style10 {
margin-right: 0px;
}
.style11 {
margin-left: 82px;
}
.style12 {
margin-left: 0px;
margin-bottom: 0px;
}
-->
</style>
</head>
<body>
<!--header-->
<!-- set bookmark -->
<script type="text/javascript">
function bookmark(){
var title=document.title
var url=document.location.href
if (window.sidebar) window.sidebar.addPanel(title, url,"");
else if( window.opera && window.print ){
var mbm = document.createElement('a');
mbm.setAttribute('rel','sidebar');
mbm.setAttribute('href',url);
mbm.setAttribute('title',title);
mbm.click();}
else if( document.all ) window.external.AddFavorite( url, title);
}</script>
<div id="fullpage">
<div id="header">
<div id="logo"><a title="World Of Conquer" href="index.php">
<script type="text/javascript">flashObject('images/logo.swf',292,146)</script>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','292','height','146','src','images/logo','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','wmode','transparent','movie','images/logo','menu','false' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="292" height="146"><param name="movie" value="images/logo.swf"><param name="quality" value="high"><param name="menu" value="false"><param name="wmode" value="transparent"><embed src="images/logo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" width="292" height="146"></object></noscript>
</div>
<div id="fireFrame">
<script type="text/javascript">flashObject('images/fireFrame.swf',200,150)</script>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','200','height','150','src','images/fireFrame','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','wmode','transparent','movie','images/flash/fireFrame','menu','false' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="200" height="150"><param name="movie" value="images/flash/fireFrame.swf"><param name="quality" value="high"><param name="menu" value="false"><param name="wmode" value="transparent"><embed src="images/fireFrame.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" width="200" height="150"></object></noscript>
</div>
<div id="nav">
<ul>
<li class="" id="nav9" onmouseover="setTab('nav',9,7)"><span class="style9"><a href="ranks.php"><img src="images/rank.jpg" alt="Ranks" width="92" height="18" /></a></span> <a title="World Of Conquer" href="index.php"></a><a title="Home" href="index.php"><img src="images/navhome.gif" alt="Home" width="54" height="18" /></a></li>
<li class="on" id="nav1" onmouseover="setTab('nav',1,7)"></li>
<li class="" id="nav2" onmouseover="setTab('nav',2,7)"><a href="downloads.php"><img src="images/navdownload.gif" alt="Download" title="Download" width="92" height="18" /></a></li>
<li class="" id="nav3" onmouseover="setTab('nav',3,7)"><a href="register.php"><img src="images/navaccount.gif" alt="Account" title="Account" width="81" height="18" /></a></li>
<li class="" id="nav4" onmouseover="setTab('nav',4,7)"><a href="pass.php"><img src="images/navcommunity.gif" alt="Community" title="Community" width="97" height="18" /></a></li>
<li class="" id="nav5" onmouseover="setTab('nav',5,7)"></li>
<li class="" id="nav6" onmouseover="setTab('nav',6,7)"></li>
<li class="" id="nav8" onmouseover="setTab('nav',8,7)"></li>
<li class="" id="nav9" onmouseover="setTab('nav',9,7)"></li>
</ul>
</div>
<div id="subnav">
<ul id="con_nav_1" style="display: block;">
</ul>
<ul id="con_nav_2" style="display: none;">
</ul>
<ul id="con_nav_3" style="display: none;">
</ul>
<ul id="con_nav_4" style="display: none;">
</ul>
<ul id="con_nav_5" style="display: none;">
</ul>
<ul id="con_nav_6" style="display: none;">
</ul>
<ul id="con_nav_7" style="display: none;">
</ul>
</div>
</div>
<!-- / header-->
<div id="wrapper">
<div id="container">
<div id="sidebar">
<div id="time">
<span>Server Time (PDT)</span><script language="javascript"><!--
new LiveClock('Verdana','2','white','images/time_bg.gif',' ','','110','0','1','0','0','-7');
//--></script>
</div>
<div id="guide">
<ul>
<li class="guide1"><a href="register.php" target="_self">Register</a></li>
<li class="guide2"><a href="downloads.php" target="_self" title="Download Client">Download Client</a></li>
<li class="guide3"><a href="GettingStarted.php" target="_self" title="Getting Started">Getting Started</a></li>
</ul>
</div>
<div id="sidebarBody">
<div id="hotEvents"><span LANG="EN"><font SIZE="2">
<iframe name="I1" id="I1" src="status.php" class="style10" style="width: 179px; height: 109px" border="0" frameborder="0">
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe>
</font></span></div>
<div id="quick">
<h3><img src="images/quicklink.jpg" alt="Quick Link" width="205" height="24"></h3>
<ul><li></li>
<li class="style11">
<a href="eventos.php">Eventos</a></li>
<li class="style12">
<strong><a href="Chat.php">ChatBox</a></strong></li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
</div>
<div id="sidebarFoot"> </div>
</div>
<div id="main">
<div id="sal"></div>
<div id="mainBody">
<div id="mainFoot">
<div id="mainHead">
<div class="box">
<div class="tabs patch">
<ul>
<li class="on style1 style5" id="news1"><span class="style8"> REGISTER</span></li>
</ul>
</div>
<div id="con_news_1" class="content">
<div class="post">
<div id="wrap">
<table width="663" height="194" border="0" align="center" cellpadding="5" cellspacing="5">
<tbody>
<tr>
<td width="561" height="184" colspan="2" align="justify" valign="top"><div class="post">
<?php
$my_connection = mysql_connect($db['info']['host'], $db['info']['user'], $db['info']['pass']);
$my_database = mysql_select_db($db['info']['name']);
?>
<form action="?op=register" method="post">
<div align="center"><br />
</div>
<p align="center">
<iframe name="I2" id="I2" src="register1.php" marginwidth="1" marginheight="1" scrolling="no" class="style12" style="height: 483px; width: 651px; float: center" border="0" frameborder="0">
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe></p>
<p align="center">
</p>
<p align="center">
</p>
</form>
<?php
if(isset($_POST['submit'])) {
if(!$_POST['user'] || !$_POST['pass1'] || !$_POST['pass2']) {
die('You must fill in all of the feilds!!!<BR>');
}
$user = $_POST['user'];
$pass = trim($_POST['pass1']);
$pass2 = trim($_POST['pass2']);
$check = mysql_query("SELECT * FROM account WHERE name = '$user'");
$check2 = mysql_num_rows($check);
if($check2 != '0') {
die("Username: '".$user."' is in use!");
}
if($pass != $pass2) {
die('Passwords dont match!');
}
$insert_member = mysql_query("INSERT INTO account (name, password) VALUES ('$user', '$pass')");
if($insert_member) {
echo("<p class='b01'>Registration Complete!");
} else {
echo("<p class='b01'>Registration Failed!</p>");
}}
?>
</div>
</div></td>
</tr>
</tbody>
</table>
</div>
<div align="center"></div>
</div>
</div>
</div>
<div class="clear"></div>
<div class="clear"></div>
</div>
<a href="#"><img src="images/top.gif" alt="Top" title="Back To Top" class="top" width="41" height="13"></a> </div>
</div>
</div>
<div class="clear"></div>
d<span class="Estilo1"><a href="Untitled-4.php">dd</a></span></div>
</div>
<!--footer-->
<!-- / footer-->
</div>
<div style="display: none;">
</div>
</body></html>
e no q ta escrito register1 ta assim:
<?php
require_once ('config.php');
?>
<br />
<center><form method='post' action=''><table class=body width="440" height="229">
<tr>
<td align="left" height="32"><b>UserID</b>: </td>
<td class="it3" height="32"><input class="it" name="id" id="id" /></td>
</tr> <tr>
<td align="left" height="37"><b>Password</b>:</td>
<td class="it3" height="37"><input class="it" id="ipassword" type="password" maxLength=12 name="pass" /></td>
</tr> <tr>
<td align="left" height="32"><b>Retype Password</b>:</td>
<td class=it3 height="32"><input class="it1" id="ipassword" type="password" maxlength=12 name="retpass" /></td>
</tr> <tr>
<td colspan="2"> </td>
</tr> <tr>
<td colspan="2"><b></b></td>
</tr> <tr>
<td align="left" height="32"><b>Account Question:</b></td>
<td class=it3 height="32"><input type="text" maxlength=16 name="ownerID" /></td>
</tr> <tr>
<td align="left" height="32">Question Answer:</td>
<td class=it3 height="32"><input type="text" maxlength=16 name="ownerReply" /></td>
</tr> <tr>
<td colspan="2"> </td>
</tr> <tr>
<td align="left" height="32">E-mail:</td>
<td class=it3 height="32"><input type="text" name="email" /></td>
</tr> <?php if ($requireCAPTCHA) { ?> <tr>
<td align="left" height="32"><b>Type Check Code</b>:</td>
<td class=it3 height="32"><input name='CheckCode' size='20' maxlength='6'class=it style="FONT-SIZE: 9pt"></td>
</tr> <tr>
<td height="25" align="left">Check Code:</td>
<td height="25"><span style="font-size: 9pt">
<img src='./inc/img.php' width='200' height='60' alt='CAPTCHA' /></td>
</tr> <?php } ?> <tr>
<td></td>
<td style="FONT-SIZE: 14px; VERTICAL-ALIGN: middle">
<span style="font-size: 9pt"><input type="hidden" name="hash"><!-- Created by <someone> @ webyt.net -->
<input class=Butt type=submit onclick="hash.value = login(pass.value)" value='Register' name=B1 /></span></td>
</tr></table>
</form>
<?php
if(isset($_POST['retpass']) && isset($_POST['id']) && isset($_POST['pass']) && isset($_POST['ownerID'])) {
if(!Empty($_POST['retpass']) && !Empty($_POST['id']) && !Empty($_POST['pass']) && !Empty($_POST['ownerID'])) {
$ok=false;
if ($requireCAPTCHA) { if (PhpCaptcha::Validate($_POST['CheckCode'])) $ok=true; }
else $ok=true;
if($ok) {
mysql_select_db($accdb);
$userid = trim($_POST['id']);
$password=trim($_POST['pass']);
$passretype=trim($_POST['retpass']);
$hash=$_POST['hash'];
$ownerReply=(isset($_POST['ownerReply']) ? substr(trim($_POST['ownerReply']), 0,16) : '');
$mail=(isset($_POST['email']) ? substr(trim($_POST['email']), 0,16) : '');
$ownerID=substr(trim($_POST['ownerID']), 0,16);
if (!Empty($mail)) if (!ereg("^[0-9a-zA-Z]{4,128}$", (strtr($mail, Array('@'=>'','.'=>''))))) {
$mail='';
echo 'mail > Only letters a to z and special chars @ . are allowed';
}
if(!ereg("^[0-9a-z]{4,12}$",$userid)) {
echo 'login > Only letters from "a" to "z" and numbers, lenght of 4 to 12 characters';
}
else {
if($password == $passretype) {
if(!ereg("^[0-9a-zA-Z]{4,22}$",$password)) {
echo 'password > Only letters or numbers, lenght of 4 to 22 characters';
}
else {
$res = mysql_query('SELECT * FROM account WHERE name = "'.$userid.'" ORDER BY id DESC');
if(mysql_num_rows($res) == 0) {
//$d=explode ('.', $_SERVER['REMOTE_ADDR']);
//for case that IP limits works and u can restrict access from spec. class C IP address range
// idnumber = ownerID phone=ownerReply
// I doubt phone will be used or someone rly provide his number anyway
mysql_query('INSERT INTO account(name,password,pointtime,idnumber,phone,email,netbar_ip,ip_mask) VALUES ("'
.$userid.'","'.($passhash ? $hash : $password).'","'.date('Ymd').'", "'
.$ownerID.'", "'.$ownerReply.'", "'.$mail.'", "'
.$_SERVER['REMOTE_ADDR'].'", "'.'255.255.255.0")');
echo 'Success > Account registered successfully.';
}
else echo 'Error > Account Already exists.';
}
}
else echo 'Error > Passwords did not match.';
}
}
else echo 'Error > Check Code is Wrong.';
}
else echo 'Error > umm why there is empty <b>required</b> areas in register form????';
}
?>
</center>
Total Players Online: <b><?php echo (exec('netstat -a -n |find "5816" |find "ESTABLISHED" /c')-2); ?></b><br />
Nome do meu Server : OperativeCO
Nome da Data Base : coproj
Senha do appserv : java123
Alguem ajuda ai plix
ganha thx