
timpitts
Members-
Posts
41 -
Joined
-
Last visited
Never
timpitts's Achievements
Newbie (1/14)
1
Reputation
-
Re: NEW Explore.php[v2] thanks for that at least some 1 says its good well it worked perfect for me its probly becoz i edited it all to coming soon and users online that mucked it up oh well mtg fixed it lol ive got my better vertion saved on my comp and ive now made a donator layout but not posting it on ere if all i get is bad comments
-
Re: NEW Explore.php[v2] ok well i like it and thanks mtg for editing it
-
Re: Free 2 - Gym how do i change writing colour to blue
-
Re: Updated Display Pic System [V2] Great mod i added images by adding them to image shack first then put the url in it worked perfect thanks richard great mod
-
Re: NEW Explore.php[v2] im only a newbie Theres a screen shot now
-
Re: NEW Explore.php[v2] dont u get the bit that said FIRST mod
-
i finaly complete my explore page this is the first mod ive made lmao it worked fine for me ive called all the titles comming soon and all the things below users online ok guys so edit about make it better post it below thanks this is my first mod hope u like it <?php /*----------------------------------------------------- -- Made By squimmy -- Free Mod -----------------------------------------------------*/ include "globals.php"; $tresder=(int) rand(100,999); if($ir['jail'] or $ir['hospital']) { die("This page cannot be accessed while in jail or hospital."); } print "[b]You begin exploring the area you're in, you see a bit that interests you.[/b] <table width=75% border=7><td valign=top> <u><font color=red>[b]coming soon</font></u> [url='usersonline.html']Users Online[/url] [url='usersonline.php']Users Online[/url] <td valign=top> <u><font color=red>[b]coming soon</font></u> [url='usersonline.html']Users Online[/url] [url='usersonline.php']Users Online[/url] <td valign=top> <u><font color=red>[b]coming soon</font></u> [url='usersonline.html']Users Online[/url] [url='usersonline.php']Users Online[/url] </td></tr><tr height=100> <td valign=top> <u><font color=red>[b]coming soon</font></u> [url='usersonline.html']Users Online[/url] [url='usersonline.php']Users Online[/url] </a></td><td valign=top> <u><font color=red>[b]coming soon</font></u> [url='usersonline.html']Users Online[/url] [url='usersonline.php']Users Online[/url] <td valign=top> <u><font color=red>[b]coming soon</font></u> [url='usersonline.html']Users Online[/url] [url='usersonline.php']Users Online[/url] </td></tr> <tr height=100> <td valign=top> <u><font color=red>coming soon[b]</u> [url='usersonline.html']Users Online[/url] [url='usersonline.php']Users Online[/url] </td> <td valign=top> <u><font color=red>[b]coming soon</u> [url='usersonline.html']Users Online[/url] [url='usersonline.php']Users Online[/url] <td valign=top> <u>[b]<font color=red>Bargate</font></u> [url='usersonline.html']Users Online[/url] [url='usersonline.php']Users Online[/url] </td></tr> <tr height=100> <td valign=top> <u>[b]<font color=red>coming soon</font></u> [url='usersonline.html']Users Online[/url] [url='usersonline.php']Users Online[/url] <td valign=top> <u>[b]<font color=red>coming soon</font></u> [url='usersonline.html']Users Online[/url] [url='usersonline.php']Users Online[/url] [url='usersonline.php']Users Online[/url] <td valign=top> <u>[b]<font color=red>comming soon</font></u> [url='useronline.php']Users Online[/url] </td></tr></table> <center><table cellspacing='3' border='2' cellpadding='4' class='table' width='53%'> <tr><td colspan='2' class='i'>[b]<center>Referal Link: http://{$domain}/register.php?REF=$userid Every signup from this link earns you two valuable crystals!"; $h->endpage(); ?> This is my first mod add upgrades below plz SCREEN SHOT http://img233.imageshack.us/img233/892/39718616du8.png
-
Re: [V2] Credit Card Mod [V2] This mod is amazing thanks mate u should of made this a pade mod it would have made lots of cash lmao i would have bought it if id seen a demo thanks
-
Re: V2 Staff Applications! ive got it working i took some code off the other staff app in the forum and took ur sql and then it works fine thanks
-
mccode-v2 Updated Newspaper - more than one page
timpitts replied to Magictallguy's topic in Free Modifications
Re: Updated Newspaper - more than one page thanks mtg ive got it working fine i new what i did rong i deleted the cases that were already there so i deleted staff_specail then started again and now all working fine thanks but now im attempting to add the app bit were you pay for an advertisement if any 1 has that bit save me failing to make it can u post it below plz thanks -
Re: V2 Staff Applications! Fatal error: Call to undefined function app_view() in /home/dale/public_html/staff.php on line 8 this is line 8 of staff.php case 'appview': app_view(); break; can any 1 tell me wat is rong plz
-
mccode-v2 Updated Newspaper - more than one page
timpitts replied to Magictallguy's topic in Free Modifications
Re: Updated Newspaper - more than one page mine worked just need to make it so i can edit page 1 ill try now ill eddit the paper a bit aswell i want player to be able to add apps so ill have a play now k -
Re: [mccode] staff applications were does this bit go theres no admin.php function app_view() { global $ir,$c,$h,$userid; print "<h3>Staff Applications</h3> <font color=red>2=Admin</br> 3=Secretary</br> 5=Assistant</br></font></br> If you find any other member positions please report it to a game owner right away!</br> <table width=80%><tr style='background:gray'><th>Applicant ID</th> <th>Position</th> <th>Application</th> <th> </th></tr>"; $q=mysql_query("SELECT * FROM staffapps ORDER BY appID DESC",$c) or die(mysql_error()); while($r=mysql_fetch_array($q)) { print "</td>\n<td>[url='viewuser.php?u={$r[']{$r['applicant']}[/url] </td><td>{$r['position']}</td><td>{$r['application']}</td><td>[url='staff.php?action=appaccept&ID={$r[']<font color=blue>Accept</font>[/url] [url='staff.php?action=appdeny&ID={$r[']<font color=red>Decline</font>[/url] </td></tr>"; } print "</table> "; } function app_accept() { global $ir,$c,$h,$userid; $_GET['ID'] = abs((int) $_GET['ID']); mysql_query("DELETE FROM staffapps WHERE appID={$_GET['ID']}",$c); mysql_query("UPDATE users SET user_level='{$_GET['staff']}' WHERE userid='{$_GET['user']}'",$c); mysql_query("INSERT INTO mail VALUES('', 0, 'System', '{$_GET['user']}', unix_timestamp(),'Your application' ,'Congrats, your application has been reviwed and you are now a staff member. Please view our rules so you do not loose this job.')",$c); print "App Accepted [url='staff.php?action=appview']> Back[/url]"; } function app_deny() { global $ir,$c,$h,$userid; $_GET['ID'] = abs((int) $_GET['ID']); mysql_query("DELETE FROM staffapps WHERE appID={$_GET['ID']}",$c); mysql_query("INSERT INTO mail VALUES('', 0, 'System', '{$_GET['user']}', unix_timestamp(),'Your application' ,'Our staff has reviewed your staff application and unfortunately we feel you are not qualified to be a staff member. Feel free to fill in another application.')",$c); print "App Denied [url='staff.php?action=appview']> Back[/url]"; }
-
mccode-v2 Updated Newspaper - more than one page
timpitts replied to Magictallguy's topic in Free Modifications
Re: Updated Newspaper - more than one page for some reson it doesnt let me edit page 1 -
create a file called crystalbank.php and add <?php include "globals.php"; print "<h3>Bank</h3>"; if($ir['crystalbank']>-1) { switch($_GET['action']) { case "deposit": deposit(); break; case "withdraw": withdraw(); break; default: index(); break; } } else { if(isset($_GET['buy'])) { if($ir['money']>25000) { print "Congratulations, you bought a crystal bank account for \$25,000! [url='crystalbank.php']Start using my account[/url]"; $db->query("UPDATE users SET money=money-25000,crystalbank=0 WHERE userid=$userid"); } else { print "You do not have enough Money to open an account. [url='explore.php']Back to town...[/url]"; } } else { print "Open a crystal bank account today, just \$25,000! [url='crystalbank.php?buy']> Yes, sign me up![/url]"; } } function index() { global $db, $ir,$c,$userid,$h; print "\n[b]You currently have {$ir['crystalbank']} crystal in the bank.[/b] <table width='75%' cellspacing=1 class='table'> <tr> <td width='50%'>[b]Deposit crystal[/b] <form action='crystalbank.php?action=deposit' method='post'> Amount: <input type='text' name='deposit' value='{$ir['crystalbank']}' /> <input type='submit' value='Deposit' /></form></td> <td> [b]Withdraw crystals[/b] There is no fee on withdrawals.<form action='crystalbank.php?action=withdraw' method='post'> Amount: <input type='text' name='withdraw' value='{$ir['crystalbank']}' /> <input type='submit' value='Withdraw' /></form></td> </tr> </table>"; } function deposit() { global $db,$ir,$c,$userid,$h; $_POST['deposit']=abs((int) $_POST['deposit']); if($_POST['deposit'] > $ir['crystal']) { print "You do not have enough crystals to deposite in the bank bank."; } else { $gain=$_POST['deposit']-$fee; $ir['crystal']+=$gain; $db->query("UPDATE users SET crystalbank=crystalbank+$gain, crystal=crystal-{$_POST['deposit']} where userid=$userid"); print "You hand over {$_POST['deposit']} to be deposited, $gain is added to your account. [b]You now have {$ir['crystalbank']} in the bank.[/b] [url='crystalbank.php']> Back[/url]"; } } function withdraw() { global $db,$ir,$c,$userid,$h; $_POST['withdraw']=abs((int) $_POST['withdraw']); if($_POST['withdraw'] > $ir['crystalbank']) { print "You do not have enough crystals to withdraw from the bank."; } else { $gain=$_POST['withdraw']; $ir['crystalbank']-=$gain; $db->query("UPDATE users SET crystalbank=crystalbank-$gain, crystal=crystal+$gain where userid=$userid"); print "You ask to withdraw $gain, the banking lady grudgingly hands it over. [b]You now have {$ir['crystalbank']} in the bank.[/b] [url='crystalbank.php']> Back[/url]"; } } $h->endpage(); ?> I havnt tested it, please edit it and post back here, I think it should work, I converted it from ruby bank so those who want crystal bank can have it as crystal bank hope you all like it