-
Posts
574 -
Joined
-
Last visited
-
Days Won
9
Content Type
Profiles
Forums
Events
Everything posted by Ishraq
-
Ok. I do have a history of copying other peoples codes and pasting them here and saying that I made them. Well, I am new now. I got a new name, new hairstyle, etc. A new me. I am more clever than my old self. I know how to create my own modifications now. Please could everyone forgive my sins and welcome the new me. Many of these have been made but this is one file of php coding without the need of installing any SQLs. It grabs the information from the attacklogs. So I created this....... Create a file called attacks.php[/red] <?php /*----------------------------------------------------- -- Created By: BioHazard -- Mod Type: Free Mod -- Mod Name: Your Attack Log -- File Name: attacks.php -- Instructions: Don't Remove This. This Is A Free Mod. So, Don't Sell It. -----------------------------------------------------*/ include_once "globals.php"; $atks=$db->query("SELECT * FROM attacklogs WHERE attacker=$userid OR attacked=$userid ORDER BY time DESC LIMIT 50"); print "<b>These are the last 50 attacks you were involved in:</b><br /> <table width=100%><tr><th>Time</th><th>Opponent</th><th>Who Attacked</th><th>Result</th><th>Money Gained</th></tr>"; while($r=$db->fetch_row($atks)) { if($r['attacker'] != $userid) { $realidd = $r['attacker']; } if($r['attacked'] != $userid) { $realid = $r['attacked']; } $q=$db->query("SELECT username FROM users WHERE userid='$realidd' or userid='$realid'"); $ID=$db->fetch_row($q); if($r['attacker'] != $userid) { $att = "<a href='viewuser.php?u={$r['attacker']}'>{$ID['username']}</a>"; } if($r['attacked'] != $userid) { $att = "<a href='viewuser.php?u={$r['attacked']}'>{$ID['username']}</a>"; } if($r['attacker'] == $userid && $r['result'] == 'won') { $res = "<font color=green>You Won</a>"; } else { $res = "<font color=red>You lost</a>"; } if($r['stole'] > 0) { $stole = "<font color=green>\${$r['stole']}</a>"; } else { $stole = "<font color=red>\${$r['stole']}</a>"; } if($r['attacker'] == $userid) { $attac = "<font color=green>You Attacked</a>"; } else { $attac = "<font color=red>They Attacked</a>"; } $d=date('F j, Y, g:i:s a',$r['time']); print "<tr><td>$d</td><td>$att</td><td>$attac</td><td>$res</td><td>$stole</td></tr>"; } print "</table>"; $h->endpage(); ?> Now Just put a link wherever you want. <a href=attacks.php>Your Attack Log</a> Thank You Again. DEMO: At http://www.gangstercity.net/attacks.php
-
Is this still for sale.
-
I have noticed that when a member adds their codes in the code format. The <a href='..... turns into <a href="http://.... and at the end of that target="_blank. There are more stuff that happens. Which causes problems.
-
Good to see a great coder back in business .
-
That is definitely obvious. HAHA
-
http://www.chaoticwars.co.uk uses onebip. It's perfect and works fine. I had it installed on my game by the owner of chaoticwars. there is no problem with the donations. users can be credited automatically and donations can be logged.
-
when you click lucky dip. it selects 6 numbers for you and when you click buy ticket. IT WORKS. However, if you pick the numbers yourself, it gives that error saying "You either didn't select any numbers or you didn't select 6 numbers."
-
http://www.onebip.com Onebip is really good for donations. If you want to transfer to paypal only add your paypal address. If you want to transfer to bank account only add your bank account. DON'T DO BOTH OR ONEBIP WILL GO TO CONFUSED.COM The disadvantages are: They take big fees. 10%. Transfer to paypal/bank account is automatic and processes at the start of a month however it takes 60 days to process. Example: £10 in onebip balance. 1st of january is coming up. So when it comes, £10 is taken from your account. Around 2 months later: 1st of March. You recieve your £9 because of the fee.
-
Onebip is really good for donations. If you want to transfer to paypal only add your paypal address. If you want to transfer to bank account only add your bank account. DON'T DO BOTH OR ONEBIP WILL GO TO CONFUSED.COM The disadvantages are: They take big fees. 10%. Transfer to paypal/bank account is automatic and processes at the start of a month however it takes 60 days to process. Example: £10 in onebip balance. 1st of january is coming up. So when it comes, £10 is taken from your account. Around 2 months later: 1st of March. You recieve your £9 because of the fee.
-
nice mod
-
I need a person that can design and code a template for my game. Add me on msn: [email protected] My budget is well over what is needed. Peter? I saw your designs and im impressed. So will you help me. For some reason, i cant inbox you.
-
All in 1 Login Page This is a login page coded by me which has all login form,register form, forgot password form , t.o.s and contact form all in one. Powered by java, therefore, the links are linked by #. You and your users can navigate through your games front page without having to refresh pages or going onto other pages. You can see a working version at http://www.coderzoneinc.net/login2.php To Purchase Send $3 to [email protected] and make sure you add a message containing your email address where the files should be sent to if not i will send the files to the paypal email. Also include whether you want the files in .zip or .rar Selling Really Cheap For: $3
-
no lol trust me i've seen people cash out a lot of money or they have ordered stuff like ps3 laptops from the website. http://www.cashle.com/forum/8/Proofs/1
-
start was the 23rd setptember once you complete offers you have to be patient. completing offers with high approval rate and time is the best offers to do. you can get credited quicker. and payment takes a day or less although it says 2-3 days.
-
i made my money of this website and its real. Proof:
-
Make money online. It really works. Just complete surveys and get points or cash. Withdraw minimum is $1.00. Its really easy and really fast. When you have enough points you can be eligible to order your own gifts from the website which is connected to amazon for free. I got Fifa 11 for free by paying points which i made by completing surveys. You can get paid by: Paypal Check AlertPay E-Gold Liberty Reserve Amazon Gift Certific Future Shop Gift Cer GameStop.com Gift Ce Go Daddy Gift Certif Target.com Gift Cert You can also convert the cash you make into points and then order whatever you want. e.g phones, speakers, games. Please use my referral link. Just click on the banner. Thank You.
-
open header.php find <?php and add under include("zed.php"); then create a file called zed.php and add <?php //Supplied By Ishz //StockIt //PassItOn //Learn&DontAlwaysDepend // Check $_POST Number function SecureNumPost($key) { if(isset($_POST[$key]) && is_string($_POST[$key]) && preg_match("`^\d+$`ims", $_POST[$key])) { $value = @intval($_POST[$key]); return $value; } else { SecureError($_POST[$key]); } } // Check $_GET Number function SecureNumGet($key) { if(isset($_GET[$key]) && is_string($_GET[$key]) && preg_match("`^\d+$`ims", $_GET[$key])) { $value = @intval($_GET[$key]); return $value; } else { SecureError($_GET[$key]); } } //Check $_POST Text function SecureTextPost($key) { if(isset($_POST[$key]) && is_string($_POST[$key])) { if(get_magic_quotes_gpc()) { $value = stripslashes($_POST[$key]); } else { $value = $_POST[$key]; } return $value; } else { SecureError($_POST[$key]); } } //Check $_GET Text function SecureTextGet($key) { if(isset($_GET[$key]) && is_string($_GET[$key])) { if(get_magic_quotes_gpc()) { $value = stripslashes($_GET[$key]); } else { $value = $_GET[$key]; } return $value; } else { SecureError($_GET[$key]); } } //Deal with errors from security checks function SecureError($value) { die("You have tried passing invalid information through our system."); } ?>
-
this is really kl when will it be out
-
yh thats ture lol
-
you dont need smenu.php for mccodes lite because you use admin.php secpanel.php and asspanel.php
-
This works 1000% <?php include "config.php"; global $_CONFIG; if($_GET['code'] != $_CONFIG['code']) { die(""); } define("MONO_ON", 1); require "class/class_db_{$_CONFIG['driver']}.php"; $db=new database; $db->configure($_CONFIG['hostname'], $_CONFIG['username'], $_CONFIG['password'], $_CONFIG['database'], $_CONFIG['persistent']); $db->connect(); $c=$db->connection_id; $db->query("update auctions set time=time-1",$c); $qqq=$db->query("select * from auctions where time=0",$c); while($win=$db->fetch_row($qqq)) { $time=$win['time']; $item=$win['itemname']; $winner=$win['bidder']; $owner=$win['owner']; $iname=$db->result( $db->query("SELECT itmname FROM items WHERE itmid={$item}", $c), 0, 0); if($win['bids']>0) { $db->query("insert into inventory VALUES('',$item,$winner,1)",$c) or die(mysql_error()); event_add($winner,"You won the auction of the {$iname} for \${$win['current']}",$c); event_add($owner, "Your {$iname} sold succesfully on the auction market with {$win['bids']} bids. You have been paid \${$win['current']}", $c); $db->query("update users set money=money+{$win['current']},auctionquota=auctionquota-1 where userid=$owner", $c); } if($win['bids']==0) { event_add($win['owner'],"Your auction has ended with no bidders. Your {$iname} has been returned to your inventory.",$c); $winner=$win['owner']; $db->query("insert into inventory VALUES('',$item,$winner,1)",$c) or die(mysql_error()); } } $delete = ("DELETE FROM auctions WHERE time <= 0"); mysql_query($delete); ?>
-
Re: New mccodes template i didnt tell mike anything about making it from scratch and what do u mean anymore bull i aint lieing anywhere.
-
Re: New mccodes template when did i say i made it.......... all i remember saying to anyone or posting is that my cousin got a backup of the game somehow and wont tell me and i am just fixing the errors and stuff
-
Re: New mccodes template yh
-
Re: New mccodes template im not selling the template by itself it has edited images and i have coded on it so basiclly i am only selling my work not the template