Jump to content
MakeWebGames

astralreb

Members
  • Posts

    14
  • Joined

  • Last visited

astralreb's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I am willing to pay a coder for securing some crucial pages of my game. I estimate my budget to about 2$-3$ per page. Please only real coders reply and dont lose your time bidding if you cant do this job. Thanks
  2. Hello i need help with the battle ladder mod in my game. What i want is to make every battle ladder to take place in a specific city. So what i have in my mind is from the staff battle ladder creation, to be an option to set in which city the ladder will take place and also to be a restriction if a user wants to take part in a battle ladder, he has to be in the city that the ladder takes place. Here is the code : battle_ladder.php   <?php include_once ('globals.php'); switch($_GET['page']) { case 'signup': ladder_signup(); break; default: ladder_index(); break; } function ladder_index() { global $ir, $db; if(!isset($_GET['id'])) { echo ' <div class="generalinfo_txt"> <div><img src="images/info_left.jpg" alt="" /></div> <div class="info_mid"><h2 style="padding-top:10px;"> Μάχη για τις πόλεις</h2></div> <div><img src="images/info_right.jpg" alt="" /></div> </div> <div class="generalinfo_simple"><br> <br><br> <a href="battle_ladder.php?page=signup"><b>Κάνε κλίκ για να ξεκινήσεις</b></a><br />Πάρε μέρος στην μάχη για τις πόλεις..<br /> Ο μαφιόζος με το μεγαλύτερο σκορ θα ανακυρηχθεί Μαφιόζος της Πόλης <br /> <br /> <table width=80% cellspacing=1 class="table"><tr style="background: gray; "><th>ID</th> <th>Μάχη</th> <th>Απαιτούμενο Επίπεδο</th> </tr> '; $fetch = $db->query("SELECT * FROM `battle_ladders` ORDER BY `ladderLevel` ASC"); while ($r = $db->fetch_row($fetch)) { $count ++; echo ' <tr><td> '.$count.'. </td><td><a href="battle_ladder.php?id='.$r['ladderId'].'">'.stripslashes($r['ladderName']).'</a></td><td> '.$r['ladderLevel'].' '; } echo '</td></tr></table> </div><div><img src="images/generalinfo_btm.jpg" alt="" /></div><br></div></div></div></div></div>'; } else { $fetch = $db->query(sprintf("SELECT * FROM `battle_members` LEFT JOIN `users` ON `userid` = `bmemberUser` WHERE `bmemberLadder` = '%u' ORDER BY `bmemberScore` DESC", abs((int) $_GET['id']))); if(!$db->num_rows($fetch)) { echo 'Αυτή η μάχη δεν είναι διαθέσιμη αυτή τη στιγμή.'; exit; } else $sql = $db->query(sprintf("SELECT * FROM `battle_ladders` WHERE `ladderId` = '%u'", abs((int) $_GET['id']))); $r = $db->fetch_row($sql); { echo ' <div class="generalinfo_txt"> <div><img src="images/info_left.jpg" alt="" /></div> <div class="info_mid"><h2 style="padding-top:10px;"> '.stripslashes($r['ladderName']).'</h2></div> <div><img src="images/info_right.jpg" alt="" /></div> </div> <div class="generalinfo_simple"><br> <br><br> <table width="600" class="table"> <tr> <th width="10%">Βαθμός</th> <th width="40%">Μαφιόζος</th> <th width="20%">Σκορ</th> <th width="15%">Νίκες</th> <th width="15%">Ήττες</th> </tr>'; while($r = $db->fetch_row($fetch)) { $count ++; echo '<tr> <td align="center">'.$count.'</td> <td><a href="viewuser.php?u='.$r['userid'].'">'.$r['username'].'</a></td> <td>'.number_format($r['bmemberScore']).'</td> <td>'.$r['bmemberWins'].'</td> <td>'.$r['bmemberLosses'].'</td> </tr>'; } } } } print "</table> "; $h->endpage(); exit; function ladder_signup() { global $ir, $db; if(!isset($_GET['id'])) { echo ' <div class="generalinfo_txt"> <div><img src="images/info_left.jpg" alt="" /></div> <div class="info_mid"><h2 style="padding-top:10px;"> Λάβε μέρος σε μάχη</h2></div> <div><img src="images/info_right.jpg" alt="" /></div> </div> <div class="generalinfo_simple"><br> <br><br> Μπορείς να συμμετάσχεις στις παρακάτω μάχες.<br /><br /> <table width="300" class="table"> <tr> <td>'; $fetch = $db->query(sprintf("SELECT * FROM `battle_ladders` WHERE `ladderLevel` <= '%d' ORDER BY `ladderLevel` ASC", $ir['level'])); while ($r = $db->fetch_row($fetch)) { echo '<a href="battle_ladder.php?page=signup&id='.$r['ladderId'].'">'.stripslashes($r['ladderName']).'</a><br />'; } echo '</td> </tr> </table> </div><div><img src="images/generalinfo_btm.jpg" alt="" /></div><br></div></div></div></div></div>'; } else { $check = $db->query(sprintf("SELECT * FROM `battle_members` WHERE `bmemberUser` = '%u'", $ir['userid'])); if($db->num_rows($check)) { echo 'Αυτή τη στιγμή έχεις λάβει μέρος σε άλλη μάχη.'; } else { $sql = $db->query(sprintf("SELECT * FROM `battle_ladders` WHERE `ladderId` = '%u'", abs((int) $_GET['id']))); $r = $db->fetch_row($sql); if($r['ladderLevel'] > $ir['level']) { echo 'Δεν έχεις την απαιτούμενη εμπειρία για να συμμετάσχεις σε αυτή τη μάχη.'; } else { $db->query(sprintf("INSERT INTO `battle_members` (`bmemberId`, `bmemberUser`, `bmemberLadder`, `bmemberScore`) VALUES ('NULL','%u', '%d', '%d')", $ir['userid'], $r['ladderId'], 100)); echo 'Έλαβες μέρος στην μάχη '.stripslashes($r['ladderName']).', κάνε επιθέσεις σε άλλους μαφιόζους για να αυξήσεις το σκόρ σου.'; } } } } $h->endpage(); ?>
  3. Can someone help me. I want in this chat, when a user writes something, next to his name to be an "attact" link, so if someone clicks to it he can attack this player. Can anyone help me with the code? Thanks in advance Edit: I managed to make it, by adding an extra row in the 'chat' table. Then i defined the variable that has to do with the userid in send.php and finally in the receive.php i added the dynamic link. If someone is interested to make something like that i can give more info.
  4. Dear Peter, With no offence, but before going on such conclusions and posting please be careful. This is my one and only account on makewebgames and also we had recenlty an instant talk in yahoo messenger, in which you said me that you will send me an offer but i still wait (anyway this has not to do with this post) I dont think that is so unique two persons to want the same kind of work, isn't it? The moderators can check my ip adreess and see if i have any other account here. But please before posting your suspicions, consider that i created a thread about work, that maybe someone is going to be paid and i will spend some money, something you seem that you dont respect.
  5. Hello, I decided to post each mod that i want seperately, because i couldnt find someone to make the changes that i wanted to my game as posted here Starting, I am paying for a nightlife mod, exactly as it acts on thecrims.com . Above i paste the help section of thecrims.com for the nightlife, so someone to understand what exaclty i want :   Please post or send pm and also refer the budget needed for this mod. Thank you in advance
  6. I updated the details.please check
  7. Hello, I own a game based in MCCODES V2. I would like to make some changes and implement basic features from thecrims.com The features are similar to thecrims.com and are with a quick glance : 1) Adding nightlife, with clubs and bars that the users will have a certain amount of tickets daily to enter in these clubs etc. Users will have the opportunity to buy drinks or drugs inside the clubs This will also affect the attack feature cause in order a user to attack someone else will have first to have met him in a club once. 2)Adding whores which the users will be able to buy and earn for the daily some cash 3)drug mode, adding addiction level to the stats of the users. There will be a drug section with list of drugs that the users can buy and use drugs and every drug will affect a certain stat but will also add addiction level 4)create a kind of city owning, meaning that every city will have a shelter for which the users will fight to be the owner of (monthly) My budget is about 200-250$ I can provide more details at pm Thank you
  8. thank you very much for the reply! very useful information..
  9. i want to discuss about your design cause i was looking for exactly this design...your pm is disabled so if you want contact me at the email i wrote above
  10. S.Cosmin, i can send you pm so please contact me at [email protected]
  11. include "rfunctions.php"; require "core.php"; function valid_email($email) { // First, we check that there's one @ symbol, and that the lengths are right if (!ereg("^[^@]{1,64}@[^@]{1,255}$", $email)) { // Email invalid because wrong number of characters in one section, or wrong number of @ symbols. return false; } // Split it into sections to make life easier $email_array = explode("@", $email); $local_array = explode(".", $email_array[0]); for ($i = 0; $i < sizeof($local_array); $i++) { if (!ereg("^(([A-Za-z0-9!#$%&'*+/=?^_`{|}~-][A-Za-z0-9!#$%&'*+/=?^_`{|}~\.-]{0,63})|(\"[^(\\|\")]{0,62}\"))$", $local_array[$i])) { return false; } } if (!ereg("^\[?[0-9\.]+\]?$", $email_array[1])) { // Check if domain is IP. If not, it should be valid domain name $domain_array = explode(".", $email_array[1]); if (sizeof($domain_array) < 2) { return false; // Not enough parts to domain } for ($i = 0; $i < sizeof($domain_array); $i++) { if (!ereg("^(([A-Za-z0-9][A-Za-z0-9-]{0,61}[A-Za-z0-9])|([A-Za-z0-9]+))$", $domain_array[$i])) { return false; } } } return true; } print <<<EOF <!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"> <title>{$set['game_name']} - $metar </title> <meta name="keywords" content="RPG, Online Games, Online Mafia Game" /> <meta name="description" content=" {$set['game_name']} - Online Mafia Game " /> <meta name="author" content="mafiozos " /> <meta name="copyright" content="Copyright {$_SERVER['HTTP_HOST']} " /> <link rel="SHORTCUT ICON" href="favicon.ico" /> <link rel="stylesheet" href="css/stylenew.css" type="text/css"/> <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen"/> <!--<script type="text/javascript" src="js/prototype.js"></script> <script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script> <script type="text/javascript" src="js/lightbox.js"></script>--> </head> <body> <div id="pagecontainer"> <!-- Header Part Starts --> <div class="headerpart"> <div ></div> <div class="toplist"> </div> </div> <script language="JavaScript"> <!-- function getCookieVal (offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } function GetCookie (name) { var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } function SetCookie (name,value,expires,path,domain,secure) { document.cookie = name + "=" + escape (value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : ""); } function DeleteCookie (name,path,domain) { if (GetCookie(name)) { document.cookie = name + "=" + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT"; } } // --> </script> <script language="JavaScript"> var usr; var pw; var sv; function getme() { usr = document.login.username; pw = document.login.password; sv = document.login.save; if (GetCookie('player') != null) { usr.value = GetCookie('username') pw.value = GetCookie('password') if (GetCookie('save') == 'true') { sv[0].checked = true; } } } function saveme() { if (usr.value.length != 0 && pw.value.length != 0) { if (sv[0].checked) { expdate = new Date(); expdate.setTime(expdate.getTime()+(365 * 24 * 60 * 60 * 1000)); SetCookie('username', usr.value, expdate); SetCookie('password', pw.value, expdate); SetCookie('save', 'true', expdate); } if (sv[1].checked) { DeleteCookie('username'); DeleteCookie('password'); DeleteCookie('save'); } } else { alert('$javaerr1'); return false; } } </script> <script type="text/javascript"> var xmlHttp // xmlHttp variable function GetXmlHttpObject(){ // This function we will use to call our xmlhttpobject. var objXMLHttp=null // Sets objXMLHttp to null as default. if (window.XMLHttpRequest){ // If we are using Netscape or any other browser than IE lets use xmlhttp. objXMLHttp=new XMLHttpRequest() // Creates a xmlhttp request. }else if (window.ActiveXObject){ // ElseIf we are using IE lets use Active X. objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP") // Creates a new Active X Object. } // End ElseIf. return objXMLHttp // Returns the xhttp object. } // Close Function function CheckPasswords(password){ // This is our fucntion that will check to see how strong the users password is. xmlHttp=GetXmlHttpObject() // Creates a new Xmlhttp object. if (xmlHttp==null){ // If it cannot create a new Xmlhttp object. alert ("Browser does not support HTTP Request") // Alert Them! return // Returns. } // End If. var url="check.php?password="+escape(password) // Url that we will use to check the password. xmlHttp.open("GET",url,true) // Opens the URL using GET xmlHttp.onreadystatechange = function () { // This is the most important piece of the puzzle, if onreadystatechange = equal to 4 than that means the request is done. if (xmlHttp.readyState == 4) { // If the onreadystatechange is equal to 4 lets show the response text. document.getElementById("passwordresult").innerHTML = xmlHttp.responseText; // Updates the div with the response text from check.php } // End If. }; // Close Function xmlHttp.send(null); // Sends NULL insted of sending data. } // Close Function. function CheckUsername(password){ // This is our fucntion that will check to see how strong the users password is. xmlHttp=GetXmlHttpObject() // Creates a new Xmlhttp object. if (xmlHttp==null){ // If it cannot create a new Xmlhttp object. alert ("Browser does not support HTTP Request") // Alert Them! return // Returns. } // End If. var url="checkun.php?password="+escape(password) // Url that we will use to check the password. xmlHttp.open("GET",url,true) // Opens the URL using GET xmlHttp.onreadystatechange = function () { // This is the most important piece of the puzzle, if onreadystatechange = equal to 4 than that means the request is done. if (xmlHttp.readyState == 4) { // If the onreadystatechange is equal to 4 lets show the response text. document.getElementById("usernameresult").innerHTML = xmlHttp.responseText; // Updates the div with the response text from check.php } // End If. }; // Close Function xmlHttp.send(null); // Sends NULL insted of sending data. } // Close Function. function CheckEmail(password){ // This is our fucntion that will check to see how strong the users password is. xmlHttp=GetXmlHttpObject() // Creates a new Xmlhttp object. if (xmlHttp==null){ // If it cannot create a new Xmlhttp object. alert ("Browser does not support HTTP Request") // Alert Them! return // Returns. } // End If. var url="checkem.php?password="+escape(password) // Url that we will use to check the password. xmlHttp.open("GET",url,true) // Opens the URL using GET xmlHttp.onreadystatechange = function () { // This is the most important piece of the puzzle, if onreadystatechange = equal to 4 than that means the request is done. if (xmlHttp.readyState == 4) { // If the onreadystatechange is equal to 4 lets show the response text. document.getElementById("emailresult").innerHTML = xmlHttp.responseText; // Updates the div with the response text from check.php } // End If. }; // Close Function xmlHttp.send(null); // Sends NULL insted of sending data. } // Close Function. function PasswordMatch() { pwt1=document.getElementById('pw1').value; pwt2=document.getElementById('pw2').value; if(pwt1 == pwt2) { document.getElementById('cpasswordresult').innerHTML="<font color='green'>$rrerr5</font>"; } else { document.getElementById('cpasswordresult').innerHTML="<font color='red'>$rrerr6</font>"; } } </script> <!-- //Header Part End --> <!-- Flash Part Starts --> <div class="flashpart"> <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="1000" height="460" title="Ravan Scripts"> <param name="movie" value="images/mafia.swf" /> <param name="quality" value="high" /> <param name="wmode" value="Transparent" /> <embed src="images/mafia.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1000" height="460"></embed> </object> </div> <!-- //Falsh Part End --> <!-- Menu Part Starts --> <div class="menu"> <ul> <li class="home_active"><a href="login.php" title="Home"> </a></li> <li class="story"><a href="story.php" title="The Story"> </a></li> <li class="contact"><a href="contact.php" title="Contact Us"> </a></li> <li class="signup"><a href="signup.php" title="Sign Up"> </a></li> </ul> </div> <!-- Menu Part End --> <!-- Register Page Start --> <br><br> <div align='center' style='width: 1000px;height:600px; background-image:url(images/reg_para_bg.jpg); border:0px solid #999;'> <div class='reg_container'> <form action=signup.php method=post> <div class='reg_frmpart'> <div class='regtop'> <div class='reg_nametxt'> 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>$ipban</font></b></body></html>"); } if($_POST['username']) { if($set['regcap_on']) { if(!$_SESSION['captcha'] or $_SESSION['captcha'] != $_POST['captcha']) { unset($_SESSION['captcha']); print " <p> $rrerr0 </p> "; exit; } unset($_SESSION['captcha']); } if(!valid_email($_POST['email'])) { print " <P ALIGN='CENTER'> $rrerr1 <br><br><b><a href=signup.php>$rrerr2</a> </p> "; exit; } if(strlen($_POST['username']) < 4) { print " <P ALIGN='CENTER'> $rrerr3b <br><br><b><a href=signup.php>$rrerr2</a> </p> "; exit; } $sm=100; if($_POST['promo'] == "Your Promo Code Here") { $sm+=100; } $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 " <P ALIGN='CENTER'> $rrerr3 <br><br><b><a href=signup.php>$rrerr2</a> </p> "; exit; } else if($db->num_rows($q2)) { print " <P ALIGN='CENTER'> $rrerr3a <br><br><b><a href=signup.php>$rrerr2</a> <br><br><b><a href=signup.php>$rrerr2</a> </p> "; exit; } else if($_POST['password'] != $_POST['cpassword']) { print " <P ALIGN='CENTER'> $rrerr4 <br><br><b><a href=signup.php>$rrerr2</a> </p> "; exit; } else { $_POST['ref'] = abs((int) $_POST['ref']); $IP = $_SERVER['REMOTE_ADDR']; $IP=addslashes($IP); $IP=mysql_real_escape_string($IP); $IP=strip_tags($IP); $q=$db->query("SELECT * FROM users WHERE lastip='$IP' AND userid={$_POST['ref']}"); if($db->num_rows($q)) { print " <P ALIGN='CENTER'> $nomulti <br><br><b><a href=signup.php>$rrerr2</a> </p>"; exit; } if($_POST['ref']) { $q=$db->query("SELECT * FROM users WHERE userid={$_POST['ref']}"); $r=$db->fetch_row($q); } $db->query("INSERT INTO users (username, display_pic, login_name, userpass, level, money, crystals, donatordays, user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, bankmoney, lastip, lastip_signup, race, Random_key) VALUES( '{$username}', 'http://{$_SERVER['HTTP_HOST']}/images/avatar.gif', '{$username}', md5('{$_POST['password']}'), 1, $sm, 0, 0, 1, 12, 12, 100, 100, 5, 5, 100, 100, 1, '{$_POST['gender']}', unix_timestamp(), '{$_POST['email']}', 0, '$IP', '$IP','$_POST[race]', '".random_string('alnum', 32)."')"); $_POST['race'] = ctype_digit($_POST['race']); $i=$db->insert_id(); if($_POST['race'] == 1) { $db->query("INSERT INTO userstats VALUES($i, 10, 10, 10, 10, 10, 5)"); $db->query("UPDATE users SET location=1 WHERE username='$username'"); } if($_POST['race'] == 2) { $db->query("INSERT INTO userstats VALUES($i, 10, 10, 10, 10, 10, 5)"); $db->query("UPDATE users SET location=1 WHERE username='$username'"); } if($_POST['race'] == 3) { $db->query("INSERT INTO userstats VALUES($i, 10, 10, 10, 10, 10, 5)"); $db->query("UPDATE users SET location=1 WHERE username='$username'"); } if($_POST['race'] == 4) { $db->query("INSERT INTO userstats VALUES($i, 10, 10, 10, 10, 10, 5)"); $db->query("UPDATE users SET location=1 WHERE username='$username'"); } if($_POST['race'] == 5) { $db->query("INSERT INTO userstats VALUES($i, 10, 10, 10, 10, 10, 5)"); $db->query("UPDATE users SET location=1 WHERE username='$username'"); } if($_POST['race'] == 6) { $db->query("INSERT INTO userstats VALUES($i, 10, 10, 10, 10, 10, 5)"); $db->query("UPDATE users SET location=1 WHERE username='$username'"); } // get data just entered $getUser = mysql_query("SELECT userid, login_name, email, Random_key FROM users WHERE login_name = '{$username}'") or die(mysql_error()); $row = mysql_fetch_assoc($getUser); // Send rego email $stamp = unix_timestamp; $to = $_POST['email']; $subject = "mafiozos.gr ενεργοποίηση λογαριασμού"; $body = "Hello " . $username . ",\n\nThank you for registering at GAME!\n\nClick this link to activate your account: http://www.mafiozos.gr/activate.php?ID=".$row['userid']."&key=".$row['Random_key']." \n\n -GAME OWNER"; $headers = "From: [email protected]\r\n"; if (mail($to, $subject, $body, $headers)) {} if($_POST['ref']) { require "global_func.php"; $db->query("UPDATE users SET crystals=crystals+2 WHERE userid={$_POST['ref']}"); event_add($_POST['ref'],"For refering $username to the game, you have earnt 2 valuable crystals!",$c); $db->query("INSERT INTO referals VALUES('', {$_POST['ref']}, $i, unix_timestamp(),'{$r['lastip']}','$IP')"); } print " <P ALIGN='CENTER'>$regsucess <br><br><b><a href=login.php>$reglogin</a> </p> "; } } else { if($set['regcap_on']) { $chars="123456789abcdefghijklmnpqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!?\\/%^"; $len=strlen($chars); $_SESSION['captcha']=""; for($i=0;$i<6;$i++) $_SESSION['captcha'].=$chars[rand(0, $len - 1)]; } print " <table width='100%' class='table' cellspacing='1'> <tr> <td width='25%'>$ruser</td> <td width='25%'> <div class='reg_namebox'> <input type=text name=username onkeyup='CheckUsername(this.value);'></td> </div> </div> <td width='50%'><div id='usernameresult'></div></td> </tr> <tr> <td>$rpass</td> <td><div class='reg_namebox'><input type=password id='pw1' name=password onkeyup='CheckPasswords(this.value);PasswordMatch();'></td> </div> <td><div id='passwordresult'></div></td> </tr> <tr> <td>$rcpass</td><td><div class='reg_namebox'><input type=password name=cpassword id='pw2' onkeyup='PasswordMatch();'></td> </div> <td><div id='cpasswordresult'></div></td> </tr> <tr> <td>$remail</td><td> <div class='reg_namebox'> <input type=text name=email onkeyup='CheckEmail(this.value);'></td> </div> <td><div id='emailresult'></div></td> </tr> <tr> <td>$rgender</td> <td ><div class='reg_namebox'><select name='gender' style='width: 120px; height:23px; border:0px; padding:3px 0px 0px 6px; color: white; background-color: #111;' type='dropdown'> <option value='Male'>$rmal</option> <option value='Female'>$rfem</option></select></td></div> </tr> <tr> <td>Ειδικότητα</td> <td ><div class='reg_namebox'><select name='race' style='width: 120px; height:23px; border:0px; padding:3px 0px 0px 6px; color: white; background-color: #111;' type='dropdown'> <option value='1'>Νταβατζής</option> <option value='2'>Εκτελεστής</option> <option value='3'>Επιχειρηματίας</option> <option value='4'>Κλέφτης</option> <option value='5'>Γκάνγκστερ</option> <option value='6'>Μπάτσος</option> </select></td></div> </tr> <tr> <td>$rpromo</td><td colspan=2><div class='reg_namebox'><input type=text value='$rnocode' name=promo></td> </div> </tr> <input type=hidden name=ref value='"; if($_GET['REF']) { print $_GET['REF']; } print "' />"; if($set['regcap_on']) { print " <tr> <td colspan=2><img src='captcha_verify.php?bgcolor=C3C3C3' width='170' height='88'/><br /></td> <td><b>Enter Captcha Code</b></td><td colspan=2><div class='reg_namebox'><input type='text' name='captcha' /></td> </tr> "; } print " <tr> <td colspan=3 align=center><div class='reg_nametxt'><input type=submit value=$rreg id='reg_btn' style='color:#000;></td> </tr> </table><div class='regtop'> </div> </form><br />"; } print <<<OUT <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> OUT;   thanks for the reply. I quote my signup page code so if you can provide me details on what changes i need to make i would be grateful Note that i have added a character/class script so that the users can choose a class in their registration
  12. Hello, I would like to help me editing the signup page. My project is the players that register to be able to choose their starting city, probably with a drop down menu driven by the database. Can you please help me with the code? Thanx in advance
  13. maybe it is a little late for the reply...but i just used the mod...the reason why even if activate is 1 it doesnt loggin the user is because there is a missing "" in authenticate.php : Wrong if ($ir['activated'] ==0) { die("Your account is not active, check your email address including junk boxes. [url='login.php']back[/url]"); }   Right if ($ir['activated'] =="0") { die("Your account is not active, check your email address including junk boxes. [url='login.php']back[/url]"); }   Thanks
×
×
  • Create New...