Jump to content
MakeWebGames

Miniman

Members
  • Posts

    431
  • Joined

  • Last visited

    Never

Everything posted by Miniman

  1. Re: Ideas... Bah, I get this error when i try to attack.... Parse error: syntax error, unexpected $end in /home/******/public_html/attack.php on line 308
  2. Re: Ideas... That was quick, Thanks :)
  3. Re: Ideas... I have an idea, It's something that sounds good to me :) User's can buy an item from the shops named "Poision" and if you have this item, When you attack someone you get the links "Leave them" Mug them" "Hosp them" "Inject with Poision" Or something like that, But only if they have the item, And then, when they have injected this person, They go to hospital for a LONG time. And the item Poison is removed from your inventory. :D
  4. Re: Visus Yup :) Post it, Sounds good
  5. Re: Password Protect Staff/Admin Panel   Are you retarded? Rofl, Lmao. That was funny
  6. Re: Count Users Clicks Hmm this could seriously add a load on to your site, People are going to want the reward's so they will click and click Hundreds of times, Adding the load to your site :S
  7. I'm using Mccodes V2 and i understand all the codes, but what i don't understand is the crime's. How do i change the difficulty? It's kind of a weird code :s I really don't get it. Anyhelp? :) All help will be greatly appreciated.
  8. Re: Advanced newspaper mod. I used this paper, And i added an extra page :) Looks good
  9. Re: Contact Form (Fresh & NEW!) Must say, That is actually a good mod :) Looks good
  10. Re: [V2]Mass Donator Days Credit[V2] Anytime :) Glad I found a way to help
  11. Re: Free Updated Newspaper   Yes, Sorry about that. It was like my first post.....And i didn't know how lol.
  12. Re: [V2]Mass Donator Days Credit[V2] In staff_users.php use all this code   function massdd_user_form() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] > 2) { die("403"); } print "<h3>Mass Donator Days Payment</h3> You can give all users Donator Days. <form action='staff_users.php?action=massddsub' method='post'> Days: <input type='text' name='donatordays' /> <input type='submit' value='Credit Users' /></form>"; } function massdd_user_submit() { global $db,$ir,$c,$h,$userid; if($ir['user_level'] > 2) { die("403"); } $_POST['donatordays'] = (int) $_POST['donatordays']; $db->query("UPDATE users u SET donatordays=donatordays+{$_POST['donatordays']}"); print "All Users credited. Click [url='staff.php?action=announce']here to add an announcement[/url] or [url='staff_special.php?action=massmailer']here to send a mass mail[/url] explaining why."; stafflog_add("Credited all users \${$_POST['donatordays']}."); } $h->endpage(); ?>   And then add in smenu.php > Mass D days Payment   Add that under print "> Mass Payment   Works :)
  13. Re: [V2]Mass Donator Days Credit[V2] Mass D day   Or something like that.....I think
  14. Re: [V2]Mass Donator Days Credit[V2]   case 'massdd': massdd_user_form(); break; case 'massddsub': massdd_user_submit(); break; Try that
  15. Re: Free Updated Newspaper Ok, Im gonna post it :) newspaper.php   <?php //Please Keep This Notice //Made By:Iseeyou94056 //Type:Free //Please Do Not Sell This It Is Free //Please Dont Take Credit For This You Did Not Make It include "globals.php"; if($ir['newspaper']==0) { echo "You havent brought a newspaper today go to the <a href=nagent.php>newsagents</a> and buy one."; $h->endpage(); exit; } print "<h3>Welcome to The ArmyWars Times</h3> "; $q=$db->query("SELECT * FROM newscontent LIMIT 1",$c); $ncontent=mysql_result($q,0,0); $q=$db->query("SELECT * FROM papercontent LIMIT 1",$c); $content=mysql_result($q,0,0); print "<table width=90% border=0 cellspacing=0 cellpadding=0 bgcolor='#ffffff'> <tr align='center'> <td>[url='halloffame.php']Hall Of Fame[/url]<hr/></td> <td>[url='hallofshame.php']Hall OF Shame[/url]<hr/></td> <td>[url='games.php']Arcade[/url]<hr/></td> </tr><tr> <td height='1' align='center' valign='top'> [b]<u>[b]<u>Sponsors</u>[/b]</u></font>[/b]</td> <td width='60%' height='1%' align='center' valign='top'>[b]<u> [b]<u>ArmyWars Game News</u>[/b]</u>[/b]</td><td width='20%' height='1%' align='center' valign='top'>[b]<u> [b]<u>ArmyWars Game Updates</u>[/b]</u>[/b]</td> </tr><tr> <td align='left' valign='top'><center>Coming Soon </center></td> <td rowspan='20' align='left' valign='top'>$ncontent</td> <td rowspan='20' align='left' valign='top'>$content</td> </tr> <tr><td height='1' align='center' valign='top'>[b]<u>[b]<u>Player Ads</u>[/b]</u>[/b]</td> </tr><tr> </tr><tr> <td height='10000' align='center' valign='top'>"; $q=$db->query("SELECT * FROM npaper LIMIT 10"); while($na=mysql_fetch_array($q)) { print "[b]Ad By - [url='profiles.php?u={$na[']User Id {$us}[{$na['npADDER']}][/url][/b] [b]Topic[/b] -{$na['npTITLE']} [b]Message[/b] - {$na['npBODY']}[/i] <hr />"; } print " > [url='postad.php?action=add']Add An Ad[/url] < </td></tr></table>"; ?>   postad.php   <?php //Please Keep This Notice //Made By:Iseeyou94056 //Type:Free //Please Do Not Sell This It Is Free //Please Dont Take Credit For This You Did Not Make It include "globals.php"; if($_GET['action'] == "add") { print "<h3>Add Advertisement ($5,000)</h3> <form action='postad.php?action=added' method='post'> Ad Title: <input type='text' name='npTITLE' class='textbox'> Ad Body: <textarea rows=5 cols=18 name='npBODY' class='textbox'></textarea> <input class='textbox' type='submit' value='Place Ad ($5,000)' /> </form> <font color=red>[b]WARNING:[/b] Only plain text will work Do not advertise other games Follow the rules. "; } if($_GET['action'] == "added") { if($ir['money']>5000) { print "Congratulations, you bought a an ad for \$5,000! "; $db->query("UPDATE users SET money=money-5000 WHERE userid=$userid"); $title=str_replace(array("\n"),array(" "),strip_tags($_POST['npTITLE'])); $body=str_replace(array("\n"),array(" "),strip_tags($_POST['npBODY'])); $q=$db->query("INSERT INTO `npaper` VALUES (NULL, '$userid', '$title', '$body', unix_timestamp())"); print "Ad Added! [url='newspaper.php']>Back[/url]"; } else { print "You do not have enough money to add an ad. [url='explore.php']Back to town...[/url]"; } } ?>   Then obviously everything else is easy Just change admin.php to staff_special.php
  16. Re: Free Updated Newspaper Very nice, I might use this. Seen as the newspaper i have is a bunch of crap. I might work on it.... Thanks :) Update: I have converted this to V2 if you would like......It's actually quite good :) It looks good.
×
×
  • Create New...