
iseeyou94056
Members-
Posts
691 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Everything posted by iseeyou94056
-
Re: Free Updated Newspaper thanks :p
-
Re: Fast Food Mod i really like this its something i was thinking about doing
-
Re: [V2]Mass Donator Days Credit[V2] i wont use it but it is helpful for alot of ppl thanks for posting
-
this is for H1TMAN93 sense i took me being in a bad mood out on him make a file called newspaper.php and in it put <?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 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['rubies'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); print "<h3>Welcome to The Gansta Wars Times</h3> "; $q=mysql_query("SELECT * FROM newscontent LIMIT 1",$c); $ncontent=mysql_result($q,0,0); $q=mysql_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>Gansta Wars Game News</u>[/b]</u>[/b]</td><td width='20%' height='1%' align='center' valign='top'>[b]<u> [b]<u>Gansta Wars 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=mysql_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>"; ?> then make a file called postad.php and in it put <?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 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['rubies'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); 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! "; mysql_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=mysql_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 run these in php my admin CREATE TABLE `npaper` ( `npID` int(11) NOT NULL auto_increment, `npADDER` int(11) NOT NULL default '0', `npTITLE` varchar(255) NOT NULL default '', `npBODY` text NOT NULL, `npTIME` int(11) NOT NULL default '0', PRIMARY KEY (`npID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=10 ; CREATE TABLE `newscontent` ( `content` longtext NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; INSERT INTO `newscontent` VALUES('Coming Soon:p'); then open admin.php and find case 'editnews': newspaper_form(); break; case 'subnews': newspaper_submit(); break; under it put case 'editnews2': newspaper2_form(); break; case 'subnews2': newspaper2_submit(); break; then find this [[url='admin.php?action=editnews']Edit Game News[/url]] replace it with [[url='admin.php?action=editnews']Edit Game Updates(newspaper)[/url]] [[url='admin.php?action=editnews2']Edit Game News(newspaper)[/url]] then find function newspaper_form() { global $ir,$c,$h,$userid; $q=mysql_query("SELECT * FROM papercontent LIMIT 1",$c); $news=mysql_result($q,0,0); print "<h3>Editing Newspaper Game Updates</h3><form action='admin.php?action=subnews' method='post'> <textarea rows='7' cols='35' name='newspaper'>$news</textarea> <input type='submit' value='Change' /></form>"; } function newspaper_submit() { global $ir,$c,$h,$userid; $news=$_POST['newspaper']; mysql_query("UPDATE papercontent SET content='$news'",$c); print "Newspaper updated!"; } under it add function newspaper2_form() { global $ir,$c,$h,$userid; $q=mysql_query("SELECT * FROM newscontent LIMIT 1",$c); $news=mysql_result($q,0,0); print "<h3>Editing Newspaper Game News</h3><form action='admin.php?action=subnews2' method='post'> <textarea rows='7' cols='35' name='newspaper'>$news</textarea> <input type='submit' value='Change' /></form>"; } function newspaper2_submit() { global $ir,$c,$h,$userid; $news=$_POST['newspaper']; mysql_query("UPDATE newscontent SET content='$news'",$c); print "Newspaper updated!"; } and thats all its not very good but it is better then nothing i hope you use it and like it
-
Re: [MCCode lite & V1.0 & V1.1] [ES] - Pin Mod V1.0B +1 is not here no more
-
[V2] Reward the active. - Punish the inactive.
iseeyou94056 replied to Ragnar's topic in Free Modifications
Re: [V2] Reward the active. - Punish the inactive. thanks this is great -
Re: New And Improved Mining Mod [$20] wow its nice
-
Re: Need Help Badly thats because u say ppl are spamming and u are the one spamming and because you are getting annoying calling people noobs and stuff mate U ARE THE BIGGEST NOOB ON CE i am sorry to be a ass but for 1 thing i am in a bad mood and you are annoying me making it worse
-
Re: Need Help Badly you spam every topic and if it was not about you you would not even say anything
-
Re: Need Help Badly hahahaha lol
-
Re: Random Displays if anyone wants i can show an example of one
-
Re: Tournaments mod For V2 thanks :p
-
Re: Need Help Badly thats wrong nice try tho try this <?php include "globals.php"; global $c; $db->query("UPDATE businesses SET bDAYSOLD=bDAYSOLD+1"); $db->query("UPDATE users SET dib=dib+1 WHERE business >0"); $rra=$db->query("SELECT * FROM businesses"); while($r=$db->fetch_row($rra)) { $profitgt=$r['bPOPULATION']*1; $db->query("UPDATE businesses SET bPROFIT=bPROFIT+$profitgt WHERE bID={$r['bID']}"); } $xd=include "$db->query("SELECT * FROM businesses WHERE bPOPULATION<0); while($p=$db->fetch_row($xd)) { $db->query("UPDATE users SET business=0 WHERE business={$p['bID']}"); } $db->query("DELETE FROM businesses WHERE bPOPULATION<0"); ?>
-
Re: free top gangs you did not make this
-
Re: Free News Script this is stupid it messes the users up
-
Re: Counting (nr game) 1692
-
Re: Flash Login [$20] thats stupid
-
i would like to ask a really stupid question about the gym i have not really even looked but i am not sure where to edit or how to edit in the gym so users get very little stats insted of alot can someone please tell me where
-
Re: [Free] Annoying Mod nope it is just something to bother the users i think i put mine on explore that say dont touch beacuse i know that they still will
-
Re: [Free] Annoying Mod go to the site its funny lol and great mod lol i am using it
-
[mccode] Drop down explore [$15.00]
iseeyou94056 replied to iseeyou94056's topic in Paid Modifications
Re: $15 drop down explore its being worked on and i did not get it off a free site i made it -
[mccode] Drop down explore [$15.00]
iseeyou94056 replied to iseeyou94056's topic in Paid Modifications
Re: $15 drop down explore -
this mod is $15 it is a drop down explore page you click a part of it and it drops down and when you click a different part of it the other goes up then that one goes down if you would like to get it post here
-
Re: Quantify Mod for V2! i agree
-
Re: Money,crystals cap i was about to say that