Jump to content
MakeWebGames

thedestroyer

Members
  • Posts

    277
  • Joined

  • Last visited

    Never

Everything posted by thedestroyer

  1. maybe i explained wrong then. What i mean is you can login as another player.
  2. wtf if youcouldnt stop it there wouldnt be any games around.....
  3. Does anyone know to to stop session hijacking on the login page?
  4. How can i stop stat bars e.g th energy overstretching if you get more energy than ya maxenergy?
  5. Heres an example http://s658.photobucket.com/albums/uu303/firecamp555/?action=view&current=example.jpg
  6. Its hard to explain hang on i will do an example ;)
  7. Image Search for money <space for rest of image>2 Nerve Required" but so they are both in line with th image
  8. Hi i have tried to get the nerve required part so it shows besides the crime image not underneath but so it is still below the crime name so the image goes right to the bottom of its row. Heres the image. http://s658.photobucket.com/albums/uu303/firecamp555/?action=view&current=criminal-1.jpg and this is the part of the code   print "<tr style=\"background-color: $color;\"> <td>{$r['cgNAME']} <font color=red size=1>{$r2['minimum']} Nerve Required</p></font></td> <td align=center><input type='radio' name='group' value='{$r['cgID']}' onclick=\"javascript:this.form.submit();\"/></td></tr>\n";   Thanks in advance.
  9. sorted thanks a bunch =D
  10. ok heres the example http://s658.photobucket.com/albums/uu303/firecamp555/?action=view&current=table.jpg
  11. yes hang on i will get one
  12. it does leave gaps :(
  13. This one seems to leave large gaps between each table column =/
  14. I still cant seem to do any other files =(
  15. thanks a bunch mate. Stripey tables are the most annoying codes for me X(
  16. ok this is what i have so far but the colours do not alternate   function job_index() { global $db, $ir,$c,$userid,$h; Doing('Viewing their Job'); //if you have an anti-macro uncomment this line. it should just work, as long as the field in the users table is called validated, otherwise you will just have to change that. //if ( $ir['validated'] == 0 ) { header("Location: macro.php?ref=".urlencode($_SERVER['PHP_SELF'])); exit; } //do you want the table rows to alternate back and forth between colors to make things easier on players? 1=yes, 0=no $alternate_colors=1; //odd row color $odd="#cccccc"; //even row color $even="#DFDFDF"; print "<h3>[i]Your Job</h3> </marquee> <hr width=80%> You currently work in the {$ir['jNAME']}! You receive \${$ir['jrPAY']} and {$ir['jrPOINTS']} Job Points each day at 9pm UK time! You also receive {$ir['jrIQG']} IQ, {$ir['jrENDURANCEG']} Endurance, and {$ir['jrLABOURG']} labour! </marquee> <hr width=80%> <table width=50% cellspacing=1 class='table'><tr><td>Endurance: {$ir['endurance']}</td><td>IQ: {$ir['IQ']}</td></tr><tr><td>Labour: {$ir['labour']}</td><td>Job Points: {$ir['jobpoints']}</td><td> Job Rank: {$ir['jrNAME']}</td></tr></table> <hr width=80%>"; $num+=1; if($alternate_colors==1) { if ($num % 2) { $color="$even"; } else { $color="$odd"; } } print "[b]Job Ranks[/b] <table width='75%' tr style=\"background-color: $color;\" border='0' cellspacing='0'><tr bgcolor=#999999><th><div align=left>Rank</th><th><div align=left></th><th><div align=left>Endurance Needed</th><th><div align=left>IQ Needed</th><th><div align=left>Labour Needed</th></tr>"; $q=$db->query("SELECT * FROM jobranks WHERE jrJOB={$ir['job']} ORDER BY jrPAY ASC;");
  17. i cant use that. I need to use the codes from the ajax crimes script.
  18. Sorry but how do i fit that in to my code?
  19. Hi I recently got the ajax crimes script and tried to take out the code making the stripey tables and putting it into job.php to make the job rank tables stripey but it didnt work would someone be able to help me please? Here is an example of what i mean by stripey tables Check the link below thanks. http://i658.photobucket.com/albums/uu303/firecamp555/points.jpg this is the part that needs editing thanks.   function job_index() { global $db, $ir,$c,$userid,$h; Doing('Viewing their Job'); print "<h3>[i]Your Job</h3> </marquee> <hr width=80%> You currently work in the {$ir['jNAME']}! You receive \${$ir['jrPAY']} and {$ir['jrPOINTS']} Job Points each day at 9pm UK time! You also receive {$ir['jrIQG']} IQ, {$ir['jrENDURANCEG']} Endurance, and {$ir['jrLABOURG']} labour! </marquee> <hr width=80%> <table width=50% cellspacing=1 class='table'><tr><td>Endurance: {$ir['endurance']}</td><td>IQ: {$ir['IQ']}</td></tr><tr><td>Labour: {$ir['labour']}</td><td>Job Points: {$ir['jobpoints']}</td><td> Job Rank: {$ir['jrNAME']}</td></tr></table> <hr width=80%> [b]Job Ranks[/b] <table width='75%' border='0' cellspacing='0'><tr bgcolor=#cccccc><th><div align=left>Rank</th><th><div align=left></th><th><div align=left>Endurance Needed</th><th><div align=left>IQ Needed</th><th><div align=left>Labour Needed</th></tr>"; $q=$db->query("SELECT * FROM jobranks WHERE jrJOB={$ir['job']} ORDER BY jrPAY ASC;"); while($r=$db->fetch_row($q)) { print "<tr><td>{$r['jrNAME']}</td><td>Income: $".number_format($r['jrPAY'])." Per Day</td><td>{$r['jrENDURANCEN']}</td><td>{$r['jrIQN']}</td><td>{$r['jrLABOURN']}</td></tr>"; } print "</table> [url='job.php?action=promote'][/url] [url='job.php?action=quit']<hr width=80%>[/url]"; } $js=$db->query("SELECT * FROM jobspecials WHERE jsJOB={$ir['job']} ORDER BY jsID ASC;",$c); print "[b]<table width=80% cellspacing=0 class='table'><tr><td><center>Specials unlocked:[/b] <form action='specials.php' method='post'> <table width=100% cellspacing=0 class='table'> <tr> <th><font color=></font></th> <th><font color=></font></th> <th><font color=></font></th></tr>"; if($db->num_rows($js) == 0) { print "<tr class='row$current_row'><td colspan=3>This Job has no Specials</td></tr>"; $current_row = 1 - $current_row; } while($sp=$db->fetch_row($js)) { print "<tr class='row$current_row'><tr style=\"background-color: $color;\"><td><font color=>{$sp['jsNAME']} <font color=red>-{$sp['jsCOST']} Job Points</td><td><font color=#><center></font></td><td><center><input type='radio' name='ID' value='{$sp['jsID']}' /><onclick=\"javascript:this.form.submit();\"/></td></tr>"; $current_row = 1 - $current_row; } print "<tr> <td colspan=3><div align=center><input type='submit' value='Purchase'></div></td> </tr></table></form>"; print "</table> <hr width=80%> [url='job.php?action=promote']> Try To Get Promoted[/url] [url='job.php?action=quit']> Quit[/url] <hr width=80%>";
  20. director changing Can someone add a way so you can change the company director thanks
  21. Ok its just i have never seen a formula like that thats why i wasnt sure thanks.
×
×
  • Create New...