
CJ - Twitch
Members-
Posts
391 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by CJ - Twitch
-
[mccode v1 v2] player card ;)
-
Lmao Danny. But I have a crap imagination ... :|
-
Awesome Immortal!
-
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. :)
-
Thanks!
-
Looks great but a staff delete fuction would be good. ;) How about BB Code aswell.
-
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.
-
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?
-
Looking to purchase a more advanced drug mod
CJ - Twitch replied to Lotan Kane's topic in Requests & In Production
:thumbsup: Immortal? How much is it going to cost? Sounds great! -
Awesome. :)
-
Looks great but I don't like the colours you choose. But it is *rudeword*ing awesome!
-
Progress bar [All versions, all engines?]
CJ - Twitch replied to Lithium's topic in Free Modifications
Great work! It works perfectly. :) -
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:
-
But you coded it. :P
-
great update MTG >:D
-
The bookie mod? :P
-
Progress bar [All versions, all engines?]
CJ - Twitch replied to Lithium's topic in Free Modifications
Here is a better 'crappy' bar. :) -
Progress bar [All versions, all engines?]
CJ - Twitch replied to Lithium's topic in Free Modifications
Here is a crappy bar I made xD -
Progress bar [All versions, all engines?]
CJ - Twitch replied to Lithium's topic in Free Modifications
Thank you I will test it. :) -
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 © Your Game 2010-2011</center></html> That should work ..
-
Progress bar [All versions, all engines?]
CJ - Twitch replied to Lithium's topic in Free Modifications
:| I didn't think of that xD Will it work? 8| -
Progress bar [All versions, all engines?]
CJ - Twitch replied to Lithium's topic in Free Modifications
Looks great but what if you want different color bars ;) -
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%>";}?>
-
So I should use notepade ++?
-
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...