
3XTR3M3
Members-
Posts
145 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by 3XTR3M3
-
Re: DOnate mod help thanks
-
Re: DOnate mod help wil lsoem one help
-
When peole donate it doesnt come up in dps process in phpmyadmin or in admin panel this is my donatordone and dontor please correct <?php /*----------------------------------------------------- -- MOno Country v1.0 BETA -- A product of DBS-entertainment -- Copyright held 2005 by Dabomstew, ColdBlooded -- INDEX.php -----------------------------------------------------*/ session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); print <<Donations [b][[url='willpotion.php']Buy Will Potions[/url]][/b] If you become a donator to Deaths-City, you will receive (each time you donate): [b]1st Offer:[/b]</pre> <ul> [*]\$1,000 game money [*]5 crystals [*]10 IQ, the hardest stat to get in the game! [*]20 days Donator Status: Red name + cross next to your name [*][b]NEW![/b] Friend and Black Lists [*][b]NEW![/b] Bank Xfers [*][b]NEW![/b] 17% Energy every 5 mins instead of 8%[/list] </ul> <br><br><br><br><br><br><br><br><br><br><br><br><br>[b]1st Offer:[/b]<ul> [*]\$5,000 game money [*]50 crystals [*]50 IQ, the hardest stat to get in the game! [*]30 days Donator Status: Red name + cross next to your name [*][b]NEW![/b] Friend and Black Lists [*][b]NEW![/b] 17% Energy every 5 mins instead of 8%[/list] </ul> <br><br><br><br><br><br><br><br><br><br><br><br><br>[b]2nd Offer:[/b]<ul> [*]100 crystals [*]30 days Donator Status: Red name + cross next to your name [*][b]NEW![/b] Friend and Black Lists [*][b]NEW![/b] Bank Xfers [*][b]NEW![/b] 17% Energy every 5 mins instead of 8%[/list] </ul> <br><br><br><br><br><br><br><br><br><br><br><br><br>[b]3rd Offer:[/b]<ul> [*]120 IQ, the hardest stat to get in the game! [*]30 days Donator Status: Red name + cross next to your name [*][b]NEW![/b] Friend and Black Lists [*][b]NEW![/b] Bank Xfers [*][b]NEW![/b] 17% Energy every 5 mins instead of 8%[/list] </ul> <br><br><br><br><br><br><br><br><br><br><br><br><br>[b]4th Offer ($5.00 pack):[/b]<ul> [*]\$15,000 game money [*]75 crystals [*]80 IQ, the hardest stat to get in the game! [*]55 days Donator Status: Red name + cross next to your name [*][b]NEW![/b] Friend and Black Lists [*][b]NEW![/b] Bank Xfers [*][b]NEW![/b] 17% Energy every 5 mins instead of 8%[/list] </ul> <br><br><br><br><br><br><br><br><br><br><br><br><br>[b]5th Offer ($10.00 pack):[/b]<ul> [*]\$35,000 game money [*]160 crystals [*]180 IQ, the hardest stat to get in the game! [*]A free Rifle valued at \$25,000 [*]115 days Donator Status: Red name + cross next to your name [*][b]NEW![/b] Friend and Black Lists [*][b]NEW![/b] Bank Xfers [*][b]NEW![/b] 17% Energy every 5 mins instead of 8%[/list] </ul> <br><br><br><br><br><br><br><br><br><br><br><br><br>[b]6th Offer ($20.00 pack):[/b]<ul> [*]\$90,000 game money [*]500 crystals [*]450 IQ, the hardest stat to get in the game! [*]A free Rifle valued at \$25,000 [*]A Will Potion valued at \$0 [*]500 days Donator Status: Red name + cross next to your name [*][b]NEW![/b] Friend and Black Lists [*][b]NEW![/b] Bank Xfers [*][b]NEW![/b] 17% Energy every 5 mins instead of 8%[/list] </ul> <br><br><br><br><br><br><br><br><br><br><br><br><br>[b]Make Your Own Weapon 50 $[/b]<ul> [/list] </ul> <br><br><br><br><br><br><br><br><br><br><br><br><br>EOF;<br>$h->endpage();<br>?&g <?php /*----------------------------------------------------- -- Mono Country v1.0 BETA -- A product of DBS-entertainment -- Copyright held 2005 by Dabomstew -- INDEX.php -----------------------------------------------------*/ session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); if($_GET['action'] == "cancel") { print "You have cancelled your donation. Please donate later..."; } else if($_GET['action'] == "done") { if(!$_GET['tx']) { die ("Get a life."); } mysql_query("INSERT INTO dps_process VALUES ('',$userid,unix_timestamp(),'{$_GET['type']}');",$c); print "Your donation has been processed. An admin will check it and you should be credited in about 24-48 hours."; } $h->endpage(); ?>
-
Re: [Free] [v1] Monkey Slaves allright mod
-
Re: FREE ADVANCED USERSONLINE MOD lol easy just added borders etc good though
-
Re: FREE RAFFLE MOD lol its just plain
-
Re: Supporter Days{v1} come on tell me about it
-
Re: Cash Send Logs works great
-
Re: [Free] [v1] User Verification [Captcha] lol google google google with u ferdi
-
Re: Supporter Days{v1} easy done working on my game so should work on yours feel free give me +1
-
I Converted from ddays do here it is do the sql CREATE TABLE `sdaysmarket` ( `sdID` int(11) NOT NULL auto_increment, `sdQTY` bigint(20) NOT NULL default '0', `sdADDER` int(11) NOT NULL default '0', `sdPRICE` bigint(20) NOT NULL default '0', PRIMARY KEY (`sdID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Dumping data for table `sdaysmarket` -- Then make smarket.php add this <?php // Supporter Days Market // Originally DDay Market // Editted and released by Liam session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.*,h.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid LEFT JOIN houses h ON h.hWILL=u.maxwill WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); switch($_GET['action']) { case "buy": sdays_buy(); break; case "remove": sdays_remove(); break; case "add": sdays_add(); break; default: sdays_index(); break; } function sdays_index() { global $ir,$c,$userid,$h; print "[url='smarket.php?action=add'][Add A Listing][/url] </pre> <table width="100%">AdderQtyPrice eachPrice totalLinks[url='viewuser.php?u={$r[']{$r['username']}[/url] [{$r['userid']}] {$r['sdQTY']} \$" . number_format($each)." \$".number_format($r['sdPRICE'])." [$link] </table>";<br> }<br>function sdays_remove() {<br>global $ir,$c,$userid,$h;<br>$q=mysql_query("SELECT * FROM sdaysmarket WHERE sdID={$_GET['ID']} AND sdADDER=$userid",$c);<br>if(!mysql_num_rows($q)) {<br>echo "Error, either these Supporter Market Days do not exist, or you are not the owner.<br><br>[url='smarket.php']> Back[/url]";<br>$h->endpage();<br>exit;<br> }<br>$r=mysql_fetch_array($q);<br>mysql_query("UPDATE users SET supporterdays=supporterdays+{$r['ddQTY']} where userid=$userid",$c) or die(mysql_error());<br>_query("DELETE FROM sdaysmarket WHERE sdID={$_GET['ID']}",$c);<br>echo "Supporter Days removed from market!<br>mysql<br>[url='smarket.php']> Back[/url]";<br> }<br>function sdays_buy() {<br>global $ir,$c,$userid,$h;<br>$q=mysql_query("SELECT * FROM sdaysmarket sd WHERE sdID={$_GET['ID']}",$c);<br>if(!mysql_num_rows($q)) {<br>echo "Error, either these Supporter Days do not exist, or they have already been bought.<br><br>[url='smarket.php']> Back[/url]";<br>$h->endpage();<br>exit;<br> }<br>$r=mysql_fetch_array($q);<br>if($r['sdPRICE'] > $ir['money']) {<br>echo "Error, you do not have the funds to buy these Supporter Days.<br><br>[url='smarket.php']> Back[/url]";<br>$h->endpage();<br>exit;<br> }<br>mysql_query("UPDATE users SET supporterdays=supporterdays+{$r['sdQTY']} where userid=$userid",$c) or die(mysql_error());<br>mysql_query("DELETE FROM sdaysmarket WHERE sdID={$_GET['ID']}",$c);<br>mysql_query("UPDATE users SET money=money-{$r['sdPRICE']} where userid=$userid",$c);<br>mysql_query("UPDATE users SET money=money+{$r['sdPRICE']} where userid={$r['sdADDER']}",$c);<br>event_add($r['sdADDER'],"[url='viewuser.php?u=$userid']{$ir['username']}[/url] bought your {$r['sdQTY']} Supporter Days from the market for \$".number_format($r['sdPRICE']).".",$c);<br>print "You bought the {$r['sdQTY']} Supporter Days from the market for \$".number_format($r['sdPRICE']).".<br><br><br>[url='smarket.php']Back[/url]";<br> }<br>function sdays_add() {<br>global $ir,$c,$userid,$h;<br>$_POST['amnt'] = abs((int) $_POST['amnt']);<br>$_POST['price'] = abs((int) $_POST['price']);<br>if($_POST['amnt']) {<br>if($_POST['amnt'] > $ir['supporterdays']) {<br>die ("You are trying to add more Supporter Days to the market than you have.");<br> }<br>$tp=$_POST['amnt']*$_POST['price'];<br>mysql_query("INSERT INTO sdaysmarket VALUES('',{$_POST['amnt']},$userid,$tp)", $c);<br>mysql_query("UPDATE users SET supporterdays=supporterdays-{$_POST['amnt']} WHERE userid=$userid", $c);<br>echo "supporter days added to market!<br><br>[url='smarket.php']> Back[/url]";<br> } else {<br>echo "[b]Adding a listing...[/b]<br><br><br>You have [b]{$ir['supporterdays']}[/b] Suporter Days that you can add to the market.<br><br><table width="50%" border="2">Supporter Days: Price Each: </table> <br>";<br> }<br>}<br>$h->endpage();<br any problems contact me
-
Re: [mccode] Supporter Packs hello how do i stop it taking over donators co if i get supporter pack my donator thing goes away d i only have supporter help please
-
Re: [mccode] Mining mod mine says 0 energy
-
Re: Ruby Trader Mod FREE!!! V2 nice
-
Re: [v1] Updated Statistics Page works great oxi
-
Re: [Free] Password reset code i did pssreset.php instead of passreset tahnks
-
Re: [Free] Password reset code it send the email just whne you click lthe link the page cant be displayed
-
Re: [Free] [v1] User Verification [Captcha] he didnt
-
Re: [Free] [v1] User Verification [Captcha] lol read then go in images make verify.jpeg then chmod it 0666
-
Re: Install have you got msn ill teach you on there its so easy
-
Re: [mccode] Black Jack good mod
-
Re: Install want me to do it for you mate
-
Re: [mccodes] Free Crystal Bank [v1] there you go +1