Jump to content
MakeWebGames

CJ - Twitch

Members
  • Posts

    391
  • Joined

  • Last visited

Everything posted by CJ - Twitch

  1. [mccode v1 v2] player card ;)
  2. Lmao Danny. But I have a crap imagination ... :|
  3. Awesome Immortal!
  4. Could you make it so you have to wait some time for the drug effects to go before taking another. But every drug has different times... Like TORNs. :)
  5. Thanks!
  6. Looks great but a staff delete fuction would be good. ;) How about BB Code aswell.
  7. I get this error.   Warning: move_uploaded_file(files/Chrysanthemum.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/********/public_html/***************/upload.php on line 6 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phptPkWAH' to 'files/Chrysanthemum.jpg' in /home/********/public_html/***************/upload.php on line 6 Sorry, there was a problem uploading your file.
  8. CJ - Twitch

    Code Help lol

    Im having problem with this code...   <?php $name = $_FILES['uploaded']['name']; $target = "files/"; $target = $target . basename( $_FILES['uploaded']['name']) ; $ok=1; if(move_uploaded_file($_FILES['uploaded']['tmp_name'], $target)) { echo "The file $name has been uploaded! Link: http://rippedgfx.co.cc/files/$name"; } else { echo "Sorry, there was a problem uploading your file."; } ?>   Can you help?
  9. :thumbsup: Immortal? How much is it going to cost? Sounds great!
  10. Awesome. :)
  11. Looks great but I don't like the colours you choose. But it is *rudeword*ing awesome!
  12. Great work! It works perfectly. :)
  13. The code looks good but I hate how you use tables. (yuk) Other than that great! I may modify it later to make it pretty. :P :thumbsup:
  14. But you coded it. :P
  15. great update MTG >:D
  16. The bookie mod? :P
  17. Here is a better 'crappy' bar. :)
  18. Here is a crappy bar I made xD
  19. Thank you I will test it. :)
  20. Post you header .. It should be something like this... find in header.php </tr></table></td></tr></table></html>   And replace with </tr></table></td></tr></table> <center>Your copyright thingie &copy Your Game 2010-2011</center></html>   That should work ..
  21. :| I didn't think of that xD Will it work? 8|
  22. Looks great but what if you want different color bars ;)
  23. Ill test it with the code tags. :)   <?PHPinclude(DIRNAME(__FILE__) . '/globals.php'); print "<font size='4' face='Arial, Helvetica, sans-serif'>Your Attack Logs</font> <hr width='75%'> "; switch($_GET['step']){case 'ayw': ayw(); break;case 'ayl': ayl(); break;default; index(); break;}function index(){print "So you want to see you attack logs huh? Please choose a section. ";Print "• [url='pal.php?step=ayw']Attacks you've won[/url]. • [url='pal.php?step=ayl']Attacks you've lost[/url].";print " <hr width=75%>> <a href=index.php>Home</a><hr width=75%>";}function ayw(){global $db,$userid;$atks=$db->query("SELECT a.*,u1.username as attackern, u2.username as attackedn FROM attacklogs a LEFT JOIN users u1 ON a.attacker=u1.userid LEFT JOIN users u2 ON a.attacked=u2.userid WHERE (u1.userid=$userid) AND result='won' ORDER BY time DESC LIMIT 100");print "The last 100 players you have killed. <center><table width=75% cellspacing=1></center><tr bgcolor=#999999> <th>Time</th><th>Attacked</th></tr>";while($r=$db->fetch_row($atks)){$bgcolor = ($bgcolor == "#dfdfdf") ? "#cccccc" : "#dfdfdf";$d=date('F j, Y, g:i:s a',$r['time']);print "<tr bgcolor=$bgcolor><td><center>$d</td><td>[url='viewuser.php?u={$r[']<center>{$r['attackedn']}[/url]</td></tr>";}print "</table>";print " <hr width=75%>> <a href=pal.php>Back</a><hr width=75%>";}function ayl(){global $db,$userid;$atks=$db->query("SELECT a.*,u1.username as attackern, u2.username as attackedn FROM attacklogs a LEFT JOIN users u1 ON a.attacker=u1.userid LEFT JOIN users u2 ON a.attacked=u2.userid WHERE (u2.userid=$userid) AND result='won' ORDER BY time DESC LIMIT 100");print "The last 100 players that killed you. <center><table width=75% cellspacing=1></center><tr bgcolor=#999999><th>Time</th><th>Attacker</th></tr>";while($r=$db->fetch_row($atks)){$bgcolor = ($bgcolor == "#dfdfdf") ? "#cccccc" : "#dfdfdf";$d=date('F j, Y, g:i:s a',$r['time']);print "<tr bgcolor=$bgcolor><td><center>$d</td><td>[url='viewuser.php?u={$r[']<center>{$r['attackern']}[/url] </td></tr>";}print "</table>";print " <hr width=75%>> <a href=pal.php>Back</a><hr width=75%>";}?>
  24. So I should use notepade ++?
  25. Why is it that every time I paste PHP code it gets messed up.. Example: <?PHPinclude(DIRNAME(__FILE__) . '/globals.php');print "<font size='4' face='Arial, Helvetica, sans-serif'>Your Attack Logs</font> <hr width='75%'> "; switch($_GET['step']){case 'ayw': ayw(); break;case 'ayl': ayl(); break;default; index(); break;}function index(){print "So you want to see you attack logs huh? Please choose a section. ";Print "• [url='pal.php?step=ayw']Attacks you've won[/url]. • [url='pal.php?step=ayl']Attacks you've lost[/url].";print " <hr width=75%>> <a href=index.php>Home</a><hr width=75%>";}function ayw(){global $db,$userid;$atks=$db->query("SELECT a.*,u1.username as attackern, u2.username as attackedn FROM attacklogs a LEFT JOIN users u1 ON a.attacker=u1.userid LEFT JOIN users u2 ON a.attacked=u2.userid WHERE (u1.userid=$userid) AND result='won' ORDER BY time DESC LIMIT 100");print "The last 100 players you have killed. <center><table width=75% cellspacing=1></center><tr bgcolor=#999999> <th>Time</th><th>Attacked</th></tr>";while($r=$db->fetch_row($atks)){$bgcolor = ($bgcolor == "#dfdfdf") ? "#cccccc" : "#dfdfdf";$d=date('F j, Y, g:i:s a',$r['time']);print "<tr bgcolor=$bgcolor><td><center>$d</td><td>[url='viewuser.php?u={$r[']<center>{$r['attackedn']}[/url]</td></tr>";}print "</table>";print " <hr width=75%>> <a href=pal.php>Back</a><hr width=75%>";}function ayl(){global $db,$userid;$atks=$db->query("SELECT a.*,u1.username as attackern, u2.username as attackedn FROM attacklogs a LEFT JOIN users u1 ON a.attacker=u1.userid LEFT JOIN users u2 ON a.attacked=u2.userid WHERE (u2.userid=$userid) AND result='won' ORDER BY time DESC LIMIT 100");print "The last 100 players that killed you. <center><table width=75% cellspacing=1></center><tr bgcolor=#999999><th>Time</th><th>Attacker</th></tr>";while($r=$db->fetch_row($atks)){$bgcolor = ($bgcolor == "#dfdfdf") ? "#cccccc" : "#dfdfdf";$d=date('F j, Y, g:i:s a',$r['time']);print "<tr bgcolor=$bgcolor><td><center>$d</td><td>[url='viewuser.php?u={$r[']<center>{$r['attackern']}[/url] </td></tr>";}print "</table>";print " <hr width=75%>> <a href=pal.php>Back</a><hr width=75%>";}?>   That is from notepad...
×
×
  • Create New...